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 624080 - Adjust to API break in GObject-Introspection
Adjust to API break in GObject-Introspection
Status: RESOLVED FIXED
Product: libpeas
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: libpeas-maint
libpeas-maint
: 624123 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-07-11 04:45 UTC by Craig Keogh
Modified: 2010-07-11 22:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adjust to API break in gobject-introspection. (5.16 KB, patch)
2010-07-11 10:04 UTC, Steve Frécinaux
none Details | Review
Adjust to API break in gobject-introspection. (8.72 KB, patch)
2010-07-11 10:42 UTC, Steve Frécinaux
committed Details | Review

Description Craig Keogh 2010-07-11 04:45:10 UTC
Building libpeas git master via JHBuild on Fedora13:

peas-introspection.c: In function ‘read_next_argument’:
peas-introspection.c:67: error: ‘GI_TYPE_TAG_SHORT_WAS_REMOVED’ undeclared (first use in this function)
peas-introspection.c:67: error: (Each undeclared identifier is reported only once
peas-introspection.c:67: error: for each function it appears in.)
peas-introspection.c:70: error: ‘GI_TYPE_TAG_USHORT’ undeclared (first use in this function)
peas-introspection.c:73: error: ‘GI_TYPE_TAG_INT_WAS_REMOVED’ undeclared (first use in this function)
peas-introspection.c:76: error: ‘GI_TYPE_TAG_UINT’ undeclared (first use in this function)
peas-introspection.c:79: error: ‘GI_TYPE_TAG_LONG_WAS_REMOVED’ undeclared (first use in this function)
peas-introspection.c:82: error: ‘GI_TYPE_TAG_ULONG’ undeclared (first use in this function)
peas-introspection.c:85: error: ‘GI_TYPE_TAG_SSIZE’ undeclared (first use in this function)
peas-introspection.c:88: error: ‘GI_TYPE_TAG_SIZE’ undeclared (first use in this function)

GObject-Introspection broke API in:
http://git.gnome.org/browse/gobject-introspection/commit/?id=5cb925b20739c04e18e94a03a3e4e68041894b03

See Bug 624065 for information on how pygobject is dealing with the change.
Comment 1 Steve Frécinaux 2010-07-11 10:04:32 UTC
Created attachment 165668 [details] [review]
Adjust to API break in gobject-introspection.

gobject-introspection's libgirepository dropped support for
machine-dependent types (short, int, long) and for time_t, so we need
to adjust as well. This should have no consequencies as according to
the g-i commit the typelib was only using machine-specific types yet.

Also bump the gobject-introspection requirement to ensure we're using
a new enough typelib format.

For more information, see gobject-introspection commit
5cb925b20739c04e18e94a03a3e4e68041894b03: "Don't include
machine-dependent integral types in the typelib"
Comment 2 Steve Frécinaux 2010-07-11 10:42:19 UTC
Created attachment 165672 [details] [review]
Adjust to API break in gobject-introspection.

Also update the seed loader.
Comment 3 Steve Frécinaux 2010-07-11 10:43:55 UTC
Attachment 165672 [details] pushed as 52e493e - Adjust to API break in gobject-introspection.
Comment 4 Ignacio Casal Quinteiro (nacho) 2010-07-11 22:34:51 UTC
*** Bug 624123 has been marked as a duplicate of this bug. ***