Am Freitag, 21. Februar 2003, 16:24:21 Uhr MET, schrieb Charles A Edwards:
> The BuildRequires for pygtk2.0-1.99.15 needs to be libglade2.0_0-devel
> libgtkglarea2.0-devel rather than just the generic devel pkg.
I'll fix that in the next release, thanks.
> All resulting rpms installed without complaint or conflict.
> Installed eroaster-2.1.0-6 and glimmer also without complaint.
> [EMAIL PROTECTED] SPECS]$ eroaster
> 21.02.2003 15:27:26.898 ERROR main [Main] cannot import name GtkVBox
> [EMAIL PROTECTED] SPECS]$ glimmer
> Fatal Python error: could not import _gtk
> Aborted
All gtk1.2 python apps need to be patched, but this is really simple.
Attached are the patches for icepref, eroaster and dia. And they need
the pygtk wrapper from the pygtk2.0 package. I haven't tested the
other way around (with the pygtk 0.6.11 wrapper and patches for all
gtk2.0 applications), but that also should work.
I'll split out the pygtk wrapper from pygtk2.0 in the next release
(sorry, upload is broken atm, but you can check out these:
http://wwwtec.informatik.uni-rostock.de/~waschk/pygtk2.0-1.99.15-3mdk.src.rpm
http://wwwtec.informatik.uni-rostock.de/~waschk/pygnome-1.4.4-2.1gpw.src.rpm
)
--
G�tz Waschk <> master of computer science <> University of Rostock
http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
--> Logout Fascism! <--
--- main.py~ 2002-04-04 18:56:14.000000000 +0200
+++ main.py 2003-02-23 12:33:45.000000000 +0100
@@ -6,6 +6,8 @@
# ----------------------------------------------------------------------
# Import functions I need
+import pygtk
+pygtk.require("1.2")
from os import environ
--- icepref~ 2000-01-06 00:16:04.000000000 +0100
+++ icepref 2003-02-23 13:15:05.000000000 +0100
@@ -18,6 +18,8 @@
# The author is not responsible for any damages caused by the use of this
# program.
##############################################################################
+import pygtk
+pygtk.require("1.2")
from gtk import *
from string import *
--- /usr/share/dia/python/gtkcons.py~ 2002-12-04 14:54:15.000000000 +0100
+++ /usr/share/dia/python/gtkcons.py 2003-02-23 12:39:07.000000000 +0100
@@ -29,6 +29,8 @@
import sys, string, traceback
#sys.path.append('/home/james/.gimp/plug-ins')
+import pygtk
+pygtk.require("1.2")
from gtk import *
stdout = sys.stdout