Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 02:46:27 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168042: multimedia/gxine: Update to version 0.5.907
Message-ID:  <20120518024627.d6b240c1.tkato432@yahoo.com>
Resent-Message-ID: <201205171810.q4HIA8cj098995@freefall.freebsd.org>

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

>Number:         168042
>Category:       ports
>Synopsis:       multimedia/gxine: Update to version 0.5.907
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 17 18:10:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to vesion 0.5.907

New file:
files/patch-src__Makefile.in
files/patch-src__console_outout.h
files/patch-src__engine.c
files/patch-src__lirc.c
files/patch-src__main.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/multimedia/gxine/Makefile multimedia/gxine/Makefile
--- /usr/ports/multimedia/gxine/Makefile	2012-05-14 00:47:21.000000000 +0900
+++ multimedia/gxine/Makefile	2012-05-16 19:05:15.000000000 +0900
@@ -6,89 +6,77 @@
 #
 
 PORTNAME=	gxine
-PORTVERSION=	0.5.905
-PORTREVISION=	6
+PORTVERSION=	0.5.907
 CATEGORIES=	multimedia
 MASTER_SITES=	SF/xine/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	An alternative GUI for the Xine media player
 
-LIB_DEPENDS=	xine.2:${PORTSDIR}/multimedia/libxine
+LICENSE=	GPLv2
 
-USE_BZIP2=	yes
-USE_AUTOTOOLS=	libtool
-USE_GNOME=	gtk20 gnomehier
+LIB_DEPENDS=	nspr4.1:${PORTSDIR}/devel/nspr \
+		xine.2:${PORTSDIR}/multimedia/libxine
+
+OPTIONS=	MOZILLA_PLUGIN "Install Mozilla plugin" off \
+		GNOME "Enable Gnome integration" off \
+		LIRC "Enable lirc support" off
+
+USE_XZ=		yes
+USE_GNOME=	gnomehack gtk20
+USE_GECKO=	libxul
 USE_GMAKE=	yes
-USE_GCC=	4.2+
-MAKE_ARGS+=	LDFLAGS=-shared-libgcc
-CNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--without-hal --with-libintl-prefix=${LOCALBASE}
+USE_AUTOTOOLS=	libtool
+CONFIGURE_ENV=	MKDIR_P="${MKDIR}"
+CONFIGURE_ARGS=	--enable-mozjs --disable-ffjs --disable-seajs \
+		--without-hal --with-libintl-prefix=${LOCALBASE}
 INSTALLS_ICONS=	yes
-
 MAKE_JOBS_SAFE=	yes
 
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
 MANLANG=	"" de es
 MAN1=		gxine.1 gxine_client.1
 MANCOMPRESSED=	no
 
-OPTIONS=	MOZILLA_PLUGIN "Install Mozilla plugin" off \
-		GNOME "Enable Gnome integration" off \
-		LIRC "Enable lirc support" off
-
 .include <bsd.port.options.mk>
 
-.if defined(WITH_GNOME)
-USE_GNOME+=	gnomevfs2 libgnomeui
-CONFIGURE_ARGS+=--with-dbus
+.if defined(WITH_MOZILLA_PLUGIN)
+USE_XORG+=	xaw
+USE_WEBPLUGINS=	native
+WEBPLUGINS_DIR=	${PREFIX}/lib/gxine
+WEBPLUGINS_FILES=gxineplugin.so
+.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+PLIST_SUB+=	MOZILLA_PLUGIN=""
 .else
-CONFIGURE_ARGS+=--disable-integration-wizard --without-dbus
+CONFIGURE_ARGS+=--without-browser-plugin
+PLIST_SUB+=	MOZILLA_PLUGIN="@comment "
 .endif
 
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
+.if defined(WITH_GNOME)
+BUILD_DEPENDS+=	gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver
+LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+RUN_DEPENDS+=	gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver
+CONFIGURE_ARGS+=--with-dbus
 .else
-USE_GETTEXT=	yes
-PLIST_SUB+=	NLS=""
+CONFIGURE_ARGS+=--disable-integration-wizard --without-dbus
 .endif
 
 .if defined(WITH_LIRC)
 LIB_DEPENDS+=	lirc_client.2:${PORTSDIR}/comms/lirc
