r7419 - in trunk/BOOK: . introduction/welcome multimedia/libdriv x/installing x/lib

dj at linuxfromscratch.org dj at linuxfromscratch.org
Tue May 6 22:07:59 PDT 2008


Author: dj
Date: 2008-05-06 23:07:59 -0600 (Tue, 06 May 2008)
New Revision: 7419

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/nas.xml
   trunk/BOOK/x/installing/xorg7.xml
   trunk/BOOK/x/lib/lesstif.xml
   trunk/BOOK/x/lib/libxklavier.xml
Log:
Completed /etc/X11 and /opt/X11 cleanups.

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2008-05-07 02:45:37 UTC (rev 7418)
+++ trunk/BOOK/general.ent	2008-05-07 05:07:59 UTC (rev 7419)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "06">                   <!-- Always 2 digits -->
+<!ENTITY day          "07">                   <!-- Always 2 digits -->
 <!ENTITY month        "05">                   <!-- Always 2 digits -->
 <!ENTITY year         "2008">
 <!ENTITY version      "svn-&year;&month;&day;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2008-05-07 02:45:37 UTC (rev 7418)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2008-05-07 05:07:59 UTC (rev 7419)
@@ -40,18 +40,30 @@
     </listitem>
 
 -->
+
     <listitem>
+      <para>May 7th, 2008</para>
+      <itemizedlist>
+        <listitem>
+          <para>[dj] - Completed cleanup for /etc/X11 and /usr/X11R6
+          removal.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>May 6th, 2008</para>
       <itemizedlist>
         <listitem>
           <para>[dj] - Removed (commented) more XFree86 related text.</para>
         </listitem>
         <listitem>
-          <para>[dj] - Chaned jdk symlink to use precompiled version and
+          <para>[dj] - Changed jdk symlink to use precompiled version and
           other text cleanups in jdk page.</para>
         </listitem>
         <listitem>
-          <para>[thomas] - Updated to QT-3.3.8b (bugfix release with applied UTF patch).</para>
+          <para>[thomas] - Updated to QT-3.3.8b (bugfix release with applied
+          UTF patch).</para>
         </listitem>
       </itemizedlist>
     </listitem>
@@ -125,7 +137,8 @@
           <para>[bdubbs] - Updated to mpg123-1.4.2.</para>
         </listitem>
         <listitem>
-          <para>[bdubbs] - Ensure /etc/X11/app-defaults exists in rxvt-unicode.</para>
+          <para>[bdubbs] - Ensure /etc/X11/app-defaults exists in
+          rxvt-unicode.</para>
         </listitem>
         <listitem>
           <para>[bdubbs] - Updated to xine-lib-1.1.12.</para>
@@ -253,8 +266,8 @@
           when updating the runtime files.</para>
         </listitem>
         <listitem>
-          <para>[ag] - Added a sed to the ed instructions to replace with symbolic
-          links the hard links to red and its man page.</para>
+          <para>[ag] - Added a sed to the ed instructions to replace with
+          symbolic links the hard links to red and its man page.</para>
         </listitem>
       </itemizedlist>
     </listitem>
@@ -272,7 +285,8 @@
       <para>April 3rd, 2008</para>
       <itemizedlist>
         <listitem>
-          <para>[cwurst] - Changed download location of gimp-help. Fixes #2503.</para>
+          <para>[cwurst] - Changed download location of gimp-help. Fixes
+          #2503.</para>
         </listitem>
       </itemizedlist>
     </listitem>
@@ -355,7 +369,8 @@
       <para>March 26th, 2008</para>
       <itemizedlist>
         <listitem>
-          <para>[bdubbs] - Expanded the discussion on autofs configuration.</para>
+          <para>[bdubbs] - Expanded the discussion on autofs
+          configuration.</para>
         </listitem>
         <listitem>
           <para>[cwurst] - Added build instructions for UnRar.
@@ -498,7 +513,8 @@
           optional dependency.</para>
         </listitem>
         <listitem>
-          <para>[alexander] - Fixed URL for Audacious third-party plugins.</para>
+          <para>[alexander] - Fixed URL for Audacious third-party
+          plugins.</para>
         </listitem>
         <listitem>
           <para>[alexander] - Noted that mpeg4ip is a dead project.</para>
@@ -711,7 +727,8 @@
           suggestions.</para>
         </listitem>
         <listitem>
-          <para>[bdubbs] - Fixed problem with netfs bootscript boot procedure.</para>
+          <para>[bdubbs] - Fixed problem with netfs bootscript boot
+          procedure.</para>
         </listitem>
         <listitem>
           <para>[randy] - Updated to Balsa-2.3.22.</para>

Modified: trunk/BOOK/multimedia/libdriv/nas.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/nas.xml	2008-05-07 02:45:37 UTC (rev 7418)
+++ trunk/BOOK/multimedia/libdriv/nas.xml	2008-05-07 05:07:59 UTC (rev 7419)
@@ -82,6 +82,9 @@
   <sect2 role="installation">
     <title>Installation of NAS</title>
 
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../xincludes/X11R6_symlink.xml"/>
+
     <para>Install <application>NAS</application> by running the
     following commands:</para>
 
@@ -157,6 +160,7 @@
 
 <screen role="root"><userinput>make install-nas</userinput></screen>
 
+<!-- XFREE86
       <para>The init script uses a default prefix of
       <filename class="directory">/usr/X11R6</filename>.  If you've installed
       the <application>X Window System</application> into any other prefix,
@@ -166,6 +170,8 @@
 
 <screen role="root"><userinput>sed -i 's@/usr/X11R6@<replaceable><PREFIX></replaceable>@' /etc/rc.d/init.d/nas</userinput></screen>
 
