FS#21459 - [gimp] python extesions are all broken
Attached to Project:
Arch Linux
Opened by Skottish (skottish) - Monday, 25 October 2010, 03:10 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 28 October 2010, 01:56 GMT
Opened by Skottish (skottish) - Monday, 25 October 2010, 03:10 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 28 October 2010, 01:56 GMT
|
Details
Description:
The python upgrade broke all of GIMP's python extensions. Additional info: I looked around the source for a quick and easily solution. I thought that a simple change in the py-compile.py file in the top-most directory of the source tree would be the key, but modifications there didn't seem to change anything: if [ -z "$PYTHON" ]; then PYTHON=python fi -->> if [ -z "$PYTHON" ]; then PYTHON=python2 fi |
This task depends upon
Closed by Eric Belanger (Snowman)
Thursday, 28 October 2010, 01:56 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in :
gimp-2.6.11-1
gimp-devel-2.7.1-3
Thursday, 28 October 2010, 01:56 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in :
gimp-2.6.11-1
gimp-devel-2.7.1-3
If there are [community] packages affected, please open another bug report.
Maybe we need to use something like:
PYTHON=python2 PYTHON_VERSION=2.7 ./configure --prefix=/usr --sysconfdir=/etc \
--enable-mp --enable-gimp-console --enable-gimp-remote \
--enable-python --with-gif-compression=lzw \
--without-aa
instead of the sed line in the PKGBUILD.
( Filters--> PythonFu --> Console ):
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 807, in _run
res = apply(func, params[1:])
File "/usr/lib/gimp/2.0/plug-ins/python-console.py", line 32, in do_console
import sys, gobject, gtk, gimpenums, gimpshelf, gimpui, pyconsole
File "/usr/lib/gimp/2.0/python/gimpui.py", line 35, in <module>
from _gimpui import *
RuntimeError: could not find _PyGtk_API object
***
pygtk is installed and at least pygtk-demo seems to be working properly.
Snowman,
See bleow
Snowman,
I rebuilt the package with your configure line and it did nothing. Then I decided to install the package. Then it worked.
*** Solved and run away, run away.... ***
Yes, Eric's config does work and yes, it's probably a good thing that I'm not on the Arch team right now.
While the python rebuild was in testing, we had to fix pygtk and rebuild a couple other packages against the fixed pygtk. It looks like gimp had to be rebuilt too.