Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 12:08:02 +0200 (CEST)
From:      Baptiste Daroussin <baptiste.daroussin@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   java/113081: drop down diablo-jdk15 dependencies by using USE_XORG
Message-ID:  <20070528100802.3F19FF3B76@baptux.is-a-geek.org>
Resent-Message-ID: <200705281030.l4SAU2Mk063067@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070528100802.3F19FF3B76>