so

no success :(

i updated the Portfile of macport and i tried to build pygtk 2.23.1 and .2...

results: 

:info:build gdk.c:20301: error: expected '{' at end of input
:info:build make[2]: *** [_gtk_la-gdk.lo] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build libtool: link: /usr/bin/nm  .libs/glade_la-libglademodule.o 
.libs/glade_la-libglade.o   | sed -n -e 's/^.*[  ]\([BCDEGRST][BCDEGRST]*\)[    
 ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* //' | 
sort | uniq > .libs/glade.exp
:info:build libtool: link: /usr/bin/grep -E -e "initglade" ".libs/glade.exp" > 
".libs/glade.expT"
:info:build libtool: link: mv -f ".libs/glade.expT" ".libs/glade.exp"
:info:build libtool: link: sed -e 's,^,_,' < .libs/glade.exp > 
.libs/glade-symbols.expsym
:info:build libtool: link: /usr/bin/gcc-4.2 -Wl,-undefined -Wl,dynamic_lookup 
-o .libs/glade.so -bundle  .libs/glade_la-libglademodule.o 
.libs/glade_la-libglade.o   -L/opt/local/lib -framework Cocoa 
/opt/local/lib/libglade-2.0.dylib /opt/local/lib/libgtk-quartz-2.0.dylib 
/opt/local/lib/libxml2.dylib /opt/local/lib/libgdk-quartz-2.0.dylib 
/opt/local/lib/libatk-1.0.dylib /opt/local/lib/libpangocairo-1.0.dylib 
/opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib 
/opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib -lm 
/opt/local/lib/libfreetype.dylib /opt/local/lib/libfontconfig.dylib 
/opt/local/lib/libcairo.dylib /opt/local/lib/libpng14.dylib 
/opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib 
/opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib 
/opt/local/lib/libintl.dylib  -arch i386 -Wl,-headerpad_max_install_names -arch 
i386   -framework Cocoa -framework CoreFoundation -framework Carbon -lpthread 
-Wl,-exported_symbols_list,.libs/glade-symbols.expsym
:info:build libtool: link: dsymutil .libs/glade.so || :
:info:build warning: no debug symbols in executable (-arch i386)
:info:build libtool: link: ( cd ".libs" && rm -f "glade.la" && ln -s 
"../glade.la" "glade.la" )
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-gtk/work/pygtk-2.23.1"
 && /usr/bin/make -j2 all " returned error 2


thx

Le 30 mars 2011 à 01:04, laguillaumie sylvain a écrit :

> hello
> 
> yes on windows it works fine with "handle" no problems
> 
> ok for pygtk 2.23 so macport is not uptodate
> 
> port installed py26-gtk
> The following ports are currently installed:
>  py26-gtk @2.22.0_1 (active)
> 
> Mac-de-smo:smolleyes-gmediafinder-1bdc186 smo$ port installed gtk2
> The following ports are currently installed:
>  gtk2 @2.24.3_0+no_x11+quartz (active)
> 
> dont know why i have gtk 2.24 and pygtk 2.22 ...
> 
> i ll look
> 
> thx
> 
> Le 30 mars 2011 à 00:48, Anders F Björklund a écrit :
> 
>> laguillaumie sylvain wrote:
>> 
>>> hi
>>> 
>>> i reinstalled macport and rebuilded all gtk2, gstreamer... with no_x11 and 
>>> +quartz, this time the app start normally
>> 
>> You forgot to mention your PyGTK version, there...
>> 
>>> but still the problem with the xid
>>> 
>>> i spend hours on google without finding help...
>>> 
>>> so, in linux i use the gtk.gdk.Window.xid
>>> on win 32 the handle (works fine too)
>> 
>> Still don't see how "xid" would work on Win32, but OK.
>> 
>> Seems to have a difference in the definition, as well...
>> Uses GDK_DRAWABLE_XID(drawable) on X11, but instead just
>> GDK_WINDOW_HWND(drawable) on Win32 ? Not GDK_DRAWABLE_HANDLE.
>> But maybe GDK_IS_WINDOW is always true there, or something.
>> 
>> Anyway, you'll want to use "nsview" when using Quartz.
>> 
>>> and osx, i tried the nsview but i get :
>>> 
>>> Traceback (most recent call last):
>>> File "gmediafinder.py", line 1304, in on_drawingarea_realized
>>>  self.sink.set_xwindow_id(self.movie_window.window.nsview)
>>> AttributeError: 'gtk.gdk.Window' object has no attribute 'nsview'
>> 
>> Maybe you are running PyGTK 2.22.0, without backports ?
>> 
>>>> I'm not sure how "xid" works on Win32 (thought it was "handle" there)
>>>> but I think the Quartz equivalent would be "nsview" and "nswindow" ?
>>>> 
>>>> http://git.gnome.org/browse/pygtk/commit/?id=be609e744ee47b117ced07f234262e4032658050
>> 
>> Note that this requires PyGTK 2.23.1 or later... (git)
>> 
>> --anders
>> 
> 
> _______________________________________________
> pygtk mailing list   pygtk@daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to