From owner-freebsd-ports Sat Nov 16 21:30:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC9C837B401 for ; Sat, 16 Nov 2002 21:30:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CBF743E42 for ; Sat, 16 Nov 2002 21:30:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAH5U1x3090634 for ; Sat, 16 Nov 2002 21:30:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAH5U1Mx090633; Sat, 16 Nov 2002 21:30:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6955A37B401; Sat, 16 Nov 2002 21:28:15 -0800 (PST) Received: from harrier.csrv.uidaho.edu (harrier.csrv.uidaho.edu [129.101.119.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id C221143E88; Sat, 16 Nov 2002 21:28:14 -0800 (PST) (envelope-from jmcoopr@uidaho.edu) Received: from pc016247.reshall.uidaho.edu (PC016247.reshall.uidaho.edu [129.101.136.30]) by harrier.csrv.uidaho.edu (8.9.3 (PHNE_22672)/) with ESMTP id VAA01208; Sat, 16 Nov 2002 21:27:58 -0800 (PST) Received: from pc016247.reshall.uidaho.edu (localhost [IPv6:::1]) by pc016247.reshall.uidaho.edu (8.12.6/8.12.6) with ESMTP id gAH5SF3M034591; Sat, 16 Nov 2002 21:28:35 -0800 (PST) (envelope-from jmcoopr@pc016247.reshall.uidaho.edu) Received: (from root@localhost) by pc016247.reshall.uidaho.edu (8.12.6/8.12.6/Submit) id gAH5Re4Q034589; Sat, 16 Nov 2002 21:27:40 -0800 (PST) (envelope-from jmcoopr) Message-Id: <200211170527.gAH5Re4Q034589@pc016247.reshall.uidaho.edu> Date: Sat, 16 Nov 2002 21:27:40 -0800 (PST) From: John Merryweather Cooper Reply-To: John Merryweather Cooper To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnome@FreeBSD.org, adam@vectors.cx X-Send-Pr-Version: 3.113 Subject: ports/45362: [MAINTAINER-UPDATE] Adjust www/plugger to install in new plugin directory, etc. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45362 >Category: ports >Synopsis: [MAINTAINER-UPDATE] Adjust www/plugger to install in new plugin directory, etc. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Nov 16 21:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD PC016247.reshall.uidaho.edu 4.7-STABLE FreeBSD 4.7-STABLE #62: Thu Nov 14 16:16:48 PST 2002 root@PC016247.reshall.uidaho.edu:/usr/obj/usr/src/sys/JOHNCOOP i386 >Description: On the request of Adam Weinberger and others, I've modifed www/plugger to be Gnome/2 aware. Also, I've adjust the installation to place the plugin in the new FreeBSD standard plugin directory. >How-To-Repeat: N/A >Fix: --- update-plugger-4.0_2 begins here --- # This is a patch for plugger to update it to plugger-4.0_2 # # 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. # STEP 2: Run the 'patch' program with this file as input. # #### End of Preamble #### #### Patch data follows #### diff -u 'plugger/Makefile' 'plugger-4.0_2/Makefile' Index: ./Makefile --- ./Makefile Sat Nov 9 14:59:59 2002 +++ ./Makefile Sat Nov 16 21:03:39 2002 @@ -2,12 +2,12 @@ # Date created: 11 Februrary 1999 # Whom: Jay Sachs # -# $FreeBSD: ports/www/plugger/Makefile,v 1.14 2002/11/09 17:14:30 sada Exp $ +# $FreeBSD$ # PORTNAME= plugger PORTVERSION= 4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www audio graphics MASTER_SITES= http://fredrik.hubbe.net/plugger/ \ ${MASTER_SITE_NETSCAPE} @@ -16,8 +16,7 @@ MAINTAINER= coop9211@uidaho.edu -RUN_DEPENDS= ${X11BASE}/bin/mozilla:${PORTSDIR}/www/mozilla \ - ${X11BASE}/bin/xanim:${PORTSDIR}/graphics/xanim \ +RUN_DEPENDS= ${X11BASE}/bin/xanim:${PORTSDIR}/graphics/xanim \ ${LOCALBASE}/bin/timidity:${PORTSDIR}/audio/timidity++ \ ${LOCALBASE}/bin/mpg123:${PORTSDIR}/audio/mpg123 \ ${LOCALBASE}/bin/wavplay:${PORTSDIR}/audio/wavplay \ @@ -27,7 +26,6 @@ ${X11BASE}/bin/gqview:${PORTSDIR}/graphics/gqview \ ${X11BASE}/bin/gv:${PORTSDIR}/print/gv \ ${X11BASE}/bin/abiword:${PORTSDIR}/editors/AbiWord \ - ${X11BASE}/bin/gnumeric:${PORTSDIR}/math/gnumeric \ ${LOCALBASE}/bin/acroread5:${PORTSDIR}/print/acroread5 USE_X_PREFIX= yes @@ -47,6 +45,10 @@ WITH_MTV = yes .endif +.if exists(${X11BASE}/lib/libgnomeprintui-2.so.0) +WITH_GNOME2 = yes +.endif + .if defined(WITH_MPLAYER) RUN_DEPENDS+= ${LOCALBASE}/bin/mplayer:${PORTSDIR}/graphics/mplayer .endif @@ -55,6 +57,12 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/mtvp:${PORTSDIR}/graphics/mtv .endif +.if defined(WITH_GNOME2) +RUN_DEPENDS+= ${X11BASE}/bin/gnumeric:${PORTSDIR}/math/gnumeric2 +.else +RUN_DEPENDS+= ${X11BASE}/bin/gnumeric:${PORTSDIR}/math/gnumeric +.endif + pre-extract: .if !defined(WITH_MPLAYER) @${ECHO_MSG} "Enable mplayer for AVI video by defining WITH_MPLAYER." @@ -64,6 +72,11 @@ @${ECHO_MSG} "Enable mtvp for MPEG video by defining WITH_MTV." .endif +.if !defined(WITH_GNOME2) + @${ECHO_MSG} "Enable Gnome/2 AbiWord and Gnumeric by defining" + @${ECHO_MSG} "WITH_GNOME2." +.endif + post-patch: @${MV} ${WRKSRC}/plugger.c ${WRKSRC}/plugger.c.orig @${SED} \ @@ -75,8 +88,9 @@ do-install: @${INSTALL_PROGRAM} ${WRKSRC}/plugger-${PORTVERSION} \ ${PREFIX}/bin + @${MKDIR} ${PREFIX}/lib/browser_plugins @${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \ - ${PREFIX}/lib/mozilla/plugins/npplugger.so + ${PREFIX}/lib/browser_plugins/npplugger.so @${INSTALL_MAN} ${WRKSRC}/plugger.7 ${MANPREFIX}/man/man7 @${INSTALL_DATA} ${WRKSRC}/pluggerrc ${PREFIX}/etc/pluggerrc.sample @${INSTALL_DATA} -b ${WRKSRC}/pluggerrc ${PREFIX}/etc diff -u 'plugger/pkg-comment' 'plugger-4.0_2/pkg-comment' Index: ./pkg-comment --- ./pkg-comment Tue Sep 4 09:32:20 2001 +++ ./pkg-comment Sat Nov 16 21:16:25 2002 @@ -1 +1 @@ -A multimedia front-end plugin for Mozilla +A multimedia front-end plugin for Mozilla or Opera diff -u 'plugger/pkg-plist' 'plugger-4.0_2/pkg-plist' Index: ./pkg-plist --- ./pkg-plist Mon Apr 8 21:49:51 2002 +++ ./pkg-plist Sat Nov 16 21:00:58 2002 @@ -1,5 +1,5 @@ bin/plugger-4.0 -lib/mozilla/plugins/npplugger.so +lib/browser_plugins/npplugger.so @unexec if [ -f %D/etc/pluggerrc ]; then cmp -s %D/etc/pluggerrc.sample %D/etc/pluggerrc && rm -f %D/etc/pluggerrc || echo "If you are permanently removing this port, you should do a ``rm -f ${PKG_PREFIX}/etc/pluggerrc`` to remove configuration files left." | fmt ; fi @unexec if [ -f %D/etc/pluggerrc.old ]; then echo "If you are permanently removing this port, you should do a ``rm -f ${PKG_PREFIX}/etc/pluggerrc.old`` to remove backup configuration files left." | fmt ; fi etc/pluggerrc.sample #### End of Patch data #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Sat Nov 16 21:21:07 2002 # Generated by : makepatch 2.00 # Recurse directories : Yes # p 'Makefile' 2558 1037509419 0100644 # p 'pkg-comment' 42 1037510185 0100644 # p 'pkg-plist' 636 1037509258 0100644 #### End of ApplyPatch data #### #### End of Patch kit [created: Sat Nov 16 21:21:07 2002] #### #### Checksum: 133 4745 46595 #### --- update-plugger-4.0_2 ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message