Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] PERFORCE change 74021 by Sergey A. Lipnevich for review

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Sergey A. Lipnevich" <sergey AT sourcemage.org>
  • To: SM Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] PERFORCE change 74021 by Sergey A. Lipnevich for review
  • Date: Sat, 04 Feb 2006 11:13:20 -0500

Arwed,

I tried dispelling pycairo and "import gtk" stopped working. The log is below (please disregard "couldn't open display" thing, X is not started). I looked at gtk-2.0/gtk/__init__.py, and there is no mention of cairo, so what seems to be happening it's somehow detecting it. So would you like me to make this depends optional?

Sergey.

$ python -c 'import gtk'

(-c:32097): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 38, in ?
from _gtk import *
RuntimeError: could not open display
root@bullet /root
$ dispel pycairo
Dispelled spell: pycairo
root@bullet /root
$ python -c 'import gtk'
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 38, in ?
from _gtk import *
ImportError: No module named cairo


Arwed von Merkatz wrote:
==== //sgl/grimoires/devel/x11-toolkits/pygtk2/DEPENDS#5 (xtext) ====

@@ -1,4 +1,5 @@
depends pygobject &&
+depends pycairo &&
depends gtk+2 &&
depends libglade2 &&


==== //sgl/grimoires/devel/x11-toolkits/pygtk2/HISTORY#13 (text) ====

@@ -1,3 +1,6 @@
+2006-02-01 Sergey Lipnevich <sergey AT sourcemage.org>
+ * DEPENDS: add pycairo.

Shouldn't that be optional? I have pygtk2 2.8.4 installed (and working) fine without pycairo.





Archive powered by MHonArc 2.6.24.

Top of Page