From 344998b405092306491ed68067f74e76bcad6316 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Thu, 2 Aug 2012 19:15:20 -0600 Subject: [PATCH 1/2] linux.cf: do not bother using X_LOCALE at all. We do not need it on linux. --- cde/config/cf/linux.cf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index cf6be9735..c48196a8c 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -110,11 +110,7 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) #define StandardCppDefines -traditional StandardDefines #define ExtensionOSDefines -DXTESTEXT1 -#if (LinuxDistribution == LinuxSuSE) #define LinuxLocaleDefines /**/ -#else -#define LinuxLocaleDefines -DX_LOCALE -#endif #if LinuxCLibMajorVersion < 6 # define LinuxSourceDefines -D_POSIX_SOURCE \ From 6e4c5a5cde3e13bc4b7d828afe507c0aae77ca26 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Thu, 2 Aug 2012 19:16:04 -0600 Subject: [PATCH 2/2] lnxLib.tmpl: remove bogus '#define NoMessageCatalog' It is amazing what mayhem can be caused by a bad define :) The reason most of the CDE programs were not actually using their localized catalogs was because their use was being disabled by this line. Certain programs like dtwm and dthelp/libDtHelp did their own localization handling and did not use the results of this define. This is why they worked properly, and most everything else did not :) --- cde/config/cf/lnxLib.tmpl | 1 - 1 file changed, 1 deletion(-) diff --git a/cde/config/cf/lnxLib.tmpl b/cde/config/cf/lnxLib.tmpl index 20dbf52cb..e44d87d80 100644 --- a/cde/config/cf/lnxLib.tmpl +++ b/cde/config/cf/lnxLib.tmpl @@ -42,4 +42,3 @@ XMULIB = -lXmu $(XLIB) # define SharedCsaReqs -lXt #endif -#define NoMessageCatalog