Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 10:10:31 +0900 (JST)
From:      MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19857: japanese/tgif for multi app-defaults compatibility
Message-ID:  <200007110110.KAA03748@micro.a.la.maison>

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

>Number:         19857
>Category:       ports
>Synopsis:       put sample app-defaults file into ja_JP.EUC specific place
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 11 17:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     MITA Yoshio
>Release:        FreeBSD 4.0-20000610-JPSNAP i386
>Organization:
VLSI Design and Education center, the University of TOKYO
>Environment:
>Description:
Currently, japanese/tgif installs app-defaults file for japanese character
configuration in ${PREFIX}/lib/X11/app-defaults.
Thanks to recent change of tgif-nls, on which japanese/tgif depends
can load app-defaults from LANG specific place such as 
${PREFIX}/lib/X11/ja_JP.EUC/app-defaults.

This PR is to change install place for japanese app-defaults to 
ja_JP.EUC/app-defaults rather than app-defaults directly.  By this,
arbitrary numbers of app-defaults can be installed and be switched
just with setenv LANG XXXX. Nice.
>How-To-Repeat:
>Fix:

diff -ruN japanese/tgif.current/Makefile japanese/tgif/Makefile
--- japanese/tgif.current/Makefile	Sat Jul  8 07:18:04 2000
+++ japanese/tgif/Makefile	Tue Jul 11 09:57:37 2000
@@ -20,6 +20,7 @@
 USE_X_PREFIX=	yes
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/Tgif ${PREFIX}/lib/X11/app-defaults/
+	${MKDIR} ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults
+	${INSTALL_DATA} ${WRKSRC}/Tgif ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults/
 
 .include <bsd.port.mk>
diff -ruN japanese/tgif.current/pkg/PLIST japanese/tgif/pkg/PLIST
--- japanese/tgif.current/pkg/PLIST	Mon Sep 27 19:14:19 1999
+++ japanese/tgif/pkg/PLIST	Tue Jul 11 09:57:50 2000
@@ -1 +1,2 @@
-lib/X11/app-defaults/Tgif
+lib/X11/ja_JP.EUC/app-defaults/Tgif
+@dirrm lib/X11/ja_JP.EUC/app-defaults

>Release-Note:
>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?200007110110.KAA03748>