r5098 - in trunk/BOOK: introduction/welcome x/installing x/lib x/wm

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue Sep 20 15:01:57 PDT 2005


Author: randy
Date: 2005-09-20 16:01:54 -0600 (Tue, 20 Sep 2005)
New Revision: 5098

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/x/installing/xfree86.xml
   trunk/BOOK/x/lib/cairo.xml
   trunk/BOOK/x/wm/metacity.xml
Log:
Added a command to create an X Render pkg-config file to the XFree86 instructions, also created notes in the Metacity and cairo instructions to ensure this file exists

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-20 20:50:47 UTC (rev 5097)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-20 22:01:54 UTC (rev 5098)
@@ -45,6 +45,11 @@
       <para>September 20th, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Added a command to create an X Render pkg-config file
+          to the XFree86 instructions. Also created notes in the Metacity and
+          cairo instructions to ensure this file exists.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Added new package cairo-1.0.0.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/x/installing/xfree86.xml
===================================================================
--- trunk/BOOK/x/installing/xfree86.xml	2005-09-20 20:50:47 UTC (rev 5097)
+++ trunk/BOOK/x/installing/xfree86.xml	2005-09-20 22:01:54 UTC (rev 5098)
@@ -395,6 +395,25 @@
 ln -v -sf ../X11R6/lib/X11 /usr/lib/X11 &&
 ln -v -sf ../X11R6/include/X11 /usr/include/X11</userinput></screen>
 
+      <para><application>XFree86</application> installs the
+      <application>X Render</application> extension library but does not
+      install the corresponding <application>pkg-config</application> file.
+      Create the file by issuing the following command as the
+      <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>cat > /usr/X11R6/lib/pkgconfig/xrender.pc << "EOF"
+<literal>prefix=/usr/X11R6
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Xrender
+Description: X Render Library
+Version: 0.8.3
+Cflags: -I${includedir} -I/usr/X11R6/include
+Libs: -L${libdir} -lXrender  -L/usr/X11R6/lib -lX11</literal>
+EOF</userinput></screen>
+
     </sect3>
 
   </sect2>

Modified: trunk/BOOK/x/lib/cairo.xml
===================================================================
--- trunk/BOOK/x/lib/cairo.xml	2005-09-20 20:50:47 UTC (rev 5097)
+++ trunk/BOOK/x/lib/cairo.xml	2005-09-20 22:01:54 UTC (rev 5098)
@@ -80,30 +80,15 @@
   <sect2 role="installation">
     <title>Installation of cairo</title>
 
-    <note>
-      <para><application>XFree86</application> installs the
-      <application>X Render</application> extension library during the package
-      installation, but does not install an <filename>xrender.pc</filename>
-      file. Cairo will look for this file during configuration. Satisfy the
-      need for this file by creating one using the following command as the
-      <systemitem class="username">root</systemitem> user (not required if you
-      have <application>Xorg</application> installed):</para>
+    <para><application>cairo</application> will look for an
+    <application>X Render</application> <application>pkg-config</application>
+    file. If you use <application>XFree86</application> as your
+    <application>X</application> Window system, ensure this file exists
+    (<filename>/usr/X11R6/lib/pkgconfig/xrender.pc</filename>). Instructions to
+    create this file have just recently been added to the BLFS book, so you may
+    need to go back to the <application>XFree86</application> section to create
+    it.</para>
 
-<screen role="root"><userinput>cat > /usr/X11R6/lib/pkgconfig/xrender.pc << "EOF"
-<literal>prefix=/usr/X11R6
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-
-Name: Xrender
-Description: X Render Library
-Version: 0.8.3
-Cflags: -I${includedir} -I/usr/X11R6/include
-Libs: -L${libdir} -lXrender  -L/usr/X11R6/lib -lX11</literal>
-EOF</userinput></screen>
-
-    </note>
-
     <para>Install <application>cairo</application> by running the following
     commands:</para>
 

Modified: trunk/BOOK/x/wm/metacity.xml
===================================================================
--- trunk/BOOK/x/wm/metacity.xml	2005-09-20 20:50:47 UTC (rev 5097)
+++ trunk/BOOK/x/wm/metacity.xml	2005-09-20 22:01:54 UTC (rev 5098)
@@ -62,33 +62,10 @@
     <xref linkend="gtk2"/></para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
-    <para><xref linkend="startup-notification"/>,
-    <ulink url="http://freedesktop.org/Software/xlibs">Xrender</ulink>*, and
-    <ulink
-    url="http://freedesktop.org/Software/xlibs">libXcomposite</ulink>**</para>
+    <para><xref linkend="startup-notification"/> and
+    <ulink url="http://freedesktop.org/Software/xlibs">libXcomposite</ulink>*</para>
 
-    <para>* <filename class='libraryfile'>libXrender</filename> is installed
-    during an <application>XFree86</application> installation, but the
-    <application>pkgconfig</application> <filename>.pc</filename> file
-    <application>Metacity</application> looks for is not installed. Satisfy the
-    requirement by installing an <filename>xrender.pc</filename> file into
-    <filename class='directory'>/usr/X11R6/lib/pkgconfig</filename> (not
-    applicable if you have <application>Xorg</application> installed):</para>
-
-<screen role="root"><userinput>cat > /usr/X11R6/lib/pkgconfig/xrender.pc << "EOF"
-<literal>prefix=/usr/X11R6
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-
-Name: Xrender
-Description: X Render Library
-Version: 0.8.3
-Cflags: -I${includedir} -I/usr/X11R6/include
-Libs: -L${libdir} -lXrender  -L/usr/X11R6/lib -lX11</literal>
-EOF</userinput></screen>
-
-    <para>** <application>libXcomposite</application> can optionally be used,
+    <para>* <application>libXcomposite</application> can optionally be used,
     but here's what the <application>Metacity</application> package maintainer
     has to say about it in the configure script if the package is found:
     <quote>Not building compositing manager by default now, must enable
@@ -100,6 +77,15 @@
   <sect2 role="installation">
     <title>Installation of Metacity</title>
 
+    <para><application>Metacity</application> will look for an
+    <application>X Render</application> <application>pkg-config</application>
+    file. If you use <application>XFree86</application> as your
+    <application>X</application> Window system, ensure this file exists
+    (<filename>/usr/X11R6/lib/pkgconfig/xrender.pc</filename>). Instructions to
+    create this file have just recently been added to the BLFS book, so you may
+    need to go back to the <application>XFree86</application> section to create
+    it.</para>
+
     <para>Install <application>Metacity</application> by running the following
     commands:</para>
 




More information about the blfs-book mailing list