Changeset 8a89491


Ignore:
Timestamp:
05/03/2020 08:32:01 PM (4 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d60738d
Parents:
2ab749f
Message:

Update to GTK+-3.24.20. Also revert to Autotools (see Ticket #13459), and add the scrollbar buttons back.
Update to Seamonkey-2.53.2. Includes well over 100 security fixes. Also cleanup some comments on that page

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23070 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r2ab749f r8a89491  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[renodr] - Update to Seamonkey-2.53.2 (security update). Fixes
     49          <ulink url="&blfs-ticket-root;13495">#13495</ulink>.</para>
     50        </listitem>
     51        <listitem>
     52          <para>[renodr] - Update to GTK+-3.24.20. Revert back to autotools per
     53          upstream's recommendations, and include the scrollbar button fix
     54          in ~/.config/gtk-3.0/gtk.css. Fixes
     55          <ulink url="&blfs-ticket-root;13459">#13459</ulink>.</para>
     56        </listitem>
     57        <listitem>
    4858          <para>[bdubbs] - Update to v4l-utils-1.18.1. Fixes
    4959          <ulink url="&blfs-ticket-root;13496">#13496</ulink>.</para>
  • packages.ent

    r2ab749f r8a89491  
    722722<!ENTITY graphene-version             "1.10.0">
    723723<!ENTITY gtk2-version                 "2.24.32">
    724 <!ENTITY gtk3-version                 "3.24.18">
     724<!ENTITY gtk3-version                 "3.24.20">
    725725<!ENTITY gtk-engines-version          "2.20.2">
    726726<!ENTITY gtkmm2-version               "2.24.5">
     
    905905<!ENTITY flashplayer-version          "27.0.0.187">
    906906<!ENTITY qupzilla-version             "2.2.6">
    907 <!ENTITY seamonkey-version            "2.53.1">
     907<!ENTITY seamonkey-version            "2.53.2">
    908908
    909909<!-- Chapter 41 -->
  • x/lib/gtk+3.xml

    r2ab749f r8a89491  
    77  <!ENTITY gtk3-download-http "&gnome-download-http;/gtk+/&gnome-minor-24;/gtk+-&gtk3-version;.tar.xz">
    88  <!ENTITY gtk3-download-ftp  "&gnome-download-ftp;/gtk+/&gnome-minor-24;/gtk+-&gtk3-version;.tar.xz">
    9   <!ENTITY gtk3-md5sum        "9b389f70b99ac09be6ceb141abce8f12">
     9  <!ENTITY gtk3-md5sum        "b302acc0a4b42e2980ef18628f9ce951">
    1010  <!ENTITY gtk3-size          "20 MB">
    11   <!ENTITY gtk3-buildsize     "486 MB (add 5 MB for tests)">
    12   <!ENTITY gtk3-time          "1.1 SBU (using parallelism=4, add 0.4 SBU for tests)">
     11  <!ENTITY gtk3-buildsize     "615 MB (add 9 MB for tests)">
     12  <!ENTITY gtk3-time          "1.9 SBU (using parallelism=4, add 0.4 SBU for tests)">
    1313]>
    1414
     
    122122    <title>Installation of GTK+ 3</title>
    123123
    124     <!-- This is due to the meson transition -->
    125     <caution>
    126       <para>
    127         If you are upgrading from a version of GTK+3 prior to 3.24.9,
    128         you must run the <filename>remove-la-files.sh</filename> script from
    129         <xref linkend="la-files"/> after installing GTK+.
    130       </para>
    131     </caution>
    132 
    133124    <para>
    134125      Install <application>GTK+ 3</application> by running the following
     
    136127    </para>
    137128
    138 <!-- The build directory already exists since this package allows both Autotools
    139      and Meson to be used
    140      This may have to be changed in a few versions, or when GTK4 comes out.-->
    141 <screen><userinput>mkdir build-gtk3 &amp;&amp;
    142 cd    build-gtk3 &amp;&amp;
    143 
    144 meson --prefix=/usr     \
    145       -Dcolord=yes      \
    146       -Dgtk_doc=false   \
    147       -Dman=true        \
    148       -Dbroadway_backend=true .. &amp;&amp;
    149 ninja</userinput></screen>
     129<!-- There is a meson port available, but upstream's official recommendation
     130     is to use autotools, and is the only offically supported build system.
     131     See ticket #13459 for more details.-->
     132
     133<screen><userinput>./configure --prefix=/usr              \
     134            --sysconfdir=/etc          \
     135            --enable-broadway-backend  \
     136            --enable-x11-backend       \
     137            --enable-wayland-backend   &amp;&amp;
     138make</userinput></screen>
    150139
    151140    <para>
     
    160149    <para>
    161150      To test the results you need a graphical session, then issue
    162       <command>ninja test</command>. <!--There are several tests that
     151      <command>make check</command>. <!--There are several tests that
    163152      have subtests that are known to fail: scrolledwindow, treeview,
    164153      accessibility-dump, test-css-nodes, and gtk-reftest.
    165154      Additionally many tests will fail if the current
    166155      gtk theme (such as current XFCE themes) has deprecated elements.-->
    167       Six tests are known to fail in the a11y suite.
     156      The accessibility-dump portion of the test suite (6 tests) is known
     157      to fail.
    168158    </para>
    169159
     
    172162    </para>
    173163
    174     <screen role="root"><userinput>ninja install</userinput></screen>
     164<screen role="root"><userinput>make install</userinput></screen>
    175165
    176166    <note>
     
    192182    <title>Command Explanations</title>
    193183
     184    <!-- MESON ONLY
    194185    <para>
    195186      <parameter>-Dbroadway_backend=true</parameter>: This switch enables the
    196187      HTML5 GTK backend.
    197188    </para>
    198     <!--
    199     <para>
    200       <parameter>- -enable-x11-backend</parameter>: This switch enables the X11
     189    -->
     190
     191    <para>
     192      <parameter>--enable-broadway-backend</parameter>: This switch enables the
     193      HTML5 GTK backend.
     194    </para>
     195
     196    <para>
     197      <parameter>--enable-x11-backend</parameter>: This switch enables the X11
    201198      GDK backend.
    202199    </para>
    203     -->
    204     <!--
    205     <para>
    206       <parameter>- -enable-wayland-backend</parameter>: This switch
     200   
     201    <para>
     202      <parameter>--enable-wayland-backend</parameter>: This switch
    207203      enables the Wayland GDK backend. Replace with
    208       <option>- -disable-wayland-backend</option> if you do not have
     204      <option>--disable-wayland-backend</option> if you do not have
    209205      <xref linkend="wayland"/> and <xref linkend="wayland-protocols"/>
    210206      or you do not wish to build <application>GNOME</application> with Wayland
     
    215211      installation.
    216212    </para>
    217     -->
    218     <!--
     213 
    219214    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    220215      href="../../xincludes/gtk-doc-rebuild.xml"/>
    221     -->
     216
     217    <!-- MESON ONLY
    222218    <para>
    223219      <parameter>-Dcolord=yes</parameter>: This switch allows color support
     
    235231      <xref linkend="gtk-doc"/> installed and wish to generate documentation.
    236232    </para>
     233    -->
    237234
    238235  </sect2>
     
    296293        <ulink url="http://gnome-look.org/"/> and other places.
    297294      </para>
     295   
     296      <para>
     297        As part of GTK+-3.0's redesign, the scroll bar buttons are no longer
     298        visible on the scrollbar in many applications. If this functionality
     299        is desired, modify the <filename>gtk.css</filename> file and restore
     300        them using the following command:
     301      </para>
     302
     303<screen><userinput>cat &gt; ~/.config/gtk-3.0/gtk.css &lt;&lt; "EOF"
     304<literal>*  {
     305   -GtkScrollbar-has-backward-stepper: 1;
     306   -GtkScrollbar-has-forward-stepper: 1;
     307}</literal>
     308EOF</userinput></screen>
     309
     310      <!-- This trick was discovered in the Seamonkey-2.53.2 release notes:
     311           http://www.seamonkey-project.org/releases/seamonkey2.53.2/ -->
    298312
    299313    </sect3>
  • xsoft/graphweb/seamonkey.xml

    r2ab749f r8a89491  
    77  <!ENTITY seamonkey-download-http "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.xz">
    88  <!ENTITY seamonkey-download-ftp " ">
    9   <!ENTITY seamonkey-md5sum        "0cb5b34ea2194ec1a7e48ba21049cf35">
    10   <!ENTITY seamonkey-size          "277 MB">
     9  <!ENTITY seamonkey-md5sum        "e1a44d0c9e85ef5a370ec2c5cd54b52a">
     10  <!ENTITY seamonkey-size          "278 MB">
    1111  <!ENTITY seamonkey-buildsize     "6.9 GB (154 MB installed)">
    12   <!ENTITY seamonkey-time          "29 SBU (on a 4-core machine)">
     12  <!ENTITY seamonkey-time          "19 SBU (on a 4-core machine)">
    1313]>
    1414
     
    8181    </itemizedlist>
    8282
     83<!-- Applied in seamonkey-2.53.2
    8384    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    8485    <itemizedlist spacing="compact">
     
    9091      </listitem>
    9192    </itemizedlist>
     93-->
    9294
    9395    <note>
     
    270272    </note>
    271273
     274<!-- Applied in Seamonkey-2.53.2
    272275    <para>
    273276      Apply the patch to allow seamonkey to build with the current version of
     
    275278    </para>
    276279
     280
    277281<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-rust_fixes-1.patch</userinput></screen>
    278 
    279     <!--
    280     <para>
    281       <application>GCC-9</application> generates some false positives with
    282       <command>-Werror=format</command>, which prevent building
    283       <application>SeaMonkey</application>. Remove this flag with the
    284       following command:
    285     </para>
    286 
    287 <screen><userinput>grep -rl - - '-Werror=format' | xargs sed -i 's/error=format/no-&amp;/'</userinput></screen>
    288     Does not seem to be needed anymore with 2.53.1 -renodr -->
    289 
     282-->
     283
     284<!-- Applied in Seamonkey-2.53.2
    290285    <para>
    291286      Remove a function definition, which is incompatible with the one in
     
    294289
    295290<screen><userinput>sed -i -e '/pid_t gettid/,+3 s@^@//@' mozilla/tools/profiler/core/platform.h</userinput></screen>
    296 
    297     <!-- Doesn't seem to be needed anymore with 2.53.1
    298     <para>
    299       Remove a search for an unneeded library:
    300     </para>
    301 
    302 <screen><userinput>sed -i '/USE_LIBS/,+2 s/^/#/' mozilla/security/manager/ssl/moz.build</userinput></screen>
    303     -->
    304     <!--
    305     <para>
    306       Remove some unneeded files not removed during the release process:
    307     </para>
    308 
    309 <screen><userinput>rm -rf .git mozilla/.git</userinput></screen>
    310     -->
     291-->
     292
    311293    <para>
    312294      Compile <application>SeaMonkey</application> by running the following
     
    337319
    338320cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
    339 <!-- Not needed: see above
    340     <para>
    341       Set the compilation flags back to their original values:
    342     </para>
    343 
    344 <screen><userinput>export CFLAGS=$CFLAGS_HOLD     &amp;&amp;
    345 export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
    346 unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
    347 -->
    348 <!--
    349     <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
    350       All the Development Libraries and Headers
    351     </bridgehead>
    352 
    353     <para>
    354       If you want to install the full <application>SeaMonkey</application>
    355       development environment, as the
    356       <systemitem class="username">root</systemitem> user:
    357     </para>
    358 
    359 <screen role="nodump"><userinput>make -C obj* install</userinput></screen>
    360 
    361     <note>
    362       <para>
    363         The build directory is set by the make procedure and is dependent on
    364         the system architecture, but the directory name starts with 'obj'.
    365       </para>
    366     </note>
    367        Does not seem to be valid with 2.53.1-->
     321
    368322  </sect2>
    369323
    370324  <sect2 role="commands">
    371325    <title>Command Explanations</title>
    372 <!--
    373     <para>
    374       <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
    375       settings work around code which gcc6 and later would otherwise regard as
    376       out-of-specification and allow it to produce a working program.
    377     </para>
    378 -->
     326
    379327    <para>
    380328      <command>make -f client.mk</command>: Mozilla products are packaged to
     
    469417        </seg>
    470418        <seg>
    471       <!--/usr/include/seamonkey-&seamonkey-version; (optional),-->
    472419          /usr/lib/seamonkey-&seamonkey-version;
    473       <!--/usr/lib/seamonkey-devel-&seamonkey-version; (optional), and
    474           /usr/share/idl/seamonkey-&seamonkey-version; (optional)-->
    475420        </seg>
    476421      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.