Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] necessary use flgas
Date: Tue, 23 Jun 2015 14:46:39
Message-Id: 20150623144558.GB16098@grusum.endjinn.de
In Reply to: Re: [gentoo-user] necessary use flgas by Neil Bothwick
1 Hello,
2
3 On Tue, 23 Jun 2015, Neil Bothwick wrote:
4 >On Tue, 23 Jun 2015 17:35:10 +0430, behrouz khosravi wrote:
5 >> I really like to have control over my machine as much as possible. In
6 >> this way I will learn a lot, so I am trying to remove all the default
7 >> use flags and control them manually.
8 [..]
9 >You can also start USE with -* in make.conf to turn everything off then
10 >set your own choices. This is the ideal setup for those who prefer to
11 >spend more time fixing their computer than using it.
12
13 Hah!
14
15 # find /usr/local/portage/*/ -mindepth 1 -maxdepth 1 -type d | wc -l
16 55
17
18 Hey, I got no printer, had others print about 5 pages for me in ~10
19 years. Why would I want cups? And BTW: qtwebkit:5 compiles just fine
20 without leveldb (with a little "-D" help)...
21
22 ====
23 --- /usr/portage/dev-qt/qtwebkit/qtwebkit-5.4.2.ebuild 2015-06-17 17:24:04.000000000 +0200
24 +++ /usr/local/portage/dev-qt/qtwebkit/qtwebkit-5.4.2.ebuild 2015-06-23 07:05:01.823067740 +0200
25 @@ -14,13 +14,13 @@
26
27 # TODO: qttestlib, geolocation, orientation/sensors
28
29 -IUSE="gstreamer gstreamer010 multimedia opengl printsupport qml udev webp"
30 +IUSE="gstreamer gstreamer010 multimedia opengl printsupport qml udev webp leveldb"
31 REQUIRED_USE="?? ( gstreamer gstreamer010 multimedia )"
32
33 RDEPEND="
34 dev-db/sqlite:3
35 dev-libs/icu:=
36 - >=dev-libs/leveldb-1.18-r1
37 + leveldb? ( >=dev-libs/leveldb-1.18-r1 )
38 dev-libs/libxml2:2
39 dev-libs/libxslt
40 >=dev-qt/qtcore-${PV}:5[icu]
41 @@ -88,6 +88,9 @@
42 use webp || sed -i -e '/config_libwebp: WEBKIT_CONFIG += use_webp/d' \
43 Tools/qmake/mkspecs/features/features.prf || die
44
45 + use leveldb || sed -i -e 's/ENABLE_INDEXED_DATABASE=1/ENABLE_INDEXED_DATABASE=0/' \
46 + Tools/qmake/mkspecs/features/features.pri || die
47 +
48 # bug 458222
49 sed -i -e '/SUBDIRS += examples/d' Source/QtWebKit.pro || die
50 ====
51
52 As I hate cmake, I don't know if there's a better way to inject that
53 ENABLE_INDEXED_DATABASE=0 or something to that into the build process.
54 It works, I'm happy ;) Oh, and BTW, mozillen (via mozconfig) work just
55 fine without a spellchecker. Which I hate and never use. They distract
56 more and introduce errors that anything else, so I patch
57 eclass/mozconfig-*.eclass. BTW2: how can I "overlay" my eclass stuff
58 over the /usr/portage one? ATM, I just copy it over after each sync.
59
60 -dnh, minimalist, obviously ;)
61
62 --
63 my other signature is more intellectual

Replies

Subject Author
Re: [gentoo-user] necessary use flgas Neil Bothwick <neil@××××××××××.uk>