+XFREE86 -->
+
       <para>The init script uses a default parameter to allow access to all
       hosts on the network. Review the <command>nasd</command> man page for
       other available parameters if you need to modify the script.</para>

Modified: trunk/BOOK/x/installing/xorg7.xml
===================================================================
--- trunk/BOOK/x/installing/xorg7.xml	2008-05-07 02:45:37 UTC (rev 7418)
+++ trunk/BOOK/x/installing/xorg7.xml	2008-05-07 05:07:59 UTC (rev 7419)
@@ -147,17 +147,23 @@
 <screen><userinput>export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
     --mandir=$XORG_PREFIX/share/man --localstatedir=/var"</userinput></screen>
 
+    <note>
+      <para>Make sure that you also add these variables to your personal or
+      system-wide profile as they are used throughout this book. See
+      <xref linkend="postlfs-config-profile"/> for more information.</para>
+    </note>
+
     <para>If you've decided to use an alternate prefix, be sure to add
     <filename class="directory">
-    <replaceable><PREFIX></replaceable>/bin</filename> to your
+    $XORG_PREFIX/bin</filename> to your
     <envar>PATH</envar> environment variable and  <filename class="directory">
-    <replaceable><PREFIX></replaceable>/lib/pkgconfig</filename>
+    $XORG_PREFIX/lib/pkgconfig</filename>
     to your <envar>PKG_CONFIG_PATH</envar> variable.  For detailed instructions,
     see <xref linkend="postlfs-config-profile"/>.  You should also add
     <filename class="directory">
-    <replaceable><PREFIX></replaceable>/lib</filename> to the
+    $XORG_PREFIX/lib</filename> to the
     <filename>/etc/ld.so.conf</filename> file and <filename class="directory">
-    <replaceable><PREFIX></replaceable>/share/man</filename> as
+    $XORG_PREFIX/share/man</filename> as
     a MANDATORY_MANPATH in <filename>/etc/man_db.conf</filename>.</para>
 
     <para>Packages in Xorg store their configuration files in

Modified: trunk/BOOK/x/lib/lesstif.xml
===================================================================
--- trunk/BOOK/x/lib/lesstif.xml	2008-05-07 02:45:37 UTC (rev 7418)
+++ trunk/BOOK/x/lib/lesstif.xml	2008-05-07 05:07:59 UTC (rev 7419)
@@ -89,9 +89,11 @@
 
 patch -Np1 -i ../lesstif-&lesstif-version;-testsuite_fix-1.patch &&
 ./configure --prefix=/usr \
+            --sysconfdir=/etc/X11 \
             --disable-debug \
             --enable-production \
             --with-xdnd &&
+sed -i "s at libdir)/X11/mwm at sysconfdir)/mwm@" clients/Motif-2.1/mwm/Makefile &&
 make rootdir=/usr/share/doc/lesstif-&lesstif-version;</userinput></screen>
 
     <para>This package requires that it is installed before the test suite is
@@ -103,12 +105,13 @@
 <screen role="root"><userinput>make rootdir=/usr/share/doc/lesstif-&lesstif-version; install &&
 ldconfig</userinput></screen>
 
-    <para>You will need to change the <application>X</application> prefix in
-    the commands below if your X Window System is installed anywhere other than
-    <filename class='directory'>/usr/X11R6</filename>.</para>
+    <para>Applicatons that utilize Xorg libraries often, and incorrectly,
+    expect to find configuration files in 
+    <filename class="directory">$XORG_PREFIX/lib/X11</filename>.  While still
+    the <systemitem class="username">root</systemitem> user, create a
+    compatibility symlink with the following command:</para>
 
-<screen role="root"><userinput>mv -v <replaceable></usr/X11R6></replaceable>/lib/X11/mwm /etc/X11 &&
-ln -v -s /etc/X11/mwm <replaceable></usr/X11R6></replaceable>/lib/X11</userinput></screen>
+<screen role="root"><userinput>ln -v -sf /etc/X11/mwm $XORG_PREFIX/lib/X11</userinput></screen>
 
   </sect2>
 
@@ -134,12 +137,9 @@
     non-FHS compliant <filename class="directory">/usr/LessTif</filename>
     directory.</para>
 
-    <para><command>mv -v <replaceable></usr/X11R6></replaceable>/lib/X11/mwm
-    /etc/X11</command>:
-    The FHS requires that configuration files exist only in the
-    <filename class="directory">/etc/X11</filename> directory.  The
-    configuration directory (<filename class="directory">mwm</filename>)
-    is moved, and a symlink is created at the original location.</para>
+    <para><command>sed -i "s at libdir)/X11/mwm at sysconfdir)/mwm@" 
+    clients/Motif-2.1/mwm/Makefile</command>: This corrects the installation
+    prefix for the mwm directory for FHS compliance.</para>
 
   </sect2>
 

Modified: trunk/BOOK/x/lib/libxklavier.xml
===================================================================
--- trunk/BOOK/x/lib/libxklavier.xml	2008-05-07 02:45:37 UTC (rev 7418)
+++ trunk/BOOK/x/lib/libxklavier.xml	2008-05-07 05:07:59 UTC (rev 7419)
@@ -89,10 +89,8 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><option>--with-xkb-base=<replaceable><$X_PREFIX></replaceable>/share/X11/xkb</option>:
-    Use this parameter (substitute properly for the
-    <replaceable><$X_PREFIX></replaceable>) if the
-    <replaceable><$X_PREFIX></replaceable> is anything other than
+    <para><option>--with-xkb-base=$XORG_PREFIX/share/X11/xkb</option>:
+    Use this parameter if the $XORG_PREFIX is anything other than
     <filename class='directory'>/usr</filename>.</para>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"




More information about the blfs-book mailing list