diablo-jdk15 without X11 libs (Was: (no subject))

Miroslav Lachman 000.fbsd at quip.cz
Wed Jul 29 20:37:30 UTC 2009


Anonymous wrote:
> (don't reply me privately)
> 
> Chris Reed <creedis at gmail.com> writes:
> 
> 
>>2009/7/29 Anonymous <swell.k at 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 at 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 at 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


More information about the freebsd-java mailing list