diff options
Diffstat (limited to 'net/www/mozplugger')
-rw-r--r-- | net/www/mozplugger/Manifest | 5 | ||||
-rw-r--r-- | net/www/mozplugger/mozplugger.mkbuild | 2 | ||||
-rw-r--r-- | net/www/mozplugger/mozpluggerrc.new | 396 |
3 files changed, 400 insertions, 3 deletions
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 </dev/null]) + +define(MP_EMBED,[embed noisy ignore_errors: MP_CMD(-xy $width -wid $window $1)]) + +define(MP_NOEMBED,[noembed noisy ignore_errors maxaspect swallow(MPlayer): MP_CMD($1)]) + +# If you want a small controls in top left corner of embedded window when using +# mplayer then uncomment the first and comment the second below + +#define(MP_VIDEO_STREAM,[controls stream MP_EMBED($1 "$file") +# stream MP_NOEMBED($1 "$file")]) + +define(MP_VIDEO_STREAM,[stream MP_EMBED($1 "$file") + stream MP_NOEMBED($1 "$file")]) + +define(MP_VIDEO_PLAYLIST, [fmatch($1) MP_EMBED(-playlist "$file") + fmatch($1) MP_NOEMBED(-playlist "$file")]) +# Special case for Quicktime +define(MP_LINKS,[stream links noisy ignore_errors: MP_CMD($1)]) + +define(MP_AUDIO,[mplayer -really-quiet -nojoystick $1 </dev/null]) + +define(MP_AUDIO_STREAM,[controls stream noisy ignore_errors: mplayer -really-quiet -nojoystick $1 "$file" </dev/null]) + +ifelse(esyscmd([mplayer -afm help 2>&1 | grep vorbis]),[],[ + define(MP_NO_VORBIS) +],[ + define(MP_VORBIS) +]) + +### Totem + +define(TM_CMD,[totem $1</dev/null]) + +define(TM_EMBED,[embed noisy ignore_errors hidden fill swallow(Totem): TM_CMD(--toggle-controls $1)]) + +define(TM_NOEMBED,[nokill noembed noisy ignore_errors: TM_CMD($1)]) + + +define(TM_VIDEO_STREAM,[stream TM_EMBED("$file") + stream TM_NOEMBED("$file")]) + +# Special case for Quicktime +define(TM_LINKS,[stream links nokill noembed noisy ignore_errors: TM_CMD($1)]) + +define(TM_AUDIO_STREAM,[controls stream noisy ignore_errors: TM_CMD("$file")]) + +### OpenOffice +define([OO],[swallow(VCLSalFrame) fill: ooffice2.0 -nologo -norestore -view $1 "$file" + swallow(VCLSalFrame) fill: ooffice -nologo -norestore -view $1 "$file" + swallow(VCLSalFrame) fill: soffice -nologo $1 "$file"]) + +### Acrobat Reader +define(ACROREAD_OPTS,[-openInNewWindow /a "$fragment"]) +define(ACROREAD_OPTS5,[-geometry +9000+9000 +useFrontEndPanel /a "$fragment"]) + +define(ACROREAD_FLAGS,[repeat swallow(acroread) fill]) +define(ACROREAD_FLAGS5,[repeat swallow(documentShell) fill]) + +# Trap only version 5 assume the rest work OK (6 onwards...) +ifelse(esyscmd([acroread -v | grep "^[^0-9]*5\..*$"]), [], [ + define(ACROREAD, [ACROREAD_FLAGS() : acroread ACROREAD_OPTS() "$file"]) +],[ + define(ACROREAD, [ACROREAD_FLAGS5() : acroread ACROREAD_OPTS5() "$file"]) +]) + +### GV +define(GV_OPTS,[--safer --quiet --antialias -geometry +9000+9000]) +define(GV_FLAGS,[repeat noisy swallow(gv) fill]) +define(GV,[GV_FLAGS(): gv GV_OPTS() "$file"]) + +################### +### Video ### +################### + +video/mpeg:mpeg,mpg,mpe:MPEG animation +video/x-mpeg:mpeg,mpg,mpe:MPEG animation +video/x-mpeg2:mpv2,mp2ve:MPEG2 animation + MP_VIDEO_STREAM() + TM_VIDEO_STREAM() + nokill noisy: xine -pq "$file" + loop: mtvp -l -W$window "$file" + : mtvp -W$window "$file" + loop: xanim +Av100 -Zr +W$window +q +f "$file" + : xanim +Av100 -Zr +W$window +q +Ze +f "$file" + +video/mp4:mp4:MPEG4 animation + MP_VIDEO_STREAM() + TM_VIDEO_STREAM() + nokill noisy: xine -pq "$file" + +video/msvideo:avi:AVI animation +video/x-msvideo:avi:AVI animation +video/fli:fli,flc:FLI animation +video/x-fli:fli,flc:FLI animation + MP_VIDEO_STREAM() + TM_VIDEO_STREAM() + nokill noisy: xine -pq "$file" + +application/x-mplayer2:*:Windows Media video +video/x-ms-asf:asf,asx:Windows Media video +video/x-ms-wm:wm:Windows Media video +video/x-ms-wmv:wmv:Windows Media video +video/x-ms-wvx:wvx:Windows Media video +video/x-ms-asf-plugin:*:Window Media video + MP_VIDEO_PLAYLIST(%.asx) + MP_VIDEO_STREAM() + TM_VIDEO_STREAM() + +application/asx:asx:Windows Media video + MP_VIDEO_STREAM(-playlist) + TM_VIDEO_STREAM() + +application/x-quicktimeplayer:mov:Quicktime animation +image/x-macpaint:pntg,mov:Quicktime animation +video/quicktime:mov,qt:Quicktime animation +video/x-quicktime:mov,qt:Quicktime animation + MP_VIDEO_STREAM() + MP_LINKS("$file") + TM_VIDEO_STREAM() + TM_LINKS("$file") + stream links : xine -pq "$file" + nokill noisy: xine -pq "$file" + +video/x-theora:ogg:OGG stream with video +video/theora:ogg:OGG stream with video +video/ogg:ogg:OGG stream with video +video/x-ogg:ogm,ogv:OGG stream with video +ifdef([MP_VORBIS],[ MP_VIDEO_STREAM() +]) TM_VIDEO_STREAM() + +video/dl:dl:DL animation +video/x-dl:dl:DL animation +video/sgi-movie:movie,movi,mv:SGI animation +video/x-sgi-movie:movie,movi,mv:SGI animation +video/anim:iff,anim5,anim3,anim7:IFF animation +video/x-anim:iff,anim5,anim3,anim7:IFF animation + loop: xanim +Av100 -Zr +W$window +q +f "$file" + : xanim +Av100 -Zr +W$window +q +Ze +f "$file" + + +################## +### Audio ### +################## + +audio/mid:midi,mid:MIDI audio file +audio/x-mid:midi,mid:MIDI audio file +audio/midi:midi,mid:MIDI audio file +audio/x-midi:midi,mid:MIDI audio file + controls noisy stream: timidity -Od "$file" + controls: playmidi "$file" + +audio/mod:mod:Soundracker audio Module +audio/x-mod:mod:Soundracker audio Module + controls loop noisy: mikmod -q --interpolate "$file" + controls noisy: mikmod -q --interpolate "$file" + controls loop noisy: xmp -l --nocmd "$file" + controls noisy: xmp --nocmd "$file" + +audio/mp3:mp3:MPEG audio +audio/x-mp3:mp3:MPEG audio +audio/mpeg2:mp2:MPEG audio +audio/x-mpeg2:mp2:MPEG audio +audio/mpeg3:mp3:MPEG audio +audio/x-mpeg3:mp3:MPEG audio +audio/mpeg:mpa,abs,mpega:MPEG audio +audio/x-mpeg:mpa,abs,mpega:MPEG audio + MP_AUDIO_STREAM() + TM_AUDIO_STREAM() + controls: mpg321 -q "$file" + controls: mpg123 -q "$file" + controls: splay -t 200 "$file" + controls: amp -b 200 -q "$file" + controls: maplay "$file" + controls: mpeg3play "$file" + nokill noisy : xmms -e -p "$file" + repeat noisy swallow(alsaplayer): alsaplayer -q "$file" + +audio/mpeg-url:m3u:MPEG music resource locator +audio/x-mpeg-url:m3u:MPEG music resource locator +audio/mpegurl:m3u:MPEG music resource locator +audio/x-mpegurl:m3u:MPEG music resource locator +audio/x-scpls:pls:Shoutcast Playlists +# controls: mpg321 -q -@ "$file" + nokill noisy : xmms -e -p "$file" + +audio/x-ogg:ogg:OGG audio +application/x-ogg:ogg:OGG audio +application/ogg:ogg:OGG audio +ifdef([MP_VORBIS],[ MP_AUDIO_STREAM() +]) TM_AUDIO_STREAM() + controls stream noisy: ogg123 -q -b 128 "$file" + nokill noisy : xmms -e -p "$file" + +audio/x-flac:flac:FLAC audio +application/x-flac:flac:FLAC audio + MP_AUDIO_STREAM() + nokill noisy : xmms -e -p "$file" + +audio/x-sidtune:sid,psid:Commodore 64 Audio +audio/sidtune:sid,psid:Commodore 64 Audio +audio/psid:psid,sid:Commodore 64 Audio +audio/x-psid:psid,sid:Commodore 64 Audio + controls noisy: sidplay -16 -f44100 -a "$file" + +audio/basic:au,snd:Basic audio file +audio/x-basic:au,snd:Basic audio file + controls: play "$file" + controls: sox "$file" -t .au - > /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 |