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 595675 - g-ir-scanner needs input files includes dir
g-ir-scanner needs input files includes dir
Status: RESOLVED NOTABUG
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-09-19 14:14 UTC by Bastien Nocera
Modified: 2015-02-07 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2009-09-19 14:14:40 UTC
In gnome-bluetooth, I do:
GnomeBluetooth-1.0.gir: $(libgnome_bluetooth_la_SOURCES)
GnomeBluetooth-1.0.gir: $(gnomebluetooth_HEADERS)
GnomeBluetooth-1.0.gir: libgnome-bluetooth.la
GnomeBluetooth-1.0.gir: $(INTROSPECTION_SCANNER)
        $(AM_V_GEN) $(INTROSPECTION_SCANNER) -v --namespace GnomeBluetooth --nsversion=1.0 \
                --add-include-path=$(srcdir) --add-include-path=. \
                --include=GObject-2.0 \
                --include=Gtk-2.0 \
                --include=DBusGLib-1.0 \
                --include=GModule-2.0 \
                --libtool="$(LIBTOOL)" \
                --library=gnome-bluetooth \
                --output $@ \
                --pkg gobject-2.0 \
                --pkg gtk+-2.0 \
                --pkg dbus-glib-1 \
                --pkg gmodule-2.0 \
                -I$(srcdir) \
                $(LIBGNOMEBT_CFLAGS) \
                $(gnomebluetooth_HEADERS)

But this fails distcheck as gnomebluetooth_HEADERS is in $(srcdir) and g-ir-scanner looks in $(builddir). Adding a --sourcedir= would help.
Comment 1 Johan (not receiving bugmail) Dahlin 2010-09-06 16:37:45 UTC
You can just pass in directories you wish to including using -I{dir}.
Comment 2 André Klapper 2015-02-07 16:53:39 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]