aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2010-06-24 21:15:38 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2010-06-24 21:15:38 +0000
commit1323cb332bd5cba374dd4c44164bac557744288b (patch)
treee6f9c1e709a7fb80428e98d53cea674541e9ff4e /deskutils
parent272ce93379bdcc6a2c98b687918fd16e6dd4dfc7 (diff)
downloadports-1323cb332bd5cba374dd4c44164bac557744288b.tar.gz
ports-1323cb332bd5cba374dd4c44164bac557744288b.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/hamster-applet/Makefile2
-rw-r--r--deskutils/hamster-applet/files/patch-src_gnome-time-tracker22
-rw-r--r--deskutils/hamster-applet/files/patch-src_hamster-standalone22
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()