mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +00:00 
			
		
		
		
	utf8 conversion: fix up seperation of locale and doc building
Docs (help and the dtinfo guides) are now always built using the ISO8859-1 locale. To support UTF-8, our docbook needs to be updated to something from this century, ideally this decade. In addition, a conversion to XML would also be required as a result. So, until that happens, use ISO8859-1 for docs. However, other locale information, like message catalogs, resource files, and the like are now converted to UTF-8. All supported languages are now built by default on linux again.
This commit is contained in:
		
							parent
							
								
									6a5dc63f3b
								
							
						
					
					
						commit
						c876a76f4f
					
				
					 14 changed files with 99 additions and 58 deletions
				
			
		| 
						 | 
				
			
			@ -127,8 +127,10 @@ 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 DtLocalesToBuild: de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8 en_US.UTF-8
 | 
			
		||||
# if !defined(DtLocalesToBuild)
 | 
			
		||||
#  define DtLocalesToBuild en_US.UTF-8
 | 
			
		||||
#  define DtLocalesToBuild en_US.UTF-8 de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8
 | 
			
		||||
# endif
 | 
			
		||||
XCOMM This is a hack for the en_US.UTF-8 stuff, which should be redone
 | 
			
		||||
XCOMM as a proper locale, rather than aliasing C
 | 
			
		||||
# define UTF8_NLS_SUPPORT
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -155,9 +157,11 @@ XCOMM DtLocalesToBuild: de_DE.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 it_IT.UTF-8 en_US.UT
 | 
			
		|||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
XCOMM define DtDocLocalesToBuild to be the same as DtLocalesToBuild if undefined
 | 
			
		||||
XCOMM The documentation can only be built with ISO8859-1 encoding.
 | 
			
		||||
XCOMM An upgrade to docbook and conversion to XML is required to properly
 | 
			
		||||
XCOMM support utf8 with dtinfo and dthelp files.
 | 
			
		||||
#ifndef DtDocLocalesToBuild
 | 
			
		||||
# define DtDocLocalesToBuild DtLocalesToBuild
 | 
			
		||||
# define DtDocLocalesToBuild de_DE.ISO8859-1 es_ES.ISO8859-1 fr_FR.ISO8859-1 it_IT.ISO8859-1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif /* AfterVendorCF */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,5 +5,6 @@ XCOMM $XConsortium: Imakefile /main/8 1996/12/17 19:31:32 rws $
 | 
			
		|||
#define HasinfoUGuide
 | 
			
		||||
#define HassysAdminGuide
 | 
			
		||||
 | 
			
		||||
#define BuildingDocs YES
 | 
			
		||||
#include "../../../programs/localized/templates/German.tmpl"
 | 
			
		||||
#include "../../common/guides/Imakefile.tmpl"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,5 +19,6 @@ XCOMM $XConsortium: Imakefile /main/6 1996/12/17 17:16:01 rws $
 | 
			
		|||
#define HasTerminal
 | 
			
		||||
#define HasTextedit
 | 
			
		||||
 | 
			
		||||
#define BuildingDocs YES
 | 
			
		||||
#include "../../../programs/localized/templates/German.tmpl"
 | 
			
		||||
#include "../../common/help/Imakefile.tmpl"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,5 +5,6 @@ XCOMM $XConsortium: Imakefile /main/8 1996/12/20 11:35:35 rws $
 | 
			
		|||
#define HasinfoUGuide
 | 
			
		||||
#define HassysAdminGuide
 | 
			
		||||
 | 
			
		||||
#define BuildingDocs YES
 | 
			
		||||
#include "../../../programs/localized/templates/Spanish.tmpl"
 | 
			
		||||
#include "../../common/guides/Imakefile.tmpl"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,5 +19,6 @@ XCOMM $XConsortium: Imakefile /main/6 1996/12/20 11:34:27 rws $
 | 
			
		|||
#define HasTerminal
 | 
			
		||||
#define HasTextedit
 | 
			
		||||
 | 
			
		||||
#define BuildingDocs YES
 | 
			
		||||
#include "../../../programs/localized/templates/Spanish.tmpl"
 | 
			
		||||
#include "../../common/help/Imakefile.tmpl"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,5 +5,6 @@ XCOMM $XConsortium: Imakefile /main/8 1996/12/17 15:13:06 rws $
 | 
			
		|||
#define HasinfoUGuide
 | 
			
		||||
#define HassysAdminGuide
 | 
			
		||||
 | 
			
		||||
#define BuildingDocs YES
 | 
			
		||||
#include "../../../programs/localized/templates/French.tmpl"
 | 
			
		||||
#include "../../common/guides/Imakefile.tmpl"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,5 +19,6 @@ XCOMM $XConsortium: Imakefile /main/6 1996/12/17 19:30:25 rws $
 | 
			
		|||
#define HasTerminal
 | 
			
		||||
#define HasTextedit
 | 
			
		||||
 | 
			
		||||
#define BuildingDocs YES
 | 
			
		||||
#include "../../../programs/localized/templates/French.tmpl"
 | 
			
		||||
#include "../../common/help/Imakefile.tmpl"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,5 +5,6 @@ XCOMM $XConsortium: Imakefile /main/8 1996/12/17 15:13:39 rws $
 | 
			
		|||
#define HasinfoUGuide
 | 
			
		||||
#define HassysAdminGuide
 | 
			
		||||
 | 
			
		||||
#define BuildingDocs YES
 | 
			
		||||
#include "../../../programs/localized/templates/Italian.tmpl"
 | 
			
		||||
