Author: bdubbs Date: Fri Oct 30 11:44:17 2020 New Revision: 23854 Log: A better fix for webkit
Modified: trunk/BOOK/x/lib/webkitgtk.xml Modified: trunk/BOOK/x/lib/webkitgtk.xml ============================================================================== --- trunk/BOOK/x/lib/webkitgtk.xml Fri Oct 30 05:51:14 2020 (r23853) +++ trunk/BOOK/x/lib/webkitgtk.xml Fri Oct 30 11:44:17 2020 (r23854) @@ -128,11 +128,9 @@ <bridgehead renderas="sect3">Installation of <application>WebKitGTK+</application></bridgehead> - <para>First, temporarily change an ICU header to allow backward - compatibility. As the <systemitem class="username">root</systemitem> user:</para> + <para>First, ensure backward compatibility with the latest version of icu:</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> +<screen><userinput>echo 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")' >> Source/WTF/wtf/CMakeLists.txt</userinput></screen> <para> Install <application>WebKitGTK+</application> by running the @@ -198,14 +196,6 @@ /usr/share/gtk-doc/html/webkit2gtk-4.0 && install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \ /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 role="commands"> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page