Update webkit build instructions for icu-68.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23851 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2020-10-30 04:23:10 +00:00
parent 4b8a71aaae
commit d3757fbdd4

View File

@ -128,6 +128,12 @@
<bridgehead renderas="sect3">Installation of <bridgehead renderas="sect3">Installation of
<application>WebKitGTK+</application></bridgehead> <application>WebKitGTK+</application></bridgehead>
<para>First, temporarily change an ICU header to allow backward
compatibility. As the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>sed -e '/^#ifdef U_DEFINE/i #define U_DEFINE_FALSE_AND_TRUE 1' \
-i /usr/include/unicode/umachine.h</userinput></screen>
<para> <para>
Install <application>WebKitGTK+</application> by running the Install <application>WebKitGTK+</application> by running the
following commands: following commands:
@ -193,6 +199,13 @@ install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \ install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
/usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen> /usr/share/gtk-doc/html/webkitdomgtk-4.0</userinput></screen>
<para>
Now revert the change we made above. Again as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>sed -i '/^#define U_DEFINE/d' /usr/include/unicode/umachine.h</userinput></screen>
</sect2> </sect2>
<sect2 role="commands"> <sect2 role="commands">