From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 23 23:10:15 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75F2237B401 for ; Mon, 23 Jun 2003 23:10:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F11F143FB1 for ; Mon, 23 Jun 2003 23:10:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5O6ADUp098435 for ; Mon, 23 Jun 2003 23:10:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5O6AD61098434; Mon, 23 Jun 2003 23:10:13 -0700 (PDT) Resent-Date: Mon, 23 Jun 2003 23:10:13 -0700 (PDT) Resent-Message-Id: <200306240610.h5O6AD61098434@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "John Merryweather Cooper" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1400337B401 for ; Mon, 23 Jun 2003 23:08:12 -0700 (PDT) Received: from grebe.mail.pas.earthlink.net (grebe.mail.pas.earthlink.net [207.217.120.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4344543FB1 for ; Mon, 23 Jun 2003 23:08:11 -0700 (PDT) (envelope-from coop9211@uidaho.edu) Received: from 1cust42.tnt1.pullman.wa.da.uu.net ([67.250.113.42] helo=johncoop.marjoh.org) by grebe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19UgyN-00028W-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 23 Jun 2003 23:08:08 -0700 Message-Id: 1056434885@johncoop.marjoh.org Date: Mon, 23 Jun 2003 23:08:07 -0700 From: "John Merryweather Cooper" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: gtk-send-pr 0.1 Subject: ports/53664: [MAINTAINER-UPDATE] Patch www/plugger to 4.0_3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 06:10:15 -0000 >Number: 53664 >Category: ports >Synopsis: [MAINTAINER-UPDATE] Patch www/plugger to 4.0_3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jun 23 23:10:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD johncoop.marjoh.org 4.8-STABLE FreeBSD 4.8-STABLE #21: Thu Jun i386 >Description: * Patch to make plugger work better with mplayer * Sort dependencies in pkg_sort order * Cleanup pkg-descr * Create pkg-message-mplayer for special handling with mozilla * Patch pluggerrc for smoother operation >How-To-Repeat: N/A >Fix: --- update-plugger-to-4.0_3 begins here --- # This is a patch for plugger to update it to plugger-4.0_3 # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from the Comprehensive Perl Archive Network: # http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz # In the above URL, 'x' should be 2 or higher. # # To apply this patch without the use of 'applypatch': # STEP 1: Chdir to the source directory. # If you have a decent Bourne-type shell: # STEP 2: Run the shell with this file as input. # If you don't have such a shell, you may need to manually create # the files as shown below. # STEP 3: Run the 'patch' program with this file as input. # # These are the commands needed to create/delete files/directories: # touch 'pkg-message-mplayer' chmod 0644 'pkg-message-mplayer' touch 'update-plugger-to-4.0_3' chmod 0644 'update-plugger-to-4.0_3' # # This command terminates the shell and need not be executed manually. exit # #### End of Preamble #### #### Patch data follows #### diff -u 'plugger/Makefile' 'plugger-4.0_3/Makefile' Index: ./Makefile --- ./Makefile Thu May 22 08:07:36 2003 +++ ./Makefile Sun Jun 22 09:13:51 2003 @@ -2,12 +2,12 @@ # Date created: 11 Februrary 1999 # Whom: Jay Sachs # -# $FreeBSD: ports/www/plugger/Makefile,v 1.18 2003/04/04 05:34:49 lioux Exp $ +# $FreeBSD$ # PORTNAME= plugger PORTVERSION= 4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www audio graphics multimedia MASTER_SITES= http://fredrik.hubbe.net/plugger/ \ ${MASTER_SITE_NETSCAPE} @@ -17,16 +17,16 @@ MAINTAINER= coop9211@uidaho.edu COMMENT= A multimedia front-end plugin for Mozilla or Opera -RUN_DEPENDS= ${X11BASE}/bin/xanim:${PORTSDIR}/multimedia/xanim \ - ${LOCALBASE}/bin/timidity:${PORTSDIR}/audio/timidity++ \ +RUN_DEPENDS= ${LOCALBASE}/bin/nspptview:${PORTSDIR}/textproc/xlhtml \ ${LOCALBASE}/bin/mpg123:${PORTSDIR}/audio/mpg123 \ + ${LOCALBASE}/bin/sidplay:${PORTSDIR}/audio/sidplay \ ${LOCALBASE}/bin/wavplay:${PORTSDIR}/audio/wavplay \ ${LOCALBASE}/bin/xmp:${PORTSDIR}/audio/xmp \ - ${LOCALBASE}/bin/sidplay:${PORTSDIR}/audio/sidplay \ - ${LOCALBASE}/bin/display:${PORTSDIR}/graphics/ImageMagick \ ${X11BASE}/bin/gqview:${PORTSDIR}/graphics/gqview \ + ${LOCALBASE}/bin/display:${PORTSDIR}/graphics/ImageMagick \ + ${LOCALBASE}/bin/timidity:${PORTSDIR}/audio/timidity++ \ ${X11BASE}/bin/gv:${PORTSDIR}/print/gv \ - ${X11BASE}/bin/abiword:${PORTSDIR}/editors/AbiWord \ + ${X11BASE}/bin/xanim:${PORTSDIR}/multimedia/xanim \ ${LOCALBASE}/bin/acroread5:${PORTSDIR}/print/acroread5 USE_X_PREFIX= yes @@ -46,7 +46,7 @@ WITH_MTV = yes .endif -.if exists(${X11BASE}/lib/libgnomeprintui-2.so.0) +.if exists(${X11BASE}/lib/libgnomeprintui-2-2.so.0) WITH_GNOME2 = yes .endif @@ -59,9 +59,11 @@ .endif .if defined(WITH_GNOME2) -RUN_DEPENDS+= ${X11BASE}/bin/gnumeric:${PORTSDIR}/math/gnumeric2 +RUN_DEPENDS+= ${X11BASE}/bin/gnumeric:${PORTSDIR}/math/gnumeric2 \ + ${X11BASE}/bin/abiword:${PORTSDIR}/editors/AbiWord2 .else -RUN_DEPENDS+= ${X11BASE}/bin/gnumeric:${PORTSDIR}/math/gnumeric +RUN_DEPENDS+= ${X11BASE}/bin/gnumeric:${PORTSDIR}/math/gnumeric \ + ${X11BASE}/bin/abiword:${PORTSDIR}/editors/AbiWord .endif pre-extract: @@ -98,5 +100,8 @@ post-install: @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' +.if defined(WITH_MPLAYER) + @${CAT} ${PKGMESSAGE}-mplayer +.endif .include diff -u 'plugger/files/patch-pluggerrc' 'plugger-4.0_3/files/patch-pluggerrc' Index: ./files/patch-pluggerrc --- ./files/patch-pluggerrc Sun Aug 25 09:02:39 2002 +++ ./files/patch-pluggerrc Sun Jun 22 15:07:27 2003 @@ -1,70 +1,159 @@ ---- pluggerrc.orig Wed Dec 5 11:14:01 2001 -+++ pluggerrc Wed Apr 3 08:05:35 2002 -@@ -58,12 +58,12 @@ +--- pluggerrc.orig Sun Jun 22 14:48:34 2003 ++++ pluggerrc Sun Jun 22 15:06:47 2003 +@@ -1,4 +1,4 @@ +-# Configure file for plugger version 4.0 ++# Configure file for plugger version 4.0 (FreeBSD modified) + # Commands which are not installed on your system will not + # be used. + # +@@ -6,16 +6,15 @@ + video/x-mpeg: mpeg, mpg, mpe: MPEG animation + video/x-mpeg2: mpv2, mp2ve: MPEG2 animation + stream: mtvp -W$window - 2>/dev/null 1>/dev/null +- ignore_errors maxaspect swallow(MPlayer):mplayer "$file" >/dev/null 2>/dev/null /dev/null 2>/dev/null + 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/msvideo: avi: AVI animation + video/x-msvideo: avi: AVI animation +- ignore_errors maxaspect swallow(MPlayer):if mplayer -autoq 3 "$file" 2>&1 | grep 'Sorry,' >/dev/null ; then mplayer -vo x11 -autoq 3 "$file" >/dev/null 2>/dev/null ; fi /dev/null 2>/dev/null + loop:xanim +Av100 -Zr +W$window +q +f "$file" + :xanim +Av100 -Zr +W$window +q +Ze +f "$file" + +@@ -37,18 +36,11 @@ + audio/midi: midi,mid: MIDI audio file + audio/x-midi: midi,mid: MIDI audio file + : timidity -s 48000 -a -idqqqqqqq "$file" >/dev/null 2>/dev/null +- : playmidi $file + + audio/mod: mod: Soundracker audio Module + audio/x-mod: mod: Soundracker audio Module +- repeat swallow(alsaplayer): alsaplayer -q "$file" >/dev/null + loop: xmp -l --nocmd "$file" 2>/dev/null + : xmp --nocmd "$file" 2>/dev/null +- loop: nspmod -r "$file" 2>/dev/null 1>/dev/null +- repeat: nspmod -l $repeat "$file" 2>/dev/null 1>/dev/null +- : tracker -q -frequency 65000 "$file" +- loop: mikmod -i -r "$file" 2>/dev/null 1>/dev/null +- : mikmod -i "$file" 2>/dev/null 1>/dev/null + + audio/mp3: mp3: MPEG audio + audio/x-mp3: mp3: MPEG audio +@@ -58,15 +50,8 @@ audio/x-mpeg3: mp3: MPEG audio audio/mpeg: mpa,abs,mpega: MPEG audio audio/x-mpeg: mpa,abs,mpega: MPEG audio - stream, preload: splay -t 200 -M - stream, preload: mpg123 -q -b 128 - -+ stream, preload: mpg123 -q -b 1024 - -+ stream, preload: splay -M -t 200 - repeat swallow(alsaplayer): alsaplayer -q "$file" >/dev/null +- repeat swallow(alsaplayer): alsaplayer -q "$file" >/dev/null - : mpg123 -q -b 128 "$file" - nokill exits:xmms "$file" - : splay -t 200 "$file" +- : amp -b 200 -q "$file" +- : maplay "$file" +- : mpeg3play "$file" ++ stream, preload: mpg123 -q -b 1024 - + : mpg123 -q -b 1024 "$file" -+# nokill exits:xmms "$file" # immortal on FreeBSD -+ : splay "$file" -t 200 - : amp -b 200 -q "$file" - : maplay "$file" - : mpeg3play "$file" -@@ -89,12 +89,21 @@ - stream preload: bplay 1>/dev/null 2>/dev/null - : bplay 1>/dev/null 2>/dev/null "$file" - : splay "$file" + + audio/x-sidtune: sid,psid,dat: Commodore 64 audio + audio/sidtune: sid,psid,dat: Commodore 64 audio +@@ -74,7 +59,6 @@ + audio/x-psid: psid,sid,dat: Commodore 64 audio + stream: sidplay -16 -f44100 -a - >/dev/null 2>/dev/null + +- + audio/basic: au,snd: Basic audio file + audio/x-basic: au,snd: Basic audio file + loop: xanim +Av100 -Zr +W$window +q +f "$file" +@@ -83,13 +67,7 @@ + + audio/wav:wav:Microsoft wave file + audio/x-wav:wav:Microsoft wave file +- stream preload: splay -W +- repeat swallow(alsaplayer): alsaplayer -q "$file" >/dev/null + : wavplay -q "$file" +- stream preload: bplay 1>/dev/null 2>/dev/null +- : bplay 1>/dev/null 2>/dev/null "$file" +- : splay "$file" - nokill exits:xmms "$file" -+# nokill exits:xmms "$file" # immortal on FreeBSD loop: xanim +Av100 -Zr +W$window +q +f "$file" : xanim +Av100 -Zr +W$window +q +f +Ze "$file" - image/tiff: tiff,tif: TIFF image - image/x-tiff: tiff,tif: TIFF image -+ repeat swallow(display) fill: display "$file" -+ repeat swallow(Sdtimage) fill: sdtimage "$file" -+ repeat swallow(gqview) fill: gqview -t "$file" >/dev/null 2>/dev/null -+ repeat swallow(xli) fill: xli -quiet "$file" >/dev/null 2>/dev/null -+ repeat swallow(xloadimage) fill: xloadimage -quiet "$file" >/dev/null 2>/dev/null -+ exits: xli -quiet -windowid $window "$file" -+ exits: xloadimage -quiet -windowid $window "$file" -+ exits: display -window $window -backdrop $file -+ - image/png: png: PNG image +@@ -99,12 +77,7 @@ image/x-png: png: PNG image repeat swallow(gqview) fill: gqview -t "$file" >/dev/null 2>/dev/null -@@ -132,7 +141,7 @@ + repeat swallow(display) fill: display "$file" +- repeat swallow(Sdtimage) fill: sdtimage "$file" +- repeat swallow(xli) fill: xli -quiet "$file" >/dev/null 2>/dev/null +- repeat swallow(xloadimage) fill: xloadimage -quiet "$file" >/dev/null 2>/dev/null +- exits: xloadimage -quiet -windowid $window "$file" + exits: display -window $window -backdrop $file +- exits: xli -quiet -windowid $window "$file" + + image/sun-raster: rs: SUN raster image + image/x-sun-raster: rs: SUN raster image +@@ -117,54 +90,34 @@ + image/x-portable-bitmap: pbm: PBM Image + image/x-portable-anymap: pnm: PBM Image + repeat swallow(display) fill: display "$file" +- repeat swallow(Sdtimage) fill: sdtimage "$file" + repeat swallow(gqview) fill: gqview -t "$file" >/dev/null 2>/dev/null +- repeat swallow(xli) fill: xli -quiet "$file" >/dev/null 2>/dev/null +- repeat swallow(xloadimage) fill: xloadimage -quiet "$file" >/dev/null 2>/dev/null +- exits: xli -quiet -windowid $window "$file" +- exits: xloadimage -quiet -windowid $window "$file" + exits: display -window $window -backdrop $file + +-# This does not work :( +-# swallow(XVroot) maxaspect: xv -nopos "$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 - nokill exits:xmms "$file" -+# nokill exits:xmms "$file" # immortal on FreeBSD ++ ignore_errors: mplayer -really-quiet -framedrop -demuxer 17 -playlist "$file" >/dev/null 2>/dev/null :internal:url - audio/x-pn-realaudio-plugin:rpm:Realaudio-plugin resource locator -@@ -142,7 +151,7 @@ +-audio/x-pn-realaudio-plugin:rpm:Realaudio-plugin resource locator +- exits nokill: realplay "$file" +- + application/pdf: pdf: PDF file application/x-pdf: pdf: PDF file text/pdf: pdf: PDF file text/x-pdf: pdf: PDF file - repeat swallow(documentShell) fill: acroread -geometry +9000+9000 -xrm '*userFrontEndProgram: FALSE' "$file" + repeat swallow(documentShell) fill: acroread5 -geometry +9000+9000 -xrm '*userFrontEndProgram: FALSE' "$file" repeat swallow(gv) fill: gv -safer -quiet -antialias -geometry +9000+9000 "$file" 2>/dev/null - repeat swallow(xpdf) fill: xpdf -g +9000+9000 -err "$file" +- repeat swallow(xpdf) fill: xpdf -g +9000+9000 -err "$file" +- +- +-application/x-dvi: dvi: DVI file +- repeat swallow(xdvi) fill: xdvi -safer -hush -geometry +9000+9000 "$file" + + application/x-postscript: ps: PostScript file + application/postscript: ps: PostScript file + repeat swallow(gv) fill: gv -safer -quiet -antialias -geometry +9000+9000 "$file" 2>/dev/null +- repeat swallow(Pageview) fill: pageview "$file" +- -@@ -159,7 +168,7 @@ application/rtf: rtf: Rich Text Format application/x-msword: doc, dot: Microsoft Word Document application/msword: doc, dot: Microsoft Word Document -- repeat swallow(AbiWord) fill: abiword -nosplash -geometry +9000+9000 "$file" >/dev/null 2>/dev/null -+ repeat swallow(AbiWord) fill: abiword --nosplash --geometry=+9000+9000 "$file" >/dev/null 2>/dev/null - repeat swallow(PCFileViewer) fill: sdtpcv "$file" - repeat swallow(PCFileViewer) fill: /opt/SUNWdtpcv/bin/sdtpcv "$file" + repeat swallow(AbiWord) fill: abiword -nosplash -geometry +9000+9000 "$file" >/dev/null 2>/dev/null +- repeat swallow(PCFileViewer) fill: sdtpcv "$file" +- repeat swallow(PCFileViewer) fill: /opt/SUNWdtpcv/bin/sdtpcv "$file" +- + application/vnd.ms-excel: xls, xlb: Microsoft Excel Document + repeat swallow(PluggerGnumeric) fill: gnumeric --class PluggerGnumeric "$file" +- repeat swallow(PCFileViewer) fill: sdtpcv "$file" +- repeat swallow(PCFileViewer) fill: /opt/SUNWdtpcv/bin/sdtpcv "$file" ++ ++application/vnd.ms-powerpoint: ppt: Microsoft PowerPoint Document ++ : nspptview "$file" diff -u 'plugger/pkg-descr' 'plugger-4.0_3/pkg-descr' Index: ./pkg-descr --- ./pkg-descr Tue Sep 4 09:32:20 2001 +++ ./pkg-descr Sun Jun 22 10:54:40 2003 @@ -1,7 +1,7 @@ Plugger is a multimedia plugin for Unix Netscape 3.0 or later that handles Quicktime, MPEG, MP2, AVI, SGI-movie, Tiff, DL, IFF-anim, MIDI, Soundtracker, AU, WAV and Commodore 64 audio files. Since -Plugger 3.0, MPEG audio and video can be streamed played. +Plugger 3.0, MPEG audio and video can be streamed. Plugger is a very small plugin, because plugger uses external programs to show/play the different formats. @@ -9,4 +9,4 @@ WWW: http://www.hubbe.net/~hubbe/plugger.html --jmc -jmcoopr@webmail.bmi.net +coop9211@uidaho.edu diff -u /dev/null 'plugger-4.0_3/pkg-message-mplayer' Index: ./pkg-message-mplayer --- ./pkg-message-mplayer Wed Dec 31 16:00:00 1969 +++ ./pkg-message-mplayer Sun Jun 22 16:41:02 2003 @@ -0,0 +1,24 @@ +#################################################################### +######################## MPLAYER NOTE ############################## +#################################################################### +# +# Since mplayer is run with "nokill" by plugger, it is necessary to +# kill off the remaining mplayer processes. Something like the +# following diff will do the trick. It's not perfect but it works. +# +# As suggested by D.J. Hawkey Jr. +# +#################################################################### +--- run-mozilla.sh.orig Sun Jun 22 09:57:27 2003 ++++ run-mozilla.sh Sun Jun 22 10:00:25 2003 +@@ -193,6 +193,10 @@ + ## + "$prog" ${1+"$@"} + exitcode=$? ++ ## ++ ## Kill any plugger artifacts ++ ## ++ ps -axww | awk '/mplayer.*-wid/ {print $1}' | xargs kill -9 + if [ "$DEBUG_CORE_FILES" ] + then + if [ -f core ] diff -u /dev/null 'plugger-4.0_3/update-plugger-to-4.0_3' Index: ./update-plugger-to-4.0_3 --- ./update-plugger-to-4.0_3 Wed Dec 31 16:00:00 1969 +++ ./update-plugger-to-4.0_3 Sun Jun 22 16:43:20 2003 @@ -0,0 +1,0 @@ #### End of Patch data #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Sun Jun 22 16:44:33 2003 # Generated by : makepatch 2.00 # Recurse directories : Yes # p 'Makefile' 2943 1056298431 0100644 # p 'files/patch-pluggerrc' 2991 1056319647 0100644 # p 'pkg-descr' 441 1056304480 0100644 # c 'pkg-message-mplayer' 0 1056325262 0100644 # c 'update-plugger-to-4.0_3' 0 1056325400 0100644 #### End of ApplyPatch data #### #### End of Patch kit [created: Sun Jun 22 16:44:33 2003] #### #### Checksum: 375 14852 64221 #### --- update-plugger-to-4.0_3 ends here --- >Release-Note: >Audit-Trail: >Unformatted: