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:
parent
46473a9ccb
commit
1ff0741538
8 changed files with 39 additions and 3 deletions
|
@ -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 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
|
||||
#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
|
||||
#define HasCodeCenter YES
|
||||
#define HasTestCenter YES
|
||||
|
|
|
@ -215,6 +215,16 @@
|
|||
#
|
||||
# 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
|
||||
{ linux
|
||||
install_target = /usr/dt/config/xfonts/C/fonts.alias
|
||||
|
|
|
@ -388,6 +388,20 @@ programs/localized/%_LANG_%/msg/fmt_tbl.cat
|
|||
{ default
|
||||
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
|
||||
|
|
|
@ -192,10 +192,15 @@ DBS = \
|
|||
clean::
|
||||
$(RM) *.db
|
||||
|
||||
|
||||
#if defined UTF8_NLS_SUPPORT
|
||||
# define UTF8_NLS_SUPPORT_OPT -DUTF8_NLS_SUPPORT
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 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-HELP-LOC-C.tmp,CDE-HELP-LOC.src,$(LOC_CPP_LIST),)
|
||||
CppSourceFile(CDE-MSG-LOC-C.tmp,CDE-MSG-LOC.src,$(LOC_CPP_LIST),)
|
||||
|
|
1
cde/doc/en_US.UTF-8/Imakefile
Normal file
1
cde/doc/en_US.UTF-8/Imakefile
Normal file
|
@ -0,0 +1 @@
|
|||
XCOMM $XConsortium: Imakefile /main/10 1996/07/23 22:00:00 rws $
|
|
@ -2,7 +2,7 @@ XCOMM $XConsortium: Imakefile /main/1 1996/09/13 16:34:13 drk $
|
|||
#define IHaveSubdirs
|
||||
#define PassCDebugFlags /**/
|
||||
|
||||
SUBDIRS = C
|
||||
SUBDIRS = C en_US.UTF-8
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
DependSubdirs($(SUBDIRS))
|
||||
|
|
1
cde/programs/fontaliases/linux/en_US.UTF-8/Imakefile
Normal file
1
cde/programs/fontaliases/linux/en_US.UTF-8/Imakefile
Normal file
|
@ -0,0 +1 @@
|
|||
XCOMM $XConsortium: Imakefile /main/3 1996/09/13 17:50:44 drk $
|
0
cde/programs/localized/en_US.UTF-8/Imakefile
Normal file
0
cde/programs/localized/en_US.UTF-8/Imakefile
Normal file
Loading…
Reference in a new issue