From 3d0a6e6c56ed6640fa484a71ba885188c0179155 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 7 Aug 2008 14:24:41 +0000 Subject: Apply a hack from deskbar-applet to get this applet to run. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11258 df743ca5-7f9a-e211-a948-0013205c9059 --- deskutils/hamster-applet/Makefile | 4 ++-- .../files/patch-hamster_hamster-applet.py | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 deskutils/hamster-applet/files/patch-hamster_hamster-applet.py (limited to 'deskutils') diff --git a/deskutils/hamster-applet/Makefile b/deskutils/hamster-applet/Makefile index eaad86a28..b14279443 100644 --- a/deskutils/hamster-applet/Makefile +++ b/deskutils/hamster-applet/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/deskutils/hamster-applet/Makefile,v 1.1 2008/08/06 04:50:33 marcus Exp $ +# $MCom: ports/deskutils/hamster-applet/Makefile,v 1.2 2008/08/06 18:05:03 marcus Exp $ # PORTNAME= hamster-applet PORTVERSION= 2.23.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/deskutils/hamster-applet/files/patch-hamster_hamster-applet.py b/deskutils/hamster-applet/files/patch-hamster_hamster-applet.py new file mode 100644 index 000000000..e61e0f77b --- /dev/null +++ b/deskutils/hamster-applet/files/patch-hamster_hamster-applet.py @@ -0,0 +1,17 @@ +--- hamster/hamster-applet.py.orig 2008-08-07 10:22:46.000000000 -0400 ++++ hamster/hamster-applet.py 2008-08-07 10:23:13.000000000 -0400 +@@ -51,10 +51,10 @@ if hasattr(gettext, 'bind_textdomain_cod + gettext.bind_textdomain_codeset('hamster-applet','UTF-8') + gettext.textdomain('hamster-applet') + +-locale.bindtextdomain('hamster-applet', abspath(join(hamster.defs.DATA_DIR, "locale"))) +-if hasattr(locale, 'bind_textdomain_codeset'): +- locale.bind_textdomain_codeset('hamster-applet','UTF-8') +-locale.textdomain('hamster-applet') ++#locale.bindtextdomain('hamster-applet', abspath(join(hamster.defs.DATA_DIR, "locale"))) ++#if hasattr(locale, 'bind_textdomain_codeset'): ++# locale.bind_textdomain_codeset('hamster-applet','UTF-8') ++#locale.textdomain('hamster-applet') + + hamster.__init_db() + import hamster.applet -- cgit v1.2.3