From owner-freebsd-java@FreeBSD.ORG Tue Aug 6 13:11:09 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B5867564 for ; Tue, 6 Aug 2013 13:11:09 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ve0-x235.google.com (mail-ve0-x235.google.com [IPv6:2607:f8b0:400c:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 76E1A2DC6 for ; Tue, 6 Aug 2013 13:11:09 +0000 (UTC) Received: by mail-ve0-f181.google.com with SMTP id jz10so360039veb.26 for ; Tue, 06 Aug 2013 06:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VcZNhNQc1pIQhJpS/VDVU6820NbvSWvIK+3xJGZrTqw=; b=H5vdyFIE8NU58s+Kqvf3jrgxm8LJVBw6zyTaYhci084XPl6Rb/fkkIHVteH+OfAioq +c/fOlht/DHQyLASAdR/n4oxe3VTydxFZqHGkj6kEgIliho10L/rh6NhFxrJJGtkPwgg 16vuHb6Dh+nedMhcI+dW855aMfbFdHtJGXsEfog9W/YM/zz6mk4+5FBNCfZ4SjNLxUES a/4LOZUc2kSCGfm/9snYj1VJxstVWZTWiX+HjUd9n9efhvpfzxrrP/ps6ZAyhFHmCbWb Md1Q/9BiTGXOHcyzTKGbviQV9a4dXOToqtFiS+D7n6DmMxlmVincJSGOEh6L/MzCN+Yu IzKA== MIME-Version: 1.0 X-Received: by 10.220.84.65 with SMTP id i1mr336054vcl.51.1375794668498; Tue, 06 Aug 2013 06:11:08 -0700 (PDT) Received: by 10.52.23.7 with HTTP; Tue, 6 Aug 2013 06:11:08 -0700 (PDT) In-Reply-To: <20130806145639.133d75f6@suse3> References: <20130806145639.133d75f6@suse3> Date: Tue, 6 Aug 2013 16:11:08 +0300 Message-ID: Subject: Re: Build java without X11 support From: Alexander Yerenkow To: Rainer Duffner Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-java@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Aug 2013 13:11:09 -0000 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 > 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 > ========================================================================= > ======================= >============================ ===> 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