From owner-freebsd-java@FreeBSD.ORG Wed Jul 29 20:37:29 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91F38106567F for ; Wed, 29 Jul 2009 20:37:29 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 46E798FC24 for ; Wed, 29 Jul 2009 20:37:28 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B914919E047; Wed, 29 Jul 2009 22:18:27 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 5810719E046; Wed, 29 Jul 2009 22:18:25 +0200 (CEST) Message-ID: <4A70AE92.1090600@quip.cz> Date: Wed, 29 Jul 2009 22:18:26 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-java@freebsd.org 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> In-Reply-To: <863a8f4mp2.fsf_-_@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Chris Reed Subject: Re: diablo-jdk15 without X11 libs (Was: (no subject)) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 20:37:30 -0000 Anonymous wrote: > (don't reply me privately) > > Chris Reed writes: > > >>2009/7/29 Anonymous >> >>>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