Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2009 21:39:48 GMT
From:      Dave Grochowski <malus.x@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/130144: Update port: www/nspluginwrapper to 1.2.2
Message-ID:  <200901032139.n03LdmEV001215@www.freebsd.org>
Resent-Message-ID: <200901032140.n03Le2Qj035598@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130144
>Category:       ports
>Synopsis:       Update port: www/nspluginwrapper to 1.2.2
>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:   Sat Jan 03 21:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dave Grochowski
>Release:        8.0-CURRENT
>Organization:
Lockheed Martin
>Environment:
FreeBSD wanderer 8.0-CURRENT FreeBSD 8.0-CURRENT #29: Thu Nov 20 05:38:50 EST 2008     root@wanderer:/usr/obj/usr/src/sys/WANDERER  i386
>Description:
Multiple changes here:
- Update to version 1.2.2.
- Remove configure patching since it is now unnecessary.
- Switch to USE_XORG and remove USE_XLIB and friends.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN www/nspluginwrapper.orig/Makefile www/nspluginwrapper/Makefile
--- www/nspluginwrapper.orig/Makefile	2009-01-03 14:25:27.000000000 -0500
+++ www/nspluginwrapper/Makefile	2009-01-03 16:15:44.000000000 -0500
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	nspluginwrapper
-PORTVERSION=	1.0.0
+PORTVERSION=	1.2.2
 CATEGORIES=	www linux emulators
 MASTER_SITES=	http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${RPMFILE}
@@ -24,7 +24,7 @@
 
 USE_BZIP2=	yes
 USE_LINUX=	yes
-USE_XLIB=	yes
+USE_XORG=	x11 xt
 USE_GNOME=	glib20 pkgconfig
 
 CFLAGS+=	-std=c99
@@ -47,20 +47,10 @@
 		${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer
 	${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.bak
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,x86_64,amd64,g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/configure
-
 post-install:
 	${MKDIR} ${LIBDIR}/i386/linux
 	${INSTALL_SCRIPT} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/* \
 	     ${LIBDIR}/i386/linux/
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.pre.mk>
-
-# XXX switch to USE_XORG once XFree86-4 is removed
-BUILD_DEPENDS+=	${LOCALBASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
-RUN_DEPENDS+=	${LOCALBASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN www/nspluginwrapper.orig/distinfo www/nspluginwrapper/distinfo
--- www/nspluginwrapper.orig/distinfo	2009-01-03 14:25:27.000000000 -0500
+++ www/nspluginwrapper/distinfo	2009-01-03 14:26:21.000000000 -0500
@@ -1,6 +1,6 @@
-MD5 (nspluginwrapper-1.0.0.tar.bz2) = 054e6023c1080b850d72f6c76485003f
-SHA256 (nspluginwrapper-1.0.0.tar.bz2) = e5c4661eb91d05fc3da2f4ccf6e0769e8cd097ac232ffc6afe16e645729a02d5
-SIZE (nspluginwrapper-1.0.0.tar.bz2) = 271028
-MD5 (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = aede6a34555e78328019014cacfb64d3
-SHA256 (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = fd39e7b6f07298c0ccb925f9f2e1e9a39241537d8552d2640ee26e4dd24a5f72
-SIZE (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = 53496
+MD5 (nspluginwrapper-1.2.2.tar.bz2) = 197e3439aa7136addb88972e48c2fe4a
+SHA256 (nspluginwrapper-1.2.2.tar.bz2) = 4e6cbb7aeda1c9f0d6e5a17e729160b5d3f3e7048f90353238806289752175c3
+SIZE (nspluginwrapper-1.2.2.tar.bz2) = 327947
+MD5 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = a7c7d46d0ae887a0fab6cd14348c36aa
+SHA256 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = c9572430351b716ca1c63170150981cfc8546f0cb7e03c7a75f1d0687db99e6f
+SIZE (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 69425
diff -urN www/nspluginwrapper.orig/pkg-plist www/nspluginwrapper/pkg-plist
--- www/nspluginwrapper.orig/pkg-plist	2009-01-03 14:25:27.000000000 -0500
+++ www/nspluginwrapper/pkg-plist	2009-01-03 16:18:47.000000000 -0500
@@ -1,14 +1,16 @@
+bin/nspluginplayer
 bin/nspluginwrapper
 %%LIBDIR%%/%%ARCH%%/freebsd/npconfig
+%%LIBDIR%%/%%ARCH%%/freebsd/npplayer
 %%LIBDIR%%/%%ARCH%%/freebsd/npwrapper.so
-%%LIBDIR%%/i386/linux/npviewer.bin
-%%LIBDIR%%/i386/linux/npviewer
+%%LIBDIR%%/i386/linux/libnoxshm.so
 %%LIBDIR%%/i386/linux/libxpcom.so
-%%LIBDIR%%/noarch/mkruntime
+%%LIBDIR%%/i386/linux/npviewer
+%%LIBDIR%%/i386/linux/npviewer.bin
 %%LIBDIR%%/noarch/npviewer
+@dirrm %%LIBDIR%%/noarch
+@dirrm %%LIBDIR%%/i386/linux
 @dirrm %%LIBDIR%%/%%ARCH%%/freebsd
+@dirrm %%LIBDIR%%/i386
 @dirrmtry %%LIBDIR%%/%%ARCH%%
-@dirrm %%LIBDIR%%/i386/linux
-@dirrmtry %%LIBDIR%%/i386
-@dirrm %%LIBDIR%%/noarch
 @dirrm %%LIBDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901032139.n03LdmEV001215>