From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 17:50:13 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BE6B1065672 for ; Tue, 20 Dec 2011 17:50:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 62F118FC1B for ; Tue, 20 Dec 2011 17:50:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBKHoDn1060917 for ; Tue, 20 Dec 2011 17:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBKHoD7P060916; Tue, 20 Dec 2011 17:50:13 GMT (envelope-from gnats) Date: Tue, 20 Dec 2011 17:50:13 GMT Message-Id: <201112201750.pBKHoD7P060916@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Greg Lewis Cc: Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Greg Lewis List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:50:13 -0000 The following reply was made to PR java/163456; it has been noted by GNATS. From: Greg Lewis To: Jason Helfman Cc: FreeBSD-gnats-submit@freebsd.org, jilles@stack.nl, jkim@freebsd.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) Date: Tue, 20 Dec 2011 09:47:57 -0800 G'day Jason, On Mon, Dec 19, 2011 at 10:39:04AM -0800, Jason Helfman wrote: > Timezone data hasn't been updated since 2010 in OpenJDK. This patch downloads open timezone data, uses the built java tool > javazic.jar to translate files so java may use them, and distributes into the correct location. > > Builds cleanly in Tinderbox => http://jgh.devio.us/files/logs/openjdk6-b24_1.log.gz > > This patch encapsulates the spirit of ports/161945, and potentially could be seen as a duplicate if compilefontconfig.jar > were copied into ${PREFIX}/openjdk6/jre/lib/ Thanks for doing this! I wonder if with a little more work we couldn't make this work for all of the JDK ports instead of having to reimplement it for openjdk7, jdk16, jdk15, diablo, etc. I.e., can we pull this out into a separate port that installs the appropriate zoneinfo files into somewhere like ${LOCALBASE}/share/java/zoneinfo and then symlink the zi directory in all of the jdk and jre ports to that directory. I haven't looked deeply into your change but I assume the biggest problem with this is that you need a JDK with javazic.jar already installed before you can process the raw zoneinfo files so we'd be creating a circular dependency. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org