Fix avahi to build with current gtk+-3.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12147 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2013-11-06 21:19:45 +00:00
parent 965ffe1dc5
commit 3aedf67dbb
2 changed files with 15 additions and 1 deletions

View File

@ -46,6 +46,9 @@
<listitem>
<para>November 6th, 2013</para>
<itemizedlist>
<listitem>
<para>[ken] - fix avahi for deprecation in current gtk+-3.</para>
</listitem>
<listitem>
<para>[fernando] - Update to gnutls-3.2.6. Fixes
<ulink url="&blfs-ticket-root;4264">#4264</ulink>.</para>

View File

@ -123,7 +123,11 @@ useradd -c "Avahi Daemon Owner" -d /var/run/avahi-daemon -u 84 \
<para>Install <application>Avahi</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr \
<!-- final part of sed removes " -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 \" -->
<screen><userinput>sed -i 's/\(CFLAGS=.*\)-Werror \(.*\)/\1\2/' configure &amp;&amp;
sed -i -e 's/-DG_DISABLE_DEPRECATED=1//' \
-e '/-DGDK_DISABLE_DEPRECATED/d' avahi-ui/Makefile.in &amp;&amp;
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
@ -149,6 +153,13 @@ make</userinput></screen>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -i ...</command>: These seds allow the package to build after
the deprecation of symbols in <literal>gtkstock.h</literal> by current
<application>gtk+-3</application> by removing <literal>-Werror</literal>
and by removing the defines for G{,DK,TK}_DISABLE_DEPRECATED.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>