Author: robert
Date: 2007-08-10 02:33:47 -0600 (Fri, 10 Aug 2007)
New Revision: 1190

Added:
   trunk/BOOK/chapter05/gettext-libintl.xml
Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/adjusting.xml
   trunk/BOOK/chapter05/chapter05.xml
   trunk/BOOK/chapter05/cocoon-toolchain.xml
   trunk/BOOK/chapter06/butterfly-toolchain.xml
   trunk/BOOK/general.ent
   trunk/BOOK/prologue/bookinfo.xml
Log:
modified the motd comment (Shakespeare) to   use full verses

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2007-07-21 15:04:58 UTC (rev 1189)
+++ trunk/BOOK/chapter01/changelog.xml  2007-08-10 08:33:47 UTC (rev 1190)
@@ -49,6 +49,15 @@
 -->
 
     <listitem>
+      <para>July 26th, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[robert] - Use libintl from Gettext for uClibc.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>July 8th, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter05/adjusting.xml
===================================================================
--- trunk/BOOK/chapter05/adjusting.xml  2007-07-21 15:04:58 UTC (rev 1189)
+++ trunk/BOOK/chapter05/adjusting.xml  2007-08-10 08:33:47 UTC (rev 1190)
@@ -58,10 +58,11 @@
   <para>From this point onwards, everything will link only against the
   libraries in <filename class="directory">/tools/lib</filename>.</para>
 
-  <para>The next task is to point GCC to the new dynamic linker. This is done 
by
-  dumping GCC's <quote>specs</quote> file to a location where GCC will look 
for it
-  by default. A simple <command>sed</command> substitution then alters the
-  dynamic linker that GCC will use:</para>
+  <para>The next task is to point GCC to the new dynamic
+  linker. This is done by dumping GCC's <quote>specs</quote> file to a
+  location where GCC will look for it by default. A simple
+  <command>sed</command> substitution then alters the dynamic linker that
+  GCC will use:</para>
 
 <screen condition="uclibc"><userinput>gcc -dumpspecs | sed -e 
's@/lib/@/tools/lib/@g' \
     -e '[EMAIL PROTECTED]@[EMAIL PROTECTED]' \

Modified: trunk/BOOK/chapter05/chapter05.xml
===================================================================
--- trunk/BOOK/chapter05/chapter05.xml  2007-07-21 15:04:58 UTC (rev 1189)
+++ trunk/BOOK/chapter05/chapter05.xml  2007-08-10 08:33:47 UTC (rev 1190)
@@ -17,6 +17,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="glibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="uclibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="adjusting.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; 
href="gettext-libintl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="tcl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="expect.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="dejagnu.xml"/>

Modified: trunk/BOOK/chapter05/cocoon-toolchain.xml
===================================================================
--- trunk/BOOK/chapter05/cocoon-toolchain.xml   2007-07-21 15:04:58 UTC (rev 
1189)
+++ trunk/BOOK/chapter05/cocoon-toolchain.xml   2007-08-10 08:33:47 UTC (rev 
1190)
@@ -174,6 +174,13 @@
 patch -Np1 -i ../&gcc-uClibc_conf-patch;
 patch -Np1 -i ../&gcc-uClibc_locale-patch;</userinput></screen>
 
+    <para condition="uclibc">Add automatic linking for
+    <filename class="libraryfile">libintl</filename>:</para>
+
+<screen condition="uclibc"><userinput>cp -v gcc/config/{linux.h,linux.h.orig}
+sed 's/%{shared:-lc}/%{!nointl: -lintl} &amp;/' gcc/config/linux.h.orig > \
+    gcc/config/linux.h</userinput></screen>
+
     <para>This version of GCC has a small bug/typo with RPATH_ENVVAR value for
     bfd and opcode. Use the following commands to fix this bug, so that
     <quote>--enable-shared</quote> will work:</para>

