Skip to contentSkip to conversation

Inclusion of `gobject-introspection` breaks several packages.

DISCUSSION Paul Menzel 3 participants 4 messages Oct 10, 2010

lore
Share & tools
lore
#0 lore raw

Dear OE folks,

gobject-introspection got added in 143188 [1] to get libgee_0.6.0 to build [2].

As a consequence the configure script of a lot of packages like gtk+, atk, gstreamer detects the presence of GObject Introspection and enables it.

        $ ./configure --help
        […]
          --enable-introspection=[no/auto/yes]
                                  Enable introspection for this build
        […]

Auto detection seems to be the default.

        […]
        configure:12206: checking for gobject-introspection
        configure:12237: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7"
        configure:12240: $? = 0
        configure:12251: result: yes
        […]

Now for example Pango 1.10.0 does not generate a gir file, which was enabled again in a later release [3]. This breaks building for example gtk+ [4].

The question is how to proceed.

1. Somehow excluding gobject-introspection from images.
2. Would packaging gir-repository [5] help?
3. Pass --enable-introspection=no by default to the configure script.
4. Add --enable-introspection=no to all relevant packages.
5. Update to new versions supporting GObject Introspection correctly.

What do you think?

Thanks,

Paul

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=14318872c0063d26c246a35b373dbfaf4f4c6587
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=64a53b0ab6695b9ec4e327524fb41a916067bbfd
[3] http://git.gnome.org/browse/pango/commit/?id=078300ef69ab0855a7cc39503880cbc8b2e23494
[4] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/025174.html (patch is wrong though)
[5] http://git.gnome.org/browse/gir-repository/tree/

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 10 lines · Paul Menzel

Dear OE folks,

gobject-introspection got added in 143188 [1] to get libgee_0.6.0 to build [2].

As a consequence the configure script of a lot of packages like gtk+, atk, gstreamer detects the presence of GObject Introspection and enables it.

Quoted 7 lines
        $ ./configure --help
        […]
          --enable-introspection=[no/auto/yes]
                                  Enable introspection for this build
        […]

Auto detection seems to be the default.

Last time I looked introspection didn't work in a cross environment, so we disable it for most packages.

If it does work for cross now, we should consider enabling it, if not, we should disable it.

There's an open bug in the gnome bugzilla about shipping pregenerated .gir files with releases, but I haven't seen that happen yet.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMsbpCMkyGM64RGpERAt+ZAKCfCXN0KnNJ76mgOOetMg2VKe/LPQCeIFD5 l9YCXtGHtadqlEeSw56ib4c=
=mWyQ
-----END PGP SIGNATURE-----

#2 lore raw
In reply to Paul Menzel
Quoted 5 lines · Paul Menzel

Dear OE folks,

gobject-introspection got added in 143188 [1] to get libgee_0.6.0 to build [2].

with my last commit to libgee its no more needed to be in the depends in libgee so we can remove that from DEPENDS safely.

Quoted 52 lines

As a consequence the configure script of a lot of packages like gtk+, atk, gstreamer detects the presence of GObject Introspection and enables it.

       $ ./configure --help
       […]
         --enable-introspection=[no/auto/yes]
                                 Enable introspection for this build
       […]

Auto detection seems to be the default.

       […]
       configure:12206: checking for gobject-introspection
       configure:12237: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7" configure:12240: $? = 0
       configure:12251: result: yes
       […]

Now for example Pango 1.10.0 does not generate a gir file, which was enabled again in a later release [3]. This breaks building for example gtk+ [4].

The question is how to proceed.

1. Somehow excluding gobject-introspection from images.
2. Would packaging gir-repository [5] help?
3. Pass --enable-introspection=no by default to the configure script.
4. Add --enable-introspection=no to all relevant packages.
5. Update to new versions supporting GObject Introspection correctly.

What do you think?

Thanks,

Paul

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=14318872c0063d26c246a35b373dbfaf4f4c6587
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=64a53b0ab6695b9ec4e327524fb41a916067bbfd
[3] http://git.gnome.org/browse/pango/commit/?id=078300ef69ab0855a7cc39503880cbc8b2e23494
[4] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/025174.html (patch is wrong though)
[5] http://git.gnome.org/browse/gir-repository/tree/

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw

Am Sonntag, den 10.10.2010, 12:23 -0700 schrieb Khem Raj:

Quoted 7 lines · Paul Menzel
Quoted 3 lines

gobject-introspection got added in 143188 [1] to get libgee_0.6.0 to build [2].

with my last commit to libgee its no more needed to be in the depends in libgee so we can remove that from DEPENDS safely.

I will test that and prepare a patch.

[…]

Thanks,

Paul

Quoted 1 line
Quoted 1 line

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=14318872c0063d26c246a35b373dbfaf4f4c6587

[…]