Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 143588

Summary: Patch: all dev-cpp/gtkmm ebuilds: add examples and demos USE flags
Product: Gentoo Linux Reporter: R Stephan <ralf>
Component: [OLD] GNOMEAssignee: GNOME C++ Bindings Maintainers (OBSOLETE) <gnome-mm+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: foser
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: adds and handles examples and demos USE flags
same patch with default flag setting off
same patch leaving G2CONF in

Description R Stephan 2006-08-11 09:59:32 UTC
The attachment adds the handling of (already globally existing) USE flags "examples" and "demos". The default is off for both. If on, respective parts are built and installed additionally, which is interesting for developers using this fine library.
Comment 1 R Stephan 2006-08-11 10:00:47 UTC
Created attachment 94004 [details, diff]
adds and handles examples and demos USE flags
Comment 2 R Stephan 2006-08-11 10:04:08 UTC
Created attachment 94005 [details, diff]
same patch with default flag setting off

replaces previous
Comment 3 foser (RETIRED) gentoo-dev 2006-08-14 08:57:58 UTC
sounds good

better to set G2CONF in pkg_setup though, keep the eclass functionality in tact as much as possible.
Comment 4 R Stephan 2006-08-22 11:21:17 UTC
Created attachment 94879 [details, diff]
same patch leaving G2CONF in

ah I see now what you mean. to make use flags turned off per default,
simply saying IUSE='-flag' won't work. instead, one defines them in
IUSE, and disables via G2CONF.
Comment 5 R Stephan 2006-08-22 11:31:14 UTC
(of course the header should not be patched)

Finally, if you agree, then I'll attach a snippet patching all current
ebuilds in dev-cpp/gtkmm
Comment 6 John N. Laliberte (RETIRED) gentoo-dev 2006-10-28 18:19:12 UTC
examples is added in 2.10 series, if you enable examples you should get demos as well.

in cvs.