From owner-freebsd-current@FreeBSD.ORG Thu Jul 14 21:00:44 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C88A016A41C; Thu, 14 Jul 2005 21:00:44 +0000 (GMT) (envelope-from jkim@niksun.com) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B0AF43D45; Thu, 14 Jul 2005 21:00:44 +0000 (GMT) (envelope-from jkim@niksun.com) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j6EL3Y1M077790; Thu, 14 Jul 2005 17:03:34 -0400 (EDT) (envelope-from jkim@niksun.com) From: Jung-uk Kim Organization: NIKSUN, Inc. To: freebsd-current@FreeBSD.org Date: Thu, 14 Jul 2005 17:00:25 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_rJt1CA5E1P5FQvy" Message-Id: <200507141700.27657.jkim@niksun.com> X-Virus-Scanned: ClamAV 0.85.1/978/Thu Jul 14 07:37:27 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: phantom@FreeBSD.org Subject: NLS status? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 21:00:44 -0000 --Boundary-00=_rJt1CA5E1P5FQvy Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline I have been using NLS support for months (enabled with the attached patch). However the following commit message said that there were 'edge cases': http://docs.freebsd.org/cgi/mid.cgi?200502272217.j1RMHlJA047283 Is this still true? Can it be re-enabled on HEAD? Thanks, Jung-uk Kim --Boundary-00=_rJt1CA5E1P5FQvy Content-Type: text/x-diff; charset="us-ascii"; name="nls.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="nls.diff" Index: src/Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.499 diff -u -r1.499 Makefile.inc1 --- src/Makefile.inc1 7 Jul 2005 00:58:41 -0000 1.499 +++ src/Makefile.inc1 14 Jul 2005 20:37:25 -0000 @@ -370,7 +370,7 @@ @echo "--------------------------------------------------------------" ${_+_}cd ${.CURDIR}; \ ${WMAKE} -DNO_FSCHG -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN \ - -DNO_NLS -DNO_PROFILE libraries + -DNO_PROFILE libraries _depend: @echo @echo "--------------------------------------------------------------" Index: src/lib/libc/Makefile =================================================================== RCS file: /home/ncvs/src/lib/libc/Makefile,v retrieving revision 1.56 diff -u -r1.56 Makefile --- src/lib/libc/Makefile 15 Jan 2005 05:23:56 -0000 1.56 +++ src/lib/libc/Makefile 14 Jul 2005 20:37:25 -0000 @@ -37,7 +37,10 @@ .endif .include "${.CURDIR}/locale/Makefile.inc" .include "${.CURDIR}/net/Makefile.inc" +.if !defined(NO_NLS) +CFLAGS+= -DNLS .include "${.CURDIR}/nls/Makefile.inc" +.endif .include "${.CURDIR}/posix1e/Makefile.inc" .if !defined(NO_QUAD) .include "${.CURDIR}/quad/Makefile.inc" Index: src/lib/libc/nls/Makefile.inc =================================================================== RCS file: /home/ncvs/src/lib/libc/nls/Makefile.inc,v retrieving revision 1.10 diff -u -r1.10 Makefile.inc --- src/lib/libc/nls/Makefile.inc 27 Feb 2005 22:17:47 -0000 1.10 +++ src/lib/libc/nls/Makefile.inc 14 Jul 2005 20:37:25 -0000 @@ -6,3 +6,17 @@ SRCS+= msgcat.c MAN+= catclose.3 catgets.3 catopen.3 + +# NOTE: C.msg should not be processed here, it's using as template +# for translators. + +NLSNAME= libc +NLSLANG+= ko_KR.UTF-8 +NLSLANG+= ko_KR.eucKR +NLSLANG+= pl_PL.ISO8859-2 +NLSLANG+= ru_RU.KOI8-R + +NLSSRCDIR= ${.CURDIR}/nls +.for lang in ${NLSLANG} +NLSSRCFILES_${lang}=${lang}.msg +.endfor --Boundary-00=_rJt1CA5E1P5FQvy--