View | Details | Raw Unified | Return to bug 173751
Collapse All | Expand All

(-)gxmms/Makefile (-5 / +25 lines)
Lines 1-25 Link Here
1
# Created by: Radek Kozlowski <radek@raadradd.com>
1
# Created by: Radek Kozlowski <radek@raadradd.com>
2
# $FreeBSD: head/multimedia/gxmms/Makefile 305074 2012-09-30 06:25:19Z rm $
2
# $FreeBSD: head/multimedia/gxmms/Makefile 305074 2012-09-30 06:25:19Z rm $
3
3
4
PORTNAME=	gxmms
4
PORTNAME=	gxmms
5
PORTVERSION=	0.2.1
5
PORTVERSION=	0.3.0
6
PORTREVISION=	14
7
CATEGORIES=	multimedia gnome
6
CATEGORIES=	multimedia gnome
8
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
7
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
9
MASTER_SITE_SUBDIR=	${PORTNAME}
8
MASTER_SITE_SUBDIR=	${PORTNAME}
10
9
11
MAINTAINER=	c.petrik.sosa@gmail.com
10
MAINTAINER=	c.petrik.sosa@gmail.com
12
COMMENT=	Simple GNOME panel applet for controlling XMMS
11
COMMENT=	Simple GNOME panel applet for controlling XMMS
13
12
14
BUILD_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
15
RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
16
17
USE_GMAKE=	yes
13
USE_GMAKE=	yes
18
USE_GNOME=	gnomehack gnomepanel gnomeprefix intlhack libgnomeui
14
USE_GNOME=	gnomehack gnomepanel gnomeprefix intlhack libgnomeui
19
USE_GETTEXT=	yes
15
USE_GETTEXT=	yes
20
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	LIBS="`pkg-config --libs libgnomeui-2.0`"
17
CONFIGURE_ENV=	LIBS="`pkg-config --libs libgnomeui-2.0`"
22
CPPFLAGS+=	-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
18
CPPFLAGS+=	-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
23
LDFLAGS+=	-L${LOCALBASE}/lib
19
LDFLAGS+=	-L${LOCALBASE}/lib
24
20
21
22
OPTIONS_DEFINE=	XMMS BMP
23
OPTIONS_DEFAULT=	XMMS
24
25
XMMS_DESC=	Use xmms as frontend
26
BMP_DESC=	Use BMP as frontend
27
28
.include <bsd.port.options.mk>
29
30
.if ${PORT_OPTIONS:MXMMS}
31
CONFIGURE_ARGS+=	--with-xmms
32
BUILD_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
33
RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
34
.else
35
CONFIGURE_ARGS+=--disable-xmms
36
.endif
37
.if ${PORT_OPTIONS:MBMP}
38
CONFIGURE_ARGS+=--with-bmp
39
BUILD_DEPENDS=	beep-media-player:${PORTSDIR}/multimedia/beep-media-player
40
RUN_DEPENDS=	beep-media-player:${PORTSDIR}/multimedia/beep-media-player
41
.else
42
CONFIGURE_ARGS+=--disable-bmp
43
.endif
44
25
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)gxmms/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (gxmms-0.2.1.tar.gz) = bf3cc3bd5b42935db7589434a4777bc6125de3f49f8885bb086e9ebd9e85fb26
1
SHA256 (gxmms-0.3.0.tar.gz) = a6515796cca60cc01e52af7acf42875e6dda0132737abe2d5525f1f6d9dc2606
2
SIZE (gxmms-0.2.1.tar.gz) = 129794
2
SIZE (gxmms-0.3.0.tar.gz) = 148662
(-)gxmms/files/patch-src-xmmsctrl.c (-17 / +12 lines)
Lines 1-22 Link Here
1
--- src/xmmsctrl.c.orig	2004-09-03 00:19:54.000000000 +0200
1
--- src/xmmsctrl.c.bak	2012-10-30 21:26:50.000000000 +0000
2
+++ src/xmmsctrl.c	2008-04-24 15:36:57.000000000 +0200
2
+++ src/xmmsctrl.c	2012-10-30 21:33:13.000000000 +0000
3
@@ -45,16 +45,17 @@
3
@@ -44,11 +44,11 @@
4
 xmms_start(XMMSData *xmms)
4
 void
5
 player_start(XMMSData *xmms)
5
 {
6
 {
6
     static gchar *exec_cmd = "xmms";
7
-    static gchar *msg_error = _("Unable to launch XMMS.");
7
-    static gchar *msg_error = _("Sorry, unable to launch XMMS.");
8
-    static gchar *exec_cmd = "xmms &";
8
+    gchar *msg_error = _("Sorry, unable to launch XMMS.");
9
+    gchar *msg_error = _("Unable to launch XMMS.");
10
+    gchar *exec_cmd = "xmms &";
9
     gint timer;
11
     gint timer;
10
     time_t lt;
12
     time_t lt;
11
+    gchar *exec_this;
13
-
12
 
14
+    	
13
     if (xmms_remote_is_running(xmms->session))
15
     if (player_is_running(xmms))
14
     {
16
     {
15
         return;
17
         return;
16
     }
17
 
18
-    gchar *exec_this = g_strdup_printf("%s &", exec_cmd);
19
+    exec_this = g_strdup_printf("%s &", exec_cmd);
20
 
21
     if (system(exec_this))
22
     {
(-)gxmms/pkg-plist (+2 lines)
Lines 5-14 Link Here
5
share/gxmms/gxmms_eject.png
5
share/gxmms/gxmms_eject.png
6
share/gxmms/gxmms_next.png
6
share/gxmms/gxmms_next.png
7
share/gxmms/gxmms_play_pause.png
7
share/gxmms/gxmms_play_pause.png
8
share/gxmms/gxmms_prev.png
8
share/gxmms/gxmms_prev.png
9
share/gxmms/gxmms_stop.png
9
share/gxmms/gxmms_stop.png
10
share/gxmms/gxmms_mini.png
10
share/pixmaps/gxmms_mini.png
11
share/pixmaps/gxmms_mini.png
12
share/pixmaps/gxmms.png
11
share/locale/ca/LC_MESSAGES/gxmms.mo
13
share/locale/ca/LC_MESSAGES/gxmms.mo
12
share/locale/es/LC_MESSAGES/gxmms.mo
14
share/locale/es/LC_MESSAGES/gxmms.mo
13
share/locale/fr/LC_MESSAGES/gxmms.mo
15
share/locale/fr/LC_MESSAGES/gxmms.mo
14
@dirrm share/gxmms
16
@dirrm share/gxmms

Return to bug 173751