Re: [gentoo-user] Why does Java-Runtime want to print and X and all that?

2017-07-17 Thread Matthias Hanft
Michael Orlitzky wrote:
> 
> Try turning off USE="gtk" and turning on USE="headless-awt" for icedtea-bin.

Thanks. With a total of "-alsa -cups -gtk headless-awt -webstart", it reduces to

--- cut here ---

home01 ~ # emerge -pv jre

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] app-eselect/eselect-java-0.3.0::gentoo  14 KiB
[ebuild  N ] sys-apps/baselayout-java-0.1.0::gentoo  71 KiB
[ebuild  N ] dev-java/java-config-2.2.0-r3:2::gentoo  USE="{-test}" 
PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 51 KiB
[ebuild  N ] dev-java/icedtea-bin-3.4.0:8::gentoo  USE="headless-awt -alsa 
-cups -doc -examples -gtk -multilib -nsplugin -pulseaudio (-selinux) -source 
-webstart" ABI_X86="(64) -32 (-x32)" 60397 KiB
[ebuild  N ] virtual/jdk-1.8.0-r3:1.8::gentoo  0 KiB
[ebuild  N ] virtual/jre-1.8.0-r1:1.8::gentoo  0 KiB

Total: 6 packages (6 new), Size of downloads: 60532 KiB

--- cut here ---

This looks pretty reasonable.

Ironically, in the meantime I found a better suitable package which doesn't
need Java at all :-) Thanks anyway...

-Matt




Re: [gentoo-user] Why does Java-Runtime want to print and X and all that?

2017-07-17 Thread R0b0t1
On Mon, Jul 17, 2017 at 8:52 AM, Matthias Hanft  wrote:
>
> This can't be true, can it? Do I really need all this just to run
> some simple Java software? I can't believe this...
>

The "headless-awt" flag disables some functionality, but per the name
it only affects the Abstract Window Toolkit. E.g. it doesn't get rid
of printing, so cups and the graphics libraries will probably remain.

R0b0t1.



Re: [gentoo-user] Why does Java-Runtime want to print and X and all that?

2017-07-17 Thread Michael Orlitzky
On 07/17/2017 09:52 AM, Matthias Hanft wrote:
> 
> [ebuild  N ] dev-java/icedtea-bin-3.4.0:8::gentoo  USE="alsa cups
> gtk webstart -doc -examples -headless-awt -multilib -nsplugin
> -pulseaudio (-selinux) -source" ABI_X86="(64) -32 (-x32)" 60397 KiB

Try turning off USE="gtk" and turning on USE="headless-awt" for icedtea-bin.



[gentoo-user] Why does Java-Runtime want to print and X and all that?

2017-07-17 Thread Matthias Hanft
Hi,

I'm thinking of installing a software (not in tree) which needs
a Java Runtime Environment. I guess I need "virtual/jre" for this,
but it wants to install 57 packages, including cups and many x11-
proto packages, including "cups" and "X" USE flags, and "cairo"
keyword failure:

--- cut here ---

