From 5360f5efa08caab1d218ce67a9af5dd867c310d8 Mon Sep 17 00:00:00 2001 From: rm Date: Thu, 3 Jan 2013 15:49:29 +0000 Subject: - update to 0.2.17 - make it PREFIX-safe PR: 174834 Submitted by: olivier@cochard.me (maintainer) --- x11/deforaos-panel/Makefile | 5 ++-- x11/deforaos-panel/distinfo | 4 +-- .../files/patch-panel_desktop_exec.diff | 30 ---------------------- 3 files changed, 5 insertions(+), 34 deletions(-) delete mode 100644 x11/deforaos-panel/files/patch-panel_desktop_exec.diff (limited to 'x11') diff --git a/x11/deforaos-panel/Makefile b/x11/deforaos-panel/Makefile index a8350661c7b6..1bc75345e29d 100644 --- a/x11/deforaos-panel/Makefile +++ b/x11/deforaos-panel/Makefile @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= deforaos-panel -PORTVERSION= 0.2.15 +PORTVERSION= 0.2.17 CATEGORIES= x11 -MASTER_SITES= http://www.defora.org/os/download/download/3706/ +MASTER_SITES= http://www.defora.org/os/download/download/4009/ DISTNAME= Panel-${PORTVERSION} MAINTAINER= olivier@cochard.me @@ -26,6 +26,7 @@ USE_GNOME= gtk20 desktopfileutils USE_PKGCONFIG= build USE_GETTEXT= yes INSTALLS_ICONS= yes +MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${MANPREFIX}/man diff --git a/x11/deforaos-panel/distinfo b/x11/deforaos-panel/distinfo index 1a53885d632a..2f621107e4a2 100644 --- a/x11/deforaos-panel/distinfo +++ b/x11/deforaos-panel/distinfo @@ -1,2 +1,2 @@ -SHA256 (Panel-0.2.15.tar.gz) = 6830d3fb74b9a3ebbecf0e96e64bda5c87a1ad24c6c7d24d1b92751dd558c37c -SIZE (Panel-0.2.15.tar.gz) = 109232 +SHA256 (Panel-0.2.17.tar.gz) = ca0f081e0082459b42477baa066aa036c6770d11d4b865963437c6ef985d20ef +SIZE (Panel-0.2.17.tar.gz) = 109904 diff --git a/x11/deforaos-panel/files/patch-panel_desktop_exec.diff b/x11/deforaos-panel/files/patch-panel_desktop_exec.diff deleted file mode 100644 index 59b7cd4dd897..000000000000 --- a/x11/deforaos-panel/files/patch-panel_desktop_exec.diff +++ /dev/null @@ -1,30 +0,0 @@ -Index: src/applets/main.c -=================================================================== -RCS file: /home/cvs/DeforaOS/Apps/Desktop/src/Panel/src/applets/main.c,v -retrieving revision 1.36 -diff -p -u -r1.36 main.c ---- src/applets/main.c 21 Mar 2012 21:07:42 -0000 1.36 -+++ src/applets/main.c 23 Oct 2012 09:08:40 -0000 -@@ -209,14 +209,21 @@ static GtkWidget * _main_applications(Ma - - static void _applications_on_activate(gpointer data) - { -- char const * program = data; -+ char * program = data; -+ char * p; - - if(program == NULL) - return; -+ if((program = strdup(program)) == NULL) -+ return; /* XXX report error */ -+ /* XXX crude way to ignore %f, %F, %u and %U */ -+ if((p = strchr(program, '%')) != NULL) -+ *p = '\0'; - #ifdef DEBUG - fprintf(stderr, "DEBUG: %s() \"%s\"", __func__, program); - #endif - g_spawn_command_line_async(program, NULL); -+ free(program); - } - - static void _applications_categories(GtkWidget * menu, GtkWidget ** menus) -- cgit