From 92ca76634ba31cf3b7c93934b519e6447028ba61 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sat, 10 Jan 2009 14:43:38 +0000 Subject: mozplugger: fixing config file stuff git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@358 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- net/www/mozplugger/Manifest | 5 +- net/www/mozplugger/mozplugger.mkbuild | 4 +- net/www/mozplugger/mozpluggerrc | 396 ++++++++++++++++++++++++++++++++++ net/www/mozplugger/mozpluggerrc.new | 396 ---------------------------------- 4 files changed, 401 insertions(+), 400 deletions(-) create mode 100644 net/www/mozplugger/mozpluggerrc delete mode 100644 net/www/mozplugger/mozpluggerrc.new (limited to 'net') diff --git a/net/www/mozplugger/Manifest b/net/www/mozplugger/Manifest index c10e771..b306dcc 100644 --- a/net/www/mozplugger/Manifest +++ b/net/www/mozplugger/Manifest @@ -1,4 +1,5 @@ DIST mozplugger-1.12.0.tar.gz 95073 MD5 6d4dd7b1c577f625c9d664532389d6db RMD160 87c82713de2dd9b139ea0b49f856b6797c913fb8 SHA1 5107338378795c147e79c04eead8f9fa7f6ebd28 SHA256 1312aad8078dcda7f8ec8e9d756786034420406bf1658066d60392bdaa7befee SHA512 54b3308b806ae11e0021549bb8873d7f57efc9979858f3e746368a19c9d553dc9b8bcd92c7c60f57c3897d06abcb7afce4173218a0e57982814c370941c929ee +MISC mozpluggerrc 13726 MD5 e1537238645697581fd7654cfa7c8fa4 RMD160 e53c56bdb110a2c29f09608f0436ba855d5e95f0 SHA1 e808d691ea7729321cdccff2e5b6f58a324229d3 SHA256 c222dd52ce470a9effdc79c490a2fd17e3cefe0c83b70ec78a8b7719fafb10fb SHA512 37b17db22a76dfa85521867b1cd049ff472caf4767754bc433eb9a4e932b522721e072760f7e026915945f4195d241fe4956a6e810982542a553ed87e683a601 MISC mozpluggerrc.new 13726 MD5 e1537238645697581fd7654cfa7c8fa4 RMD160 e53c56bdb110a2c29f09608f0436ba855d5e95f0 SHA1 e808d691ea7729321cdccff2e5b6f58a324229d3 SHA256 c222dd52ce470a9effdc79c490a2fd17e3cefe0c83b70ec78a8b7719fafb10fb SHA512 37b17db22a76dfa85521867b1cd049ff472caf4767754bc433eb9a4e932b522721e072760f7e026915945f4195d241fe4956a6e810982542a553ed87e683a601 -MKBUILD mozplugger.mkbuild 3385 MD5 29a89d13faf65459f4feee710e8e3db2 RMD160 038c8eeebbf0564301575d5a3c5e52a7c6435443 SHA1 6104dd5efa48810bd771290f5e7536e994a0742f SHA256 3593003977073f2b1b95713c742e4c1a5dfd9cc572a0fada342440c05e69cb40 SHA512 3a40724b22695096097e8d3d34d6d215cb3d0dbf87bee7489f13834d0f369281538357c6b0ca595249120ff00bc075007ad10957ab0226c9ff9a88c09b381a12 -SLACKBUILD mozplugger.SlackBuild 7835 MD5 fb4f611082d600476545835c2031c311 RMD160 bb803d71697adda367f33945fedaf39d8579f201 SHA1 6a718e82933d5804f37c7d45deb57a87f4226803 SHA256 e0fe821de9b31a8629b052d3ad6609c95a7e22b7ad348a899a3bbb4bf0f51854 SHA512 6e989414f7ecf3d910f8ef14a57b417b2e8bc5e6351fb1307c30cfbe25c9585950e59adea1d924585814182f68902b269c43606c7ca2681fb3a8b95a511b5f38 +MKBUILD mozplugger.mkbuild 3381 MD5 3cd301a9235d518348fae7ec4f04f11b RMD160 51b1046be42127c09f62c8a8bbad74f5ea0a597e SHA1 8dbe765c4634104d0d602fa9902ec5b1e931da21 SHA256 f670466afdc5ff72e820c9d07b37c9950a35977d42ca3fa99e4a0aaf4c762dc5 SHA512 c8aec846ad5a0c2c14ba59ce714dc887fca6ba51bb15b96848fc3bd4f3fb3b9d98ab3f374271d0cd7361e18f4541abef26730743f47c5bc32a565529c8dfb5bc +SLACKBUILD mozplugger.SlackBuild 7985 MD5 6b28f3d50a01f11556ba01984973d69a RMD160 dc8df30974278d7ebaa3a17695161baa76a0f6b0 SHA1 4e28938aaa2acd22e97721850b49cf1c9b03f291 SHA256 e92b92f2a23efba84c0346191e59c286ae835dad75baab5312651f7309198057 SHA512 79cccd2cfe6bbd32cf224ba6aaf9002bb1a92138cf95f4a388dc06502b5ee976c62fe8d8838812c67f1fdfd19f0cfb73b3c8c1bb55eba13c587348e10aef6df7 diff --git a/net/www/mozplugger/mozplugger.mkbuild b/net/www/mozplugger/mozplugger.mkbuild index 559f2b6..2474ce2 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.new" +[[CONFIG FILES]]="mozpluggerrc" [[REST OF DOINST.SH]]="config etc/mozpluggerrc.new" #--------------------- @@ -85,7 +85,7 @@ off: copy_init_scripts on: copy_config_files on: install_documentation on: slackdesc -off: move_config_files + on: move_config_files on: postinstall_script off: slack_required on: build_package diff --git a/net/www/mozplugger/mozpluggerrc b/net/www/mozplugger/mozpluggerrc new file mode 100644 index 0000000..152e675 --- /dev/null +++ b/net/www/mozplugger/mozpluggerrc @@ -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 diff --git a/net/www/mozplugger/mozpluggerrc.new b/net/www/mozplugger/mozpluggerrc.new deleted file mode 100644 index 152e675..0000000 --- a/net/www/mozplugger/mozpluggerrc.new +++ /dev/null @@ -1,396 +0,0 @@ -# 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