From jilles@stack.nl  Sun Oct 23 20:41:48 2011
Return-Path: <jilles@stack.nl>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0DA31106564A
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <jilles@stack.nl>
Reply-To: Jilles Tjoelker <jilles@stack.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: java/openjdk6: install jars to generate zoneinfo files
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         161945
>Category:       ports
>Synopsis:       java/openjdk6: install jars to generate zoneinfo files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jgh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 20:50:03 UTC 2011
>Closed-Date:    Fri Dec 30 06:43:04 UTC 2011
>Last-Modified:  Fri Dec 30 06:50:08 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Oct 23 20:50:15 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161945 
Responsible-Changed-From-To: freebsd-java->jgh 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Thu Dec 29 18:58:49 UTC 2011 
Responsible-Changed-Why:  
discussed with glewis over mail, I'm taking this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161945 
State-Changed-From-To: open->closed 
State-Changed-By: jgh 
State-Changed-When: Fri Dec 30 06:43:02 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161945 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/161945: commit references a PR
Date: Fri, 30 Dec 2011 06:42:28 +0000 (UTC)

 jgh         2011-12-30 06:42:14 UTC
 
   FreeBSD ports repository
 
   Modified files:
     java/openjdk6        Makefile 
   Log:
   Installs built jars that were previously not installed.
   
   * javazic.jar to generate Java timezone information files
   * compilefontconfig.jar to generate Java font configuration files
   
   PR: ports/161945
   Submitted by:   Jilles Tjoelker <jilles at stack.nl>
   Reviewed by: glewis
   Approved by: glewis, crees (mentor)
   
   Revision  Changes    Path
   1.54      +2 -0      ports/java/openjdk6/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
