Changeset 8a89491 for x


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.