From 7977f40fb8683ed8b16e104c6e98aede993aa61f Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 7 Sep 2006 19:05:16 +0000 Subject: Use the correct DATA_DIR for finding deskbar-applet files. Reported by: Thomas git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7261 df743ca5-7f9a-e211-a948-0013205c9059 --- deskutils/deskbar-applet/Makefile | 3 ++- deskutils/deskbar-applet/files/patch-deskbar___init__.py | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 deskutils/deskbar-applet/files/patch-deskbar___init__.py diff --git a/deskutils/deskbar-applet/Makefile b/deskutils/deskbar-applet/Makefile index c992c45b3..eb504dd9f 100644 --- a/deskutils/deskbar-applet/Makefile +++ b/deskutils/deskbar-applet/Makefile @@ -3,11 +3,12 @@ # Whom: Michael Johnson # # $FreeBSD$ -# $MCom: ports/deskutils/deskbar-applet/Makefile,v 1.40 2006/09/04 00:33:30 marcus Exp $ +# $MCom: ports/deskutils/deskbar-applet/Makefile,v 1.41 2006/09/04 15:42:44 ahze Exp $ # PORTNAME= deskbar-applet PORTVERSION= 2.16.0 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/deskutils/deskbar-applet/files/patch-deskbar___init__.py b/deskutils/deskbar-applet/files/patch-deskbar___init__.py new file mode 100644 index 000000000..dbe19007d --- /dev/null +++ b/deskutils/deskbar-applet/files/patch-deskbar___init__.py @@ -0,0 +1,11 @@ +--- deskbar/__init__.py.orig Thu Sep 7 15:04:34 2006 ++++ deskbar/__init__.py Thu Sep 7 15:04:50 2006 +@@ -26,7 +26,7 @@ if _check(name): + if UNINSTALLED_DESKBAR: + SHARED_DATA_DIR = abspath(join(dirname(__file__), '..', 'data')) + else: +- SHARED_DATA_DIR = join(DATA_DIR, "deskbar-applet") ++ SHARED_DATA_DIR = join(DATA_DIR, "gnome", "deskbar-applet") + print "Data Dir: %s" % SHARED_DATA_DIR + + HANDLERS_DIR = [] -- cgit v1.2.3