From greg@chown.ath.cx  Fri May  9 11:50:53 2003
Return-Path: <greg@chown.ath.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BB6FC37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 May 2003 11:50:53 -0700 (PDT)
Received: from chown.ath.cx (pD9552834.dip.t-dialin.net [217.85.40.52])
	by mx1.FreeBSD.org (Postfix) with SMTP id 3F78143F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 May 2003 11:50:52 -0700 (PDT)
	(envelope-from greg@chown.ath.cx)
Received: (qmail 19089 invoked from network); 9 May 2003 18:50:59 -0000
Received: from duron.hell (192.168.10.71)
  by router.hell with SMTP; 9 May 2003 18:50:59 -0000
Received: (qmail 11048 invoked by uid 1001); 9 May 2003 18:50:58 -0000
Message-Id: <20030509185058.11047.qmail@duron.hell>
Date: 9 May 2003 18:50:58 -0000
From: Grigori Goronzy <greg@chown.ath.cx>
Reply-To: Grigori Goronzy <greg@chown.ath.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: port upgrade: multimedia/gxine (added browser plugin)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52004
>Category:       ports
>Synopsis:       port upgrade: multimedia/gxine (added browser plugin)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 09 12:00:30 PDT 2003
>Closed-Date:    Mon May 12 02:19:44 PDT 2003
>Last-Modified:  Mon May 12 02:19:44 PDT 2003
>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@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
+@dirrm lib/gxine
+@dirrm lib/browser_plugins
--- gxine.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Mon May 12 02:19:36 PDT 2003 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52004 
>Unformatted:
