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

(-)Makefile (-2 / +3 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	deforaos-panel
4
PORTNAME=	deforaos-panel
5
PORTVERSION=	0.2.15
5
PORTVERSION=	0.2.17
6
CATEGORIES=	x11
6
CATEGORIES=	x11
7
MASTER_SITES=	http://www.defora.org/os/download/download/3706/
7
MASTER_SITES=	http://www.defora.org/os/download/download/4009/
8
DISTNAME=	Panel-${PORTVERSION}
8
DISTNAME=	Panel-${PORTVERSION}
9
9
10
MAINTAINER=	olivier@cochard.me
10
MAINTAINER=	olivier@cochard.me
Lines 26-31 Link Here
26
USE_PKGCONFIG=	build
26
USE_PKGCONFIG=	build
27
USE_GETTEXT=	yes
27
USE_GETTEXT=	yes
28
INSTALLS_ICONS=	yes
28
INSTALLS_ICONS=	yes
29
MAKE_ARGS+=	PREFIX=${PREFIX}
29
30
30
MAKE_ENV+=	MANDIR=${MANPREFIX}/man
31
MAKE_ENV+=	MANDIR=${MANPREFIX}/man
31
32
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (Panel-0.2.15.tar.gz) = 6830d3fb74b9a3ebbecf0e96e64bda5c87a1ad24c6c7d24d1b92751dd558c37c
1
SHA256 (Panel-0.2.17.tar.gz) = ca0f081e0082459b42477baa066aa036c6770d11d4b865963437c6ef985d20ef
2
SIZE (Panel-0.2.15.tar.gz) = 109232
2
SIZE (Panel-0.2.17.tar.gz) = 109904
(-)files/patch-panel_desktop_exec.diff (-30 lines)
Lines 1-30 Link Here
1
Index: src/applets/main.c
2
===================================================================
3
RCS file: /home/cvs/DeforaOS/Apps/Desktop/src/Panel/src/applets/main.c,v
4
retrieving revision 1.36
5
diff -p -u -r1.36 main.c
6
--- src/applets/main.c	21 Mar 2012 21:07:42 -0000	1.36
7
+++ src/applets/main.c	23 Oct 2012 09:08:40 -0000
8
@@ -209,14 +209,21 @@ static GtkWidget * _main_applications(Ma
9
10
 static void _applications_on_activate(gpointer data)
11
 {
12
-	char const * program = data;
13
+	char * program = data;
14
+	char * p;
15
16
	if(program == NULL)
17
		return;
18
+	if((program = strdup(program)) == NULL)
19
+		return; /* XXX report error */
20
+	/* XXX crude way to ignore %f, %F, %u and %U */
21
+	if((p = strchr(program, '%')) != NULL)
22
+		*p = '\0';
23
 #ifdef DEBUG
24
	fprintf(stderr, "DEBUG: %s() \"%s\"", __func__, program);
25
 #endif
26
	g_spawn_command_line_async(program, NULL);
27
+	free(program);
28
 }
29
30
 static void _applications_categories(GtkWidget * menu, GtkWidget ** menus)

Return to bug 174834