Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 1998 11:42:58 +0900 (KST)
From:      junker@jazz.snu.ac.kr
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9213: Upgrade port: korean/netscape4-{communicator,navigator}
Message-ID:  <199812280242.LAA00631@punky.snu.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         9213
>Category:       ports
>Synopsis:       new port request: korean/netscape4-{communicator,navigator}
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 27 18:50:00 PST 1998
>Last-Modified:
>Originator:     CHOI Junho
>Organization:
NARAE, CS Dept., Seoul National Univ., ROK
>Release:        FreeBSD 2.2.8-STABLE i386
>Environment:

FreeBSD punky.snu.ac.kr 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Mon Dec 14 12:08:34 KST 1998     pwd@punky.snu.ac.kr:/allegro/2.2-src/sys/compile/PUNKY  i386

>Description:

Localized(Korean) Netscape for X11.

>How-To-Repeat:

>Fix:

Here is patch for upgrade:

diff -uNr /usr/ports/korean/netscape4-communicator/Makefile netscape4-communicator/Makefile
--- /usr/ports/korean/netscape4-communicator/Makefile	Tue Dec 15 04:01:25 1998
+++ netscape4-communicator/Makefile	Mon Dec 28 11:14:01 1998
@@ -1,5 +1,5 @@
 # New ports collection makefile for: Netscape browser with Korean resources
-# Version required:	4.07
+# Version required:	4.08
 # Date created:		25 Oct 1998
 # Whom:			CHOI Junho <junker@jazz.snu.ac.kr>
 #
@@ -10,7 +10,7 @@
 DISTNAME=	ko-netscape-${BROWSER}
 CATEGORIES=	korean www
 MASTER_SITES=	ftp://jazz.snu.ac.kr/pub/unix/netscape-ko/
-DISTFILES=	netscape-v407.generic-generic-generic-981014.tar.gz
+DISTFILES=	${KOREAN_KIT}.tar.gz
 
 MAINTAINER?=	junker@jazz.snu.ac.kr
 
@@ -21,12 +21,13 @@
 
 NO_BUILD=	yes
 STRIP=
-WRKSRC=		${WRKDIR}/netscape-v407.generic-generic-generic
+WRKSRC=		${WRKDIR}/${KOREAN_KIT}
 
 BROWSER=	${BROWSER_NAME}-${BROWSER_VER}
 BROWSER_NAME?=	communicator
-BROWSER_VER=	4.07
+BROWSER_VER=	4.08
 LANG=		ko_KR.EUC
+KOREAN_KIT=	netscape-v408.generic-generic-generic-19981227
 NDIR=		${PREFIX}/lib/netscape
 MAKESCRIPT=	${SED} -e "s;@X11BASE@;${X11BASE};g" \
 			-e "s;@PREFIX@;${PREFIX};g" \
diff -uNr /usr/ports/korean/netscape4-communicator/files/md5 netscape4-communicator/files/md5
--- /usr/ports/korean/netscape4-communicator/files/md5	Tue Dec 15 04:01:26 1998
+++ netscape4-communicator/files/md5	Mon Dec 28 11:10:07 1998
@@ -1 +1 @@
-MD5 (netscape-v407.generic-generic-generic-981014.tar.gz) = a4575e5ce0aafd79b3c46ea4d3011e33
+MD5 (netscape-v408.generic-generic-generic-19981227.tar.gz) = b688a640c4d321028de085256f973261
diff -uNr /usr/ports/korean/netscape4-communicator/files/start.sh.in netscape4-communicator/files/start.sh.in
--- /usr/ports/korean/netscape4-communicator/files/start.sh.in	Mon Dec 14 07:00:41 1998
+++ netscape4-communicator/files/start.sh.in	Mon Dec 28 11:39:15 1998
@@ -1,10 +1,23 @@
 #!/bin/sh
