1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Addition of the en_US.UTF-8 locale: installation support

This commit is contained in:
Eugene Doudine 2014-02-25 12:52:00 +02:00 committed by Jon Trulson
parent 46473a9ccb
commit 1ff0741538
8 changed files with 39 additions and 3 deletions

View file

@ -107,10 +107,15 @@ XCOMM build the DtXinerama support
XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales. XCOMM Make sure you have installed the de_DE, es_ES, fr_FR and it_IT locales.
XCOMM or building non-C locales will cause build failures. XCOMM or building non-C locales will cause build failures.
#if defined(LinuxArchitecture) || defined(BSDArchitecture) #if defined(BSDArchitecture)
# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 # define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
#endif #endif
#if defined(LinuxArchitecture)
# define DtLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1 en_US.UTF-8
# define UTF8_NLS_SUPPORT
#endif
#ifdef SunArchitecture #ifdef SunArchitecture
#define HasCodeCenter YES #define HasCodeCenter YES
#define HasTestCenter YES #define HasTestCenter YES

View file

@ -215,6 +215,16 @@
# #
# for Linux # for Linux
# #
#ifdef UTF8_NLS_SUPPORT
programs/fontaliases/linux/en_US.UTF-8/fonts.alias
{ linux
install_target = /usr/dt/config/xfonts/en_US.UTF-8/fonts.alias
}
programs/fontaliases/linux/en_US.UTF-8/fonts.dir
{ linux
install_target = /usr/dt/config/xfonts/en_US.UTF-8/fonts.dir
}
#endif
programs/fontaliases/linux/C/fonts.alias programs/fontaliases/linux/C/fonts.alias
{ linux { linux
install_target = /usr/dt/config/xfonts/C/fonts.alias install_target = /usr/dt/config/xfonts/C/fonts.alias

View file

@ -388,6 +388,20 @@ programs/localized/%_LANG_%/msg/fmt_tbl.cat
{ default { default
install_target = /usr/dt/lib/nls/msg/%_LANG_%/fmt_tbl.cat install_target = /usr/dt/lib/nls/msg/%_LANG_%/fmt_tbl.cat
} }
XCOMM ##########################################################################
XCOMM en_US.UTF-8 locale: only directory is needed, rest of data comes from C
XCOMM ##########################################################################
#if defined(_ENGLISH_)
#if defined(UTF8_NLS_SUPPORT)
-
{ default
type = directory
install_target = /usr/dt/lib/nls/msg/en_US.UTF-8
mode = 0555
status = ------
}
#endif
#endif
XCOMM ########################################################################## XCOMM ##########################################################################
XCOMM XCOMM

View file

@ -192,10 +192,15 @@ DBS = \
clean:: clean::
$(RM) *.db $(RM) *.db
#if defined UTF8_NLS_SUPPORT
# define UTF8_NLS_SUPPORT_OPT -DUTF8_NLS_SUPPORT
#endif
/* /*
* Default locale (C) * Default locale (C)
*/ */
LOC_CPP_LIST = $(UDB_CPP_UNDEF_LIST) -D_ENGLISH_ LOC_CPP_LIST = $(UDB_CPP_UNDEF_LIST) -D_ENGLISH_ UTF8_NLS_SUPPORT_OPT
CppSourceFile(CDE-LOC-C.tmp,CDE-LOC.src,$(LOC_CPP_LIST),) CppSourceFile(CDE-LOC-C.tmp,CDE-LOC.src,$(LOC_CPP_LIST),)
CppSourceFile(CDE-HELP-LOC-C.tmp,CDE-HELP-LOC.src,$(LOC_CPP_LIST),) CppSourceFile(CDE-HELP-LOC-C.tmp,CDE-HELP-LOC.src,$(LOC_CPP_LIST),)
CppSourceFile(CDE-MSG-LOC-C.tmp,CDE-MSG-LOC.src,$(LOC_CPP_LIST),) CppSourceFile(CDE-MSG-LOC-C.tmp,CDE-MSG-LOC.src,$(LOC_CPP_LIST),)

View file

@ -0,0 +1 @@
XCOMM $XConsortium: Imakefile /main/10 1996/07/23 22:00:00 rws $

View file

@ -2,7 +2,7 @@ XCOMM $XConsortium: Imakefile /main/1 1996/09/13 16:34:13 drk $
#define IHaveSubdirs #define IHaveSubdirs
#define PassCDebugFlags /**/ #define PassCDebugFlags /**/
SUBDIRS = C SUBDIRS = C en_US.UTF-8
MakeSubdirs($(SUBDIRS)) MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS))

View file

@ -0,0 +1 @@
XCOMM $XConsortium: Imakefile /main/3 1996/09/13 17:50:44 drk $