From bb44921f69a1cf75060ec1e69a03eab0197e49f5 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sat, 10 Jan 2009 13:44:31 +0000 Subject: mozplugger: adding config file git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@356 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- net/www/mozplugger/Manifest | 5 +- net/www/mozplugger/mozplugger.mkbuild | 2 +- net/www/mozplugger/mozpluggerrc.new | 396 ++++++++++++++++++++++++++++++++++ 3 files changed, 400 insertions(+), 3 deletions(-) create mode 100644 net/www/mozplugger/mozpluggerrc.new (limited to 'net') diff --git a/net/www/mozplugger/Manifest b/net/www/mozplugger/Manifest index 8b2cf58..7bae05d 100644 --- a/net/www/mozplugger/Manifest +++ b/net/www/mozplugger/Manifest @@ -1,3 +1,4 @@ DIST mozplugger-1.12.0.tar.gz 95073 MD5 6d4dd7b1c577f625c9d664532389d6db RMD160 87c82713de2dd9b139ea0b49f856b6797c913fb8 SHA1 5107338378795c147e79c04eead8f9fa7f6ebd28 SHA256 1312aad8078dcda7f8ec8e9d756786034420406bf1658066d60392bdaa7befee SHA512 54b3308b806ae11e0021549bb8873d7f57efc9979858f3e746368a19c9d553dc9b8bcd92c7c60f57c3897d06abcb7afce4173218a0e57982814c370941c929ee -MKBUILD mozplugger.mkbuild 3377 MD5 e139faf76389960219f9f6989deca8c1 RMD160 c16c6a213acd84f241755cb99d913e2073816bba SHA1 b55e27e3e8f56de190346ff8df87f522c703d478 SHA256 d11f49b369798a736e52053f717f8618bbebdacbf1809a650ab0e1d7f313ec2f SHA512 a65843e8130d69f2a4f8f4274a9e1b0247daf2a2798745f9b5992dae957033c576334e793ec8963b0feb06f4cd779c48009ebf9dd1e0011da8c9a1a72dbf4e86 -SLACKBUILD mozplugger.SlackBuild 7827 MD5 b6efe5f1e084cfd6032b285fdbcb4754 RMD160 b635bdfcc1d0f3acb962839e90b37aefeae57e5b SHA1 3d9f57e8308e80973a7f6580496abce540a7ee82 SHA256 b83f550281114a88d8489b1b7cde34e8996eb6a10440a0402088c1660ef62f17 SHA512 4d519ebcc0d043dab403cacb9a859b62052f3c873327b71dddcd03e6f3f9b8bf19715eb6c370b45805bd7a1fec2ef1d11c88e0668b094e223816ff97a26c4e1e +MISC mozpluggerrc.new 13726 MD5 e1537238645697581fd7654cfa7c8fa4 RMD160 e53c56bdb110a2c29f09608f0436ba855d5e95f0 SHA1 e808d691ea7729321cdccff2e5b6f58a324229d3 SHA256 c222dd52ce470a9effdc79c490a2fd17e3cefe0c83b70ec78a8b7719fafb10fb SHA512 37b17db22a76dfa85521867b1cd049ff472caf4767754bc433eb9a4e932b522721e072760f7e026915945f4195d241fe4956a6e810982542a553ed87e683a601 +MKBUILD mozplugger.mkbuild 3381 MD5 f0252c7b4e0e1fa5198d81ac8fe766a5 RMD160 7b6f07eaed333438ab2eb9d7a7879b096d2c2b90 SHA1 df5cf498f70c4ff7ed9aeda7085acd0c664eebae SHA256 80e5a6db60a6f1c4f3ec84f3142815a1e63e8283793993a3dc15c30370a66ccc SHA512 eace030f12de7d9c2018210a9247c5db1b60cec77d08e8e8a2e52d8d6dfa6c021da17e4005964354550d330e9d550e9715b0ec1612783c784c735c5eb7a29718 +SLACKBUILD mozplugger.SlackBuild 7831 MD5 63aee45b68df74f58512665c3affc425 RMD160 0453abd0d886977dfaf65f7ad3847ad43b106b82 SHA1 0439b01cba2f25fb96ac206bdb4a3a17ce22f271 SHA256 be72071cea9615c16efb38c9fa8f4125b5e5a08a53556d7771611c8a35e3cda9 SHA512 9e4c8a4e9d0344bbf68493ae548d7e57272be8eeea2f5b1a788e302f7af51f1f56faf7396c58c5fa1293eba9014a7d5fbf9b7b94b6d162787560a2418fd90a61 diff --git a/net/www/mozplugger/mozplugger.mkbuild b/net/www/mozplugger/mozplugger.mkbuild index 5ee144d..aa1a62e 100644 --- a/net/www/mozplugger/mozplugger.mkbuild +++ b/net/www/mozplugger/mozplugger.mkbuild @@ -47,7 +47,7 @@ [[SLACKBUILD PATH]]="net/www/mozplugger" # Config files -[[CONFIG FILES]]="mozpluggerrc" +[[CONFIG FILES]]="mozpluggerrc.new" [[REST OF DOINST.SH]]="config etc/mozpluggerrc" #--------------------- diff --git a/net/www/mozplugger/mozpluggerrc.new b/net/www/mozplugger/mozpluggerrc.new new file mode 100644 index 0000000..152e675 --- /dev/null +++ b/net/www/mozplugger/mozpluggerrc.new @@ -0,0 +1,396 @@ +# Configure file for MozPlugger 1.10 +# Version: July 15, 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 + +### MPlayer + +define(MP_CMD,[mplayer -really-quiet -nojoystick -nofs -zoom -vo xv,x11 -ao esd,alsa,oss,arts,null -osdlevel 0 $1 &1 | grep vorbis]),[],[ + define(MP_NO_VORBIS) +],[ + define(MP_VORBIS) +]) + +### Totem + +define(TM_CMD,[totem $1 /dev/audio + +audio/wav:wav:Microsoft wave file +audio/x-wav:wav:Microsoft wave file +audio/x-pn-wav:wav:Microsoft wave file +audio/x-pn-windows-acm:wav:Microsoft wave file + controls: play "$file" + controls: wavplay -q "$file" + controls noisy: bplay "$file" + controls: splay "$file" + nokill noisy : xmms -e -p "$file" + repeat noisy swallow(alsaplayer): alsaplayer -q "$file" + +audio/x-pn-realaudio-plugin:rpm:RealPlayer Plugin Metafile +audio/x-pn-realaudio:ra,rm,ram:Realaudio-plugin resource locator +audio/x-realaudio:ra,rm,ram:RealAudio file +application/vnd.rn-realmedia:rm:RealMedia file +application/smil:smi:RealPlayer +audio/vnd.rn-realaudio:ra,ram:RealAudio file +audio/vnd.rn-realvideo:rv:RealVideo file + nokill stream: hxplay "$file" + nokill stream: realplay "$file" + +audio/x-ms-wax:wax:Windows Media Audio + MP_AUDIO_STREAM(-playlist-playlist)) + TM_AUDIO_STREAM() + +audio/x-ms-wma:wma:Windows Media Audio + MP_AUDIO_STREAM() + TM_AUDIO_STREAM() + +####################### +### Documents ### +####################### + +image/sun-raster:rs:SUN raster image +image/x-sun-raster:rs:SUN raster image +image/x-rgb:rgb:RGB Image +image/x-portable-pixmap:ppm:PPM Image +image/x-portable-graymap:pgm:PGM Image +image/x-portable-bitmap:pbm:PBM Image +image/x-portable-anymap:pnm:PBM Image +image/tiff:tiff,tif:TIFF image +image/x-tiff:tiff,tif:TIFF image + exits: display -window $window -backdrop "$file" + repeat noisy swallow(gqview) fill: gqview -t "$file" + swallow(:) maxaspect: xv -ima -igeom +9000+9000 -geometry +9000+9000 "$file" + repeat swallow(display): display "$file" + repeat swallow(Sdtimage) fill: sdtimage "$file" + swallow(*qiv:) fill maxaspect: qiv -n "$file" + +image/x-xcf:xcf:Gimp Image +image/xcf:xcf:Gimp Image +application/x-gimp:xcf:Gimp Image +application/gimp:xcf:Gimp Image + exits: display -window $window -backdrop "$file" + repeat swallow(display) fill: display "$file" + +application/photoshop:psd:PhotoShop Image +application/x-photoshop:psd:PhotoShop Image + exits: display -window $window -backdrop "$file" + repeat swallow(display) fill: display "$file" + +application/pdf:pdf:PDF file +application/x-pdf:pdf:PDF file +text/pdf:pdf:PDF file +text/x-pdf:pdf:PDF file + ACROREAD() + repeat noisy swallow(evince) fill: evince "$file" + repeat noisy swallow(kpdf) fill: kpdf "$file" + repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file" + repeat noisy swallow(okular) fill: okular "$file" + GV() + +application/x-dvi:dvi:DVI file + repeat swallow(kdvi) fill: kdvi "$file" + repeat swallow(xdvi) fill: xdvi -safer -hush -geometry +9000+9000 "$file" + +application/x-postscript:ps:PostScript file +application/postscript:ps:PostScript file + GV() + repeat noisy swallow(evince) fill: evince "$file" + +application/x-rtf:rtf:Rich Text Format +application/rtf:rtf:Rich Text Format +text/rtf:rtf:Rich Text Format + OO() + repeat noisy swallow(AbiWord) fill: abiword --nosplash --geometry +9000+9000 "$file" + repeat noisy swallow(kword): kword "$file" + repeat noisy swallow(Ted) fill: Ted "$file" + +application/x-msword:doc,dot:Microsoft Word Document +application/msword:doc,dot:Microsoft Word Document + OO() + repeat noisy swallow(kword): kword "$file" + repeat noisy swallow(AbiWord) fill: abiword --nosplash --geometry +9000+9000 "$file" + +application/vnd.ms-excel:xls,xlb:Microsoft Excel Document + OO() + repeat swallow(Gnumeric) fill: gnumeric "$file" + +# OpenOffice MimeTypes (http://framework.openoffice.org/documentation/mimetypes/mimetypes.html) +application/vnd.sun.xml.writer:sxw:OpenOffice Writer 6.0 documents +application/so7_vnd.sun.xml.writer:sxw:OpenOffice Writer 7.0 documents +application/vnd.sun.xml.writer.template:stw:OpenOffice Writer 6.0 templates +application/vnd.sun.xml.writer.global:sxg:OpenOffice Writer 6.0 global documents +application/vnd.stardivision.writer:sdw:StarWriter 5.x documents +application/vnd.stardivision.writer-global:sgl:StarWriter 5.x global documents +application/x-starwriter:sdw:StarWriter 4.x documents + OO() + +application/vnd.sun.xml.calc:sxc:OpenOffice Calc 6.0 spreadsheets +application/so7_vnd.sun.xml.calc:sxc:OpenOffice Calc 7.0 spreadsheets +application/vnd.sun.xml.calc.template:stc:OpenOffice Calc 6.0 templates +application/vnd.stardivision.calc:sdc:StarCalc 5.x spreadsheets +application/x-starcalc:sdc:StarCalc 4.x spreadsheets +application/vnd.lotus-1-2-3: 123, wk1: Lotus 1-2-3 Document + OO() + +application/vnd.sun.xml.draw:sxd:OpenOffice Draw 6.0 documents +application/so7_vnd.sun.xml.draw:sxc:StarOffice Draw 7.0 documents +application/vnd.sun.xml.draw.template:std:OpenOffice Draw 6.0 templates +application/vnd.stardivision.draw:sda:StarDraw 5.x documents +application/x-stardraw:sda:StarDraw 4.x documents + OO() + +application/vnd.sun.xml.impress:sxi:OpenOffice Impress 6.0 presentations +application/so7_vnd.sun.xml.impress:sxi:StarOffice 7.0 Impress presentations +application/vnd.sun.xml.impress.template:sti:OpenOffice Impress 6.0 templates +application/vnd.stardivision.impress:sdd:StarImpress 5.x presentations +application/vnd.stardivision.impress-packed:sdp:StarImpress Packed 5.x files +application/x-starimpress:sdd:StarImpress 4.x presentations +application/vnd.ms-powerpoint:ppt:PowerPoint Slideshow +application/mspowerpoint:ppt,ppz,pps,pot:PowerPoint Slideshow + OO() + +application/vnd.sun.xml.math:sxm:OpenOffice Math 6.0 documents +application/so7_vnd.sun.xml.math:sxm:StarOffice 7.0 Math documents +application/vnd.stardivision.math:smf:StarMath 5.x documents +application/x-starmath:smf:StarMath 4.x documents + OO() + +application/vnd.oasis.opendocument.text:odt,ODT:OASIS OpenDocument Text + OO() + +application/vnd.oasis.opendocument.spreadsheet:ods,ODS:OASIS OpenDocument SpreadSheet + OO() + +application/vnd.oasis.opendocument.presentation:odp,ODP:OASIS OpenDocument Presentation + OO() + +chemical/x-pdb:pdb: Protein Data Bank file +model/x-pdb:pdb: Protein Data Bank file + swallow(rasmol) fill: rasmol "$file" + swallow(molecule) fill: /usr/X11R6/lib/xscreensaver/molecule -delay 20000 -geometry +9000+9000 -no-spin -molecule "$file" + +mozplugger/xterm:xterm: xterm + stream swallow(xterm) fill: xterm -title xterm $VAR_arg -- cgit v1.2.3