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 613788 - Fail to build when introspection is activated and srcdir != .
Fail to build when introspection is activated and srcdir != .
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-03-24 11:27 UTC by Didier Roche
Modified: 2010-06-02 16:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the FTBFS hen introspection is activated. (998 bytes, patch)
2010-03-24 11:27 UTC, Didier Roche
committed Details | Review

Description Didier Roche 2010-03-24 11:27:20 UTC
Created attachment 156963 [details] [review]
Patch to fix the FTBFS hen introspection is activated.

From the patch description:

 Fix fail to build when building with introspection:
 in debian/ubuntu, builddir != srcdir. This trigger an error
 on introspection_files where srcdir is added to x11/*.c.
 Indeed, srcdir is added again later:
 $(addprefix $(srcdir)/,$(introspection_files))
 making $(srcdir)/$(srcdir)/x11/*.c (not an issue on jhbuild as srcdir = .)
Comment 1 Robert Ancell 2010-05-20 04:36:18 UTC
ping, ok to commit?  (We have been using this in Ubuntu for a while and confirm it works).
Comment 2 Matthias Clasen 2010-05-20 12:06:04 UTC
Comment on attachment 156963 [details] [review]
Patch to fix the FTBFS hen introspection is activated.

sure, looks right.
Comment 3 Sebastien Bacher 2010-06-02 14:34:49 UTC
could you apply the change to gtk-2.22?
Comment 4 Javier Jardón (IRC: jjardon) 2010-06-02 16:29:38 UTC
applied in gtk-2-22: commit 8a6f6b54217fa2a6e23b495a6732cf6396076b8f