Hi, I fixed the build problems on my machine and pushed your changes to the build system into my tree on github. Thanks again! I also work on a solution for the problem with the 0-terminated list of attributes that is supplied when creating configurations. I'll try to get this ready within the next few days. Best regards Thomas Am Dienstag, den 29.05.2012, 14:48 +0200 schrieb B. Clausius: > Am 28.05.2012 22:03, schrieb Thomas Zimmermann: > > Great work! Thanks a lot. > > > I need the packages for my project pybik [1]. Thanks to your work, I > had a quick and painless transition to GTK3. > > > Meanwhile, I applied the two patches you sent me. I haven't been > > able to out-of-tree build them, due to a shortcoming in the build > > system. > > > >> /usr/bin/g-ir-scanner --warn-all --namespace=GdkGLExt > >> --nsversion=3.0 --libtool="/bin/sh ../libtool" --include=Gdk-3.0 > >> --library=libgdkglext-3.0.la --identifier-prefix=GdkGL > >> --symbol-prefix=gdk_gl --symbol-prefix=gdk > >> -DG_LOG_DOMAIN=\"GdkGLExt\" -DGDK_GL_COMPILATION -I../../.. > >> -DG_ENABLE_DEBUG -pthread -I/usr/include/gtk-3.0 > >> -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 > >> -I/usr/include/cairo -I/usr/include/glib-2.0 > >> -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 > >> -I/usr/include/freetype2 -I/usr/include/libpng12 -DGSEAL_ENABLE > >> -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 > >> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 > >> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > >> -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 > >> -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread > >> ../../../gdk/gdkgl.h ../../../gdk/gdkgldefs.h > >> ../../../gdk/gdkgltokens.h ../../../gdk/gdkgltypes.h > >> ../../../gdk/gdkglinit.h ../../../gdk/gdkglquery.h > >> ../../../gdk/gdkglconfig.h ../../../gdk/gdkglcontext.h > >> ../../../gdk/gdkgldrawable.h ../../../gdk/gdkglwindow.h > >> ../../../gdk/gdkglenumtypes.h gdkglversion.h > >> ../../../gdk/gdkglversion.c ../../../gdk/gdkglinit.c > >> ../../../gdk/gdkglquery.c ../../../gdk/gdkglconfig.c > >> ../../../gdk/gdkglconfigimpl.c ../../../gdk/gdkglcontext.c > >> ../../../gdk/gdkglcontextimpl.c ../../../gdk/gdkgldrawable.c > >> ../../../gdk/gdkglwindow.c ../../../gdk/gdkglwindowimpl.c > >> ../../../gdk/gdkglenumtypes.c ../../../gdk/x11/gdkglconfig-x11.c > >> ../../../gdk/x11/gdkglcontext-x11.c > >> ../../../gdk/x11/gdkglquery-x11.c > >> ../../../gdk/x11/gdkglwindow-x11.c libgdkglext-3.0.la Makefile > >> --output GdkGLExt-3.0.gir In file included from <stdin>:4:0: > >> /home/tdz/Projects/gtkglext/gdk/gdkgl.h:27:30: fatal error: > >> gdk/gdkglversion.h: No such file or directory compilation > >> terminated. Error while processing the source. make[4]: *** > >> [GdkGLExt-3.0.gir] Error 1 > > > > I'll try to fix this and then push your patches into the github > > tree. > > > > One more note. The second patch consists of changes like the one > > below. > > > >> + * @attrib_list: (array zero-terminated=1): a list of > >> attribute/value pairs. > > > > I'm wondering if it couldn't happen that one of the attribute's > > values is zero for a call to the annotated function, and the > > binding code assumes, the array has already been terminated. > > > When i created this patch, I got a segmentation fault without the > zero-terminated=1 when I run my Python test script [attachment]. > But it seams it was a bug (maybe 674271 ? [2]) in pygobject 3.2.0 and > fixed in 3.2.2, With the update meanwhile the segmentation fault is > gone. So maybe this zero-terminated=1 should be removed. > > Btw, are you interested in Python examples in your git tree? They > demonstrate the usage of g-i, as bindings like python-gtkglext1 are > not needed any more. > > > Best regards Thomas > > > > Am Sonntag, den 27.05.2012, 20:41 +0200 schrieb B. Clausius: > >> Hi, > >> > >> the packages are available in my PPA: > >> https://code.launchpad.net/~barcc/+archive/daily-build Built > >> packages: gir1.2-gtkglext-3.0 OpenGL Extension to GTK+ -- gir > >> bindings libgtkglext-3-0-tdz-bc OpenGL Extension to GTK+ (shared > >> libraries) libgtkglext-3-0-tdz-bc-dbg OpenGL Extension to GTK+ > >> (debugging symbols) libgtkglext-3-tdz-bc-dev OpenGL Extension to > >> GTK+ (development files) libgtkglext-3-tdz-bc-doc OpenGL > >> Extension to GTK+ (documentation) > >> > >> The packages are built from the Bazaar branch > >> https://code.launchpad.net/+branch/~barcc/pybik/gtkglext-tdz-bc > >> bzr branch lp:~barcc/pybik/gtkglext-tdz-bc which is based upon > >> the branch by Thomas Zimmermann > >> git://github.com/tdz/gtkglext.git and contains besides the > >> packaging files additional stuff that are not yet accepted in the > >> git branch. > >> > >> Please be aware that the packages are not well tested and may > >> change unexpectedly at any time. > >> > >> Best Regards, B. Clausius > >> _______________________________________________ gtkglext-list > >> mailing list gtkglext-list gnome org > >> https://mail.gnome.org/mailman/listinfo/gtkglext-list > > > > > > > > _______________________________________________ gtkglext-list > > mailing list gtkglext-list gnome org > > https://mail.gnome.org/mailman/listinfo/gtkglext-list > > [1] https://launchpad.net/pybik > [2] https://bugzilla.gnome.org/show_bug.cgi?id=674271 > _______________________________________________ > gtkglext-list mailing list > gtkglext-list gnome org > https://mail.gnome.org/mailman/listinfo/gtkglext-list -- GnuPG: http://tdz.users.sourceforge.net/tdz.asc Fingerprint: 16FF F599 82F8 E5AA 18C6 5220 D9DA D7D4 4EF1 DF08 jsapigen - A free glue-code generator for Mozilla SpiderMonkey. See http://jsapigen.sourceforge.net for more information.
Attachment:
signature.asc
Description: This is a digitally signed message part