Re: [gentoo-dev] [RFC] Removing barely used global flags
On Sat, 20 Oct 2018 12:41:03 +0200 Michał Górny wrote: > We seem to have a lot of global flags that are used only by a few > packages. How about moving them to local flags? List of flags with > less than 5 packages using them, ordered by use count, follows. Where > applicable, local flag descriptions are listed. No disagreement in principle, however it might be worth checking which of them are practically used at all or could be removed entirely. "directfb" caught my attention, which I doubt is very active today. Though the package in question - libggi - only uses the directfb flag in an old ebuild, the latest one hard-disables directfb. So well, if you stabilize libggi-2.2.2-r1 and remove the old ebuild you can entirely get rid of this useflag instead of making it local. Plausibly there may be other such cases, i.e. flags that were used in the past, but for things that got deprecated / out of fashion / are practically no longer used. -- Hanno Böck https://hboeck.de/ mail/jabber: ha...@hboeck.de GPG: FE73757FA60E4E21B937579FA5880072BBB51E42 pgpD2YYux9maw.pgp Description: OpenPGP digital signature
Re: [gentoo-dev] [RFC] Removing barely used global flags
On Sat, 20 Oct 2018 12:41:03 +0200 Michał Górny wrote: > We seem to have a lot of global flags that are used only by a few > packages. How about moving them to local flags? List of flags with > less than 5 packages using them, ordered by use count, follows. Where > applicable, local flag descriptions are listed. > > big-endian (2 uses): > dev-haskell/skein: When manually selecting the endianness, use big- > endian (default is little-endian) > dev-java/icedtea-bin: (global) This was added as a global only last year following a discussion here. https://archives.gentoo.org/gentoo-dev/message/5e1e219ce1268bd35edc161c780bc4a5 It evidently isn't widely-used yet but it could be applicable to any binary package supporting big endian systems. More importantly, it has been carefully unmasked and forced in various profiles and for that reason alone, I think it should stay global. It would be tedious to do this for each package. -- James Le Cuirot (chewi) Gentoo Linux Developer
Re: [gentoo-dev] [RFC] Removing barely used global flags
On Sat, 20 Oct 2018 12:41:03 +0200 Michał Górny wrote: > We seem to have a lot of global flags that are used only by a few > packages. How about moving them to local flags? List of flags with > less than 5 packages using them, ordered by use count, follows. Where > applicable, local flag descriptions are listed. I'm mostly in favour. Only a handful in the '3 uses' category strike me as useful because they seem likely to be used by other packages in future. ( matroska ) It would also be curious to see this list reorganised by cat/pn useflag(arity) Particularly because it seems a lot of those global useflags have php as their primary offender. pgpP9yeOmJVhE.pgp Description: OpenPGP digital signature