ports/52004: port upgrade: multimedia/gxine (added browser plugin)

Grigori Goronzy greg at chown.ath.cx
Fri May 9 19:00:33 UTC 2003


>Number:         52004
>Category:       ports
>Synopsis:       port upgrade: multimedia/gxine (added browser plugin)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 09 12:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Grigori Goronzy
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD duron.hell 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sat Apr 5 13:59:12 CEST 2003 root at duron.hell:/usr/obj/usr/src/sys/DURON i386


	
>Description:
	
Upgraded the gxine port to make the browser plugin usable;
new file: files/patch-browser-plugin::plugin.c
>How-To-Repeat:
	
>Fix:

	

--- gxine.diff begins here ---
diff -ruN /usr/ports/multimedia/gxine/Makefile gxine/Makefile
--- /usr/ports/multimedia/gxine/Makefile	Sat Apr 19 20:34:22 2003
+++ gxine/Makefile	Fri May  9 20:28:12 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	gxine
 PORTVERSION=	0.3.3
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	xine
@@ -26,7 +27,8 @@
 MANLANG=	"" de
 MAN1=		gxine.1
 
-post-patch:
-	@${REINPLACE_CMD} -e 's/browser-plugin//' ${WRKSRC}/Makefile.in
+post-install:
+	@${MKDIR} ${PREFIX}/lib/browser_plugins
+	@${LN} -sf ${PREFIX}/lib/gxine/gxineplugin.so ${PREFIX}/lib/browser_plugins
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/multimedia/gxine/files/patch-browser-plugin::plugin.c gxine/files/patch-browser-plugin::plugin.c
--- /usr/ports/multimedia/gxine/files/patch-browser-plugin::plugin.c	Thu Jan  1 01:00:00 1970
+++ gxine/files/patch-browser-plugin::plugin.c	Fri May  9 20:26:26 2003
@@ -0,0 +1,10 @@
+--- browser-plugin/plugin.c.orig	Tue May  6 14:20:32 2003
++++ browser-plugin/plugin.c	Tue May  6 14:20:50 2003
+@@ -47,6 +47,7 @@
+ 
+ #include <stdio.h>
+ #include <math.h>
++#include <signal.h>
+ 
+ 
+ 
diff -ruN /usr/ports/multimedia/gxine/pkg-descr gxine/pkg-descr
--- /usr/ports/multimedia/gxine/pkg-descr	Sat Apr 19 20:34:22 2003
+++ gxine/pkg-descr	Fri May  9 20:26:26 2003
@@ -1,6 +1,4 @@
 gxine is a simple but effective GUI for the Xine media player.
 It uses the GTK toolkit, so it nicely fits in into a GNOME desktop.
 
-NOTE: gxine's browser plugin is currently disabled, because it doesn't build.
-
 WWW: http://www.xinehq.de
diff -ruN /usr/ports/multimedia/gxine/pkg-plist gxine/pkg-plist
--- /usr/ports/multimedia/gxine/pkg-plist	Sat Apr 19 20:34:22 2003
+++ gxine/pkg-plist	Fri May  9 20:26:26 2003
@@ -7,5 +7,11 @@
 share/gxine/pixmaps/splash.png
 share/gxine/mediamarks
 share/gnome/apps/Multimedia/gxine.desktop
+lib/gxine/gxineplugin.so
+lib/gxine/gxineplugin.a
+lib/gxine/gxineplugin.la
+lib/browser_plugins/gxineplugin.so
 @dirrm share/gxine/pixmaps
 @dirrm share/gxine
+ at dirrm lib/gxine
+ at dirrm lib/browser_plugins
--- gxine.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list