diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2013-10-31 07:48:38 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2013-10-31 07:48:38 +0800 |
commit | 330b092c66ef97784828e4e41c2569793789fae2 (patch) | |
tree | 02e70d19bfa10dac84bcc7c604d2125a99ab1c0a /games/gnome-sudoku/files | |
parent | 38886e719bd94327c0c2c7ffffa75572cd5d305f (diff) | |
download | marcuscom-ports-330b092c66ef97784828e4e41c2569793789fae2.tar marcuscom-ports-330b092c66ef97784828e4e41c2569793789fae2.tar.gz marcuscom-ports-330b092c66ef97784828e4e41c2569793789fae2.tar.bz2 marcuscom-ports-330b092c66ef97784828e4e41c2569793789fae2.tar.lz marcuscom-ports-330b092c66ef97784828e4e41c2569793789fae2.tar.xz marcuscom-ports-330b092c66ef97784828e4e41c2569793789fae2.tar.zst marcuscom-ports-330b092c66ef97784828e4e41c2569793789fae2.zip |
Turn gnome-games in a meta port, in GNOME 3.8 all the games where split off.
Update most to 3.10 but some are still 3.8 because they require a
clutter update. As always please report bugs, especialy with the score
handling.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18839 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnome-sudoku/files')
-rw-r--r-- | games/gnome-sudoku/files/patch-src_lib_defaults.py | 14 | ||||
-rw-r--r-- | games/gnome-sudoku/files/patch-src_lib_number-box.py | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/games/gnome-sudoku/files/patch-src_lib_defaults.py b/games/gnome-sudoku/files/patch-src_lib_defaults.py new file mode 100644 index 000000000..7b9285f0e --- /dev/null +++ b/games/gnome-sudoku/files/patch-src_lib_defaults.py @@ -0,0 +1,14 @@ +python locale uses C library gettext modules. Since our gettext doesn't +live in libc, work around this. + +--- src/lib/defaults.py.orig 2013-08-24 19:50:08.000000000 +0200 ++++ src/lib/defaults.py 2013-08-24 20:02:02.000000000 +0200 +@@ -39,7 +39,7 @@ + PUZZLE_DIR = BASE_DIR + + DOMAIN = 'gnome-games' +-locale.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425 ++gettext.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425 + gettext.bindtextdomain(DOMAIN, LOCALEDIR) + gettext.textdomain(DOMAIN) + from gettext import gettext as _ diff --git a/games/gnome-sudoku/files/patch-src_lib_number-box.py b/games/gnome-sudoku/files/patch-src_lib_number-box.py new file mode 100644 index 000000000..a35463153 --- /dev/null +++ b/games/gnome-sudoku/files/patch-src_lib_number-box.py @@ -0,0 +1,11 @@ +--- src/lib/number_box.py.orig 2013-08-24 20:08:03.000000000 +0200 ++++ src/lib/number_box.py 2013-08-24 20:08:32.000000000 +0200 +@@ -130,7 +130,7 @@ + self.bottom_note_list = [] + self.tinfo = tracker_info.TrackerInfo() + self.set_property('can-focus', True) +- self.set_property('events', Gdk.EventMask.ALL_EVENTS_MASK) ++ self.add_events(Gdk.EventMask.ALL_EVENTS_MASK) + self.connect('button-press-event', self.button_press_cb) + self.connect('key-release-event', self.key_press_cb) + self.connect('enter-notify-event', self.pointer_enter_cb) |