[Lunar-commits] r16974 - moonbase/trunk/libs/glibc

Auke Kok sofar at lunar-linux.org
Mon Oct 17 19:52:06 UTC 2005


Author: sofar
Date: 2005-10-17 19:52:05 +0000 (Mon, 17 Oct 2005)
New Revision: 16974

Modified:
   moonbase/trunk/libs/glibc/BUILD
Log:
Importing this patch which was partially submitted by cmak over 3 months ago - it seems our locale list is missing crucial locale's which breaks many apps - on espresso the en_US locale was missing because it is now no longer ISO-8859-1 but instead all utf-8. Either the list of locale's needs to be updated or you can pick the "build all" option and just use whichever locale's the current version of glibc installs, which is the safest bet.


Modified: moonbase/trunk/libs/glibc/BUILD
===================================================================
--- moonbase/trunk/libs/glibc/BUILD	2005-10-17 12:28:59 UTC (rev 16973)
+++ moonbase/trunk/libs/glibc/BUILD	2005-10-17 19:52:05 UTC (rev 16974)
@@ -150,15 +150,7 @@
   # Generate locale info
   unset   LD_PRELOAD                          &&
   if  [  -z  "$GLIBC_LOCALES"  ];  then
-    cat  $SCRIPT_DIRECTORY/locales  |
-    while  read  LOCALE  DESCRIPTION;  do
-      INPUTFILE=`echo  $LOCALE  |  cut  -d /  -f1`
-        CHARMAP=`echo  $LOCALE  |  cut  -d /  -f2`
-      mkdir  -p  /usr/lib/locale/$INPUTFILE
-      echo "localedef  -i  $INPUTFILE  -f  $CHARMAP  $INPUTFILE"
-            localedef  -i  $INPUTFILE  -f  $CHARMAP  $INPUTFILE
-    done
-    true
+    make localedata/install-locales || exit 1
   else
     for  LOCALE  in  $GLIBC_LOCALES;  do
       INPUTFILE=`echo  $LOCALE  |  cut  -d /  -f1`



More information about the Lunar-commits mailing list