Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2006 08:42:43 GMT
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/100331: update port: multimedia/gxine from 0.3.3 to 0.5.7
Message-ID:  <200607150842.k6F8ghdL027745@www.freebsd.org>
Resent-Message-ID: <200607150850.k6F8oDKP094880@freefall.freebsd.org>

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

>Number:         100331
>Category:       ports
>Synopsis:       update port: multimedia/gxine from 0.3.3 to 0.5.7
>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:   Sat Jul 15 08:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
FreeBSD lqc.issp.ac.ru 6.1-STABLE FreeBSD 6.1-STABLE #1: Tue Jul  4 19:08:47 MSD 2006     makc@lqc.issp.ac.ru:/usr/obj/usr/src/sys/LQC  i386
>Description:
The first update in the past tree years. It seems that maintainer forgot about the port.
>How-To-Repeat:

>Fix:
diff -urN ports/multimedia/gxine.orig/Makefile ports/multimedia/gxine/Makefile
--- ports/multimedia/gxine.orig/Makefile        Sat Jun 24 02:04:39 2006
+++ ports/multimedia/gxine/Makefile     Sat Jul 15 12:22:18 2006
@@ -6,8 +6,7 @@
 #

 PORTNAME=      gxine
-PORTVERSION=   0.3.3
-PORTREVISION=  16
+PORTVERSION=   0.5.7
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=    xine
@@ -17,22 +16,32 @@

 LIB_DEPENDS=   xine.15:${PORTSDIR}/multimedia/libxine

+USE_BZIP2=     yes
 USE_X_PREFIX=  yes
-USE_AUTOTOOLS= libtool:15
+USE_AUTOTOOLS= autoconf:259 libtool:15
 USE_GNOME=     gtk20 gnomehier
+USE_GETTEXT=   yes
+USE_GMAKE=     yes
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib -I${X11BASE}/lib"

 MANLANG=       "" de
-MAN1=          gxine.1
+MAN1=          gxine.1 gxine_client.1

 OPTIONS=       MOZILLA_PLUGIN "Install Mozilla plugin" on

 .include <bsd.port.pre.mk>

 .if defined(WITHOUT_MOZILLA_PLUGIN)
+#should be LIB_DEPENS+=        js:${PORTSDIR}/lang/spidermonkey
+BUILD_DEPENDS= js:${PORTSDIR}/lang/spidermonkey
+RUN_DEPENDS=   js:${PORTSDIR}/lang/spidermonkey
+CONFIGURE_ARGS+=--without-browser-plugin
 PLIST_SUB+=    MOZILLA_PLUGIN="@comment "
 .else
+USE_GECKO=     firefox mozilla seamonkey xulrunner firefox-devel
+.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
+CONFIGURE_ARGS+=--disable-libjs
 PLIST_SUB+=    MOZILLA_PLUGIN=""
 .endif

diff -urN ports/multimedia/gxine.orig/distinfo ports/multimedia/gxine/distinfo
--- ports/multimedia/gxine.orig/distinfo        Mon Jan 23 00:19:38 2006
+++ ports/multimedia/gxine/distinfo     Fri Jul 14 18:36:17 2006
@@ -1,3 +1,3 @@
-MD5 (gxine-0.3.3.tar.gz) = d54af2f901065555348a77fa3b61581e
-SHA256 (gxine-0.3.3.tar.gz) = 1edc1776001e980ffbadcb66917f144ef2fca8f9eba10e73f6dfc79eaac18110
-SIZE (gxine-0.3.3.tar.gz) = 1038778
+MD5 (gxine-0.5.7.tar.bz2) = 61585b08f699a33528749be101fe8a87
+SHA256 (gxine-0.5.7.tar.bz2) = 08f9da823bf87ce9a7beae6938ab2e5405004bb85f97ba49e3a2a1738ec0520c
+SIZE (gxine-0.5.7.tar.bz2) = 964963
diff -urN ports/multimedia/gxine.orig/files/patch-browser-plugin::plugin.c ports/multimedia/gxine/files/patch-browser-plugin::plugin.c
--- ports/multimedia/gxine.orig/files/patch-browser-plugin::plugin.c    Mon May 12 13:19:32 2003
+++ ports/multimedia/gxine/files/patch-browser-plugin::plugin.c Thu Jan  1 03:00:00 1970
@@ -1,10 +0,0 @@
---- 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 -urN ports/multimedia/gxine.orig/files/patch-src::desktop_integration.c ports/multimedia/gxine/files/patch-src::desktop_integration.c
--- ports/multimedia/gxine.orig/files/patch-src::desktop_integration.c  Sat Apr 19 22:34:23 2003
+++ ports/multimedia/gxine/files/patch-src::desktop_integration.c       Fri Jul 14 18:36:17 2006
@@ -1,10 +1,10 @@
---- src/desktop_integration.c.orig     Sat Apr 19 02:23:31 2003
-+++ src/desktop_integration.c  Sat Apr 19 02:23:39 2003
-@@ -30,7 +30,6 @@
+--- src/desktop_integration.c.orig     Thu Jun  8 18:15:59 2006
++++ src/desktop_integration.c  Tue Jul 11 00:35:11 2006
+@@ -31,7 +31,6 @@
  #include <stdlib.h>
  #include <stdio.h>
  #include <dlfcn.h>
 -#include <alloca.h>
  #include <string.h>
