[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pkgsrc/www/navigator and Japanese locale
> 清く正しく(?) linuxi18nから全部installするようにしてみました。
きれいにしてemulators/linux-localeに突っ込みなおしました。
# rpm2pkgだとちゃんと入らなかったので、rpm2cpioを使用。
# PLISTも小細工してます。
suse_linux と linux-locale と navigator を入れて
env LANG=ja navigator >& /dev/null すれば、
ボタンなどに日本語が表示されると思います。
Netscape*useStdoutDialog: False
Netscape*useStderrDialog: False
Netscape*inputMethod: kinput2
Netscape*international: True
Kinput2*OverTheSpotConversion.UseOverrideShellForMode: True
を .Xresource に書いておくと幸せでしょう。
textfieldに最初から日本語が書いてあると表示されないのは
static linkされてるMotifのbugなのでしたっけ?
dynamic link版でまともなMotifを使うしかないのかな... lesstif?
sakamoto
--
diff -uNr navigator/Makefile.common /usr/pkgsrc/www/navigator/Makefile.common
--- navigator/Makefile.common Sat Jan 15 22:30:36 2000
+++ /usr/pkgsrc/www/navigator/Makefile.common Fri Apr 28 10:33:13 2000
@@ -7,6 +7,7 @@
# Note - the version will be overridden for certain architectures which
# do not have the latest version available (eg: SunOS sparc)
NS_VERS= 4.7
+LDAP_VERS= 30
#
# Based on OPSYS and MACHINE_ARCH, define:
# DISTUNAME Used to determine DISTNAME (tarfile on ftp server)
@@ -30,11 +31,13 @@
VENDOR_NAME= Tru64 UNIX
#
.elif (${MACHINE_ARCH} == "i386")
-DEPENDS= suse_linux>=6.1:../../emulators/suse_linux
-DISTUNAME= x86-unknown-linuxglibc2.0
-DIST_DIR_NAME= supported/linux20_glibc2
-WRKNAME= x86-unknown-linux2.0
-VENDOR_NAME= Linux 2.0 (glibc)
+NS_VERS= 4.72
+LDAP_VERS= 40
+DEPENDS= suse_linux>=6.3:../../emulators/suse_linux
+DISTUNAME= x86-unknown-linux2.2
+DIST_DIR_NAME= unsupported/linux22
+WRKNAME= x86-unknown-linux2.2
+VENDOR_NAME= Linux 2.2
#
.elif (${MACHINE_ARCH} == "sparc")
.if !exists(/emul/sunos/usr/lib/ld.so)
@@ -76,7 +79,7 @@
PLIST_SRC= ${PKGDIR}/PLIST.pre \
${PKGDIR}/PLIST.${LOWER_OPSYS}-${MACHINE_ARCH} \
${PKGDIR}/PLIST.post
-PLIST_SUBST+= NS_VERS=${NS_VERS}
+PLIST_SUBST+= NS_VERS=${NS_VERS} LDAP_VERS=${LDAP_VERS}
.if (${NS_ENCRYPTION} == "us")
MASTER_SITES=
@@ -101,7 +104,7 @@
${MKDIR} ${MOZILLA_HOME}/java/classes
${INSTALL_SCRIPT} ${WRKSRC}/vreg ${MOZILLA_HOME}
.for file in ifc11.jar iiop10.jar jae40.jar java40.jar jio40.jar jsd10.jar \
- ldap30.jar resource.jar scd10.jar
+ ldap${LDAP_VERS}.jar resource.jar scd10.jar
${INSTALL_DATA} ${WRKSRC}/${file} ${MOZILLA_HOME}/java/classes
.endfor
cd ${MOZILLA_HOME} ; ${GTAR} xpzf ${WRKSRC}/nethelp-v${NS_VERS_SHORT}.nif
diff -uNr navigator/files/md5 /usr/pkgsrc/www/navigator/files/md5
--- navigator/files/md5 Mon Jan 10 23:49:04 2000
+++ /usr/pkgsrc/www/navigator/files/md5 Fri Apr 28 10:31:04 2000
@@ -5,3 +5,4 @@
MD5 (netscape/navigator-v47-export.x86-unknown-linuxglibc2.0.tar.gz) = 50a51a4ce99ebfdba52c9bd91ca492b7
MD5 (netscape/navigator-v47-export.alpha-dec-osf4.0.tar.gz) = 91244e06363f0fc8a277c2ebe6ed7b67
MD5 (netscape/navigator-v47-us.x86-unknown-linuxglibc2.0.tar.gz) = 53dbe5f9e3f91940ec40e9409abb2f8b
+MD5 (netscape/navigator-v472-export.x86-unknown-linux2.2.tar.gz) = e1bab205e701c0bda90df2d7c37f0431
diff -uNr navigator/pkg/PLIST.pre /usr/pkgsrc/www/navigator/pkg/PLIST.pre
--- navigator/pkg/PLIST.pre Sun Jun 27 20:41:29 1999
+++ /usr/pkgsrc/www/navigator/pkg/PLIST.pre Fri Apr 28 10:31:35 2000
@@ -64,7 +64,7 @@
lib/netscape/navigator-${NS_VERS}/java/classes/java40.jar
lib/netscape/navigator-${NS_VERS}/java/classes/jio40.jar
lib/netscape/navigator-${NS_VERS}/java/classes/jsd10.jar
-lib/netscape/navigator-${NS_VERS}/java/classes/ldap30.jar
+lib/netscape/navigator-${NS_VERS}/java/classes/ldap${LDAP_VERS}.jar
lib/netscape/navigator-${NS_VERS}/java/classes/resource.jar
lib/netscape/navigator-${NS_VERS}/java/classes/scd10.jar
lib/netscape/navigator-${NS_VERS}/nethelp/Back_dep.gif