Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204002 - dev-libs/liboil-0.3.12: DEPEND on glib should be optional or removed
Summary: dev-libs/liboil-0.3.12: DEPEND on glib should be optional or removed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 22:09 UTC by Matthijs Kooijman
Modified: 2009-03-08 12:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthijs Kooijman 2008-01-01 22:09:18 UTC
dev-libs/liboil-0.3.12 always depends on glib for building. Even without glib present, the library builds fine. According to the liboil website [1]: "GLib-2.0 is recommended to build a few of the examples, but is not required for anything that is installed." IMHO this means that the dependency can simply be removed. 

Alternatively, if there is some added value of having glib, please protect the dependency by a glib useflag. This allows the use of liboil on embedded gentoo, where glib is not available.

[1]: http://liboil.freedesktop.org/wiki/
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-01-01 22:37:07 UTC
Please make it dependendent on the "examples" use flag then. Makes a lot more sense.
Comment 2 Łukasz Damentko (RETIRED) gentoo-dev 2008-10-30 16:14:50 UTC
Reassigning to maintainer-needed since zaheerm has left Gentoo, bug #68473.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-20 14:49:58 UTC
I thought it would be as easy as removing examples folder from the Makefiles but it's a bit more complicated than that (as usual). liboil provides an utility for oid bugreport but it is in examples folders. Some other programs might be of interest too but for now I think I'll just keep this one and will commit a fix soonish.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-08 12:05:51 UTC
Fixed in 0.3.15-r1. Thanks for the report and please reopen if it's still not fixed for you.