Hello,

Attilio Fiandrotti wrote:
> [EMAIL PROTECTED] wrote:
>> Hey guys,
>>
>> I'm trying to get pygtk to work with the GTK-DFB project and so far have 
>> run into some stumbling blocks.  I've gotten DirectFB to work and can get 
>> gtk-demo to run from the directions given at the GTK_on_DirectFB wiki 
>> page.
>>
>> I recompiled the pygtk-2.8.6 source using the 
>> PREFIX/LD_LIBRARY_PATH/PKG_CONFIG_PATH env settings recommended on the 
>> GTK-DFB wiki page and used:
>>
>> ./configure --prefix=$PREFIX --without-x
>>
>> to build it.  I set up PYTHONPATH to use $PREFIX/lib/python2.4 and 
>> $PREFIX/lib/python2.4/site-packages/gtk-2.0.  So far I seem to be able to 
>> almost get it to work, however when I try to import gtk in python I run 
>> into this error:
>>
>>
>>>>> import gtk
>> Traceback (most recent call last):
>>    File "<stdin>", line 1, in ?
>>    File "/usr/gtkdfb/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", 
>> line 45, in ?
>>      from _gtk import *
>> ImportError: /usr/gtkdfb/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so: 
>> undefined symbol: gdk_keyval_convert_case
>>
>> I'm I correct in assuming gdk_keyval_convert_case isn't yet implemented in 
>> GTK-DFB?  I haven't yet started pulling apart the source.
> 
> gdk_keyval_convert_case is an empty stub and currently is commented out 
> in gdkkeys-directfb.c (i dunno why, but you could try to uncomment it): 
> what version of gtkdfb are you using (you should be using mainstream 
> version 2.9 from cvs.gnome.org) ?

I have a fresh SVN checkout from the trunk and gdk_keyval_convert_case 
seems to be completely removed from gdk/directfb/gdkkeys-directfb.c.  I 
was looking in the x11 support and there it is wrapped with an #ifdef 
HAVE_XCONVERTCASE.  Maybe a simple solution for now would be to put the 
same ifdef (if it's available there) in pygtk.  I know that's not fixing 
the problem the right way but maybe a quick hack until it is supported 
by gtk-dfb.

-Rob

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to