Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Add more local USE flags
Date: Thu, 18 Mar 2010 12:46:17
Message-Id: 4BA220DC.4050601@gentoo.org
In Reply to: [gentoo-dev] Add more local USE flags by Dmitry Bashkatov
1 On 03/18/2010 02:39 PM, Dmitry Bashkatov wrote:
2 > Hello, gentoo devs! I have a little story about USE flags.
3 > Almost every package in gentoo has USE flags. Many of them have clear
4 > meaning. For example: <doc> builds package documentation, <qt> or
5 > <gtk> build GUI frontend. Meaning of this flags is one for all
6 > packages in portage. And this is described in use.desc file. But there
7 > are many USE flags with fuzzy meaning. For example <java> USE flag of
8 > package net-print/cups. What does it mean? Description file says "java
9 > - Adds support for Java". But what kind of support is it? Build Java
10 > bindings or build some optional tools written on Java? <python> flag —
11 > "Adds support/bindings for the Python language" also doesn't asks on
12 > my question about kind of support. Only ways to find out answer are
13 > read ebuild and "./configure --help" or use other sources of
14 > information like google. But this takes time. Very very many time when
15 > installing system first time. Also this work already done by package
16 > maintainer and there is no reason to repeat this for every user.
17 >
18 > My suggestion is to take out all this per package USE flag vagueness
19 > to use.local.desc file, so you can use
20 > $ equery uses net-print/cups
21 > + + java : build java printing web-application
22 > + + python : build python bindings to libcups
23 > This is only example, I really don't know what this flags mean here. =)
24 > Another my suggestion is to extend ebuild format so package maintainer
25 > can easily add use flag description.
26 >
27 > What can you say about this? May be this is my delirium? And may be
28 > only my gentooic brain need this sort of information about USE flags.
29 >
30
31 This is already supported by metadata.xml local use flags, you can add
32 extended information as local use flag in addition to global use flag.
33
34 So I take this as a friendly reminder that maintainers should start
35 using the feature.
36
37 -Samuli

Replies

Subject Author
Re: [gentoo-dev] Add more local USE flags Dmitry Bashkatov <me@×××××××.name>