Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2013 16:11:08 +0300
From:      Alexander Yerenkow <yerenkow@gmail.com>
To:        Rainer Duffner <rainer@ultra-secure.de>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Build java without X11 support
Message-ID:  <CAPJF9wmX=_SxUM_SczrfKyc7PQzHRdvYxND=hdnEKJLuPU4CQA@mail.gmail.com>
In-Reply-To: <20130806145639.133d75f6@suse3>
References:  <20130806145639.133d75f6@suse3>

next in thread | previous in thread | raw e-mail | index | archive | help
Openjdk is really requires some graphical libs, for example Graphics class
must have some low level libs for graphic manipulation.
So, without some xorg libs you'll end up with broken JDK.

Besides, not much of X is required, and it's working just fine in headless
setups:

$ pkg info -d openjdk6
openjdk6-b27 depends on:
dejavu-2.33
expat-2.0.1_2
fontconfig-2.9.0,1
freetype2-2.4.11
inputproto-2.0.2
java-zoneinfo-2012.j
javavmwrapper-2.4_3
jpeg-8_4
kbproto-1.0.5
libICE-1.0.7,1
libSM-1.2.0,1
libX11-1.4.4,1
libXau-1.0.6
libXaw-1.0.9,2
libXdmcp-1.1.0
libXext-1.3.0_1,1
libXft-2.3.1
libXi-1.4.5,1
libXmu-1.1.0,1
libXp-1.0.1,1
libXpm-3.5.9
libXrender-0.9.6
libXt-1.1.1,1
libXtst-1.2.0
libiconv-1.14_1
libpthread-stubs-0.3_3
libxcb-1.7
open-motif-2.3.4
pkgconf-0.9.1_2
png-1.5.14
printproto-1.0.5
recordproto-1.14.1
renderproto-0.11.1
xbitmaps-1.1.1
xextproto-7.2.0
xproto-7.0.22

That's from my poudriere for  stable-9 with somewhat recent ports tree.





2013/8/6 Rainer Duffner <rainer@ultra-secure.de>

> Hi,
>
> I'm using poudriere to build pkgng packages.
> I want to build openjdk6.
> I tried to disable X11 and de-select X11 in as many packages as
> possible.
> However, as of recently, it pulls in gtk-update-icon-cache.
>
> openjdk6 depends on cups-client, and cups-client depends on
> gtk-update-icon-cache.
>
> But:
> ===>   Returning to build of gtk-update-icon-cache-2.24.19
> =========================================================================
> =======================<phase: configure
> >============================ ===>  Configuring for
> >gtk-update-icon-cache-2.24.19
> gtk-update-icon-cache-2.24.19: Needs cairo with X11 support enabled.
> *** [pre-configure] Error code 1
>
>
> (which I have disabled, cairo being "fat" enough).
>
> Is there a way to build this stuff completely "x11"-less?
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
>



-- 
Regards,
Alexander Yerenkow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9wmX=_SxUM_SczrfKyc7PQzHRdvYxND=hdnEKJLuPU4CQA>