Date: Thu, 14 Jul 2005 17:00:25 -0400 From: Jung-uk Kim <jkim@niksun.com> To: freebsd-current@FreeBSD.org Cc: phantom@FreeBSD.org Subject: NLS status? Message-ID: <200507141700.27657.jkim@niksun.com>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507141700.27657.jkim>