After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630753 - Add gobject-introspection support
Add gobject-introspection support
Product: gtkglext
Classification: Other
Component: general
Other All
: Normal normal
: 2.0.0
Assigned To: Braden
Mukund Sivaraman
Depends on:
Blocks: 585444
Reported: 2010-09-27 18:42 UTC by Anton Gorenko
Modified: 2014-11-09 22:19 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Anton Gorenko 2010-09-27 18:42:24 UTC
I don't find gtkglext in list, but i think gtkglext should support g-i.

My first step: add missing gobject-introspection annotations

I use these commands for testing (i'm not sure that they're correct completely):

g-ir-scanner --warn-all -v --namespace GdkGL --identifier-prefix=GdkGL --identifier-prefix=Gdk --nsversion=1.0 -D__GDK_GL_GLEXT_H__ --pkg=gdkglext-1.0 --library=gdkglext-x11-1.0 --add-include-path=../usr/share/gir-1.0/ --include=Gdk-3.0 --output GdkGLExt-1.0.gir gdk/*.* gdk/x11/*.c

g-ir-scanner --warn-all -v --namespace GtkGL --identifier-prefix=GtkGL --identifier-prefix=Gtk --nsversion=1.0 --pkg=gtkglext-1.0 --library=gtkglext-x11-1.0 --add-include-path=../usr/share/gir-1.0/ --add-include-path=. --include=Gtk-3.0 --include=GdkGLExt-1.0 --output GtkGLExt-1.0.gir gtk/*.*

The same commands should be added in the Makefiles.
Comment 1 Johan (not receiving bugmail) Dahlin 2010-09-28 14:40:33 UTC
See on how to integrate gobject-introspection for an autotools based project.
Comment 2 André Klapper 2010-09-28 20:04:05 UTC
(In reply to comment #0)
> I don't find gtkglext in
> list

It's a wiki and everybody can edit it. ;-)
Comment 3 Anton Gorenko 2010-09-30 16:25:35 UTC
I added gobject-introspection support:
Comment 4 Braden 2010-10-03 05:12:27 UTC
I don't think we want to add a copy of introspection.m4 if we can avoid it. I'd prefer to go with "Method 2" (as described in the wiki page).
Comment 5 Emmanuele Bassi (:ebassi) 2014-11-09 22:19:21 UTC
thanks Anton: I cherry-picked your commit, and then removed the copy of introspection.m4, like Braden preferred.