From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 24 18:10:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6014106566C for ; Thu, 24 Apr 2008 18:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A98CC8FC0C for ; Thu, 24 Apr 2008 18:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3OIA1S8047666 for ; Thu, 24 Apr 2008 18:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3OIA1Wm047664; Thu, 24 Apr 2008 18:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 24 Apr 2008 18:10:01 GMT Resent-Message-Id: <200804241810.m3OIA1Wm047664@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ganael Laplanche Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76B0F106564A for ; Thu, 24 Apr 2008 18:05:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7CA298FC1E for ; Thu, 24 Apr 2008 18:05:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3OI4Ytc030423 for ; Thu, 24 Apr 2008 18:04:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3OI4YsH030422; Thu, 24 Apr 2008 18:04:34 GMT (envelope-from nobody) Message-Id: <200804241804.m3OI4YsH030422@www.freebsd.org> Date: Thu, 24 Apr 2008 18:04:34 GMT From: Ganael Laplanche To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/123057: Port fix: multimedia/gxmms - Fix compilation X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 18:10:01 -0000 >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: