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 647887 - Allow to Enable/Disable GObject Introspection
Allow to Enable/Disable GObject Introspection
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
4.2.x
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-15 17:06 UTC by Daniel Espinosa
Modified: 2011-04-19 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Disables GI by default. Need to enable it by using --enable-gda-gi for libgda and --enable-gdaui-gi for libgda-ui, the last requires enable GI for libgda (3.58 KB, patch)
2011-04-15 17:06 UTC, Daniel Espinosa
none Details | Review

Description Daniel Espinosa 2011-04-15 17:06:06 UTC
Created attachment 186039 [details] [review]
Disables GI by default. Need to enable it by using --enable-gda-gi for libgda and --enable-gdaui-gi for libgda-ui, the last requires enable GI for libgda

Currently if GObject Introspection (GI) is installed GIR files for both libgda and libgda-ui are build.

Allow to disable GI for libgda or libgda-ui, and just build GI on requested on configure.

Attached a patch.
Comment 1 malerba 2011-04-19 18:52:02 UTC
This is now corrected, see commit http://git.gnome.org/browse/libgda/commit/?id=60348797ce26b68b8d53cabcacf4217a28261541
It's only in the master branch but I'll backport it to LIBGDA_4.2 as well.

Also the default is to build GObject Introspection if possible but not fail if it's not found (to be as close as possible to the current behaviour).