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 604770 - Update introspection build
Update introspection build
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
: 594199 596506 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-12-16 20:04 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2009-12-28 02:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use m4 macro to check for introspection (2.07 KB, patch)
2009-12-16 20:04 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review
Pass in --enable-introspection to distcheck (764 bytes, patch)
2009-12-16 20:04 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review
Use Makefile.introspection (7.74 KB, patch)
2009-12-16 20:04 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review
Use m4 macro to check for introspection (6.05 KB, patch)
2009-12-16 20:09 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review
Use Makefile.introspection (8.39 KB, patch)
2009-12-18 10:59 UTC, Johan (not receiving bugmail) Dahlin
none Details | Review
Use introspection.m4 (1.83 KB, patch)
2009-12-18 11:16 UTC, Johan (not receiving bugmail) Dahlin
committed Details | Review
Use Makefile.introspection (8.39 KB, patch)
2009-12-18 11:16 UTC, Johan (not receiving bugmail) Dahlin
committed Details | Review
Pass in --enable-introspection to distcheck (762 bytes, patch)
2009-12-18 11:16 UTC, Johan (not receiving bugmail) Dahlin
committed Details | Review
Make GOBJECT_INTROSPECTION optional in autogen.sh (1.26 KB, patch)
2009-12-22 12:28 UTC, Benjamin Otte (Company)
none Details | Review

Description Johan (not receiving bugmail) Dahlin 2009-12-16 20:04:28 UTC
These patches updates the build integration with the
m4 macro and Makefile from introspection. Also bumps
the required g-i version to 0.6.7 and makes sure the
girs are included in the tarball.
Comment 1 Johan (not receiving bugmail) Dahlin 2009-12-16 20:04:32 UTC
Created attachment 149869 [details] [review]
Use m4 macro to check for introspection
Comment 2 Johan (not receiving bugmail) Dahlin 2009-12-16 20:04:36 UTC
Created attachment 149870 [details] [review]
Pass in --enable-introspection to distcheck
Comment 3 Johan (not receiving bugmail) Dahlin 2009-12-16 20:04:40 UTC
Created attachment 149871 [details] [review]
Use Makefile.introspection

To simplify the introspection scanner/compiler
build rules. This also changes to the girs are included
in the dist.
Comment 4 Johan (not receiving bugmail) Dahlin 2009-12-16 20:09:52 UTC
Created attachment 149872 [details] [review]
Use m4 macro to check for introspection

This patch includes the .m4 file and make sure it's disted
Comment 5 Johan (not receiving bugmail) Dahlin 2009-12-18 09:22:31 UTC
*** Bug 596506 has been marked as a duplicate of this bug. ***
Comment 6 Johan (not receiving bugmail) Dahlin 2009-12-18 09:22:51 UTC
*** Bug 594199 has been marked as a duplicate of this bug. ***
Comment 7 Johan (not receiving bugmail) Dahlin 2009-12-18 09:25:31 UTC
(In reply to comment #4)
> Created an attachment (id=149872) [details] [review]
> Use m4 macro to check for introspection
> 
> This patch includes the .m4 file and make sure it's disted

Distcheck probably fails with introspection unless $(addprefix $(srcdir)/,..) is called on all introspection _FILES.
Comment 8 Behdad Esfahbod 2009-12-18 10:22:33 UTC
1. I don't like including m4 in tree.  Just check that introspection m4 is available during autogen.sh.

2. Commit if and only if make distcheck passes with fedora 12'ish.

Thanks.
Comment 9 Johan (not receiving bugmail) Dahlin 2009-12-18 10:59:13 UTC
Created attachment 149976 [details] [review]
Use Makefile.introspection

To simplify the introspection scanner/compiler
build rules. This also changes to the girs are included
in the dist. This version also passes distcheck including
a build where srcdir != builddir
Comment 10 Johan (not receiving bugmail) Dahlin 2009-12-18 11:16:26 UTC
The following fixes have been pushed:
fd15a3a Use introspection.m4
f9adbd0 Use Makefile.introspection
aad6150 Pass in --enable-introspection to distcheck
Comment 11 Johan (not receiving bugmail) Dahlin 2009-12-18 11:16:32 UTC
Created attachment 149981 [details] [review]
Use introspection.m4

Use introspection.m4 without requiring it to be included in the tree.
Comment 12 Johan (not receiving bugmail) Dahlin 2009-12-18 11:16:39 UTC
Created attachment 149982 [details] [review]
Use Makefile.introspection

To simplify the introspection scanner/compiler
build rules. This also changes to the girs are included
in the dist.
Comment 13 Johan (not receiving bugmail) Dahlin 2009-12-18 11:16:45 UTC
Created attachment 149983 [details] [review]
Pass in --enable-introspection to distcheck
Comment 14 Kristian Rietveld 2009-12-22 11:22:28 UTC
As far as I can see there is now no way to compile Pango without having gobject-introspection installed?  Is that right?  Shoudn't this be optional like in other GNOME modules?
Comment 15 Benjamin Otte (Company) 2009-12-22 12:28:55 UTC
Created attachment 150227 [details] [review]
Make GOBJECT_INTROSPECTION optional in autogen.sh

Use the same machinery as the one used for AM_SILENT_RULES: m4_ifdef().
This allows people on old distros (Karmic) or other OS'es to compile
without scary errors from autogen.sh.
Comment 16 Behdad Esfahbod 2009-12-28 02:24:32 UTC
(In reply to comment #15)
> Created an attachment (id=150227) [details] [review]
> Make GOBJECT_INTROSPECTION optional in autogen.sh
> 
> Use the same machinery as the one used for AM_SILENT_RULES: m4_ifdef().
> This allows people on old distros (Karmic) or other OS'es to compile
> without scary errors from autogen.sh.

While I understand why you suggest this, it's not the right thing to do long term.  I probably do it next time I have to make a release though...