+#
+# Koreanized Netscape startup file
+# basically based on Japanized Netscape
+#   ports/japanese/netscape4-communicator
+# CHOI Junho <cjh@kr.freebsd.org>, 98/12/28
+#
+
+if [ ! -d $HOME/.netscape ]; then
+        mkdir -m 700 $HOME/.netscape
+        cp @RDIR@/preferences.js $HOME/.netscape
+        chmod 644 $HOME/.netscape/preferences.js
+fi
+
 CHMOD='/bin/chmod'
 CP='/bin/cp -p'
 MKDIR='/bin/mkdir -p'
 export LANG; LANG=ko_KR.EUC
-export LC_ALL; LC_ALL=$LANG
-export LC_CTYPE; LC_CTYPE=$LANG
+export LC_ALL; LC_ALL=${LANG}
+export LC_CTYPE; LC_CTYPE=${LANG}
 export MOZILLA_HOME; MOZILLA_HOME=@NDIR@
 export MOZILLA_NO_ASYNC; MOZILLA_NO_ASYNC=True
 export CLASSPATH; CLASSPATH=.:$MOZILLA_HOME
@@ -12,8 +25,16 @@
 export XKEYSYMDB; XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB
 export XAPPLRESDIR; XAPPLRESDIR=@RDIR@
 export XNLSPATH; XNLSPATH=${MOZILLA_HOME}/nls
-export PATH_LOCALE; PATH_LOCALE=@RDIR@/locale
+#export PATH_LOCALE; PATH_LOCALE=@RDIR@/locale
 export NPX_PLUGIN_PATH; NPX_PLUGIN_PATH=${MOZILLA_HOME}/plugins
 export TIMID_DIR; TIMID_DIR=/usr/local/lib/timidity
 export XCMSDB; XCMSDB=/dev/null
+if [ x$KO_NETSCAPE_USE_LD_PRELOAD != x -a x$KO_NETSCAPE_USE_LD_PRELOAD != xno ];
+then
+	export LD_PRELOAD=libxpg4.so.2.0
+	#export LD_PRELOAD=libxpg4.so.2.0:/usr/local/lib/libansi.so.1.2
+else
+	export PATH_LOCALE=@RDIR@/locale
+fi
+
 exec ${MOZILLA_HOME}/@BROWSER@.bin $*
diff -uNr /usr/ports/korean/netscape4-communicator/pkg/PLIST netscape4-communicator/pkg/PLIST
--- /usr/ports/korean/netscape4-communicator/pkg/PLIST	Tue Dec 15 04:01:26 1998
+++ netscape4-communicator/pkg/PLIST	Mon Dec 28 11:24:22 1998
@@ -1,4 +1,4 @@
-bin/ko-communicator-4.07
+bin/ko-communicator-4.08
 @exec /bin/ln -sf %f %B/netscape
 lib/netscape/ko_KR.EUC/Netscape
 lib/netscape/ko_KR.EUC/about
diff -uNr /usr/ports/korean/netscape4-navigator/Makefile netscape4-navigator/Makefile
--- /usr/ports/korean/netscape4-navigator/Makefile	Tue Dec 15 04:01:26 1998
+++ netscape4-navigator/Makefile	Mon Dec 28 11:27:28 1998
@@ -1,5 +1,5 @@
 # New ports collection makefile for: Netscape browser with Korean resources
-# Version required:	4.07
+# Version required:	4.08
 # Date created:		25 Oct 1998
 # Whom:			CHOI Junho <junker@jazz.snu.ac.kr>
 #
diff -uNr /usr/ports/korean/netscape4-navigator/pkg/PLIST netscape4-navigator/pkg/PLIST
--- /usr/ports/korean/netscape4-navigator/pkg/PLIST	Tue Dec 15 04:01:27 1998
+++ netscape4-navigator/pkg/PLIST	Mon Dec 28 11:28:00 1998
@@ -1,4 +1,4 @@
-bin/ko-navigator-4.07
+bin/ko-navigator-4.08
 @exec /bin/ln -sf %f %B/netscape
 lib/netscape/ko_KR.EUC/Netscape
 lib/netscape/ko_KR.EUC/about
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812280242.LAA00631>