summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-08 02:07:39 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-08 02:07:39 +0800
commitf6e665c5b9a94caf1843dfd9bd4aa7c89cddbc33 (patch)
treea046b3953ba35ba952c4e734d86c109739d41cea /multimedia
parent83ae0923746ec7b64dbe334775cb6fe4d4711fb9 (diff)
downloadmarcuscom-ports-f6e665c5b9a94caf1843dfd9bd4aa7c89cddbc33.tar
marcuscom-ports-f6e665c5b9a94caf1843dfd9bd4aa7c89cddbc33.tar.gz
marcuscom-ports-f6e665c5b9a94caf1843dfd9bd4aa7c89cddbc33.tar.bz2
marcuscom-ports-f6e665c5b9a94caf1843dfd9bd4aa7c89cddbc33.tar.lz
marcuscom-ports-f6e665c5b9a94caf1843dfd9bd4aa7c89cddbc33.tar.xz
marcuscom-ports-f6e665c5b9a94caf1843dfd9bd4aa7c89cddbc33.tar.zst
marcuscom-ports-f6e665c5b9a94caf1843dfd9bd4aa7c89cddbc33.zip
Add a hack to fix the build with GNOME 2.26.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12233 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gxmms/Makefile29
-rw-r--r--multimedia/gxmms/distinfo3
-rw-r--r--multimedia/gxmms/files/patch-src-interface.c11
-rw-r--r--multimedia/gxmms/files/patch-src-xmmsctrl.c22
-rw-r--r--multimedia/gxmms/pkg-descr13
-rw-r--r--multimedia/gxmms/pkg-plist14
6 files changed, 92 insertions, 0 deletions
diff --git a/multimedia/gxmms/Makefile b/multimedia/gxmms/Makefile
new file mode 100644
index 000000000..ef3eb8c4a
--- /dev/null
+++ b/multimedia/gxmms/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: gxmms
+# Date created: 3 November 2004
+# Whom: Radek Kozlowski <radek@raadradd.com>
+#
+# $FreeBSD: ports/multimedia/gxmms/Makefile,v 1.13 2008/06/06 13:48:07 edwin Exp $
+#
+
+PORTNAME= gxmms
+PORTVERSION= 0.2.1
+PORTREVISION= 8
+CATEGORIES= multimedia gnome
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= radek@raadradd.com
+COMMENT= A simple GNOME panel applet for controlling XMMS
+
+BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
+RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
+
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomepanel gnomeprefix intlhack
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ LIBS="`pkg-config --libs libgnomeui-2.0`"
+
+.include <bsd.port.mk>
diff --git a/multimedia/gxmms/distinfo b/multimedia/gxmms/distinfo
new file mode 100644
index 000000000..39aac6586
--- /dev/null
+++ b/multimedia/gxmms/distinfo
@@ -0,0 +1,3 @@
+MD5 (gxmms-0.2.1.tar.gz) = cdb986fa0545b787ac71ef6336823831
+SHA256 (gxmms-0.2.1.tar.gz) = bf3cc3bd5b42935db7589434a4777bc6125de3f49f8885bb086e9ebd9e85fb26
+SIZE (gxmms-0.2.1.tar.gz) = 129794
diff --git a/multimedia/gxmms/files/patch-src-interface.c b/multimedia/gxmms/files/patch-src-interface.c
new file mode 100644
index 000000000..4c12cd24a
--- /dev/null
+++ b/multimedia/gxmms/files/patch-src-interface.c
@@ -0,0 +1,11 @@
+--- src/interface.c.orig 2008-04-24 15:30:43.000000000 +0200
++++ src/interface.c 2008-04-24 15:31:31.000000000 +0200
+@@ -224,7 +224,7 @@
+ gdouble width;
+ GtkWidget *progress;
+ BonoboUIComponent *popup;
+- gchar info[256] = _("No track");
++ gchar info[256] = "No track";
+
+ progress = xmms->track_control.progress;
+ if (!xmms_remote_is_running(xmms->session))
diff --git a/multimedia/gxmms/files/patch-src-xmmsctrl.c b/multimedia/gxmms/files/patch-src-xmmsctrl.c
new file mode 100644
index 000000000..cdde4c8a3
--- /dev/null
+++ b/multimedia/gxmms/files/patch-src-xmmsctrl.c
@@ -0,0 +1,22 @@
+--- src/xmmsctrl.c.orig 2004-09-03 00:19:54.000000000 +0200
++++ src/xmmsctrl.c 2008-04-24 15:36:57.000000000 +0200
+@@ -45,16 +45,17 @@
+ xmms_start(XMMSData *xmms)
+ {
+ static gchar *exec_cmd = "xmms";
+- static gchar *msg_error = _("Sorry, unable to launch XMMS.");
++ gchar *msg_error = _("Sorry, unable to launch XMMS.");
+ gint timer;
+ time_t lt;
++ gchar *exec_this;
+
+ if (xmms_remote_is_running(xmms->session))
+ {
+ return;
+ }
+
+- gchar *exec_this = g_strdup_printf("%s &", exec_cmd);
++ exec_this = g_strdup_printf("%s &", exec_cmd);
+
+ if (system(exec_this))
+ {
diff --git a/multimedia/gxmms/pkg-descr b/multimedia/gxmms/pkg-descr
new file mode 100644
index 000000000..8c7cc24c1
--- /dev/null
+++ b/multimedia/gxmms/pkg-descr
@@ -0,0 +1,13 @@
+Gxmms is a simple GNOME panel applet that lets you control the basic
+functions of the X MultiMedia System (XMMS). It has the following
+features:
+
+ * Scrollable track time progress bar
+ * Volume control with mouse scrollwheel
+ * Buttons: Previous track - Play / Pause - Stop - Next track - Eject
+ * Real-time tooltips with track title and time
+ * Control repeat and shuffle properties
+ * Show/Hide main window, playlist editor, graphical eq and more
+ * Internazionalization (i18n)
+
+WWW: http://www.nongnu.org/gxmms/
diff --git a/multimedia/gxmms/pkg-plist b/multimedia/gxmms/pkg-plist
new file mode 100644
index 000000000..c958bcb41
--- /dev/null
+++ b/multimedia/gxmms/pkg-plist
@@ -0,0 +1,14 @@
+libdata/bonobo/servers/GNOME_gxmmsApplet.server
+libexec/gxmms_applet
+share/gnome-2.0/ui/GNOME_gxmmsApplet.xml
+share/gxmms/gxmms.png
+share/gxmms/gxmms_eject.png
+share/gxmms/gxmms_next.png
+share/gxmms/gxmms_play_pause.png
+share/gxmms/gxmms_prev.png
+share/gxmms/gxmms_stop.png
+share/pixmaps/gxmms_mini.png
+share/locale/ca/LC_MESSAGES/gxmms.mo
+share/locale/es/LC_MESSAGES/gxmms.mo
+share/locale/fr/LC_MESSAGES/gxmms.mo
+@dirrm share/gxmms