summaryrefslogtreecommitdiff
path: root/packages/python
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-04-18 12:27:06 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-04-18 12:27:06 +0000
commitc5c7189c245d5dee517f4acd8571fffe0e6e2979 (patch)
tree4e0c3700d240209fda20cb01d48f4af6d361af97 /packages/python
parent4bfc761321a85432d15828fa3c44632b0bd2cb9a (diff)
python-pygtk: unbreak prevent_to_get_display_during_import.patch (from Poky)
Diffstat (limited to 'packages/python')
-rw-r--r--packages/python/python-pygtk/prevent_to_get_display_during_import.patch2
-rw-r--r--packages/python/python-pygtk_2.10.4.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/python/python-pygtk/prevent_to_get_display_during_import.patch b/packages/python/python-pygtk/prevent_to_get_display_during_import.patch
index db3469ef57..9340f8244d 100644
--- a/packages/python/python-pygtk/prevent_to_get_display_during_import.patch
+++ b/packages/python/python-pygtk/prevent_to_get_display_during_import.patch
@@ -8,7 +8,7 @@ Index: pygtk-2.10.4/gtk/__init__.py
-_init()
+if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'):
-+ init()
++ _init()
# CAPI
_PyGtk_API = _gtk._PyGtk_API
diff --git a/packages/python/python-pygtk_2.10.4.bb b/packages/python/python-pygtk_2.10.4.bb
index 645aad11e0..6b26f59ad8 100644
--- a/packages/python/python-pygtk_2.10.4.bb
+++ b/packages/python/python-pygtk_2.10.4.bb
@@ -6,7 +6,7 @@ RDEPENDS = "python-shell python-pycairo python-pygobject"
PROVIDES = "python-pygtk2"
SRCNAME = "pygtk"
LICENSE = "LGPL"
-PR = "ml7"
+PR = "ml8"
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
file://fix-gtkunixprint.patch;patch=1 \