diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-06-13 06:30:54 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-06-13 06:30:54 +0000 |
commit | 201790122a6626b9d679c1ebfa26b1c8bfc3f39b (patch) | |
tree | 37a1205d5ce33fbb03f95cff6b2ef0880fb35664 /packages/python/python-gst/import-gobject-instead-of-pygtk.patch | |
parent | 00897171310c185aff0b92d9606143a703e88284 (diff) |
python-gst 0.10.10 do not require pygtk, gobject is really all it needs
Diffstat (limited to 'packages/python/python-gst/import-gobject-instead-of-pygtk.patch')
-rw-r--r-- | packages/python/python-gst/import-gobject-instead-of-pygtk.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/python/python-gst/import-gobject-instead-of-pygtk.patch b/packages/python/python-gst/import-gobject-instead-of-pygtk.patch new file mode 100644 index 0000000000..b4dafa1cea --- /dev/null +++ b/packages/python/python-gst/import-gobject-instead-of-pygtk.patch @@ -0,0 +1,19 @@ +Index: gst-python-0.10.10/gst/__init__.py +=================================================================== +--- gst-python-0.10.10.orig/gst/__init__.py ++++ gst-python-0.10.10/gst/__init__.py +@@ -28,13 +28,8 @@ try: + except: + pass + +-import sys ++import sys, gobject + +-# we always require 2.0 of pygtk; so if pygtk is not imported anywhere +-# yet, we import pygtk here and .require +-if 'gobject' not in sys.modules: +- import pygtk +- pygtk.require('2.0') + + class Value: + def __init__(self, type): |