Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 20:08:15 +0900 (KST)
From:      junker@jazz.snu.ac.kr
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8707: Port upgrade: korean/kaistfonts
Message-ID:  <199811161108.UAA29040@punky.snu.ac.kr>

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

>Number:         8707
>Category:       ports
>Synopsis:       port upgrade: korean/kaistfonts
>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:   Mon Nov 16 03:10:00 PST 1998
>Last-Modified:
>Originator:     CHOI Junho
>Organization:
NARAE, CS Dept., Seoul National Univ., ROK
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

FreeBSD punky.snu.ac.kr 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Sat Oct 10 11:54:57 KST 1998     pwd@punky.snu.ac.kr:/allegro/2.2-src/sys/compile/PUNKY  i386

>Description:

Fix distfiles problem.
Add fonts are moved to $X11BASE/lib/X11/fonts/local as Mr. Asami's
suggestion, and add a informational message.

>How-To-Repeat:

>Fix:

Apply this patch:

diff -uNr /usr/ports/korean/kaistfonts/Makefile kaistfonts/Makefile
--- /usr/ports/korean/kaistfonts/Makefile	Sat Aug  8 07:43:11 1998
+++ kaistfonts/Makefile	Mon Nov 16 20:02:42 1998
@@ -8,7 +8,7 @@
 
 DISTNAME=	ko-kaistfonts-ksc-1.0
 CATEGORIES=	korean x11-fonts
-MASTER_SITES=	ftp://sensor.kaist.ac.kr/pub/fonts/newones/
+MASTER_SITES=	ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
 DISTFILES=	kaist-newmj18.bdf.gz ks_philgi16.bdf.gz \
 		kaist-newmj16.bdf.gz ks_iyagi16.bdf.gz
 
@@ -26,5 +26,8 @@
 	for file in ${DISTFILES}; do \
 		${GUNZIP_CMD} -c < ${_DISTDIR}/$$file > `echo $$file | ${SED} -e 's/\.Z//' -e 's/\.gz//'`; \
 	done
+
+post-install:
+	${CAT} ${PKGDIR}/MESSAGE
 
 .include <bsd.port.mk>
diff -uNr /usr/ports/korean/kaistfonts/patches/patch-aa kaistfonts/patches/patch-aa
--- /usr/ports/korean/kaistfonts/patches/patch-aa	Tue May  5 23:21:42 1998
+++ kaistfonts/patches/patch-aa	Mon Nov 16 19:49:04 1998
@@ -10,11 +10,11 @@
 +all:	${PCF}
 +
 +install:
-+	mkdir -p ${PREFIX}/lib/X11/fonts/misc
++	-mkdir -p ${PREFIX}/lib/X11/fonts/local
 +	for i in ${PCF}; do \
-+		gzip -c < $$i > ${PREFIX}/lib/X11/fonts/misc/$$i.gz; \
++		gzip -c < $$i > ${PREFIX}/lib/X11/fonts/local/$$i.gz; \
 +	done
-+	cd ${PREFIX}/lib/X11/fonts/misc/ ; mkfontdir
++	cd ${PREFIX}/lib/X11/fonts/local/ ; mkfontdir
 +
 +.bdf.pcf:
 +	bdftopcf $*.bdf > $*.pcf
diff -uNr /usr/ports/korean/kaistfonts/pkg/MESSAGE kaistfonts/pkg/MESSAGE
--- /usr/ports/korean/kaistfonts/pkg/MESSAGE	Thu Jan  1 09:00:00 1970
+++ kaistfonts/pkg/MESSAGE	Mon Nov 16 19:58:21 1998
@@ -0,0 +1,23 @@
+KAIST Font(KSC5601)
+===================
+
+Please note:
+
+ This package installed fonts in /usr/X11R6/lib/X11/fonts/local directory.
+ If you are using XFree86 3.3.2 or older, please upgrade to a new version
+ or add this directory to your /etc/XF86config:
+
+ Section "Files"
+     ...
+     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
+     ...
+
+ Or, run this command at your X desktop:
+
+ # xset +fp /usr/X11R6/lib/X11/fonts/local/ && xset fp rehash
+
+ Don't forget to add the directory to your /etc/XF86config, for
+ add the correct font path after you reboots X.
+
+--
+CHOI Junho <junker@jazz.snu.ac.kr>
diff -uNr /usr/ports/korean/kaistfonts/pkg/PLIST kaistfonts/pkg/PLIST
--- /usr/ports/korean/kaistfonts/pkg/PLIST	Tue May  5 23:21:44 1998
+++ kaistfonts/pkg/PLIST	Mon Nov 16 20:01:24 1998
@@ -1,6 +1,6 @@
-lib/X11/fonts/misc/kaist-newmj16.pcf.gz
-lib/X11/fonts/misc/kaist-newmj18.pcf.gz
-lib/X11/fonts/misc/ks_iyagi16.pcf.gz
-lib/X11/fonts/misc/ks_philgi16.pcf.gz
-@exec cd %D/lib/X11/fonts/misc ; mkfontdir
-@unexec cd %D/lib/X11/fonts/misc ; mkfontdir
+lib/X11/fonts/local/kaist-newmj16.pcf.gz
+lib/X11/fonts/local/kaist-newmj18.pcf.gz
+lib/X11/fonts/local/ks_iyagi16.pcf.gz
+lib/X11/fonts/local/ks_philgi16.pcf.gz
+@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
+@unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
>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?199811161108.UAA29040>