Changeset 90c4de61 for xsoft/other/thunderbird.xml
- Timestamp:
- 09/13/2020 02:12:23 AM (4 years ago)
- Branches:
- 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 97386b0
- Parents:
- 3b696780
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/other/thunderbird.xml
r3b696780 r90c4de61 7 7 <!ENTITY thunderbird-download-http "&mozilla-http;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.xz"> 8 8 <!ENTITY thunderbird-download-ftp " "> 9 <!ENTITY thunderbird-md5sum " 613738e76b7a3b8dd28b945fce4d9dbf">10 <!ENTITY thunderbird-size "3 42MB">11 <!ENTITY thunderbird-buildsize " 10.9 GB (172MB installed)">12 <!ENTITY thunderbird-time " 43SBU (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)"> 13 13 <!-- Removed the -j1 time because python and rust do not obey it, although 14 14 the C/C++ code appears to obey it --> … … 70 70 <para> 71 71 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"/> 72 82 </para> 73 83 </listitem> … … 201 211 ac_add_options --disable-updater 202 212 ac_add_options --disable-debug 213 ac_add_options --disable-debug-symbols 203 214 ac_add_options --disable-tests 204 215 205 216 ac_add_options --enable-optimize=-O2 217 ac_add_options --enable-linker=gold 206 218 ac_add_options --enable-strip 207 219 ac_add_options --enable-install-strip … … 218 230 219 231 <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> 220 239 Compile <application>Thunderbird</application> by issuing the following 221 240 commands: … … 227 246 228 247 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 229 248 href="../../xincludes/mozmach.xml"/> 230 249 231 250 </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 && 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> 252 253 253 254 <para> … … 262 263 <screen role="root"><userinput>./mach install</userinput></screen> 263 264 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 run268 <application>Thunderbird</application>. Alternatively, if you want to269 install the full <application>Thunderbird</application> development270 environment, run the following command as the271 <systemitem class="username">root</systemitem> user:272 </para>273 274 <screen role="root"><userinput>make -C thunderbuild install</userinput></screen>275 -->276 265 </sect2> 277 266 278 267 <sect2 role="commands"> 279 268 <title>Command Explanations</title> 280 <!-- might be necessary 269 <!-- might be necessary, we need to verify this. 281 270 <para> 282 271 <command>test $(uname -m) = "i686" && sed ...</command>: On this … … 284 273 optimization, the install fails with a Python error. This command will 285 274 fix i686 builds and preserve the optimization on x86_64. 286 </para>287 288 <para>289 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These290 settings work around code which gcc6 would otherwise regard as291 out-of-specification and allow it to produce a working program.292 275 </para>--> 293 276 294 277 <para> 295 <command>./mach build</command>: <application>Thunderbird</application> 278 <command>CC=gcc CXX=g++ ./mach build</command>: 279 <application>Thunderbird</application> 296 280 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.--> 298 285 </para> 299 286
Note:
See TracChangeset
for help on using the changeset viewer.