Changeset 90c4de61 for xsoft


Ignore:
Timestamp:
09/13/2020 02:12:23 AM (4 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
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:
97386b0
Parents:
3b696780
Message:

Update to Thunderbird-78.2.2, and adjust the build procedure.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/other/thunderbird.xml

    r3b696780 r90c4de61  
    77  <!ENTITY thunderbird-download-http "&mozilla-http;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.xz">
    88  <!ENTITY thunderbird-download-ftp  " ">
    9   <!ENTITY thunderbird-md5sum        "613738e76b7a3b8dd28b945fce4d9dbf">
    10   <!ENTITY thunderbird-size          "342 MB">
    11   <!ENTITY thunderbird-buildsize     "10.9 GB (172 MB installed)">
    12   <!ENTITY thunderbird-time          "43 SBU (on a 4-core machine)">
     9  <!ENTITY thunderbird-md5sum        "d749a52de7b6828eaab74af7ef8834de">
     10  <!ENTITY thunderbird-size          "337 MB">
     11  <!ENTITY thunderbird-buildsize     "5.2 GB (177 MB installed)">
     12  <!ENTITY thunderbird-time          "32 SBU (on a 4-core machine)">
    1313  <!-- Removed the -j1 time because python and rust do not obey it, although
    1414       the C/C++ code appears to obey it -->
     
    7070        <para>
    7171          Estimated build time: &thunderbird-time;
     72        </para>
     73      </listitem>
     74    </itemizedlist>
     75
     76    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     77    <itemizedlist spacing="compact">
     78      <listitem>
     79        <para>
     80          Required patch:
     81          <ulink url="&patch-root;/thunderbird-&thunderbird-version;-upstream_fixes-1.patch"/>
    7282        </para>
    7383      </listitem>
     
    201211ac_add_options --disable-updater
    202212ac_add_options --disable-debug
     213ac_add_options --disable-debug-symbols
    203214ac_add_options --disable-tests
    204215
    205216ac_add_options --enable-optimize=-O2
     217ac_add_options --enable-linker=gold
    206218ac_add_options --enable-strip
    207219ac_add_options --enable-install-strip
     
    218230
    219231    <para>
     232      First, fix a regression in <application>Thunderbird</application> that
     233      prevents the mail panes and other UI elements from functioning properly:
     234    </para>
     235
     236<screen><userinput remap="pre">patch -Np1 -i ../thunderbird-&thunderbird-version;-upstream_fixes-1.patch</userinput></screen>
     237
     238    <para>
    220239      Compile <application>Thunderbird</application> by issuing the following
    221240      commands:
     
    227246
    228247      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    229        href="../../xincludes/mozmach.xml"/>
     248      href="../../xincludes/mozmach.xml"/>
    230249
    231250    </note>
    232 <!--
    233     <para>
    234       First, disable failure caused by undocumented rust macros:
    235     </para>
    236 
    237 <screen><userinput remap="pre">sed -i -e '/#!\[deny(missing_docs)\]/d' servo/components/style/lib.rs &amp;&amp;
    238 sed -i -e 's/#!\[deny(unsafe_code, missing_docs)\]/#!\[deny(unsafe_code)\]/g' servo/components/style_traits/lib.rs</userinput></screen>
    239 
    240     <para>
    241       Remove a function definition, which is incompatible with the one in
    242       glibc-2.30:
    243     </para>
    244 
    245 <screen><userinput>sed -i -e '/pid_t gettid/s@^@//@' tools/profiler/core/platform.h</userinput></screen>
    246 
    247     <para>
    248       Next, build the package:
    249     </para>
    250 -->
    251 <screen><userinput>./mach build</userinput></screen>
     251
     252<screen><userinput>CC=gcc CXX=g++ ./mach build</userinput></screen>
    252253
    253254    <para>
     
    262263<screen role="root"><userinput>./mach install</userinput></screen>
    263264
    264 <!-- thunderbuild directory does not exist anymore. Leaving as comment,
    265 in case an editor figures out how to install the development environment.
    266     <para>
    267       The above instruction just installs the parts you need to run
    268       <application>Thunderbird</application>. Alternatively, if you want to
    269       install the full <application>Thunderbird</application> development
    270       environment, run the following command as the
    271       <systemitem class="username">root</systemitem> user:
    272     </para>
    273 
    274 <screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
    275 -->
    276265  </sect2>
    277266
    278267  <sect2 role="commands">
    279268    <title>Command Explanations</title>
    280 <!-- might be necessary
     269<!-- might be necessary, we need to verify this.
    281270    <para>
    282271      <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>: On this
     
    284273      optimization, the install fails with a Python error.  This command will
    285274      fix i686 builds and preserve the optimization on x86_64.
    286     </para>
    287 
    288     <para>
    289       <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
    290       settings work around code which gcc6 would otherwise regard as
    291       out-of-specification and allow it to produce a working program.
    292275    </para>-->
    293276
    294277    <para>
    295       <command>./mach build</command>: <application>Thunderbird</application>
     278      <command>CC=gcc CXX=g++ ./mach build</command>:
     279      <application>Thunderbird</application>
    296280      now uses this <application>python3</application> script to run the
    297       build and install.
     281      build and install. Forcing GCC causes the build to come out smaller
     282      and run faster.
     283      <!-- For more info, see Ticket #13969. ~12GB to ~5GB build size,
     284      significantly smaller build time.-->
    298285    </para>
    299286
Note: See TracChangeset for help on using the changeset viewer.