diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-08-07 22:24:41 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-08-07 22:24:41 +0800 |
commit | 3d0a6e6c56ed6640fa484a71ba885188c0179155 (patch) | |
tree | 7ef722cd5e2719963164c8187d26964aa8431bd7 /deskutils | |
parent | e79f957089ea942ce9a5474c17905fc6d4f8413d (diff) | |
download | marcuscom-ports-3d0a6e6c56ed6640fa484a71ba885188c0179155.tar marcuscom-ports-3d0a6e6c56ed6640fa484a71ba885188c0179155.tar.gz marcuscom-ports-3d0a6e6c56ed6640fa484a71ba885188c0179155.tar.bz2 marcuscom-ports-3d0a6e6c56ed6640fa484a71ba885188c0179155.tar.lz marcuscom-ports-3d0a6e6c56ed6640fa484a71ba885188c0179155.tar.xz marcuscom-ports-3d0a6e6c56ed6640fa484a71ba885188c0179155.tar.zst marcuscom-ports-3d0a6e6c56ed6640fa484a71ba885188c0179155.zip |
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
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/hamster-applet/Makefile | 4 | ||||
-rw-r--r-- | deskutils/hamster-applet/files/patch-hamster_hamster-applet.py | 17 |
2 files changed, 19 insertions, 2 deletions
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 <marcus@FreeBSD.org> # # $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 |