Author: ken Date: Tue Jul 23 14:46:28 2019 New Revision: 21855 Log: Firefox-68.0.1 and provisionally fix it for the linux-5.2 API change.
Added: trunk/BOOK/xincludes/SIOCGSTAMP.xml (contents, props changed) Modified: trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/packages.ent trunk/BOOK/xsoft/graphweb/firefox.xml Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Tue Jul 23 12:30:56 2019 (r21854) +++ trunk/BOOK/introduction/welcome/changelog.xml Tue Jul 23 14:46:28 2019 (r21855) @@ -45,6 +45,11 @@ <para>July 23rd, 2019</para> <itemizedlist> <listitem> + <para>[ken] - Update to firefox-68.0.1 and adapt it to API changes + in the Linux Kernel 5.2+. Fixes + <ulink url="&blfs-ticket-root;12284">#12284</ulink>.</para> + </listitem> + <listitem> <para>[ken] - Document some optional configure switches for Python3 and libreoffice.</para> </listitem> Modified: trunk/BOOK/packages.ent ============================================================================== --- trunk/BOOK/packages.ent Tue Jul 23 12:30:56 2019 (r21854) +++ trunk/BOOK/packages.ent Tue Jul 23 14:46:28 2019 (r21855) @@ -866,7 +866,7 @@ <!--<!ENTITY chromium-version "64.0.3282.186">--> <!ENTITY epiphany-version "3.32.3"> <!ENTITY falkon-version "3.0.1"> -<!ENTITY firefox-version "68.0"> +<!ENTITY firefox-version "68.0.1"> <!ENTITY flashplayer-version "27.0.0.187"> <!ENTITY qupzilla-version "2.2.6"> <!ENTITY seamonkey-version "2.49.4"> Added: trunk/BOOK/xincludes/SIOCGSTAMP.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/BOOK/xincludes/SIOCGSTAMP.xml Tue Jul 23 14:46:28 2019 (r21855) @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" > + +<!-- $LastChangedBy$ + $Date$ --> + + <para> + <parameter>sed -i ... SIOCGSTAMP ...</parameter>: In linux-5.2 the + definitions of SIOCGSTAMP and SIOCGSTAMPNS were moved from + <sys/socket.h> which packages have traditionally included to + get them. The sed(s) to hard-code the values enable the package to + compile correctly. + </para> Modified: trunk/BOOK/xsoft/graphweb/firefox.xml ============================================================================== --- trunk/BOOK/xsoft/graphweb/firefox.xml Tue Jul 23 12:30:56 2019 (r21854) +++ trunk/BOOK/xsoft/graphweb/firefox.xml Tue Jul 23 14:46:28 2019 (r21855) @@ -6,8 +6,8 @@ <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.xz"> <!ENTITY firefox-download-ftp " "> - <!ENTITY firefox-md5sum "02cc438f5063d8e6a09644062aa825ba"> - <!ENTITY firefox-size "302 MB"> + <!ENTITY firefox-md5sum "46fa1fd9f23e4a61cf477395ee332c45"> + <!ENTITY firefox-size "297 MB"> <!-- NB with stylo, much of the build uses rust, and therefore cargo files. But the extra cached cargo files, if any, seem to be minimal --> <!ENTITY firefox-buildsize "4.1 GB (162 MB installed) without tests"> @@ -366,10 +366,13 @@ <screen role="nodump"><userinput>sed -e 's/checkImpl/checkFFImpl/g' -i js/src/vm/JSContext*.h</userinput></screen> <para> - Invoke the Python2 script to compile the package. + Apply a sed to work around a change in the linux headers, and then + invoke the Python2 script to compile the package. </para> -<screen><userinput>export CC=gcc CXX=g++ && +<screen><userinput>sed -i 's/SIOCGSTAMP/0x8906/' media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc && + +export CC=gcc CXX=g++ && export MOZBUILD_STATE_PATH=${PWD}/mozbuild && ./mach build</userinput></screen> @@ -404,6 +407,9 @@ <sect2 role="commands"> <title>Command Explanations</title> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" + href="../../xincludes/SIOCGSTAMP.xml"/> + <para> <command>sed -e 's/checkImpl/checkFFImpl/g' ...</command>: Although the package ships with a modified version of <application>ICU-63</application> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page