Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 18:04:34 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123057: Port fix: multimedia/gxmms - Fix compilation
Message-ID:  <200804241804.m3OI4YsH030422@www.freebsd.org>
Resent-Message-ID: <200804241810.m3OIA1Wm047664@freefall.freebsd.org>

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

>Number:         123057
>Category:       ports
>Synopsis:       Port fix: multimedia/gxmms - Fix compilation
>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:   Thu Apr 24 18:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.0-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #14: Sun Apr 20 14:11:03 CEST 2008     root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
This patch includes the following :

- fixes compilation
- removes the BROKEN flag
- adds a missing dependency on GETTEXT
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN gxmms.orig/Makefile gxmms/Makefile
--- gxmms.orig/Makefile	2008-03-24 18:02:20.000000000 +0100
+++ gxmms/Makefile	2008-04-24 19:56:00.005755242 +0200
@@ -18,10 +18,9 @@
 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 -aurN gxmms.orig/files/patch-src-interface.c gxmms/files/patch-src-interface.c
--- gxmms.orig/files/patch-src-interface.c	1970-01-01 01:00:00.000000000 +0100
+++ gxmms/files/patch-src-interface.c	2008-04-24 15:31:54.000000000 +0200
@@ -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 -aurN gxmms.orig/files/patch-src-xmmsctrl.c gxmms/files/patch-src-xmmsctrl.c
--- gxmms.orig/files/patch-src-xmmsctrl.c	2004-11-04 14:56:44.000000000 +0100
+++ gxmms/files/patch-src-xmmsctrl.c	2008-04-24 15:37:52.000000000 +0200
@@ -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;


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



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