Author: pierre Date: Tue Aug 20 13:28:46 2019 New Revision: 22016 Log: Fix thunderbird and seamonkey for glibc-2.30, libreoffice fo JAVA 12, and xscreensaver for elogind
Modified: trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/xsoft/graphweb/seamonkey.xml trunk/BOOK/xsoft/office/libreoffice.xml trunk/BOOK/xsoft/other/thunderbird.xml trunk/BOOK/xsoft/other/xscreensaver.xml Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Tue Aug 20 12:21:40 2019 (r22015) +++ trunk/BOOK/introduction/welcome/changelog.xml Tue Aug 20 13:28:46 2019 (r22016) @@ -46,8 +46,18 @@ <para>August 20th, 2019</para> <itemizedlist> <listitem> + <para>[pierre] - Fix xscreensaver so that it can use elogind.</para> + </listitem> + <listitem> + <para>[pierre] - Fix libreoffice so it builds with JAVA 12.</para> + </listitem> + <listitem> + <para>[pierre] - Fix thunderbird and seamonkey so they build + with glibc-2.30.</para> + </listitem> + <listitem> <para>[pierre] - Update to GCC-9.2.0. Fixes - <ulink url="&blfs-ticket-root;12392">#12392</ulink></para> + <ulink url="&blfs-ticket-root;12392">#12392</ulink>.</para> </listitem> </itemizedlist> </listitem> Modified: trunk/BOOK/xsoft/graphweb/seamonkey.xml ============================================================================== --- trunk/BOOK/xsoft/graphweb/seamonkey.xml Tue Aug 20 12:21:40 2019 (r22015) +++ trunk/BOOK/xsoft/graphweb/seamonkey.xml Tue Aug 20 13:28:46 2019 (r22016) @@ -272,19 +272,17 @@ <screen><userinput>grep -rl -- '-Werror=format' | xargs sed -i 's/error=format/no-&/'</userinput></screen> <para> + Remove a function definition, which is incompatible with the one in + glibc-2.30: + </para> + +<screen><userinput>sed -i -e '/pid_t gettid/s@^@//@' mozilla/tools/profiler/core/platform.h</userinput></screen> + + <para> Compile <application>SeaMonkey</application> by running the following commands: </para> -<!-- Seems to still be needed for 2.49.2 - but not in 2.49.4 -<screen><userinput>CFLAGS_HOLD=$CFLAGS && -CXXFLAGS_HOLD=$CXXFLAGS && -EXTRA_FLAGS=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" && -export CFLAGS+=$EXTRA_FLAGS && -export CXXFLAGS+=$EXTRA_FLAGS && -unset EXTRA_FLAGS && ---> <screen><userinput>CC=gcc CXX=g++ make -f client.mk</userinput></screen> <note> Modified: trunk/BOOK/xsoft/office/libreoffice.xml ============================================================================== --- trunk/BOOK/xsoft/office/libreoffice.xml Tue Aug 20 12:21:40 2019 (r22015) +++ trunk/BOOK/xsoft/office/libreoffice.xml Tue Aug 20 13:28:46 2019 (r22016) @@ -360,8 +360,12 @@ sed -e "/distro-install-file-lists/d" -i Makefile.in && -<!-- Removed in 6.2 - -with-alloc=system \--> -<!-- In 6.3 -disable-gtk -enable-gtk3 added (sic, I accidentally built like +sed -e '/JAVA_SOURCE_VER/s/6/7/' \ + -e '/JAVA_TARGET_VER/s/6/7/' \ + -i configure.ac + +<!-- Removed in 6.2 - -with-alloc=system + In 6.3 -disable-gtk -enable-gtk3 added (sic, I accidentally built like that) which allows removal of - -with-system-cairo but did NOT cause system epoxy to be automatically used, as configure claimed --> ./autogen.sh --prefix=$LO_PREFIX \ @@ -489,7 +493,8 @@ <para> <command>sed -e ...</command>: The first sed prevents compression of the - manual pages and the second one prevents the install from failing. + manual pages, the second one prevents the install from failing, and the + the third allows to build with OpenJDK-12. </para> <para> Modified: trunk/BOOK/xsoft/other/thunderbird.xml ============================================================================== --- trunk/BOOK/xsoft/other/thunderbird.xml Tue Aug 20 12:21:40 2019 (r22015) +++ trunk/BOOK/xsoft/other/thunderbird.xml Tue Aug 20 13:28:46 2019 (r22016) @@ -230,13 +230,20 @@ </para></note> <para> - First, disable failure caused by undocumeted rust macros: + First, disable failure caused by undocumented rust macros: </para> <screen><userinput remap="pre">sed -i -e '/#!\[deny(missing_docs)\]/d' servo/components/style/lib.rs && sed -i -e 's/#!\[deny(unsafe_code, missing_docs)\]/#!\[deny(unsafe_code)\]/g' servo/components/style_traits/lib.rs</userinput></screen> <para> + Remove a function definition, which is incompatible with the one in + glibc-2.30: + </para> + +<screen><userinput>sed -i -e '/pid_t gettid/s@^@//@' tools/profiler/core/platform.h</userinput></screen> + + <para> Next, build the package: </para> Modified: trunk/BOOK/xsoft/other/xscreensaver.xml ============================================================================== --- trunk/BOOK/xsoft/other/xscreensaver.xml Tue Aug 20 12:21:40 2019 (r22015) +++ trunk/BOOK/xsoft/other/xscreensaver.xml Tue Aug 20 13:28:46 2019 (r22016) @@ -120,6 +120,13 @@ <screen><userinput>sed -i '/^\/\//d' hacks/fontglide.c</userinput></screen> + <para revision="sysv"> + Change a harcoded library name, which prevents using the settings found + by <command>configure</command>: + </para> + +<screen revision="sysv"><userinput>sed -i 's/-lsystemd/-lelogind/' driver/Makefile.in</userinput></screen> + <para> Install <application>XScreenSaver</application> by running the following commands: -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page