-CONFIGURE_ARGS+=	--enable-lirc
-.else
-CONFIGURE_ARGS+=	--disable-lirc
-.endif
-
-.if defined(WITHOUT_MOZILLA_PLUGIN)
-LIB_DEPENDS+=	js.1:${PORTSDIR}/lang/spidermonkey
-CONFIGURE_ARGS+=--without-browser-plugin --with-spidermonkey
-PLIST_SUB+=	MOZILLA_PLUGIN="@comment "
+CONFIGURE_ARGS+=--enable-lirc
 .else
-USE_XORG+=	xaw
-USE_GECKO=	libxul
-USE_WEBPLUGINS=	native
-WEBPLUGINS_DIR=	${PREFIX}/lib/gxine
-WEBPLUGINS_FILES=gxineplugin.so
-.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
-LIB_DEPENDS+=	nspr4.1:${PORTSDIR}/devel/nspr
-CONFIGURE_ENV+=	NSPR_CFLAGS="-I${LOCALBASE}/include/nspr" \
-		NSPR_LIBS="-L${LOCALBASE}/lib"
-PLIST_SUB+=	MOZILLA_PLUGIN=""
+CONFIGURE_ARGS+=--disable-lirc
 .endif
 
-pre-configure:
-	@${REINPLACE_CMD} -e "/^mkdir_p/s:@mkdir_p@:${MKDIR}:" \
-		${WRKSRC}/po/Makefile.in.in
-	@${REINPLACE_CMD} -e "/^mkdir_p/s:@mkdir_p@:${MKDIR}:" \
-		${WRKSRC}/misc/po/Makefile.in.in
-	@${REINPLACE_CMD} -e "s:@MAKE_PNG_TRUE@:#:g" \
-		${WRKSRC}/pixmaps/Makefile.in
-
-.include <bsd.port.pre.mk>
-
-.if (${OSVERSION}<800000) && defined(WITH_MOZILLA_PLUGIN)
-BROKEN=	does not compile with MOZILLA_PLUGIN
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/CFLAGS/s|-I/usr/local/include|| ; \
+		 /CFLAGS/s|-L/usr/local/lib|| ; \
+		 /CPPFLAGS/s|-I/usr/local/include|| ; \
+		 s|XINE_LIST=.*|XINE_LIST=|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		's|@MAKE_PNG_TRUE@|#|' ${WRKSRC}/pixmaps/Makefile.in
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/multimedia/gxine/distinfo multimedia/gxine/distinfo
--- /usr/ports/multimedia/gxine/distinfo	2010-10-30 03:04:39.000000000 +0900
+++ multimedia/gxine/distinfo	2012-05-16 19:06:28.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (gxine-0.5.905.tar.bz2) = 9dcca3e581fddfc4cea8f9e45c99652f4dd336c1ca7726e910870b9c778b0cbf
-SIZE (gxine-0.5.905.tar.bz2) = 1203720
+SHA256 (gxine-0.5.907.tar.xz) = b5c925806a35cb23a24a80a39d494cefb529e22c957987741f269a994ab258d5
+SIZE (gxine-0.5.907.tar.xz) = 910528
diff -urN /usr/ports/multimedia/gxine/files/patch-src__Makefile.in multimedia/gxine/files/patch-src__Makefile.in
--- /usr/ports/multimedia/gxine/files/patch-src__Makefile.in	1970-01-01 09:00:00.000000000 +0900
+++ multimedia/gxine/files/patch-src__Makefile.in	2012-05-15 17:11:53.000000000 +0900
@@ -0,0 +1,18 @@
+--- src/Makefile.in.orig	2012-02-21 04:10:20.000000000 +0900
++++ src/Makefile.in	2012-05-15 17:11:18.000000000 +0900
+@@ -330,12 +330,12 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ GNU_VERBOSITY := $(if $(findstring GNU,$(shell $(MAKE) -v)),0,1)
+-INCLUDES = -I../include -I$(top_srcdir)/include -I$(includedir) \
+-	   -I$(top_builddir)/pixmaps $(LIRC_INCLUDE)
++INCLUDES = -I../include -I$(top_srcdir)/include \
++	   -I$(top_builddir)/pixmaps $(JS_CFLAGS) $(LIRC_INCLUDE)
+ 
+ AM_CFLAGS = $(GNU99) $(XINE_CFLAGS) $(X_CFLAGS) \
+ 	    $(GTK2_CFLAGS) $(GTHREAD2_CFLAGS) \
+-	    $(HAL_CFLAGS) $(UDEV_CFLAGS) $(DBUS_CFLAGS) $(JS_CFLAGS) \
++	    $(HAL_CFLAGS) $(UDEV_CFLAGS) $(DBUS_CFLAGS) $(NSPR_CFLAGS) \
+ 	    -DLOCALEDIR=\"$(localedir)\"
+ 
+ gxine_SOURCES = \
diff -urN /usr/ports/multimedia/gxine/files/patch-src__console_outout.h multimedia/gxine/files/patch-src__console_outout.h
--- /usr/ports/multimedia/gxine/files/patch-src__console_outout.h	1970-01-01 09:00:00.000000000 +0900
+++ multimedia/gxine/files/patch-src__console_outout.h	2012-05-15 04:22:10.000000000 +0900
@@ -0,0 +1,11 @@
+--- src/console_output.h.orig	2010-04-11 23:46:54.000000000 +0900
++++ src/console_output.h	2012-05-15 04:21:37.000000000 +0900
+@@ -21,7 +21,7 @@
+ #ifndef GXINE_CONSOLE_OUTPUT_H
+ #define GXINE_CONSOLE_OUTPUT_H
+ 
+-#include <glib/gmessages.h>
++#include <glib.h>
+ 
+ void console_output_init (void);
+ 
diff -urN /usr/ports/multimedia/gxine/files/patch-src__engine.c multimedia/gxine/files/patch-src__engine.c
--- /usr/ports/multimedia/gxine/files/patch-src__engine.c	1970-01-01 09:00:00.000000000 +0900
+++ multimedia/gxine/files/patch-src__engine.c	2012-05-15 04:23:10.000000000 +0900
@@ -0,0 +1,11 @@
+--- src/engine.c.orig	2011-10-12 07:47:52.000000000 +0900
++++ src/engine.c	2012-05-15 04:22:54.000000000 +0900
+@@ -30,7 +30,7 @@
+ #include <errno.h>
+ #include <unistd.h>
+ 
+-#include <glib/gthread.h>
++#include <glib.h>
+ 
+ #include "engine.h"
+ #include "ui.h"
diff -urN /usr/ports/multimedia/gxine/files/patch-src__lirc.c multimedia/gxine/files/patch-src__lirc.c
--- /usr/ports/multimedia/gxine/files/patch-src__lirc.c	1970-01-01 09:00:00.000000000 +0900
+++ multimedia/gxine/files/patch-src__lirc.c	2012-05-15 03:55:11.000000000 +0900
@@ -0,0 +1,12 @@
+--- src/lirc.c.orig	2011-08-07 20:20:33.000000000 +0900
++++ src/lirc.c	2012-05-15 03:54:41.000000000 +0900
+@@ -223,8 +223,8 @@
+   if (gxine_lirc_thread_created)
+     pthread_join (gxine_lirc_thread, NULL);
+   gxine_lirc_start ();
+-#endif
+   JS_SET_RVAL (cx, vp, gxine_lirc_thread ? JSVAL_TRUE : JSVAL_FALSE);
++#endif
+   return JS_TRUE;
+ }
+ 
diff -urN /usr/ports/multimedia/gxine/files/patch-src__main.c multimedia/gxine/files/patch-src__main.c
--- /usr/ports/multimedia/gxine/files/patch-src__main.c	1970-01-01 09:00:00.000000000 +0900
+++ multimedia/gxine/files/patch-src__main.c	2012-05-15 04:24:03.000000000 +0900
@@ -0,0 +1,10 @@
+--- src/main.c.orig	2010-12-05 20:38:44.000000000 +0900
++++ src/main.c	2012-05-15 04:23:45.000000000 +0900
+@@ -46,7 +46,6 @@
+ #include <gdk/gdk.h>
+ #include <gdk/gdkkeysyms.h>
+ #include <glib.h>
+-#include <glib/gmessages.h>
+ 
+ #include "desktop_integration.h"
+ #include "engine.h"
diff -urN /usr/ports/multimedia/gxine/pkg-plist multimedia/gxine/pkg-plist
--- /usr/ports/multimedia/gxine/pkg-plist	2009-01-10 11:45:39.000000000 +0900
+++ multimedia/gxine/pkg-plist	2012-05-15 18:56:35.000000000 +0900
@@ -1,10 +1,10 @@
 bin/gxine
 bin/gxine_client
