Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449688 - gnome-extra/libgda-5.1.1 ingoring introspection flag
Summary: gnome-extra/libgda-5.1.1 ingoring introspection flag
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2013-01-01 20:37 UTC by nebojsa
Modified: 2014-02-09 13:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

if introspection USE flag configure with --enable-gda-gi --enable-gdaui-gi (libgda-5.1.1-r1.ebuild.patch,990 bytes, patch)
2013-01-01 20:42 UTC, nebojsa
Details | Diff
remove typecasting from constant, so g-ir-compiler is happy (libgda-5.1.1-gir-workaround.patch,550 bytes, patch)
2013-01-01 20:43 UTC, nebojsa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nebojsa 2013-01-01 20:37:19 UTC
No matter introspection flag, gir files are neither built nor installed.

Reproducible: Always

Steps to Reproduce:
1. USE=introspection emerge =gnome-extra/libgda-5.1.1

Actual Results:  
No Gda-5.0.gir nor Gdaui-5.0.gir files are built

It seems as libgda configure is ignoring enable-introspection flag. If --enable-gda-gi and --enable-gdaui-gi are used, then it tries to build gir files. And failes. Problem seems to be related to >dev-libs/gobject-introspection-1.32 g-ir-compiler, but I didn't verify it. To be able to generate gir files, a small patch is needed (or a propper fix in g-ir-compiler, which seems not able to make difference between void and void* types).
Comment 1 nebojsa 2013-01-01 20:42:06 UTC
Created attachment 333962 [details, diff]
if introspection USE flag configure with --enable-gda-gi --enable-gdaui-gi

needs libgda-5.1.1-gir-workaround.patch
Comment 2 nebojsa 2013-01-01 20:43:41 UTC
Created attachment 333964 [details, diff]
remove typecasting from constant, so g-ir-compiler is happy
Comment 3 Pacho Ramos gentoo-dev 2014-02-09 13:00:23 UTC
With 5.2.2 I see the gir file being installed