From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 23 20:50:04 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A24B1065675 for ; Sun, 23 Oct 2011 20:50:04 +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 4FB8D8FC14 for ; Sun, 23 Oct 2011 20:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9NKo4Uh039186 for ; Sun, 23 Oct 2011 20:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9NKo4Mo039185; Sun, 23 Oct 2011 20:50:04 GMT (envelope-from gnats) Resent-Date: Sun, 23 Oct 2011 20:50:04 GMT Resent-Message-Id: <201110232050.p9NKo4Mo039185@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jilles Tjoelker Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DA31106564A for ; Sun, 23 Oct 2011 20:41:48 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id A41DA8FC08 for ; Sun, 23 Oct 2011 20:41:47 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 07779358C54 for ; Sun, 23 Oct 2011 22:41:47 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id D5CED28468; Sun, 23 Oct 2011 22:41:46 +0200 (CEST) Message-Id: <20111023204146.D5CED28468@snail.stack.nl> Date: Sun, 23 Oct 2011 22:41:46 +0200 (CEST) From: Jilles Tjoelker To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/161945: java/openjdk6: install jars to generate zoneinfo files X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 20:50:04 -0000 >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: