Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 22:41:46 +0200 (CEST)
From:      Jilles Tjoelker <jilles@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161945: java/openjdk6: install jars to generate zoneinfo files
Message-ID:  <20111023204146.D5CED28468@snail.stack.nl>
Resent-Message-ID: <201110232050.p9NKo4Mo039185@freefall.freebsd.org>

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

>Number:         161945
>Category:       ports
>Synopsis:       java/openjdk6: install jars to generate zoneinfo files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 20:50:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jilles Tjoelker
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
The FreeBSD Project
>Environment:
FreeBSD 8.2-STABLE i386
>Description:
As noted in message
http://lists.freebsd.org/pipermail/freebsd-java/2011-June/009251.html
we need javazic.jar to generate Java timezone information files to
avoid the need to download the tzupdater.

This file is currently built, but not installed.

The Debian package of the openjdk installs this file, and also another
file compilefontconfig.jar which is apparently useful to generate Java
font configuration files, in jre/lib/. I propose to do the same.

I have a similar patch for java/openjdk7 but I have not tried actually
running the resulting javazic.jar. The one from java/openjdk6 definitely
works.
>How-To-Repeat:
-
>Fix:
Apply the below patch and bump PORTREVISION.

--- openjdk6-install-font-zic-jars.patch begins here ---
--- /usr/ports/java/openjdk6/Makefile.orig	2011-08-10 00:56:39.000000000 +0200
+++ /usr/ports/java/openjdk6/Makefile	2011-10-23 22:19:17.000000000 +0200
@@ -262,6 +262,7 @@
 do-install:
 	@${MKDIR} ${PREFIX}/openjdk6/
 	@${CP} -Rp ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/ ${PREFIX}/openjdk6/
+	@${INSTALL_DATA} ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/compilefontconfig.jar ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/javazic.jar ${PREFIX}/openjdk6/jre/lib/
 .if defined(WITH_FASTDEBUG)
 	@${MKDIR} ${PREFIX}/openjdk6-fastdebug/
 	@${CP} -Rp ${WRKSRC}/build/${OPENJDK_OSARCH}-fastdebug/j2sdk-image/ ${PREFIX}/openjdk6-fastdebug/
--- openjdk6-install-font-zic-jars.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?20111023204146.D5CED28468>