From owner-freebsd-java@FreeBSD.ORG Thu May 4 12:18:38 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AB5616A405 for ; Thu, 4 May 2006 12:18:38 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D84443D4C for ; Thu, 4 May 2006 12:18:33 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k44CK4Kq012391 for ; Thu, 4 May 2006 09:20:05 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.4/8.13.4) with ESMTP id k44CIDTi003857 for ; Thu, 4 May 2006 09:18:13 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k44CIC79003856 for freebsd-java@freebsd.org; Thu, 4 May 2006 09:18:12 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Thu, 4 May 2006 09:18:12 -0300 From: Fernan Aguero To: freebsd-java@freebsd.org Message-ID: <20060504121812.GA94022@iib.unsam.edu.ar> Mail-Followup-To: Fernan Aguero , freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: java without X11? 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: Thu, 04 May 2006 12:18:38 -0000 Hi! I was setting up a headless (no X11, no GUI) box and had to install java (required by apache-ant and by a java code that interacts with an underlying postgresql database). I want this box to run only the base system (cut down to only essential daemons/processes) and one application (postgresql + associated perl/java layers). I was installing diablo-jdk15 from a package ... and followed the warning about a missing required dependency (xorg-libraries). Even though I didn't want X11, it would just be the libraries ... so I went ahead. I was then surprised when xorg-libraries in turn pulled freetype, fontconfig, pkgconfig (isn't this a gnome thing?), libdrm ... too much X11 stuff for my taste. Perhaps I could have ignored the warning altogether and keep jdk15 installed without xorg-libraries? Anyone did this? If yes, I could go now and pkg_delete all X11 stuff ... A quick browse through other jdk ports show that they all (by default) require X11 either directly or through inclusion of some motif dependency. I know that a lot of java apps depend on GUI functionality provided by the language, but is this java+X11 a thing that cannot be separated? (i.e. X11 is rooted too deep into java) or maybe it could be separated and we could have an optional WITHOUT_X11 in the various jdk ports? Thanks, Fernan