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 623597 - libpeas can't be built without libpeasui
libpeas can't be built without libpeasui
Status: RESOLVED FIXED
Product: libpeas
Classification: Platform
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: libpeas-maint
libpeas-maint
Depends on:
Blocks:
 
 
Reported: 2010-07-05 12:55 UTC by Chris Lord
Modified: 2010-07-05 21:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Allow building libpeas without building libpeasui. (3.43 KB, patch)
2010-07-05 13:22 UTC, Steve Frécinaux
committed Details | Review

Description Chris Lord 2010-07-05 12:55:20 UTC
libpeas is very handy for GObject-based applications in general, but cannot be built without libpeasui (which mandates Gtk+-3).

It'd be very handy if libpeas could be built without libpeasui, for use in things like Clutter/Mx applications, or for GObject-based command-line utilities.
Comment 1 Steve Frécinaux 2010-07-05 13:22:13 UTC
Created attachment 165282 [details] [review]
Allow building libpeas without building libpeasui.

This can be handy for environments using libpeas but not using Gtk+,
where Gtk+ 3.0 might not be available yet. Such environments include
Clutter/Mx applications or command-line utilities.
Comment 2 Steve Frécinaux 2010-07-05 13:35:44 UTC
Could you test the above patch and see if it works for you? I can't test it on a gtk-free system but I'd like to make sure it works before pushing it.

Out of curiosity, what do you plan to use libpeas for?
Comment 3 Chris Lord 2010-07-05 14:34:13 UTC
This seems to do the job, thanks a lot!

Beyond saying that I plan to use it for plugins in a Clutter-based application, I'm afraid I can't say :( I've only just started looking at it, but it looks great btw, much nicer than using GModule alone.
Comment 4 Steve Frécinaux 2010-07-05 21:32:30 UTC
Attachment 165282 [details] pushed as 273aeae - Allow building libpeas without building libpeasui.