Re: Emerging Tomcat without Eclipse

James Le Cuirot <[email protected]> Sat, 20 Feb 2016 19:22:39 +0000
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
--Sig_/V6A9nCzKssT6yJx6JR+W8dr
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sat, 20 Feb 2016 18:09:47 +0000
Matthew Smith <[email protected]> wrote:

> I now understand that eclipse-ecj is a requirement of Tomcat, however
> I do not understand why it requires X11.
> After removing the alsa, cups and gtk use flags from icedtea-bin,
> emerge still wants to pull in X11 and an assortment of packages
> related to X11.
> Do you have any ideas on how I can emerge tomcat without bringing in
> X? I'd rather keep my server headless.

Set the headless-awt USE flag against icedtea-bin. Note the description.

  Don't install the X backend for AWT, needed by some GUIs
  (used to be X flag)

Admittedly it is unusual to set a flag to *not* install something but
we couldn't really call the flag headful-awt or non-headless-awt. This
name was chosen with input from upstream.

We stopped using the X flag because in the case of oracle-jdk-bin, both
AWT and JavaFX require X11. We needed to be able to differentiate
between these and we wanted to keep the flags consistent across the
different JVM packages.

--=20
James Le Cuirot (chewi)
Gentoo Linux Developer

--Sig_/V6A9nCzKssT6yJx6JR+W8dr
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1

iQJ8BAEBCgBmBQJWyLz/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MjhERTZCRDg2OTFBNDM5MUZEQTJFRDQy
MUM2MzIxMjlDNkQ3REU0AAoJECHGMhKcbX3k8DoQAJ7LcaVTzCks8QZo9BtQcTeN
s59QmWxRdURGK/hD2N4pSWgO0qBmho/FVwnfDSP5P+7Lex5Qg0Sk/TIH7RrTrM6x
dqw62+/dB/OIFiZnhk1m4nKbz0f8Y4CKr8uoHZdVJLKLreHTcciWFI3mXzLHwe56
mxfYq7hP25j2yDRxrJ+JFc5hBGFR3rd3DemXmob5QO4/0ij/EwQTfRWNzDJb17aX
WQlP9dYDDUeo0fh9R7+Mzv4grxXq93KUTAs/4S1Yqj2UtMq4pqapUZAS8nth0WDY
TU5oRosEpnbHnmxq0U9iMKXTI6gZsP28oixVBPWxXzOsMwu5bEU1jqgUc1zuTDlD
q7YDfrBo6zu1h+qPeAv3PW98Kt0yI1nQKNNkKHA2GV8ICl10hsFMithpeW6fqKEz
3fKmf3vK4Mxs2mq+6+ztxM6mrcSXwL5BW68mlSGrJDIdN4HC4htvL13a54ue0Sum
cFDj9qGdkW6fWkaRBHsZj0FGuVSZURX/1f61UNwpLpeTtk7QKyncobRTkl9rbprH
3Gj9Z/+FjKbBK6U9Kmzp7ILyUh3fj+L5FGwNX9nZnMxNB6IYAf/k/CF0GwgkA3BR
nPD+2GWyrF3hLmkEDuwv9olv71DR7fafs8R0j1mUKYPGYNFduACrXs70aPnty2o6
13YgCaE+8mi3Gf9Y2H/E
=qeO+
-----END PGP SIGNATURE-----

--Sig_/V6A9nCzKssT6yJx6JR+W8dr--