On 06/22/2015 10:08 PM, Michał Górny wrote: > Dnia 2015-06-22, o godz. 14:40:42 > Zac Medico <zmed...@gentoo.org> napisał(a): > >> On 06/22/2015 02:23 PM, Jason Zaman wrote: >>> On Mon, Jun 22, 2015 at 10:55:45PM +0200, Michał Górny wrote: >>>> Dnia 2015-06-22, o godz. 16:38:30 >>>> Jason Zaman <perfin...@gentoo.org> napisał(a): >>>> >>>>> Hi all, >>>>> >>>>> I want to add STRONGSWAN_PLUGINS to USE_EXPAND. This is related to bug >>>>> https://bugs.gentoo.org/show_bug.cgi?id=504942 >>>>> "net-misc/strongswan missing USE flags for plugins" >>>>> >>>>> Patrick said to fix it myself, the ebuilds with the plugins have >>>>> been in the tree for a fair while now and only the USE_EXPAND is >>>>> missing. >>>>> >>>>> If there are no objections, I will commit the following patch on friday: >>>> >>>> USE_EXPAND is global by its nature. USE flags used by a single package >>>> are not appropriate for making global. >>> >>> Since when? There are so many things in USE_EXPAND that are only for a >>> single package. >>> >>> APACHE2_MODULES, NGINX_MODULES_HTTP, COLLECTD_PLUGINS, QEMU_*, etc. >>> Easily half of the things in USE_EXPAND are for only a single package. >>> >>> -- Jason >>> >> >> Last time this came up, I suggested that we introduce a generic PLUGINS >> USE_EXPAND than many packages could utilize. That way, the plugins are >> still distinguished from the other flags in IUSE, but we don't have to >> introduce a new USE_EXPAND for every package. > > Soo... plugins.desc would describe plugins to a lot of different > packages? Like: > > foo - [in bar] Support for libfoo, [in baz] does something a bit > different >
We have support for local use descriptions in each package's metadata.xml, and profiles/use.local.desc is generated from those automatically. -- Thanks, Zac