Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: "Michał Górny" <mgorny@g.o>, Zac Medico <zmedico@g.o>
Cc: gentoo-dev@l.g.o, Jason Zaman <perfinion@g.o>, patrick@g.o, gurligebis@g.o
Subject: Re: [gentoo-dev] net-misc/strongswan USE_EXPAND
Date: Wed, 24 Jun 2015 21:08:32
Message-Id: 558B1C3D.7010506@gentoo.org
In Reply to: Re: [gentoo-dev] net-misc/strongswan USE_EXPAND by "Michał Górny"
1 On 06/22/2015 10:08 PM, Michał Górny wrote:
2 > Dnia 2015-06-22, o godz. 14:40:42
3 > Zac Medico <zmedico@g.o> napisał(a):
4 >
5 >> On 06/22/2015 02:23 PM, Jason Zaman wrote:
6 >>> On Mon, Jun 22, 2015 at 10:55:45PM +0200, Michał Górny wrote:
7 >>>> Dnia 2015-06-22, o godz. 16:38:30
8 >>>> Jason Zaman <perfinion@g.o> napisał(a):
9 >>>>
10 >>>>> Hi all,
11 >>>>>
12 >>>>> I want to add STRONGSWAN_PLUGINS to USE_EXPAND. This is related to bug
13 >>>>> https://bugs.gentoo.org/show_bug.cgi?id=504942
14 >>>>> "net-misc/strongswan missing USE flags for plugins"
15 >>>>>
16 >>>>> Patrick said to fix it myself, the ebuilds with the plugins have
17 >>>>> been in the tree for a fair while now and only the USE_EXPAND is
18 >>>>> missing.
19 >>>>>
20 >>>>> If there are no objections, I will commit the following patch on friday:
21 >>>>
22 >>>> USE_EXPAND is global by its nature. USE flags used by a single package
23 >>>> are not appropriate for making global.
24 >>>
25 >>> Since when? There are so many things in USE_EXPAND that are only for a
26 >>> single package.
27 >>>
28 >>> APACHE2_MODULES, NGINX_MODULES_HTTP, COLLECTD_PLUGINS, QEMU_*, etc.
29 >>> Easily half of the things in USE_EXPAND are for only a single package.
30 >>>
31 >>> -- Jason
32 >>>
33 >>
34 >> Last time this came up, I suggested that we introduce a generic PLUGINS
35 >> USE_EXPAND than many packages could utilize. That way, the plugins are
36 >> still distinguished from the other flags in IUSE, but we don't have to
37 >> introduce a new USE_EXPAND for every package.
38 >
39 > Soo... plugins.desc would describe plugins to a lot of different
40 > packages? Like:
41 >
42 > foo - [in bar] Support for libfoo, [in baz] does something a bit
43 > different
44 >
45
46 We have support for local use descriptions in each package's
47 metadata.xml, and profiles/use.local.desc is generated from those
48 automatically.
49 --
50 Thanks,
51 Zac