Changes in xsoft/graphweb/firefox.xml [28909b72:27a7cc5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/graphweb/firefox.xml
r28909b72 r27a7cc5 7 7 <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;esr/source/firefox-&firefox-version;esr.source.tar.xz"> 8 8 <!ENTITY firefox-download-ftp " "> 9 <!ENTITY firefox-md5sum " f81ca2f266ab3dafdd080f269bbb2286">10 <!ENTITY firefox-size "3 66MB">9 <!ENTITY firefox-md5sum "2df7dcedba6229f243dcf327ad3e7306"> 10 <!ENTITY firefox-size "323 MB"> 11 11 <!-- NB with stylo, much of the build uses rust, and therefore cargo files. 12 12 But the extra cached cargo files, if any, seem to be minimal --> 13 <!ENTITY firefox-buildsize " 6.7 GB (196MB installed) without tests">13 <!ENTITY firefox-buildsize "5.1 GB (185 MB installed) without tests"> 14 14 <!-- editors: with ff63 and rust-1.29, ./mach build -j4 is probably the 15 15 most practical way to get a timing on a machine with more cores, if taking 16 16 cores offline is not practical. If in doubt, round up --> 17 <!ENTITY firefox-time "2 8 SBU (on a typical4-core machine) without tests">17 <!ENTITY firefox-time "27 SBU (on a 4-core machine) without tests"> 18 18 ]> 19 19 … … 22 22 23 23 <sect1info> 24 <othername>$LastChangedBy$</othername> 24 25 <date>$Date$</date> 25 26 </sect1info> … … 39 40 </para> 40 41 41 &lfs1 10a_checked;42 &lfs10_checked; 42 43 43 44 <bridgehead renderas="sect3">Package Information</bridgehead> … … 75 76 </itemizedlist> 76 77 77 78 <!--<bridgehead renderas="sect3">Additional Downloads</bridgehead> 78 79 <itemizedlist spacing="compact"> 79 80 <listitem> 80 81 <para> 81 82 Required patch: 82 <ulink url="&patch-root;/firefox-&firefox-version;esr- glibc234-1.patch"/>83 <ulink url="&patch-root;/firefox-&firefox-version;esr-rustc1470-1.patch"/> 83 84 </para> 84 85 </listitem> 85 <listitem> 86 <para> 87 Recommended patch: 88 <ulink url="&patch-root;/firefox-&firefox-version;esr-disable_rust_test-1.patch"/> 89 </para> 90 </listitem> 91 </itemizedlist> 86 </itemizedlist>--> 92 87 93 88 <note> 94 95 <!-- temporary note, remove with firefox-legacy -->96 <para>97 With the 91 ESR series, firefox no-longer works on ftp: links.98 If that is important to you, as a temporary measure (on non-glibc-2.3499 systems) you can continue to use <xref linkend="firefox-legacy"/>100 while you explore alternative approaches.101 </para>102 <!-- end of temporary note -->103 104 89 <para> 105 90 The directory name is firefox-&firefox-version; … … 199 184 <xref linkend="doxygen"/>, 200 185 <xref role="runtime" linkend="ffmpeg"/> (runtime, to play mov, mp3 or mp4 files), 201 <!-- <phrase revision="sysv"><ulink url="http s://sourceforge.net/projects/liboauth/files/">liboauth</ulink></phrase> -->186 <!-- <phrase revision="sysv"><ulink url="http://sourceforge.net/projects/liboauth/files/">liboauth</ulink></phrase> --> 202 187 <xref linkend="liboauth"/>, 203 188 <xref linkend="openjdk"/>, … … 249 234 #ac_add_options --enable-alsa 250 235 251 # Uncomment this line if you are building on an i686 system to fix a build252 # failure due to invalid ASM code.253 #ac_add_options --with-system-libvpx254 255 236 # Comment out following options if you have not installed 256 237 # recommended dependencies: … … 301 282 ac_add_options --enable-system-pixman 302 283 284 # --with-system-bz2 was removed in firefox-78 303 285 ac_add_options --with-system-jpeg 304 286 ac_add_options --with-system-png … … 321 303 </para> 322 304 323 <para> 324 Apply a patch which allows compilation on systems running glibc-2.34: 325 </para> 326 327 <screen><userinput>patch -Np1 -i ../firefox-&firefox-version;esr-glibc234-1.patch</userinput></screen> 328 329 <para> 330 Now apply a patch which works around unexplained failures on some machines 331 (a message that a python check on libgkrust.a identified 1 networking 332 function, getsockname) in the rust static library. 333 </para> 334 335 <screen><userinput>patch -Np1 -i ../firefox-&firefox-version;esr-disable_rust_test-1.patch</userinput></screen> 305 <para> 306 In the esr version of firefox-78, the code to ensure that add-ons 307 are signed by the trusted root has been disabled, presumably for 308 organizations which require their own add-ons. To enable it as an 309 added security measure issue the following command: 310 </para> 311 312 <screen><userinput>sed -i -e 's/Disable/Enable/' \ 313 -e '/^MOZ_REQUIRE_SIGNING/s/0/1/' \ 314 build/mozconfig.common</userinput></screen> 336 315 337 316 <para> … … 384 363 385 364 <para> 386 Now invoke the Python <command>mach</command>script to compile the package.365 Now invoke the Python script to compile the package. 387 366 </para> 388 367 389 368 <screen><userinput>export CC=gcc CXX=g++ && 390 export MACH_USE_SYSTEM_PYTHON=1 &&391 369 export MOZBUILD_STATE_PATH=${PWD}/mozbuild && 392 ./mach configure &&393 370 ./mach build</userinput></screen> 394 371 … … 408 385 </para> 409 386 410 <screen role="root"><userinput>MACH_USE_SYSTEM_PYTHON=1 ./mach install</userinput></screen> 411 412 <para> 413 Empty the environment variables which were set above: 414 </para> 415 416 <screen><userinput>unset CC CXX MACH_USE_SYSTEM_PYTHON MOZBUILD_STATE_PATH</userinput></screen> 387 <screen role="root"><userinput>./mach install && 388 389 mkdir -pv /usr/lib/mozilla/plugins && 390 ln -sfv ../../mozilla/plugins /usr/lib/firefox/browser/</userinput></screen> 391 392 <para> 393 Set environment variables back to their values: 394 </para> 395 396 <screen><userinput>unset CC CXX MOZBUILD_STATE_PATH</userinput></screen> 417 397 418 398 </sect2> … … 452 432 Creating this in the build directory, and deleting that after the 453 433 installation, prevents it being used. If you wish to participate in 454 telemetry, export MOZBUILD_STATE_PATH to point to its default directory 455 and remove the entry from the <filename>mozconfig</filename>. 456 </para> 457 458 <para> 459 <command>MACH_USE_SYSTEM_PYTHON=1</command>: Use the system python 460 to create a virtual environment for <command>mach</command> without 461 downloading any python wheels. 462 </para> 463 464 <para> 465 <command>./mach configure</command>: This validates the supplied 466 dependencies and the <filename>mozconfig</filename>. 434 telemetry, export MOZBUILD_STATE_PATH to point to its default directory. 435 </para> 436 437 <para> 438 <command>./mach build</command>: <application>Firefox</application> 439 now uses this <application>python</application> script to run the 440 build and install. 467 441 </para> 468 442 … … 480 454 </para> 481 455 482 <!--483 456 <para> 484 457 <command>mkdir -pv /usr/lib/mozilla/plugins</command>: This ensures … … 495 468 symbolic link is made to keep all the plugins installed in one folder. 496 469 </para> 497 -->498 470 499 471 </sect2> … … 513 485 514 486 <screen role="root"><userinput>mkdir -pv /usr/share/applications && 515 mkdir -pv /usr/share/pixmaps && 516 517 MIMETYPE="text/xml;text/mml;text/html;" && 518 MIMETYPE="$MIMETYPE;application/xhtml+xml;application/vnd.mozilla.xul+xml" && 519 MIMETYPE="$MIMETYPE;x-scheme-handler/http;x-scheme-handler/https; && 520 521 cat > /usr/share/applications/firefox.desktop << EOF && 487 mkdir -pv /usr/share/pixmaps && 488 489 cat > /usr/share/applications/firefox.desktop << "EOF" && 522 490 <literal>[Desktop Entry] 523 491 Encoding=UTF-8 … … 530 498 Icon=firefox 531 499 Categories=GNOME;GTK;Network;WebBrowser; 532 MimeType= $MIMETYPE500 MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; 533 501 StartupNotify=true</literal> 534 502 EOF 535 536 unset MIMETYPE &&537 503 538 504 ln -sfv /usr/lib/firefox/browser/chrome/icons/default/default128.png \ … … 662 628 <para> 663 629 is a <application>GTK+-3</application> internet browser that uses 664 the Mozilla Gecko rendering engine 630 the Mozilla Gecko rendering engine. 665 631 </para> 666 632 <indexterm zone="firefox firefox-prog">
Note:
See TracChangeset
for help on using the changeset viewer.