diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2009-02-20 17:15:37 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2009-02-20 17:15:37 (GMT) |
commit | 6861f89b8fdc12dd0536689c8183f295b29749db (patch) | |
tree | fbc6b4a44c9e7c1cd341daef2ba6f689a1bdfdbf /plugins | |
parent | 9728594a984296a1c9ea9adf12728730b93d12ac (diff) |
Add mozplugger
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/conf/mozpluggerrc | 52 | ||||
-rwxr-xr-x | plugins/mozplugger.so | bin | 0 -> 30724 bytes |
2 files changed, 52 insertions, 0 deletions
diff --git a/plugins/conf/mozpluggerrc b/plugins/conf/mozpluggerrc new file mode 100644 index 0000000..ed3881a --- /dev/null +++ b/plugins/conf/mozpluggerrc @@ -0,0 +1,52 @@ +# Modified mozpluggerrc for OLPC +# Contact: Sayamindu Dasgupta: sayamindu@laptop.org +# +# Configure file for MozPlugger 1.10 +# Version: January 4, 2008 +# +# Commands which are not installed on your system will not be used. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + + +################### +### m4 macros ### +################### + +changequote([,]) + +### Helpers + +#define(ENABLE_HELPERS) + +ifdef([ENABLE_HELPERS],[ + define(HELPER,[nokill noisy: $1]) +],[ + define(HELPER,[]) +]) + +####################### +### Documents ### +####################### + +application/pdf:pdf:PDF file +application/x-pdf:pdf:PDF file +text/pdf:pdf:PDF file +text/x-pdf:pdf:PDF file + repeat noisy swallow(sugar-pdf-viewer) fill: sugar-pdf-viewer "$file" + +application/x-postscript:ps:PostScript file +application/postscript:ps:PostScript file + repeat noisy swallow(sugar-pdf-viewer) fill: sugar-pdf-viewer "$file" diff --git a/plugins/mozplugger.so b/plugins/mozplugger.so Binary files differnew file mode 100755 index 0000000..cb6e42d --- /dev/null +++ b/plugins/mozplugger.so |