Added: trunk/BOOK/chapter05/gettext-libintl.xml
===================================================================
--- trunk/BOOK/chapter05/gettext-libintl.xml                            (rev 0)
+++ trunk/BOOK/chapter05/gettext-libintl.xml    2007-08-10 08:33:47 UTC (rev 
1190)
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-tools-gettext-libintl" role="wrap" condition="uclibc">
+  <?dbhtml filename="gettext-libintl.html"?>
+
+  <title>Gettext-&gettext-version; Libintl</title>
+
+  <indexterm zone="ch-tools-gettext-libintl">
+    <primary sortas="a-Gettext-libintl">Gettext Libintl</primary>
+    <secondary>tools</secondary>
+  </indexterm>
+
+  <sect2 role="installation">
+    <title>Installation of Gettext Libintl</title>
+
+    <para>The <filename class="libraryfile">libintl</filename> library it used
+    for internationalization support in other packages.</para>
+
+    <para>Prepare Libintl for compilation:</para>
+
+<screen><userinput>cd gettext-runtime/
+    ./configure --prefix=/tools \
+    --with-included-gettext --without-csharp \
+    --disable-libasprintf</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the configure option:</title>
+
+      <varlistentry>
+        <term><parameter>--with-included-gettext</parameter></term>
+        <listitem>
+          <para>This option tells the build to use the included version
+          of gettext functions.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><parameter>--without-csharp</parameter></term>
+        <listitem>
+          <para>Do not use C# support.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><parameter>--disable-libasprintf</parameter></term>
+        <listitem>
+          <para>Do not build libasprintf.</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+    <para>Compile the package:</para>
+
+<screen><userinput>make -C intl/</userinput></screen>
+
+    <para>Install Libintl:</para>
+
+<screen><userinput>make -C intl/ install</userinput></screen>
+
+    <para>Adjust the GCC specs to link to
+    <filename class="libraryfile">libintl</filename>:</para>
+
+<screen><userinput>cp -v `dirname $(gcc -print-libgcc-file-name)`/specs{,.orig}
+sed '[EMAIL PROTECTED]:[EMAIL PROTECTED]: -lintl} &amp;@' \
+    `dirname $(gcc -print-libgcc-file-name)`/specs.orig > \
+    `dirname $(gcc -print-libgcc-file-name)`/specs</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in FIXME</para>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/chapter06/butterfly-toolchain.xml
===================================================================
--- trunk/BOOK/chapter06/butterfly-toolchain.xml        2007-07-21 15:04:58 UTC 
(rev 1189)
+++ trunk/BOOK/chapter06/butterfly-toolchain.xml        2007-08-10 08:33:47 UTC 
(rev 1190)
@@ -126,7 +126,7 @@
     <para condition="uclibc">Use this command to hardcode
     <parameter>LIBS="-lintl"</parameter>:</para>
 
-<screen condition="uclibc"><userinput>sed -e 's/%{shared:-lc}/%{!nointl: 
-lintl} &amp;/' \
+<screen condition="uclibc"><userinput>sed 's/%{shared:-lc}/%{!nointl: -lintl} 
&amp;/' \
     -i gcc/config/linux.h</userinput></screen>
 
     <para>Fix the RPATH_ENVVAR for bfd and opcode:</para>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2007-07-21 15:04:58 UTC (rev 1189)
+++ trunk/BOOK/general.ent      2007-08-10 08:33:47 UTC (rev 1190)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20070708">
-<!ENTITY releasedate "July 8th, 2007">
+<!ENTITY version "SVN-20070726">
+<!ENTITY releasedate "July 26th, 2007">
 <!ENTITY milestone "1.1">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/";>

Modified: trunk/BOOK/prologue/bookinfo.xml
===================================================================
--- trunk/BOOK/prologue/bookinfo.xml    2007-07-21 15:04:58 UTC (rev 1189)
+++ trunk/BOOK/prologue/bookinfo.xml    2007-08-10 08:33:47 UTC (rev 1190)
@@ -29,7 +29,12 @@
     <para>
 <literallayout>      &ndash; Who willed you? or whose will stands but mine?
           There's none protector of the realm but I.
-                      (Gloucester - 1593)</literallayout>
+          Break up the gates, I'll be your warrantize.
+          Shall I be flouted thus by dunghill grooms?
+                      (Gloucester - 1593)
+          What noise is this? what traitors have we here?
+                      (Woodviles's responce)
+                      </literallayout>
     </para>
 
     <para>This is HLFS-unstable featuring:

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to