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 626221 - libpeas requires an unnecessarily high version of gobject-introspection
libpeas requires an unnecessarily high version of gobject-introspection
Status: RESOLVED WONTFIX
Product: libpeas
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: libpeas-maint
libpeas-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-06 16:23 UTC by Chris Lord
Modified: 2010-08-16 19:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Build with older versions of gobject-introspection (2.23 KB, patch)
2010-08-06 16:23 UTC, Chris Lord
none Details | Review
Support GObject introspection 0.6.x (2.82 KB, patch)
2010-08-12 17:12 UTC, Chris Lord
none Details | Review

Description Chris Lord 2010-08-06 16:23:21 UTC
Created attachment 167262 [details] [review]
Build with older versions of gobject-introspection

libpeas requires version 0.9.0 of gobject-introspection, but it builds and works against earlier versions fine. Attached is a patch that relaxes the version requirement to 0.6.9 (the version in Fedora 13).
Comment 1 Steve Frécinaux 2010-08-06 16:46:15 UTC
You attached your file as application/octet-stream instead of patch...
Comment 2 Steve Frécinaux 2010-08-06 16:51:37 UTC
The patch looks alright. Feel free to push it to master.
Comment 3 Chris Lord 2010-08-06 17:21:23 UTC
Thanks, pushed.
Comment 4 Chris Lord 2010-08-06 17:23:03 UTC
Apologies, I forgot to add the bugzilla url to the commit log before pushing - Will endeavor not to make this mistake in the future.
Comment 5 Chris Lord 2010-08-12 17:11:17 UTC
Reopening, as there are extra types in GObject introspection 0.6 that need conditional support.
Comment 6 Chris Lord 2010-08-12 17:12:53 UTC
Created attachment 167752 [details] [review]
Support GObject introspection 0.6.x

gobject-introspection 0.9.x removes lots of unnecessary types. Detect the version and conditionally enable support for these removed types so libpeas can be used with gobject-introspection 0.6.x.
Comment 7 Chris Lord 2010-08-12 17:19:12 UTC
Just had this: http://git.gnome.org/browse/libpeas/commit/?id=52e493e1e91b98bb75356b762b8e7dcef2f504cc pointed out to me, so I'll rewrite this patch based on this and re-attach tomorrow.
Comment 8 Steve Frécinaux 2010-08-12 17:23:05 UTC
I guess we should rather revert your previous patch and let you use a newer g-i. I had forgotten about the removed types... BTW if I recall correctly, the old types were actually not used in the typelib.
Comment 9 Chris Lord 2010-08-16 12:14:39 UTC
Yes, I do think this should be reverted, it seems maintaining support for both old and new is probably more trouble than it's worth. I guess this should probably be marked as invalid (I'll leave this up to you)
Comment 10 Steve Frécinaux 2010-08-16 19:30:14 UTC
I reverted the patch, and I'm marking this bug as WONTFIX. I think you
would be better started to just update your g-i version at this point...