Gentoo Archives: gentoo-dev

From: "William L. Thomson Jr." <wlt-ml@××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] icedtea requiring X libs to build was -> Guidelines for IUSE defaults
Date: Thu, 02 Feb 2017 16:16:26
Message-Id: assp.020657c0c7.5513239.rNkMOKBtBx@wlt
In Reply to: Re: [gentoo-dev] icedtea requiring X libs to build was -> Guidelines for IUSE defaults by Michael Orlitzky
1 On Thursday, February 2, 2017 10:53:08 AM EST Michael Orlitzky wrote:
2 > On 02/02/2017 10:51 AM, William L. Thomson Jr. wrote:
3 > > On Thursday, February 2, 2017 10:36:51 AM EST Michael Orlitzky wrote:
4 > >> Why does dev-java/icedtea try to pull in GTK (and thus X)
5 > >> on a headless server? That stuff belongs in a desktop profile, not in
6 > >> the base one.
7 > >
8 > > In that specific case it cannot be avoided.
9 >
10 > Yes it can. I just have to waste my time unsetting the stupid USE flag
11 > that's on for no reason =P
12
13 If you understand headless you will understand the rest.
14 http://www.oracle.com/technetwork/articles/javase/headless-136834.html
15
16 You do not have to have GTK USE flag or all of X, but you will be pulling in X
17 libraries likely not present on the system to begin with. You may also
18 experience various abnormal issues as this is not how Java is normally.
19 Building it with different USE flags is pretty different than installing a pre-
20 built -bin with different USE flags.
21
22 On a headless server, a merge of icetea pulls in 48 packages, regardless if
23 headless-awt USE is set or not. Just as an example. Same 48 packages to build,
24 45 being new.
25
26 [ebuild N ] dev-java/icedtea-7.2.6.8:7::gentoo USE="jbootstrap
27 pax_kernel sunec -alsa (-cacao) -cjk -cups -debug -doc -examples -gtk -
28 headless-awt -infinality (-jamvm) -javascript -kerberos -libressl -nsplugin -
29 nss -pulseaudio -sctp (-selinux) -smartcard -source {-test} -webstart -zero"
30 54,222 KiB
31
32 Total: 48 packages (45 new, 1 in new slot, 2 reinstalls), Size of downloads:
33 309,943 KiB
34
35
36 [ebuild N ] dev-java/icedtea-7.2.6.8:7::gentoo USE="headless-awt
37 jbootstrap pax_kernel sunec -alsa (-cacao) -cjk -cups -debug -doc -examples -
38 gtk -infinality (-jamvm) -javascript -kerberos -libressl -nsplugin -nss -
39 pulseaudio -sctp (-selinux) -smartcard -source {-test} -webstart -zero"
40
41 Total: 48 packages (45 new, 1 in new slot, 2 reinstalls), Size of downloads:
42 309,943 KiB
43
44 You can see -cups, but guess what, it is required and comes in regardless if
45 USE flag is set or not. You will have to enable cups USE flag for other stuff.
46
47 # required by net-print/cups-filters-1.13.3::gentoo[postscript]
48 # required by net-print/cups-2.2.2-r1::gentoo
49 # required by dev-java/icedtea-7.2.6.8::gentoo
50 # required by icedtea (argument)
51 >=app-text/ghostscript-gpl-9.20-r1
52
53 --
54 William L. Thomson Jr.

Attachments

File name MIME type
signature.asc application/pgp-signature