Author: pierre
Date: Sat Nov 14 13:36:59 2015
New Revision: 16653
Log:
Misplaced role="root" in Xorg introduction, and other changes:
- $XORG_PREFIX is not <replaceable>, /usr/X11R6 is.
- Use the already set $XORG_PREFIX in /etc/profile.d/xorg.sh.
Modified:
trunk/BOOK/x/installing/xorg7.xml
Modified: trunk/BOOK/x/installing/xorg7.xml
==============================================================================
--- trunk/BOOK/x/installing/xorg7.xml Sat Nov 14 08:50:27 2015 (r16652)
+++ trunk/BOOK/x/installing/xorg7.xml Sat Nov 14 13:36:59 2015 (r16653)
@@ -123,9 +123,9 @@
file containing these variables as the
<systemitem class="username">root</systemitem> user:</para>
-<screen><userinput role="root">cat > /etc/profile.d/xorg.sh << "EOF"
-XORG_PREFIX="<replaceable><PREFIX></replaceable>"
-XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var
--disable-static"
+<screen role="root"><userinput>cat > /etc/profile.d/xorg.sh << EOF
+XORG_PREFIX="$XORG_PREFIX"
+XORG_CONFIG="--prefix=\$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var
--disable-static"
export XORG_PREFIX XORG_CONFIG
EOF
chmod 644 /etc/profile.d/xorg.sh</userinput></screen>
@@ -145,7 +145,7 @@
for the <command>aclocal</command> program. Issue the following commands
as the <systemitem class="username">root</systemitem> user:</para>
-<screen><userinput role="root">cat >> /etc/profile.d/xorg.sh <<
"EOF"
+<screen role="root"><userinput>cat >> /etc/profile.d/xorg.sh <<
"EOF"
pathappend $XORG_PREFIX/bin PATH
pathappend $XORG_PREFIX/lib/pkgconfig PKG_CONFIG_PATH
@@ -166,7 +166,7 @@
<systemitem class="username">root</systemitem> user, issue the following
command:</para>
-<screen><userinput role="root">echo "$XORG_PREFIX/lib" >>
/etc/ld.so.conf</userinput></screen>
+<screen role="root"><userinput>echo "$XORG_PREFIX/lib" >>
/etc/ld.so.conf</userinput></screen>
<para>You should also modify
<filename>/etc/man_db.conf</filename>, adding appropriate
@@ -175,19 +175,19 @@
following command as the <systemitem class="username">root</systemitem>
user:</para>
-<screen><userinput role="root">sed
"s@/usr/X11R6@<replaceable>$XORG_PREFIX</replaceable>@g" -i
/etc/man_db.conf</userinput></screen>
+<screen role="root"><userinput>sed
"s@<replaceable>/usr/X11R6</replaceable>@$XORG_PREFIX@g" -i
/etc/man_db.conf</userinput></screen>
<para>Some applications look for shared files in <filename
class="directory">/usr/share/X11</filename>. Create a symbolic link to the
proper location as the <systemitem class="username">root</systemitem>
user:</para>
-<screen><userinput role="root">ln -sf $XORG_PREFIX/share/X11
/usr/share/X11</userinput></screen>
+<screen role="root"><userinput>ln -sf $XORG_PREFIX/share/X11
/usr/share/X11</userinput></screen>
<para>If building KDE, some cmake files look for Xorg in places other than
$XORG_PREFIX. Allow cmake to find Xorg with:</para>
-<screen><userinput role="root">ln -sf $XORG_PREFIX
/usr/X11R6</userinput></screen>
+<screen role="root"><userinput>ln -sf $XORG_PREFIX
/usr/X11R6</userinput></screen>
<para>Finally, if building on x86_64, you will need to create the
<filename class="directory">$XORG_PREFIX/lib</filename> directory and the
@@ -195,7 +195,7 @@
<systemitem class="username">root</systemitem> user, issue the following
commands:</para>
-<screen><userinput role="root">install -v -m755 -d $XORG_PREFIX &&
+<screen role="root"><userinput>install -v -m755 -d $XORG_PREFIX &&
install -v -m755 -d $XORG_PREFIX/lib &&
ln -sf lib $XORG_PREFIX/lib64</userinput></screen>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page