-
- #include "globals.h"
+ #include <sys/types.h>
+ #include <sys/stat.h>
diff -urN ports/multimedia/gxine.orig/files/patch-src::engine.c ports/multimedia/gxine/files/patch-src::engine.c
--- ports/multimedia/gxine.orig/files/patch-src::engine.c       Thu Jan  1 03:00:00 1970
+++ ports/multimedia/gxine/files/patch-src::engine.c    Fri Jul 14 18:36:17 2006
@@ -0,0 +1,11 @@
+--- src/engine.c.orig  Fri Jun 30 18:56:00 2006
++++ src/engine.c       Tue Jul 11 01:36:59 2006
+@@ -36,7 +36,7 @@
+
+ se_t *gse; /* global script engine */
+ xine_t *xine; /* global xine instance */
+-pthread_mutex_t engine_lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
++pthread_mutex_t engine_lock = PTHREAD_MUTEX_INITIALIZER;
+
+ gboolean initialised = FALSE;
+
diff -urN ports/multimedia/gxine.orig/files/patch-src::globals.h ports/multimedia/gxine/files/patch-src::globals.h
--- ports/multimedia/gxine.orig/files/patch-src::globals.h      Sat Apr 19 22:34:23 2003
+++ ports/multimedia/gxine/files/patch-src::globals.h   Thu Jan  1 03:00:00 1970
@@ -1,10 +0,0 @@
---- src/globals.h.orig Sat Apr 19 02:18:27 2003
-+++ src/globals.h      Sat Apr 19 02:20:42 2003
-@@ -28,6 +28,7 @@
- #include <gtk/gtk.h>
- #include <gdk/gdk.h>
- #include <glib.h>
-+#include <pthread.h>
-
- #include "infobar.h"
-
diff -urN ports/multimedia/gxine.orig/files/patch-src::gtkxine.h ports/multimedia/gxine/files/patch-src::gtkxine.h
--- ports/multimedia/gxine.orig/files/patch-src::gtkxine.h      Sat Apr 19 22:34:23 2003
+++ ports/multimedia/gxine/files/patch-src::gtkxine.h   Thu Jan  1 03:00:00 1970
@@ -1,10 +0,0 @@
---- src/gtkxine.h.orig Sat Apr 19 02:24:55 2003
-+++ src/gtkxine.h      Sat Apr 19 02:25:07 2003
-@@ -27,6 +27,7 @@
- #include <X11/Xlib.h>
- #include <X11/extensions/XShm.h>
- #include <xine.h>
-+#include "globals.h"
-
- #ifdef __cplusplus
- extern "C" {
diff -urN ports/multimedia/gxine.orig/files/patch-src::http.c ports/multimedia/gxine/files/patch-src::http.c
--- ports/multimedia/gxine.orig/files/patch-src::http.c Sat Apr 19 22:34:23 2003
+++ ports/multimedia/gxine/files/patch-src::http.c      Fri Jul 14 18:36:17 2006
@@ -1,12 +1,12 @@
---- src/http.c.orig    Sat Apr 19 02:22:23 2003
-+++ src/http.c Sat Apr 19 02:22:34 2003
+--- src/http.c.orig    Thu Jun 29 04:35:39 2006
++++ src/http.c Tue Jul 11 00:54:35 2006
 @@ -35,6 +35,9 @@
- #include <unistd.h>
  #include <ctype.h>
  #include <errno.h>
+
 +#include <netinet/in.h>
 +#include <arpa/inet.h>
 +#define IPPROTO_TCP 6
-
  #include "http.h"
+ #include "utils.h"

diff -urN ports/multimedia/gxine.orig/files/patch-src::script_engine.c ports/multimedia/gxine/files/patch-src::script_engine.c
--- ports/multimedia/gxine.orig/files/patch-src::script_engine.c        Thu Jan  1 03:00:00 1970
+++ ports/multimedia/gxine/files/patch-src::script_engine.c     Fri Jul 14 18:36:17 2006
@@ -0,0 +1,11 @@
+--- src/script_engine.c.orig   Thu Jun 15 17:13:25 2006
++++ src/script_engine.c        Tue Jul 11 00:38:49 2006
+@@ -1554,7 +1554,7 @@
+
+   pthread_mutexattr_t attr;
+   pthread_mutexattr_init (&attr);
+-  pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE_NP);
++  pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE);
+   pthread_mutex_init (&se->lock, &attr);
+   pthread_mutexattr_destroy (&attr);
+
diff -urN ports/multimedia/gxine.orig/files/patch-src::spidermonkey::jsprf.c ports/multimedia/gxine/files/patch-src::spidermonkey::jsprf.c
--- ports/multimedia/gxine.orig/files/patch-src::spidermonkey::jsprf.c  Wed Sep 21 22:26:09 2005
+++ ports/multimedia/gxine/files/patch-src::spidermonkey::jsprf.c       Thu Jan  1 03:00:00 1970
@@ -1,16 +0,0 @@
---- src/spidermonkey/jsprf.c.orig      Fri Mar  7 02:14:11 2003
-+++ src/spidermonkey/jsprf.c   Wed Sep 21 20:20:45 2005
-@@ -57,7 +57,12 @@
- #define VARARGS_ASSIGN(foo, bar)      (foo) = (bar)
- #endif
- */
--#define VARARGS_ASSIGN(foo, bar) __va_copy(foo, bar)
-+#include <osreldate.h>
-+#if __FreeBSD_version >= 500000
-+#define VARARGS_ASSIGN(foo, bar) va_copy(foo, bar)
-+#else
-+#define VARARGS_ASSIGN(foo, bar)      (foo) = (bar)
-+#endif
-
- /*
- ** WARNING: This code may *NOT* call JS_LOG (because JS_LOG calls it)
diff -urN ports/multimedia/gxine.orig/pkg-plist ports/multimedia/gxine/pkg-plist
--- ports/multimedia/gxine.orig/pkg-plist       Sat Jun 24 02:04:39 2006
+++ ports/multimedia/gxine/pkg-plist    Sat Jul 15 11:59:16 2006
@@ -1,17 +1,72 @@
 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
+%%MOZILLA_PLUGIN%%lib/browser_plugins/gxineplugin.so
+%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.a
+%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.la
+%%MOZILLA_PLUGIN%%lib/gxine/gxineplugin.so
+share/applications/gxine.desktop
 %%DATADIR%%/logo.mpv
-%%DATADIR%%/pixmaps/gxine-logo.png
+%%DATADIR%%/mediamarks
 %%DATADIR%%/pixmaps/gxine-icon.xpm
-%%DATADIR%%/pixmaps/wizards.png
+%%DATADIR%%/pixmaps/nospeaker.png
+%%DATADIR%%/pixmaps/set-brightness.svg
+%%DATADIR%%/pixmaps/set-contrast.svg
+%%DATADIR%%/pixmaps/set-saturation.svg
+%%DATADIR%%/pixmaps/set-volume.svg
+%%DATADIR%%/pixmaps/speaker.png
 %%DATADIR%%/pixmaps/splash.png
-%%DATADIR%%/mediamarks
-share/gnome/apps/Multimedia/gxine.desktop
-lib/gxine/gxineplugin.a
-lib/gxine/gxineplugin.la
-lib/gxine/gxineplugin.so
-%%MOZILLA_PLUGIN%%lib/browser_plugins/gxineplugin.so
+share/icons/hicolor/48x48/apps/gxine.png
+share/pixmaps/gxine.png
+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/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/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
+@dirrmtry share/pixmaps
+@dirrmtry share/locale/zh_CN/LC_MESSAGES
+@dirrmtry share/locale/zh_CN
+@dirrmtry share/locale/uk/LC_MESSAGES
+@dirrmtry share/locale/uk
+@dirrmtry share/locale/sv/LC_MESSAGES
+@dirrmtry share/locale/sv
+@dirrmtry share/locale/ru/LC_MESSAGES
+@dirrmtry share/locale/ru
+@dirrmtry share/locale/pl/LC_MESSAGES
+@dirrmtry share/locale/pl
+@dirrmtry share/locale/it/LC_MESSAGES
+@dirrmtry share/locale/it
+@dirrmtry share/locale/fr/LC_MESSAGES
+@dirrmtry share/locale/fr
+@dirrmtry share/locale/de/LC_MESSAGES
+@dirrmtry share/locale/de
+@dirrmtry share/locale/cs/LC_MESSAGES
+@dirrmtry share/locale/cs
+@dirrmtry share/locale
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
 @dirrm %%DATADIR%%/pixmaps
 @dirrm %%DATADIR%%
+@dirrmtry share/applications
 @dirrm lib/gxine
 %%MOZILLA_PLUGIN%%@dirrmtry lib/browser_plugins
+@dirrm etc/gxine

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



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