summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-15 09:42:15 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-15 09:42:15 +0000
commit6a87048652fae220ef8ba50b4cde226aab76e6d4 (patch)
tree208f9ecbe4c34309783c1304553490804f5a7e22 /meta-extras/packages
parente5e8dd3d9b8efa16f87de7e9c693eb8eac5f8aca (diff)
downloadpoky-6a87048652fae220ef8ba50b4cde226aab76e6d4.tar.gz
python-pygtk: unbreak
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4270 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras/packages')
-rw-r--r--meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch2
-rw-r--r--meta-extras/packages/python/python-pygtk_2.10.4.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch b/meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch
index db3469ef57..9340f8244d 100644
--- a/meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch
+++ b/meta-extras/packages/python/python-pygtk/prevent_to_get_display_during_import.patch
@@ -8,7 +8,7 @@ Index: pygtk-2.10.4/gtk/__init__.py
8 8
9-_init() 9-_init()
10+if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'): 10+if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'):
11+ init() 11+ _init()
12 12
13 # CAPI 13 # CAPI
14 _PyGtk_API = _gtk._PyGtk_API 14 _PyGtk_API = _gtk._PyGtk_API
diff --git a/meta-extras/packages/python/python-pygtk_2.10.4.bb b/meta-extras/packages/python/python-pygtk_2.10.4.bb
index 645aad11e0..6b26f59ad8 100644
--- a/meta-extras/packages/python/python-pygtk_2.10.4.bb
+++ b/meta-extras/packages/python/python-pygtk_2.10.4.bb
@@ -6,7 +6,7 @@ RDEPENDS = "python-shell python-pycairo python-pygobject"
6PROVIDES = "python-pygtk2" 6PROVIDES = "python-pygtk2"
7SRCNAME = "pygtk" 7SRCNAME = "pygtk"
8LICENSE = "LGPL" 8LICENSE = "LGPL"
9PR = "ml7" 9PR = "ml8"
10 10
11SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \ 11SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
12 file://fix-gtkunixprint.patch;patch=1 \ 12 file://fix-gtkunixprint.patch;patch=1 \