Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: confessions of a current USE=*
Date: Fri, 15 Apr 2016 13:06:33
Message-Id: 5710E74A.5080404@gmail.com
In Reply to: Re: [gentoo-user] Re: confessions of a current USE=* by Philip Webb
1 On 15/04/2016 13:15, Philip Webb wrote:
2 > 160414 waltdnes@××××××××.org wrote:
3 >> I used to use USE='-* blah blah blah". My rule of thumb was to compare
4 >> * how many "foobar" entries I'd have to make in package.use,
5 >> if I didn't include "foobar" in make.conf, versus
6 >> * how many "-foobar" entries I'd have to make in package.use,
7 >> if I did include "foobar" in make.conf
8 >> Whichever way resulted in fewer entries in package.use was the way I'd go.
9 >> I effectively built my own custom profile.
10 >
11 >> I've now switched to the conventional style, without "-*",
12 >> but I now have a lot of "-foobar" flags in USE, like so
13 >> USE="10bit 12bit X apng bindist ffmpeg gles2 jpeg netifrc png snappy szip truetype x264 x265 xorg -acl -berkdb -caps -chatzilla -cracklib -crypt -filecaps -gallium -gdbm -gmp-autoupdate -graphite -gstreamer -iconv -introspection -ipc -iptables -ipv6 -libav -llvm -manpager -nls -openmp -pam -pch -roaming -sendmail -spell -tcpd -udev -udisks -unicode -upower -uuid -xinerama"
14 >
15 > I'm persisting with '-*', but I've never understood profiles
16 > & I've never done 'emerge world' without '-p',
17 > so I've always had detailed control over what it getting installed.
18 > In my home-made list of installed pkgs I note with 'USE' those
19 > which have a custom flag in package.use & check when updating.
20
21 well there is such a thing as too much control and forcing yourself to
22 fiddle with low-level things more than you need to.
23
24 Profiles are supposed to provide a decent baseline setup for a given
25 scenario or usage case. Then you fine-tweak package.use to get exactly
26 what you want.
27
28 Well that's the theory. In practice profiles get confusing because they
29 inherit from all many things. If there was such a thing as an easy to
30 use user-defined profile method, the perceived need for USE="-*" might
31 go away
32
33 >
34 > Occasionally, a new flag trips me up, but it's fairly easy to recover
35 > once the location of the problem has been determined.
36 >
37 > My own complaint re USE flags is the all-too-meagre output of 'euses' :
38 >
39 > root:502 ~> euses gtk3
40 > app-editors/bluefish:gtk3 - Enable GTK3 interface (default)
41 > app-editors/emacs:gtk3 - Prefer version 3 of the GIMP Toolkit to version 2 (x11-libs/gtk+)
42 > app-editors/emacs-vcs:gtk3 - Prefer version 3 of the GIMP Toolkit to version 2 (x11-libs/gtk+)
43 > app-editors/mousepad:gtk3 - Use GTK+3 instead of GTK+2
44 > app-i18n/fcitx:gtk3 - Install input method module for GTK+ 3
45 > app-i18n/fcitx-configtool:gtk3 - Use GTK+3 instead of 2
46 > app-i18n/ibus:gtk3 - Enable support for gtk+3
47 > app-i18n/ibus-unikey:gtk3 - Enable support for gtk+3
48 > app-i18n/imsettings:gtk3 - Enable support for x11-libs/gtk+:3
49 > app-i18n/scim:gtk3 - Enable support for x11-libs/gtk+:3
50 > app-i18n/scim-anthy:gtk3 - Enable support for x11-libs/gtk+:3
51 > app-i18n/uim:gtk3 - Enable support for x11-libs/gtk+:3
52 > ... [ 37 similarly useless descriptions]
53 >
54 > This urgently needs cleaning up, like much of Emerge's output.
55
56 Indeed. Most flag definitions give you MORE information when removed.
57 Less junk implies more truth
58
59
60
61 --
62 Alan McKinnon
63 alan.mckinnon@×××××.com

Replies

Subject Author
[gentoo-user] Re: confessions of a current USE=* "»Q«" <boxcars@×××.net>