-etc/gxine/gtkrc
-etc/gxine/keypad.xml
-etc/gxine/startup
-etc/gxine/toolbar-fullscreen.xml
-etc/gxine/toolbar-window.xml
+%%ETCDIR%%/gtkrc
+%%ETCDIR%%/keypad.xml
+%%ETCDIR%%/startup
+%%ETCDIR%%/toolbar-fullscreen.xml
+%%ETCDIR%%/toolbar-window.xml
 %%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.a
 %%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.la
 %%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.so
@@ -18,36 +18,37 @@
 %%DATADIR%%/pixmaps/set-contrast.svg
 %%DATADIR%%/pixmaps/set-hue.svg
 %%DATADIR%%/pixmaps/set-saturation.svg
+%%DATADIR%%/pixmaps/set-sharpness.svg
 %%DATADIR%%/pixmaps/set-sync.svg
 %%DATADIR%%/pixmaps/set-volume.svg
 %%DATADIR%%/pixmaps/speaker.png
 %%DATADIR%%/pixmaps/splash.png
 %%DATADIR%%/pixmaps/subtitle.svg
 share/icons/hicolor/64x64/apps/gxine.png
-%%NLS%%share/locale/cs/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/cs/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/de/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/de/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/es/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/es/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/fi/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/fi/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/it/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/it/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/uk/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/uk/LC_MESSAGES/gxine.theme.mo
-%%NLS%%share/locale/zh_CN/LC_MESSAGES/gxine.mo
-%%NLS%%share/locale/zh_CN/LC_MESSAGES/gxine.theme.mo
+share/locale/cs/LC_MESSAGES/gxine.mo
+share/locale/cs/LC_MESSAGES/gxine.theme.mo
+share/locale/de/LC_MESSAGES/gxine.mo
+share/locale/de/LC_MESSAGES/gxine.theme.mo
+share/locale/es/LC_MESSAGES/gxine.mo
+share/locale/es/LC_MESSAGES/gxine.theme.mo
+share/locale/fi/LC_MESSAGES/gxine.mo
+share/locale/fi/LC_MESSAGES/gxine.theme.mo
+share/locale/fr/LC_MESSAGES/gxine.mo
+share/locale/fr/LC_MESSAGES/gxine.theme.mo
+share/locale/it/LC_MESSAGES/gxine.mo
+share/locale/it/LC_MESSAGES/gxine.theme.mo
+share/locale/ja/LC_MESSAGES/gxine.mo
+share/locale/ja/LC_MESSAGES/gxine.theme.mo
+share/locale/pl/LC_MESSAGES/gxine.mo
+share/locale/pl/LC_MESSAGES/gxine.theme.mo
+share/locale/ru/LC_MESSAGES/gxine.mo
+share/locale/ru/LC_MESSAGES/gxine.theme.mo
+share/locale/sv/LC_MESSAGES/gxine.mo
+share/locale/sv/LC_MESSAGES/gxine.theme.mo
+share/locale/uk/LC_MESSAGES/gxine.mo
+share/locale/uk/LC_MESSAGES/gxine.theme.mo
+share/locale/zh_CN/LC_MESSAGES/gxine.mo
+share/locale/zh_CN/LC_MESSAGES/gxine.theme.mo
 share/pixmaps/gxine.png
 @dirrm %%DATADIR%%/pixmaps
 @dirrm %%DATADIR%%
@@ -58,4 +59,4 @@
 @dirrmtry man/de
 @dirrm lib/gxine
 %%MOZILLA_PLUGIN%%@dirrmtry lib/browser_plugins
-@dirrm etc/gxine
+@dirrm %%ETCDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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