diff options
author | mezz <mezz@FreeBSD.org> | 2010-06-25 05:15:38 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2010-06-25 05:15:38 +0800 |
commit | 73c61edc732e842a6e072fa813c6372456b86837 (patch) | |
tree | 3dd296818c449ebc046e0f06aca0a1743667c0ca /deskutils | |
parent | d8e6f58559027ca225634fb57217ca427ba67531 (diff) | |
download | freebsd-ports-gnome-73c61edc732e842a6e072fa813c6372456b86837.tar.gz freebsd-ports-gnome-73c61edc732e842a6e072fa813c6372456b86837.tar.zst freebsd-ports-gnome-73c61edc732e842a6e072fa813c6372456b86837.zip |
Fix the gnome-time-tracker and hamster-standalone in the runtime, same patch
with patch-src_hamster-applet.py. Bump the PORTREVISION.
Reported by: Jeff Molofee <nehe@telus.net>
Feature safe: yes
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/hamster-applet/Makefile | 2 | ||||
-rw-r--r-- | deskutils/hamster-applet/files/patch-src_gnome-time-tracker | 22 | ||||
-rw-r--r-- | deskutils/hamster-applet/files/patch-src_hamster-standalone | 22 |
3 files changed, 45 insertions, 1 deletions
diff --git a/deskutils/hamster-applet/Makefile b/deskutils/hamster-applet/Makefile index ff6f7e035906..f621150d632c 100644 --- a/deskutils/hamster-applet/Makefile +++ b/deskutils/hamster-applet/Makefile @@ -8,7 +8,7 @@ PORTNAME= hamster-applet PORTVERSION= 2.30.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/deskutils/hamster-applet/files/patch-src_gnome-time-tracker b/deskutils/hamster-applet/files/patch-src_gnome-time-tracker new file mode 100644 index 000000000000..9f2489a59482 --- /dev/null +++ b/deskutils/hamster-applet/files/patch-src_gnome-time-tracker @@ -0,0 +1,22 @@ +--- src/gnome-time-tracker.orig 2010-06-24 16:14:42.000000000 -0500 ++++ src/gnome-time-tracker 2010-06-24 16:15:22.000000000 -0500 +@@ -524,13 +524,13 @@ + from hamster import defs + + # Setup i18n +- locale_dir = os.path.abspath(os.path.join(defs.DATA_DIR, "locale")) +- for module in (gettext, locale): +- module.bindtextdomain('hamster-applet', locale_dir) +- module.textdomain('hamster-applet') ++# locale_dir = os.path.abspath(os.path.join(defs.DATA_DIR, "locale")) ++# for module in (gettext, locale): ++# module.bindtextdomain('hamster-applet', locale_dir) ++# module.textdomain('hamster-applet') + +- if hasattr(module, 'bind_textdomain_codeset'): +- module.bind_textdomain_codeset('hamster-applet','UTF-8') ++# if hasattr(module, 'bind_textdomain_codeset'): ++# module.bind_textdomain_codeset('hamster-applet','UTF-8') + + gtk.gdk.threads_init() + app = ProjectHamster() diff --git a/deskutils/hamster-applet/files/patch-src_hamster-standalone b/deskutils/hamster-applet/files/patch-src_hamster-standalone new file mode 100644 index 000000000000..126f2444bd4a --- /dev/null +++ b/deskutils/hamster-applet/files/patch-src_hamster-standalone @@ -0,0 +1,22 @@ +--- src/hamster-standalone.orig 2010-06-24 16:14:54.000000000 -0500 ++++ src/hamster-standalone 2010-06-24 16:15:43.000000000 -0500 +@@ -524,13 +524,13 @@ + from hamster import defs + + # Setup i18n +- locale_dir = os.path.abspath(os.path.join(defs.DATA_DIR, "locale")) +- for module in (gettext, locale): +- module.bindtextdomain('hamster-applet', locale_dir) +- module.textdomain('hamster-applet') ++# locale_dir = os.path.abspath(os.path.join(defs.DATA_DIR, "locale")) ++# for module in (gettext, locale): ++# module.bindtextdomain('hamster-applet', locale_dir) ++# module.textdomain('hamster-applet') + +- if hasattr(module, 'bind_textdomain_codeset'): +- module.bind_textdomain_codeset('hamster-applet','UTF-8') ++# if hasattr(module, 'bind_textdomain_codeset'): ++# module.bind_textdomain_codeset('hamster-applet','UTF-8') + + gtk.gdk.threads_init() + app = ProjectHamster() |