Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2009 22:18:26 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-java@freebsd.org
Cc:        Chris Reed <creedis@gmail.com>
Subject:   Re: diablo-jdk15 without X11 libs (Was: (no subject))
Message-ID:  <4A70AE92.1090600@quip.cz>
In-Reply-To: <863a8f4mp2.fsf_-_@gmail.com>
References:  <23b578100907281935l41c92a4cva36f63f038a25207@mail.gmail.com>	<86d47k9f4g.fsf@gmail.com>	<23b578100907290417g7f70143fwdc35e5601e492721@mail.gmail.com>	<86zlan7k9g.fsf@gmail.com>	<23b578100907290556i7ee0c17ald67de49d87d9a702@mail.gmail.com> <863a8f4mp2.fsf_-_@gmail.com>

index | next in thread | previous in thread | raw e-mail

Anonymous wrote:
> (don't reply me privately)
> 
> Chris Reed <creedis@gmail.com> writes:
> 
> 
>>2009/7/29 Anonymous <swell.k@gmail.com>
>>
>>>x11/libXi is being pulled by java/diablo-jdk15. It says so *explicitly*
>>>in the port Makefile
>>>
>>>   USE_XORG+=      xi
> 
> 
>>so there is no way to install the jdk without needing the X windows
>>environment? I ask as this system has no X windows environment installed.
>>It's pure command line, and if there's a way to keep it that way it'd be our
>>preference.
> 
> 
> I don't use java. Perhaps, you can hack the port to avoid dependency on
> X11 libraries and hope it doesn't break completely.
> 
> FWIW, there were similar threads on freebsd-java@ maillist (CC'd).
> 
> http://docs.freebsd.org/cgi/mid.cgi?44379918.3070404
> http://docs.freebsd.org/cgi/mid.cgi?20060504133141.GD94022

I have same "problem" for a long time. I am using java on one client's 
web server just for textproc/fop (without X11). The older version of 
java was jdk + javavmwrapper only. Our current version 
(diablo-jdk-1.5.0.07.01_9) needs xtrans, xproto, xextproto:

root@roxy ~/# pkg_info -rR diablo-jdk-1.5.0.07.01_9
Information for diablo-jdk-1.5.0.07.01_9:

Depends on:
Dependency: xtrans-1.0.4
Dependency: xproto-7.0.10_1
Dependency: xextproto-7.0.2
Dependency: javavmwrapper-2.3.2
Required by:
fop-0.94

But if I try to update to newer jdk, there is a long list of "unwanted" 
dependencies:

root@roxy ~/# portmaster --show-work diablo-jdk-1.5.0.07.01_9 | grep 
"NOT INSTALLED"
===>>> NOT INSTALLED            devel/libcheck
===>>> NOT INSTALLED            devel/libpthread-stubs
===>>> NOT INSTALLED            devel/xorg-macros
===>>> NOT INSTALLED            x11-fonts/xf86bigfontproto
===>>> NOT INSTALLED            x11-toolkits/libXt
===>>> NOT INSTALLED            x11/bigreqsproto
===>>> NOT INSTALLED            x11/inputproto
===>>> NOT INSTALLED            x11/libICE
===>>> NOT INSTALLED            x11/libSM
===>>> NOT INSTALLED            x11/libX11
===>>> NOT INSTALLED            x11/libXau
===>>> NOT INSTALLED            x11/libXdmcp
===>>> NOT INSTALLED            x11/libXext
===>>> NOT INSTALLED            x11/libXi
===>>> NOT INSTALLED            x11/libXp
===>>> NOT INSTALLED            x11/libXtst
===>>> NOT INSTALLED            x11/libxcb
===>>> NOT INSTALLED            x11/printproto
===>>> NOT INSTALLED            x11/recordproto
===>>> NOT INSTALLED            x11/xcb-proto
===>>> NOT INSTALLED            x11/xcmiscproto

So what was changed, that newer version needs a lot more X11 
dependencies than older versions? Are there any way to have newer jdk 
with an old number of dependencies?

Miroslav Lachman


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A70AE92.1090600>