ports/51156: New port: gxine, alternative Xine GUI
Grigori Goronzy
greg at chown.ath.cx
Sat Apr 19 11:20:14 UTC 2003
>Number: 51156
>Category: ports
>Synopsis: New port: gxine, alternative Xine GUI
>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: Sat Apr 19 04:20:11 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:
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
>How-To-Repeat:
>Fix:
--- gxine.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gxine
# gxine/Makefile
# gxine/pkg-descr
# gxine/distinfo
# gxine/pkg-plist
# gxine/files
# gxine/files/patch-src::spidermonkey::jsprf.c
# gxine/files/patch-src::globals.h
# gxine/files/patch-src::http.c
# gxine/files/patch-src::desktop_integration.c
# gxine/files/patch-src::gtkxine.h
#
echo c - gxine
mkdir -p gxine > /dev/null 2>&1
echo x - gxine/Makefile
sed 's/^X//' >gxine/Makefile << 'END-of-gxine/Makefile'
X# New ports collection makefile for: gxine
X# Date created: Sa 19 Apr 2003 01:34:06 CEST
X# Whom: Grigori Goronzy <greg at chown.ath.cx>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gxine
XPORTVERSION= 0.3.3
XCATEGORIES= multimedia
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= xine
X
XMAINTAINER= greg at chown.ath.cx
XCOMMENT= An alternative GUI for the Xine media player
X
XLIB_DEPENDS= xine.6:${PORTSDIR}/multimedia/libxine \
X gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20 \
X intl.4:${PORTSDIR}/devel/gettext
X
XUSE_X_PREFIX= yes
XGNU_CONFIGURE= yes
XUSE_REINPLACE= yes
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib -I${X11BASE}/lib"
X
Xpost-configure:
X @${REINPLACE_CMD} -e \
X 's/browser-plugin//' \
X ${WRKSRC}/Makefile
X @${REINPLACE_CMD} -e \
X 's/-lXft2//' \
X ${WRKSRC}/src/Makefile
X
X.include <bsd.port.mk>
END-of-gxine/Makefile
echo x - gxine/pkg-descr
sed 's/^X//' >gxine/pkg-descr << 'END-of-gxine/pkg-descr'
Xgxine is a simple but effective GUI for the Xine media player.
XIt uses the GTK toolkit, so it nicely fits in into a GNOME desktop.
X
XNOTE: gxine's browser plugin is currently disabled, because it doesn't build.
X
XWWW: http://www.xinehq.de
END-of-gxine/pkg-descr
echo x - gxine/distinfo
sed 's/^X//' >gxine/distinfo << 'END-of-gxine/distinfo'
XMD5 (gxine-0.3.3.tar.gz) = d54af2f901065555348a77fa3b61581e
END-of-gxine/distinfo
echo x - gxine/pkg-plist
sed 's/^X//' >gxine/pkg-plist << 'END-of-gxine/pkg-plist'
Xshare/gxine/logo.mpv
Xshare/gxine/pixmaps
Xshare/gxine/pixmaps/gxine-logo.png
Xshare/gxine/pixmaps/gxine-icon.xpm
Xshare/gxine/pixmaps/wizards.png
Xshare/gxine/pixmaps/splash.png
Xshare/gxine/mediamarks
Xshare/gnome/apps/Multimedia/gxine.desktop
Xbin/gxine
Xbin/gxine_client
Xman/man1/gxine.1
Xman/de/man1/gxine.1
X at dirrm share/gxine/pixmaps
X at dirrm share/gxine
END-of-gxine/pkg-plist
echo c - gxine/files
mkdir -p gxine/files > /dev/null 2>&1
echo x - gxine/files/patch-src::spidermonkey::jsprf.c
sed 's/^X//' >gxine/files/patch-src::spidermonkey::jsprf.c << 'END-of-gxine/files/patch-src::spidermonkey::jsprf.c'
X--- src/spidermonkey/jsprf.c.orig Sat Apr 19 02:11:15 2003
X+++ src/spidermonkey/jsprf.c Sat Apr 19 02:12:27 2003
X@@ -57,7 +57,7 @@
X #define VARARGS_ASSIGN(foo, bar) (foo) = (bar)
X #endif
X */
X-#define VARARGS_ASSIGN(foo, bar) __va_copy(foo, bar)
X+#define VARARGS_ASSIGN(foo, bar) (foo) = (bar)
X
X /*
X ** WARNING: This code may *NOT* call JS_LOG (because JS_LOG calls it)
END-of-gxine/files/patch-src::spidermonkey::jsprf.c
echo x - gxine/files/patch-src::globals.h
sed 's/^X//' >gxine/files/patch-src::globals.h << 'END-of-gxine/files/patch-src::globals.h'
X--- src/globals.h.orig Sat Apr 19 02:18:27 2003
X+++ src/globals.h Sat Apr 19 02:20:42 2003
X@@ -28,6 +28,7 @@
X #include <gtk/gtk.h>
X #include <gdk/gdk.h>
X #include <glib.h>
X+#include <pthread.h>
X
X #include "infobar.h"
X
END-of-gxine/files/patch-src::globals.h
echo x - gxine/files/patch-src::http.c
sed 's/^X//' >gxine/files/patch-src::http.c << 'END-of-gxine/files/patch-src::http.c'
X--- src/http.c.orig Sat Apr 19 02:22:23 2003
X+++ src/http.c Sat Apr 19 02:22:34 2003
X@@ -35,6 +35,9 @@
X #include <unistd.h>
X #include <ctype.h>
X #include <errno.h>
X+#include <netinet/in.h>
X+#include <arpa/inet.h>
X+#define IPPROTO_TCP 6
X
X #include "http.h"
X
END-of-gxine/files/patch-src::http.c
echo x - gxine/files/patch-src::desktop_integration.c
sed 's/^X//' >gxine/files/patch-src::desktop_integration.c << 'END-of-gxine/files/patch-src::desktop_integration.c'
X--- src/desktop_integration.c.orig Sat Apr 19 02:23:31 2003
X+++ src/desktop_integration.c Sat Apr 19 02:23:39 2003
X@@ -30,7 +30,6 @@
X #include <stdlib.h>
X #include <stdio.h>
X #include <dlfcn.h>
X-#include <alloca.h>
X #include <string.h>
X
X #include "globals.h"
END-of-gxine/files/patch-src::desktop_integration.c
echo x - gxine/files/patch-src::gtkxine.h
sed 's/^X//' >gxine/files/patch-src::gtkxine.h << 'END-of-gxine/files/patch-src::gtkxine.h'
X--- src/gtkxine.h.orig Sat Apr 19 02:24:55 2003
X+++ src/gtkxine.h Sat Apr 19 02:25:07 2003
X@@ -27,6 +27,7 @@
X #include <X11/Xlib.h>
X #include <X11/extensions/XShm.h>
X #include <xine.h>
X+#include "globals.h"
X
X #ifdef __cplusplus
X extern "C" {
END-of-gxine/files/patch-src::gtkxine.h
exit
--- gxine.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list