From owner-FreeBSD-users-jp@jp.FreeBSD.org Thu Aug  1 08:24:34 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g6VNOYk24291;
	Thu, 1 Aug 2002 08:24:34 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from quanta.synchem.kyoto-u.ac.jp (quanta.synchem.kyoto-u.ac.jp [130.54.33.30])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g6VNOXn24286
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 1 Aug 2002 08:24:33 +0900 (JST)
	(envelope-from chat95@mbox.kyoto-inet.or.jp)
Received: from localhost (quanth.synchem.kyoto-u.ac.jp [130.54.33.130])
	by quanta.synchem.kyoto-u.ac.jp (8.12.5/3.7W/00091819) with ESMTP id g6VNNfOx099865;
	Thu, 1 Aug 2002 08:23:41 +0900 (JST)
Date: Thu, 01 Aug 2002 08:22:08 +0900 (JST)
Message-Id: <20020801.082208.640898768.maho@scarlatti.synchem.kyoto-u.ac.jp>
To: openoffice@freeml.com, raia@muj.biglobe.ne.jp
Cc: FreeBSD-users-jp@jp.FreeBSD.org
From: chat95@mbox.kyoto-inet.or.jp (Nakata Maho)
In-Reply-To: <20020801.020406.41626349.raia@muj.biglobe.ne.jp>
References: <200207241446.g6OEk3wR019194@pis.elm.toba-cmt.ac.jp>
	<20020725.163453.1060015661.maho@scarlatti.synchem.kyoto-u.ac.jp>
	<20020801.020406.41626349.raia@muj.biglobe.ne.jp>
X-Mailer: Mew version 2.2 on XEmacs 21.1.14 (Cuyahoga Valley)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: chat95@mbox.kyoto-inet.or.jp
Precedence: list
X-Sequence: FreeBSD-users-jp 70107
Subject: [FreeBSD-users-jp 70107] Re: [openoffice:1700] Re: FreeBSD OO 1.0.1
 =?ISO-2022-JP?B?GyRCJVAlJCVKJWobKEI=?=
Errors-To: owner-FreeBSD-users-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: chat95@mbox.kyoto-inet.or.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020727

$B$J$+$?$G$9!#(B

> $B$3$l$G!"(B4.6-STABLE or 5-CURRENT $B$J$i$P(B ports $B$N(B make $B0lH/(B
> $B$GF|K\8l(B OK $B$G$7$g$&$+(B:-)
> # $B$9$_$^$;$s!#$^$@;n$;$F$J$$$b$N$G(B

$B$@$H$$$$$G$9$M(B ;-)
$B$J$s$+$H$^$k$s$G$9$h$M$'!#(B

> $B$=$&$$$($P!"F|K\8l%X%k%W(B $B$N$[$&$O(B send-pr $B$H$+$O$^$@Fq$7$$$N$G(B
> $B$7$g$&$+(B?
> # japanese/openoffice $BB&(B?

$B0J2<$N%a!<%k$r(B freebsd-ports $B$KAw$j$^$7$?!#(B
$BFI$s$G$$$?$@$1$l$P(B japanese/openoffice $BB&$@$1$G2r7h$9$k$N$O(B
$B$7$s$I$$!"$H$$$&$N$,$o$+$j$^$9!#$O!<!#(Bcommit $B$^$G$O;~4V$+$+$j$=$&$C$9!#(B

http://www.openoffice.org/dev_docs/source/build_linux.html
$B$N!"(B
Building Localised Versions of OpenOffice.org 
$B$,;29M$K$J$j$^$9!"$H$$$&$+$=$N$^$^$G$9!#(B

---$B$3$3$+$i(B
To: freebsd-ports@FreeBSD.org
Subject: l10n'ed help files for OpenOffice
From: chat95@mbox.kyoto-inet.or.jp (Nakata Maho) 
Fcc: +backup
Reply-To: chat95@mbox.kyoto-inet.or.jp
X-Mailer: Mew version 2.2 on XEmacs 21.1.14 (Cuyahoga Valley)
----
Hello, Martin Blapp and Mario Ferreira, and ports-members,

Thanks for your great deal of efforts on OpenOffice.
I'm Japanese, so I'm very interested in Japanese port of OO.

Recently, Mr. Migita and Mr. Kimura noticed that OO's 
Help can be l10n'ed. Yes, we can read Help files in Japanese.

As you know, for other languages they have some l10n'ed help files,
however your ports do not consider such things.

I cannot resolve this problem, beautifully, however, I know
this diff can be resolve in some way.

###########################################################################
--- japanese/openoffice/Makefile.orig  Sat Jul 20 17:04:33 2002
+++ japanese/openoffice/Makefile Tue Jul 30 13:37:35 2002
@@ -12,5 +12,13 @@
 LANG_CONFIGURE_ARG=    JAPN
 MASTERDIR=     ${.CURDIR}/../../editors/openoffice
 RUN_DEPENDS+=  ${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho.ttf:${PORTSDIR}/japanese/kochi-ttfonts
+MASTER_SITES+= ftp://ftp.kddlabs.co.jp/office/openoffice/ \
+               ftp://ftp.sfc.wide.ad.jp/pub/OpenOffice/
+DISTFILES+=    helpcontent
+L10NHELP=      helpcontent
 
+post-build:     # installation of japanese version help files
+               (cd ${WRKSRC}/../solver/641/unxfbsd.pro/pck ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/${L10NHELP} )
+
 .include "${.CURDIR}/../../editors/openoffice/Makefile"
+

###########################################################################
1. apply this patch,
2. build normally
3. remove work/.build_done.jp-openoffice-1.0.1
4. rebuild again
5. make package

The reason for building twice is that extract helpcontent in solver/641/unxfsd.pro/pck,
cannot be achieved because this directory does not exist pre-build stage.
so this must be done on in the middle of do-build, after the solver/641/unxfbsd.pro
appeared. 

A better sophisticated solution is: 
0. each l10n slave ports should have some l10nedhelp file
1. insert 
(cd ${WRKSRC}/../solver/641/unxfbsd.pro/pck ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/${L10NHELP} )
in the middle of do-build: of /usr/ports/editors/openoffice/Makefile

Sincerely,
 Nakata Maho

---$B$3$3$^$G!#(B
-- 
 $B$J$+$?$^$[(B / $BCfED??=((B
