From owner-freebsd-java@FreeBSD.ORG Mon May 28 10:30:03 2007 Return-Path: <owner-freebsd-java@FreeBSD.ORG> X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48A9F16A46B for <freebsd-java@hub.freebsd.org>; Mon, 28 May 2007 10:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0008213C487 for <freebsd-java@hub.freebsd.org>; Mon, 28 May 2007 10:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4SAU2oc063068 for <freebsd-java@freefall.freebsd.org>; Mon, 28 May 2007 10:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4SAU2Mk063067; Mon, 28 May 2007 10:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 28 May 2007 10:30:02 GMT Resent-Message-Id: <200705281030.l4SAU2Mk063067@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Baptiste Daroussin <baptiste.daroussin@gmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 352D416A47A for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 10:24:17 +0000 (UTC) (envelope-from root@baptux.is-a-geek.org) Received: from baptux.is-a-geek.org (stc92-3-82-245-249-89.fbx.proxad.net [82.245.249.89]) by mx1.freebsd.org (Postfix) with ESMTP id EA26713C48A for <FreeBSD-gnats-submit@freebsd.org>; Mon, 28 May 2007 10:24:16 +0000 (UTC) (envelope-from root@baptux.is-a-geek.org) Received: by baptux.is-a-geek.org (Postfix, from userid 0) id 3F19FF3B76; Mon, 28 May 2007 12:08:02 +0200 (CEST) Message-Id: <20070528100802.3F19FF3B76@baptux.is-a-geek.org> Date: Mon, 28 May 2007 12:08:02 +0200 (CEST) From: Baptiste Daroussin <baptiste.daroussin@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: java/113081: drop down diablo-jdk15 dependencies by using USE_XORG X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Baptiste Daroussin <baptiste.daroussin@gmail.com> List-Id: Porting Java to FreeBSD <freebsd-java.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-java>, <mailto:freebsd-java-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-java> List-Post: <mailto:freebsd-java@freebsd.org> List-Help: <mailto:freebsd-java-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-java>, <mailto:freebsd-java-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 28 May 2007 10:30:03 -0000 >Number: 113081 >Category: java >Synopsis: drop down diablo-jdk15 dependencies by using USE_XORG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 28 10:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Baptiste Daroussin >Release: FreeBSD 6.2-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD wicklow.lan 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The actual port for diablo jdk use : USE_XLIB which depend on xorg-libraries, which brings as a dependency the whole set of xorg libraries. In fact java seems to really depends on those libraries : libX11 libICE libSM libXext libXi libXp libXt libXtst libXdmcp libXau which by the game of dependencies can be resume to : libXi libXp libXt libXtst By replacing USE_XLIB=yes by USE_XORG+= xi xp xt xtst we can drop down the depency list from 77 to 26 which save installation/upgrade time and prevent from installing the whole set of xorg-libraries for servers without X11 like it is the case for me. the patch is quite simple and tested on diablo-jdk15 >How-To-Repeat: make all-depends-list | wc -l shows 77 ports >Fix: --- diablo-jdk15.patch begins here --- --- Makefile Mon May 28 11:46:40 2007 +++ /root/Makefile.orig Sat May 19 22:12:34 2007 @@ -22,7 +22,7 @@ RESTRICTED= "License doesn't allow distribution with fee" USE_BZIP2= yes -USE_XLIB= yes +USE_XORG+= xi xp xt xtst ONLY_FOR_ARCHS= amd64 i386 JDK_VERSION= 1.5.0 RELEASE_VERSION=07 --- diablo-jdk15.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: