Bug 605 - [PATCH] Enhancement of libglib2 package
Summary: [PATCH] Enhancement of libglib2 package
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Outdated package (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: 2010.05
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 21:30 UTC by rvpaasen
Modified: 2011-09-18 09:46 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
libglib2 patch (4.64 KB, patch)
2009-09-10 21:30 UTC, rvpaasen
Details
new patch (4.38 KB, patch)
2009-09-12 00:20 UTC, rvpaasen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rvpaasen 2009-09-10 21:30:56 UTC
Created attachment 645 [details]
libglib2 patch

Some applications have switched to glib2 (for example mpd). To keep the footprint of the rootfs small, it is convenient to only include the necessary glib libs.

This patch adds an option to the libglib2 package that allows just a selection of libraries to be installed (some of glib, gio, gmodule, gobject, gthread).
Comment 1 Sven Neumann 2009-09-11 10:14:50 UTC
Could the newly introduced variables become BR2_PACKAGE_LIBGLIB2_COMPLETE instead of BR2_PACKAGE_LIBGLIB2COMPLETE ?

Also it does not make sense to install gobject without glib. Leaving out gthread is impossible as glib itself needs it and gio depends on gobject. gmodule is simply not worth the hassle as it is tiny.

I suggest that you simplify this patch by just making the installation of gobject and gio optional. GIO needs to depend on GObject then.
Comment 2 rvpaasen 2009-09-12 00:20:25 UTC
Created attachment 647 [details]
new patch
Comment 3 rvpaasen 2009-09-12 00:23:10 UTC
I modified the patch as requested. The new patch only makes gio and gobject optional.
Comment 4 Thomas Petazzoni 2010-02-21 22:33:02 UTC
Move milestone to 2010.05 since enhancements will not be handled before the release of 2010.02.
Comment 5 Thomas Petazzoni 2011-09-18 09:46:02 UTC
The patch is way too old to properly apply. Moreover, the patch by itself isn't sufficient, it would require checking all packages that are using libglib, and find out which exact libraries from libglib they require.

rvpaasen, I will close this bug. But if you're still interested, please feel free to submit an updated patch which takes into account the fact that all users of libglib need to be verified.