[blfs-book] r9042 - trunk/BOOK/general/genlib

andy at linuxfromscratch.org andy at linuxfromscratch.org
Wed Nov 30 11:32:45 PST 2011


Author: andy
Date: 2011-11-30 12:32:34 -0700 (Wed, 30 Nov 2011)
New Revision: 9042

Modified:
   trunk/BOOK/general/genlib/libglade.xml
Log:
Added a sed to the libglade page to allow it to build with glib-2.30
Thanks to Ken for reminding me

Modified: trunk/BOOK/general/genlib/libglade.xml
===================================================================
--- trunk/BOOK/general/genlib/libglade.xml	2011-11-30 14:19:33 UTC (rev 9041)
+++ trunk/BOOK/general/genlib/libglade.xml	2011-11-30 19:32:34 UTC (rev 9042)
@@ -78,7 +78,8 @@
     <para>Install <application>libglade</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr &&
+<screen><userinput>sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in &&
+./configure --prefix=/usr &&
 make</userinput></screen>
 
     <para>To test the results, issue: <command>make check</command>.
@@ -96,6 +97,11 @@
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../../xincludes/gtk-doc-rebuild.xml"/>
 
+    <para><command>sed -i '/DG_DISABLE_DEPRECATED/d'</command>: Some of the
+    <application>glib</application> functions that
+    <application>libglade</application> uses were declared deprecated in
+    glib-2.30. This sed removes the G_DISABLE_DEPRECATED CFLAG.</para>
+
     <para><option>--disable-static</option>: prevent static libraries
     being built and installed.</para>
 




More information about the blfs-book mailing list