home01 ~ # emerge -pv jre

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] dev-libs/vala-common-0.34.8::gentoo  2714 KiB
[ebuild  N ] media-libs/giflib-5.1.4:0/7::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 625 KiB
[ebuild  N ] x11-themes/hicolor-icon-theme-0.15::gentoo  50 KiB
[ebuild  N ] sys-apps/baselayout-java-0.1.0::gentoo  71 KiB
[ebuild  N ] app-text/qpdf-5.1.1-r1:0/13::gentoo  USE="-doc -examples -perl 
-static-libs {-test}" 7484 KiB
[ebuild  N ] dev-java/java-config-2.2.0-r3:2::gentoo  USE="{-test}" 
PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 51 KiB
[ebuild  N ] app-eselect/eselect-java-0.3.0::gentoo  14 KiB
[ebuild  N ] media-libs/alsa-lib-1.1.2::gentoo  USE="python -alisp -debug 
-doc" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" 926 KiB
[ebuild  N ] dev-util/gdbus-codegen-2.50.3::gentoo  
PYTHON_TARGETS="python2_7 python3_4 (-python3_5)" 0 KiB
[ebuild  N ] x11-proto/xproto-7.0.31::gentoo  USE="-doc" ABI_X86="(64) -32 
(-x32)" 294 KiB
[ebuild  N ] x11-proto/xextproto-7.3.0::gentoo  USE="-doc" ABI_X86="(64) 
-32 (-x32)" 0 KiB
[ebuild  N ] x11-proto/inputproto-2.3.2::gentoo  ABI_X86="(64) -32 (-x32)" 
197 KiB
[ebuild  N ] x11-proto/renderproto-0.11.1-r1::gentoo  ABI_X86="(64) -32 
(-x32)" 104 KiB
[ebuild  N ] media-fonts/font-util-1.3.1::gentoo  0 KiB
[ebuild  N ] x11-misc/util-macros-1.19.1::gentoo  82 KiB
[ebuild  N ] x11-proto/damageproto-1.2.1-r1::gentoo  ABI_X86="(64) -32 
(-x32)" 97 KiB
[ebuild  N ] x11-proto/compositeproto-0.4.2-r1::gentoo  ABI_X86="(64) -32 
(-x32)" 99 KiB
[ebuild  N ] x11-proto/kbproto-1.0.7::gentoo  ABI_X86="(64) -32 (-x32)" 0 
KiB
[ebuild  N ] x11-proto/xf86bigfontproto-1.2.0-r1::gentoo  ABI_X86="(64) -32 
(-x32)" 0 KiB
[ebuild  N ] x11-libs/xtrans-1.3.5::gentoo  USE="-doc" 0 KiB
[ebuild  N ] dev-libs/libpthread-stubs-0.4::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 57 KiB
[ebuild  N ] x11-proto/recordproto-1.14.2-r1::gentoo  USE="-doc" 
ABI_X86="(64) -32 (-x32)" 121 KiB
[ebuild  N ] x11-proto/randrproto-1.5.0::gentoo  ABI_X86="(64) -32 (-x32)" 
139 KiB
[ebuild  N ] x11-proto/xcb-proto-1.12-r2::gentoo  ABI_X86="(64) -32 (-x32)" 
PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 151 KiB
[ebuild  N ] x11-proto/fixesproto-5.0-r1::gentoo  ABI_X86="(64) -32 (-x32)" 
99 KiB
[ebuild  N ] x11-libs/libXau-1.0.8::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N ] x11-libs/libXdmcp-1.1.2-r1::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N ] dev-libs/libcroco-0.6.12-r1:0.6::gentoo  USE="{-test}" 
ABI_X86="(64) -32 (-x32)" 471 KiB
[ebuild  N ] x11-libs/gdk-pixbuf-2.36.6:2::gentoo  USE="introspection -X 
-debug -jpeg -jpeg2k {-test} -tiff" ABI_X86="(64) -32 (-x32)" 5046 KiB
[ebuild  N ] dev-libs/atk-2.22.0::gentoo  USE="introspection nls {-test}" 
ABI_X86="(64) -32 (-x32)" 729 KiB
[ebuild  N ] x11-libs/libxcb-1.12-r2:0/1.12::gentoo  USE="-doc (-selinux) 
-static-libs {-test} -xkb" ABI_X86="(64) -32 (-x32)" 600 KiB
[ebuild  N ] gnome-base/gsettings-desktop-schemas-3.22.0::gentoo  
USE="introspection" 585 KiB
[ebuild  N ] x11-libs/libX11-1.6.5::gentoo  USE="ipv6 -doc -static-libs 
{-test}" ABI_X86="(64) -32 (-x32)" 2307 KiB
[ebuild  N ] x11-themes/gnome-themes-standard-3.22.3::gentoo  2837 KiB
[ebuild  N ] dev-util/gtk-update-icon-cache-3.22.2::gentoo  358 KiB
[ebuild  N ] x11-libs/libXext-1.3.3::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N ] x11-libs/libXrender-0.9.10::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 302 KiB
[ebuild  N ] x11-libs/libXfixes-5.0.3::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 288 KiB
[ebuild  N ] x11-libs/libXi-1.7.9::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 475 KiB
[ebuild  N ] x11-libs/libXcomposite-0.4.4-r1::gentoo  USE="-doc 
-static-libs" ABI_X86="(64) -32 (-x32)" 278 KiB
[ebuild  N ] x11-libs/libXcursor-1.1.14::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 305 KiB
[ebuild  N ] x11-libs/libXdamage-1.1.4-r1::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 273 KiB
[ebuild  N ] x11-libs/libXrandr-1.5.1::gentoo  USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 309 KiB
[ebuild  N ] x11-libs/libXtst-1.2.3::gentoo  USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 315 KiB
[ebuild  N ] app-text/poppler-0.45.0:0/62::gentoo  USE="curl cxx 
introspection jpeg jpeg2k lcms utils -cairo (-cairo-qt) -cjk -debug -doc -nss 
-png -qt4 -qt5 -tiff"