diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-06 19:30:35 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-06 19:30:35 +0800 |
commit | a3f07655bedf894ed85ce1639e135e9215c4b466 (patch) | |
tree | 87214e78e2fe83f7d8dd7e20f2e4504297f8eb79 /deskutils/hamster-applet/files | |
parent | 4a6d3689624a9439f2ca916a143a1aa60891371b (diff) | |
download | marcuscom-ports-a3f07655bedf894ed85ce1639e135e9215c4b466.tar marcuscom-ports-a3f07655bedf894ed85ce1639e135e9215c4b466.tar.gz marcuscom-ports-a3f07655bedf894ed85ce1639e135e9215c4b466.tar.bz2 marcuscom-ports-a3f07655bedf894ed85ce1639e135e9215c4b466.tar.lz marcuscom-ports-a3f07655bedf894ed85ce1639e135e9215c4b466.tar.xz marcuscom-ports-a3f07655bedf894ed85ce1639e135e9215c4b466.tar.zst marcuscom-ports-a3f07655bedf894ed85ce1639e135e9215c4b466.zip |
Update to 2.31.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14192 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/hamster-applet/files')
5 files changed, 114 insertions, 0 deletions
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 000000000..1c124c711 --- /dev/null +++ b/deskutils/hamster-applet/files/patch-src_gnome-time-tracker @@ -0,0 +1,22 @@ +--- src/gnome-time-tracker.orig 2010-06-06 13:12:24.000000000 +0200 ++++ src/gnome-time-tracker 2010-06-06 13:14:32.000000000 +0200 +@@ -497,13 +497,13 @@ if __name__ == "__main__": + 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-applet b/deskutils/hamster-applet/files/patch-src_hamster-applet new file mode 100644 index 000000000..eac47f2cd --- /dev/null +++ b/deskutils/hamster-applet/files/patch-src_hamster-applet @@ -0,0 +1,22 @@ +--- src/hamster-applet.orig 2010-06-06 13:12:33.000000000 +0200 ++++ src/hamster-applet 2010-06-06 13:13:31.000000000 +0200 +@@ -95,13 +95,13 @@ if __name__ == "__main__": + from hamster.configuration import runtime, dialogs + + # 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.window_set_default_icon_name("hamster-applet") + diff --git a/deskutils/hamster-applet/files/patch-src_hamster-client b/deskutils/hamster-applet/files/patch-src_hamster-client new file mode 100644 index 000000000..7788abd5c --- /dev/null +++ b/deskutils/hamster-applet/files/patch-src_hamster-client @@ -0,0 +1,24 @@ +--- src/hamster-client.orig 2010-06-06 13:12:40.000000000 +0200 ++++ src/hamster-client 2010-06-06 13:13:48.000000000 +0200 +@@ -210,14 +210,14 @@ def fact_dict(fact_data, with_date): + + if __name__ == '__main__': + # Setup i18n +- gettext.install("hamster-applet", unicode=True) +- 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') ++# gettext.install("hamster-applet", unicode=True) ++# 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') + + + diff --git a/deskutils/hamster-applet/files/patch-src_hamster-service b/deskutils/hamster-applet/files/patch-src_hamster-service new file mode 100644 index 000000000..702bfe1a2 --- /dev/null +++ b/deskutils/hamster-applet/files/patch-src_hamster-service @@ -0,0 +1,24 @@ +--- src/hamster-service.orig 2010-06-06 13:12:46.000000000 +0200 ++++ src/hamster-service 2010-06-06 13:14:03.000000000 +0200 +@@ -21,14 +21,14 @@ STORAGE = os.path.join(SOURCE_DIR, "hams + + if __name__ == '__main__': + # Setup i18n +- gettext.install("hamster-applet", unicode=True) +- 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') ++# gettext.install("hamster-applet", unicode=True) ++# 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') + + # adjust path if running from source + if os.path.exists(SOURCE_DIR): 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 000000000..57ac4866d --- /dev/null +++ b/deskutils/hamster-applet/files/patch-src_hamster-standalone @@ -0,0 +1,22 @@ +--- src/hamster-standalone.orig 2010-06-06 13:12:54.000000000 +0200 ++++ src/hamster-standalone 2010-06-06 13:14:12.000000000 +0200 +@@ -497,13 +497,13 @@ if __name__ == "__main__": + 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() |