From owner-freebsd-java Wed Jun 28 19:56:20 2000 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 0CCC737C5AC for ; Wed, 28 Jun 2000 19:56:06 -0700 (PDT) (envelope-from maruyama@is.titech.ac.jp) Received: from localhost by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id LAA01210; Thu, 29 Jun 2000 11:55:07 +0900 (JST) To: glewis@trc.adelaide.edu.au Cc: taguchi@tohoku.iij.ad.jp, freebsd-java@FreeBSD.ORG Subject: Re: patchset9 test: Japanese Font Problem From: Fuyuhiko MARUYAMA In-Reply-To: <20000624114823.A98789@ares.trc.adelaide.edu.au> References: <20000624114823.A98789@ares.trc.adelaide.edu.au> X-Mailer: Mew version 1.94.2 on XEmacs 21.2 (Melpomene) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Jun_29_11:55:47_2000_559)--" Content-Transfer-Encoding: 7bit Message-Id: <20000629115550F.maruyama@is.titech.ac.jp> Date: Thu, 29 Jun 2000 11:55:50 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 90 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ----Next_Part(Thu_Jun_29_11:55:47_2000_559)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, i18n users. From: Greg Lewis Subject: Re: patchset9 test: Japanese Font Problem Date: Sat, 24 Jun 2000 11:48:23 +0930 > Hi Taguchi-san. As far as I know this is how things should be. The Solaris > and Linux sources are both set up this way as well. I don't think this is > the cause of the problem. > > > # ext/i18n/src/solaris/sun/awt/motif contains CharToByteX11*.java > > So does ext/i18n/src/freebsd/sun/awt/motif more importantly :). I think the core of current problem is patchset9 doesn't make i18n.jar. So I've tried to make i18n.jar and found it seems trivial way is enough. I don't check it well, but it seems to fix one serious bug that javac doesn't output error messages correctly (each characters of error messages are outputed as question marks). In fact, I'm very surprising at seeing error messages written in Japanese. ;-) To use this patch, you need to do: 1) cd ext/i18n/build 2) mkdir freebsd 3) cp solaris/GNUmakefile freebsd 4) cd ../src 5) mkdir freebsd 6) cd solaris 7) tar cf - . | (cd ../freebsd; tar xf -) 8) cd ../../../iiimp/build 9) mkdir freebsd 10) cp solaris/GNUmakefile freebsd 11) cd ../../.. 12) patch < ext.diffs 13) cd build/freebsd 14) gmake ext-all When gmake is completed, i18n.jar and ext/iiimp.jar will be appears in lib directory. Copying them to /usr/local/jdk1.2.2/jre/lib (for example) is enough to examine this (the way I tried). Making ext-all seems to be a part of normal build process, but I don't check it because my machine doesn't have enough resources to try make world (or something like release-images) several times. ;-< I hope it will be a first step to correct bugs around i18n including japanese fonts problem. -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Tokyo Institute of Technology. ----Next_Part(Thu_Jun_29_11:55:47_2000_559)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Description: Trivial patches. Content-Disposition: attachment; filename="ext.diffs" --- ext/i18n/build/freebsd/GNUmakefile.orig Tue Jun 29 19:14:52 1999 +++ ext/i18n/build/freebsd/GNUmakefile Wed Jun 28 22:57:48 2000 @@ -5,7 +5,7 @@ # EXT_TOPDIR = $(shell cd ../..; pwd) -BUILDDIR = $(shell cd $(EXT_TOPDIR)/../../build/solaris; pwd) +BUILDDIR = $(shell cd $(EXT_TOPDIR)/../../build/freebsd; pwd) include $(BUILDDIR)/Platform.gmk PACKAGE = sun.io PRODUCT = sun --- ext/iiimp/build/freebsd/GNUmakefile.orig Tue Jun 29 19:15:17 1999 +++ ext/iiimp/build/freebsd/GNUmakefile Wed Jun 28 23:01:11 2000 @@ -5,7 +5,7 @@ # EXT_TOPDIR = $(shell cd ../..; pwd) -BUILDDIR = $(shell cd $(EXT_TOPDIR)/../../build/solaris; pwd) +BUILDDIR = $(shell cd $(EXT_TOPDIR)/../../build/freebsd; pwd) include $(BUILDDIR)/Platform.gmk PACKAGE = sun.awt PRODUCT = sun ----Next_Part(Thu_Jun_29_11:55:47_2000_559)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message