aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gxmms
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-28 17:20:25 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-28 17:20:25 +0000
commit92afdc5c6655631ce9705d3e554a3643f58aa290 (patch)
treeabdf5a7cf111479908ae23fb004d743aa8311e22 /multimedia/gxmms
parentfd3d40ffecb06f2280963f87b1f04912be186b0b (diff)
downloadports-92afdc5c6655631ce9705d3e554a3643f58aa290.tar.gz
ports-92afdc5c6655631ce9705d3e554a3643f58aa290.zip
Notes
Diffstat (limited to 'multimedia/gxmms')
-rw-r--r--multimedia/gxmms/Makefile3
-rw-r--r--multimedia/gxmms/files/patch-src-interface.c11
-rw-r--r--multimedia/gxmms/files/patch-src-xmmsctrl.c12
3 files changed, 20 insertions, 6 deletions
diff --git a/multimedia/gxmms/Makefile b/multimedia/gxmms/Makefile
index fafa2e15690f..2d4b1700613a 100644
--- a/multimedia/gxmms/Makefile
+++ b/multimedia/gxmms/Makefile
@@ -18,10 +18,9 @@ COMMENT= A simple GNOME panel applet for controlling XMMS
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
-BROKEN= Does not compile
-
USE_GMAKE= yes
USE_GNOME= gnomehack gnomepanel gnomeprefix intlhack
+USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/multimedia/gxmms/files/patch-src-interface.c b/multimedia/gxmms/files/patch-src-interface.c
new file mode 100644
index 000000000000..4c12cd24a00a
--- /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
index 2e14c7e83b7d..cdde4c8a32f1 100644
--- a/multimedia/gxmms/files/patch-src-xmmsctrl.c
+++ b/multimedia/gxmms/files/patch-src-xmmsctrl.c
@@ -1,7 +1,11 @@
---- src/xmmsctrl.c.orig Fri Sep 3 00:19:54 2004
-+++ src/xmmsctrl.c Thu Nov 4 14:36:56 2004
-@@ -48,13 +48,14 @@
- static gchar *msg_error = _("Sorry, unable to launch XMMS.");
+--- 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;