#include "../../common/guides/Imakefile.tmpl"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,5 +19,6 @@ XCOMM $XConsortium: Imakefile /main/6 1996/12/17 20:17:04 rws $
 | 
			
		|||
#define HasTerminal
 | 
			
		||||
#define HasTextedit
 | 
			
		||||
 | 
			
		||||
#define BuildingDocs YES
 | 
			
		||||
#include "../../../programs/localized/templates/Italian.tmpl"
 | 
			
		||||
#include "../../common/help/Imakefile.tmpl"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,25 +4,30 @@ XCOMM $XConsortium: French.tmpl /main/1 1995/12/08 09:41:35 rswiston $
 | 
			
		|||
 * variable for the French locale.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
SOURCE_LANG=fr_FR.UTF-8
 | 
			
		||||
#if BuildingDocs
 | 
			
		||||
 | 
			
		||||
#ifdef AlphaArchitecture
 | 
			
		||||
LANG=fr_FR.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef RsArchitecture
 | 
			
		||||
SHELL=/bin/ksh
 | 
			
		||||
LANG=fr_FR
 | 
			
		||||
#endif
 | 
			
		||||
XCOMM stick to ISO8859-1
 | 
			
		||||
SOURCE_LANG=fr_FR.ISO8859-1
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=fr
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HPArchitecture
 | 
			
		||||
LANG=fr_FR.utf8
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=fr_FR.ISO8859-1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
XCOMM use UTF-8 for localization
 | 
			
		||||
SOURCE_LANG=fr_FR.UTF-8
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=fr
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=fr_FR.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,25 +4,30 @@ XCOMM $XConsortium: German.tmpl /main/1 1995/12/08 09:41:46 rswiston $
 | 
			
		|||
 * variable for the German locale.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
SOURCE_LANG=de_DE.UTF-8
 | 
			
		||||
#if BuildingDocs
 | 
			
		||||
 | 
			
		||||
#ifdef AlphaArchitecture
 | 
			
		||||
LANG=de_DE.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef RsArchitecture
 | 
			
		||||
SHELL=/bin/ksh
 | 
			
		||||
LANG=de_DE
 | 
			
		||||
#endif
 | 
			
		||||
XCOMM stick to ISO8859-1
 | 
			
		||||
SOURCE_LANG=de_DE.ISO8859-1
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=de
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HPArchitecture
 | 
			
		||||
LANG=de_DE.utf8
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=de_DE.ISO8859-1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
XCOMM use UTF-8 for localization
 | 
			
		||||
SOURCE_LANG=de_DE.UTF-8
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=de
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=de_DE.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,25 +4,31 @@ XCOMM $XConsortium: Italian.tmpl /main/1 1995/12/08 09:41:55 rswiston $
 | 
			
		|||
 * variable for the Italian locale.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
SOURCE_LANG=it_IT.UTF-8
 | 
			
		||||
#if BuildingDocs
 | 
			
		||||
 | 
			
		||||
#ifdef AlphaArchitecture
 | 
			
		||||
LANG=it_IT.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef RsArchitecture
 | 
			
		||||
SHELL=/bin/ksh
 | 
			
		||||
LANG=it_IT
 | 
			
		||||
#endif
 | 
			
		||||
XCOMM stick to ISO8859-1
 | 
			
		||||
SOURCE_LANG=it_IT.ISO8859-1
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=it
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HPArchitecture
 | 
			
		||||
LANG=it_IT.utf8
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=it_IT.ISO8859-1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
XCOMM use UTF-8 for localization
 | 
			
		||||
SOURCE_LANG=it_IT.UTF-8
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=it
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=it_IT.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,25 +4,29 @@ XCOMM $XConsortium: Spanish.tmpl /main/1 1995/12/08 09:42:25 rswiston $
 | 
			
		|||
 * variable for the Spanish locale.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
SOURCE_LANG=es_ES.UTF-8
 | 
			
		||||
#if BuildingDocs
 | 
			
		||||
 | 
			
		||||
#ifdef AlphaArchitecture
 | 
			
		||||
LANG=es_ES.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef RsArchitecture
 | 
			
		||||
SHELL=/bin/ksh
 | 
			
		||||
LANG=es_ES
 | 
			
		||||
#endif
 | 
			
		||||
XCOMM stick to ISO8859-1
 | 
			
		||||
SOURCE_LANG=es_ES.ISO8859-1
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=es
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HPArchitecture
 | 
			
		||||
LANG=es_ES.utf8
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=es_ES.ISO8859-1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
SOURCE_LANG=es_ES.UTF-8
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=es
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=es_ES.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,21 +4,30 @@ XCOMM $XConsortium: Swedish.tmpl /main/1 1995/12/08 09:42:34 rswiston $
 | 
			
		|||
 * variable for the Swedish locale.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#if BuildingDocs
 | 
			
		||||
 | 
			
		||||
XCOMM stick to ISO8859-1
 | 
			
		||||
SOURCE_LANG=sv_SE.ISO8859-1
 | 
			
		||||
 | 
			
		||||
#ifdef AlphaArchitecture
 | 
			
		||||
LANG=sv_SE.ISO8859-1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef RsArchitecture
 | 
			
		||||
SHELL=/bin/ksh
 | 
			
		||||
LANG=sv_SE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=sv
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HPArchitecture
 | 
			
		||||
LANG=sv_SE.iso88591
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=sv_SE.ISO8859-1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
XCOMM use UTF-8 for localization
 | 
			
		||||
SOURCE_LANG=sv_SE.UTF-8
 | 
			
		||||
 | 
			
		||||
#ifdef SunArchitecture
 | 
			
		||||
LANG=sv
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
 | 
			
		||||
LANG=sv_SE.UTF-8
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue