public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] icedtea-jdk and X
@ 2012-07-26 14:22 Евгений Пермяков
  2012-07-28  5:56 ` Bryan Gardiner
  0 siblings, 1 reply; 3+ messages in thread
From: Евгений Пермяков @ 2012-07-26 14:22 UTC (permalink / raw
  To: gentoo-user

Can someone tell me, why my gentoo server wants X header to build 
icedtea jdk if USE="... -X ..." ? Ok, I understand that it is because 
maintainers wrote ebuild that requires X header unquestionable. But why 
they did so and can be something done about it? Do not want to have 
*-bin* package in system for perfectionism reasons.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] icedtea-jdk and X
  2012-07-26 14:22 [gentoo-user] icedtea-jdk and X Евгений Пермяков
@ 2012-07-28  5:56 ` Bryan Gardiner
  2012-07-28 12:30   ` Alan McKinnon
  0 siblings, 1 reply; 3+ messages in thread
From: Bryan Gardiner @ 2012-07-28  5:56 UTC (permalink / raw
  To: gentoo-user

On Thu, 26 Jul 2012 18:22:10 +0400
Евгений Пермяков <permeakra@gmail.com> wrote:

> Can someone tell me, why my gentoo server wants X header to build 
> icedtea jdk if USE="... -X ..." ? Ok, I understand that it is because 
> maintainers wrote ebuild that requires X header unquestionable. But
> why they did so and can be something done about it? Do not want to
> have *-bin* package in system for perfectionism reasons.

Hi,

If it helps, it looks like dev-java/icedtea with USE=-X only requires
X to build, not to run.  So after installation, the X packages can be
removed by "emerge --ask --depclean --with-bdeps=n packages...".  Or
leave off "packages..." to see all installed packages that are not
needed for world packages to run (which should include X).

Of course you'll have to reinstall them if you want to rebuild icedtea...

Cheers,
Bryan


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] icedtea-jdk and X
  2012-07-28  5:56 ` Bryan Gardiner
@ 2012-07-28 12:30   ` Alan McKinnon
  0 siblings, 0 replies; 3+ messages in thread
From: Alan McKinnon @ 2012-07-28 12:30 UTC (permalink / raw
  To: gentoo-user; +Cc: bog

On Fri, 27 Jul 2012 22:56:27 -0700
Bryan Gardiner <bog@khumba.net> wrote:

> On Thu, 26 Jul 2012 18:22:10 +0400
> Евгений Пермяков <permeakra@gmail.com> wrote:
> 
> > Can someone tell me, why my gentoo server wants X header to build 
> > icedtea jdk if USE="... -X ..." ? Ok, I understand that it is
> > because maintainers wrote ebuild that requires X header
> > unquestionable. But why they did so and can be something done about
> > it? Do not want to have *-bin* package in system for perfectionism
> > reasons.
> 
> Hi,
> 
> If it helps, it looks like dev-java/icedtea with USE=-X only requires
> X to build, not to run.  So after installation, the X packages can be
> removed by "emerge --ask --depclean --with-bdeps=n packages...".  Or
> leave off "packages..." to see all installed packages that are not
> needed for world packages to run (which should include X).
> 
> Of course you'll have to reinstall them if you want to rebuild
> icedtea...

Speaking somewhat generically:

Turns out this is fairly common in the real world. Huge numbers of java
apps have some form of config utility and most of them are (sadly) not
headless. They are gui-driven and that's the only way they can be
configured. We sysadmins don't like this, but there's not much we can
do about it.

So we compromise. It's fairly normal to install Xlibs on a box running
java and export the display. This appears to be what the
icedtea maintainers settled on.

At least the maintainers used their brain and require Xlibs, not a full
blown running X server.


-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-28 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 14:22 [gentoo-user] icedtea-jdk and X Евгений Пермяков
2012-07-28  5:56 ` Bryan Gardiner
2012-07-28 12:30   ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox