Bug 143588 - Patch: all dev-cpp/gtkmm ebuilds: add examples and demos USE flags
Bug#: 143588 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome-mm@gentoo.org Reported By: ralf@ark.in-berlin.de
Component: GNOME
URL: 
Summary: Patch: all dev-cpp/gtkmm ebuilds: add examples and demos USE flags
Keywords:  
Status Whiteboard: 
Opened: 2006-08-11 09:59 0000
Description:   Opened: 2006-08-11 09:59 0000
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 From R Stephan 2006-08-11 10:00:47 0000 -------
Created an attachment (id=94004) [details]
adds and handles examples and demos USE flags

------- Comment #2 From R Stephan 2006-08-11 10:04:08 0000 -------
Created an attachment (id=94005) [details]
same patch with default flag setting off

replaces previous

------- Comment #3 From foser (RETIRED) 2006-08-14 08:57:58 0000 -------
sounds good

better to set G2CONF in pkg_setup though, keep the eclass functionality in tact
as much as possible.

------- Comment #4 From R Stephan 2006-08-22 11:21:17 0000 -------
Created an attachment (id=94879) [details]
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 From R Stephan 2006-08-22 11:31:14 0000 -------
(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 From John N. Laliberte (RETIRED) 2006-10-28 18:19:12 0000 -------
examples is added in 2.10 series, if you enable examples you should get demos
as well.

in cvs.