r5097 - trunk/BOOK/x/lib

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue Sep 20 13:50:48 PDT 2005


Author: randy
Date: 2005-09-20 14:50:47 -0600 (Tue, 20 Sep 2005)
New Revision: 5097

Modified:
   trunk/BOOK/x/lib/cairo.xml
Log:
Added the creation of an xrender.pc file for XFree users in the cairo instructions

Modified: trunk/BOOK/x/lib/cairo.xml
===================================================================
--- trunk/BOOK/x/lib/cairo.xml	2005-09-20 19:33:01 UTC (rev 5096)
+++ trunk/BOOK/x/lib/cairo.xml	2005-09-20 20:50:47 UTC (rev 5097)
@@ -80,6 +80,30 @@
   <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>
+
+<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>
 




More information about the blfs-book mailing list