Procházet zdrojové kódy

Added minimum locales necessary for tests

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2755 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley před 22 roky
rodič
revize
c825bdcb3e
3 změnil soubory, kde provedl 36 přidání a 2 odebrání
  1. 2 0
      chapter01/changelog.xml
  2. 17 1
      chapter05/glibc-inst.xml
  3. 17 1
      chapter06/glibc-inst.xml

+ 2 - 0
chapter01/changelog.xml

@@ -82,6 +82,8 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>September 9th, 2003 [jeremy]: Glibc - Added commands to both chapter 5 and 6 to include minimum locales necessary for checks.</para></listitem>
+
 <listitem><para>September 9th, 2003 [jeremy]: Chapter 6 - Removed zlib's
 munging of CFLAGS in favor of a note to add -fPIC.</para></listitem>
 

+ 17 - 1
chapter05/glibc-inst.xml

@@ -99,7 +99,23 @@ so we have to do that ourselves now:</para>
 those locales which you need or want. This can be achieved by using the
 <userinput>localedef</userinput> command. Information on this can be
 found in the <filename>INSTALL</filename> file in the
-<filename>glibc-&glibc-version;</filename> tree.</para>
+<filename>glibc-&glibc-version;</filename> tree. However, there are a
+number of locales that are essential for the tests of future packages
+to pass correctly.  The following instructions, in place of the
+install-locales command above, will install the minimum set of locales
+necessary for the tests to run successfully:</para>
+
+<para><screen><userinput>mkdir -p /stage1/lib/locale
+localedef -i de_DE -f ISO-8859-1 de_DE
+localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
+localedef -i en_HK -f ISO-8859-1 en_HK
+localedef -i en_PH -f ISO-8859-1 en_PH
+localedef -i en_US -f ISO-8859-1 en_US
+localedef -i es_MX -f ISO-8859-1 es_MX
+localedef -i fr_FR -f ISO-8859-1 fr_FR
+localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
+localedef -i it_IT -f ISO-8859-1 it_IT
+localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen></para>
 
 </sect2>
 

+ 17 - 1
chapter06/glibc-inst.xml

@@ -75,7 +75,23 @@ weren't installed by the above command. Do it with this:</para>
 locales which you need or want. This can be achieved using the
 <userinput>localedef</userinput> command. Information on this can be found in
 the <filename>INSTALL</filename> file in the
-<filename>glibc-&glibc-version;</filename> tree.</para>
+<filename>glibc-&glibc-version;</filename> tree. However,  there are a number
+of locales that are essential for the tests of future packages to pass
+correctly. The following instructions, in place of the install-locales
+command above, will install the minimum set of locales necessary for the
+tests to run successfully:</para>
+
+<para><screen><userinput>mkdir -p /stage1/lib/locale
+localedef -i de_DE -f ISO-8859-1 de_DE
+localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
+localedef -i en_HK -f ISO-8859-1 en_HK
+localedef -i en_PH -f ISO-8859-1 en_PH
+localedef -i en_US -f ISO-8859-1 en_US
+localedef -i es_MX -f ISO-8859-1 es_MX
+localedef -i fr_FR -f ISO-8859-1 fr_FR
+localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
+localedef -i it_IT -f ISO-8859-1 it_IT
+localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen></para>
 
 <para>Finally, build the linuxthreads man pages:</para>