Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r28909b72 r27a7cc5  
    77  <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;esr/source/firefox-&firefox-version;esr.source.tar.xz">
    88  <!ENTITY firefox-download-ftp  " ">
    9   <!ENTITY firefox-md5sum        "f81ca2f266ab3dafdd080f269bbb2286">
    10   <!ENTITY firefox-size          "366 MB">
     9  <!ENTITY firefox-md5sum        "2df7dcedba6229f243dcf327ad3e7306">
     10  <!ENTITY firefox-size          "323 MB">
    1111  <!-- NB with stylo, much of the build uses rust, and therefore cargo files.
    1212    But the extra cached cargo files, if any, seem to be minimal -->
    13   <!ENTITY firefox-buildsize     "6.7 GB (196 MB installed) without tests">
     13  <!ENTITY firefox-buildsize     "5.1 GB (185 MB installed) without tests">
    1414  <!-- editors: with ff63 and rust-1.29, ./mach build -j4 is probably the
    1515   most practical way to get a timing on a machine with more cores, if taking
    1616   cores offline is not practical. If in doubt, round up -->
    17   <!ENTITY firefox-time          "28 SBU (on a typical 4-core machine) without tests">
     17  <!ENTITY firefox-time          "27 SBU (on a 4-core machine) without tests">
    1818]>
    1919
     
    2222
    2323  <sect1info>
     24    <othername>$LastChangedBy$</othername>
    2425    <date>$Date$</date>
    2526  </sect1info>
     
    3940    </para>
    4041
    41     &lfs110a_checked;
     42    &lfs10_checked;
    4243
    4344    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7576    </itemizedlist>
    7677
    77     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     78<!--<bridgehead renderas="sect3">Additional Downloads</bridgehead>
    7879    <itemizedlist spacing="compact">
    7980      <listitem>
    8081        <para>
    8182          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"/>
    8384        </para>
    8485      </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>-->
    9287
    9388    <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.34
    99         systems) you can continue to use <xref linkend="firefox-legacy"/>
    100         while you explore alternative approaches.
    101       </para>
    102       <!-- end of temporary note -->
    103 
    10489      <para>
    10590        The directory name is firefox-&firefox-version;
     
    199184      <xref linkend="doxygen"/>,
    200185      <xref role="runtime" linkend="ffmpeg"/> (runtime, to play mov, mp3 or mp4 files),
    201       <!--      <phrase revision="sysv"><ulink url="https://sourceforge.net/projects/liboauth/files/">liboauth</ulink></phrase> -->
     186      <!--      <phrase revision="sysv"><ulink url="http://sourceforge.net/projects/liboauth/files/">liboauth</ulink></phrase> -->
    202187      <xref linkend="liboauth"/>,
    203188      <xref linkend="openjdk"/>,
     
    249234#ac_add_options --enable-alsa
    250235
    251 # Uncomment this line if you are building on an i686 system to fix a build
    252 # failure due to invalid ASM code.
    253 #ac_add_options --with-system-libvpx
    254 
    255236# Comment out following options if you have not installed
    256237# recommended dependencies:
     
    301282ac_add_options --enable-system-pixman
    302283
     284# --with-system-bz2 was removed in firefox-78
    303285ac_add_options --with-system-jpeg
    304286ac_add_options --with-system-png
     
    321303    </para>
    322304
    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>
    336315
    337316    <para>
     
    384363
    385364    <para>
    386       Now invoke the Python <command>mach</command> script to compile the package.
     365      Now invoke the Python script to compile the package.
    387366    </para>
    388367
    389368<screen><userinput>export CC=gcc CXX=g++ &amp;&amp;
    390 export MACH_USE_SYSTEM_PYTHON=1            &amp;&amp;
    391369export MOZBUILD_STATE_PATH=${PWD}/mozbuild &amp;&amp;
    392 ./mach configure                           &amp;&amp;
    393370./mach build</userinput></screen>
    394371
     
    408385    </para>
    409386
    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                                                  &amp;&amp;
     388
     389mkdir -pv  /usr/lib/mozilla/plugins                             &amp;&amp;
     390ln    -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>
    417397
    418398  </sect2>
     
    452432      Creating this in the build directory, and deleting that after the
    453433      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.
    467441    </para>
    468442
     
    480454    </para>
    481455
    482 <!--
    483456    <para>
    484457      <command>mkdir -pv /usr/lib/mozilla/plugins</command>: This ensures
     
    495468      symbolic link is made to keep all the plugins installed in one folder.
    496469    </para>
    497 -->
    498470
    499471  </sect2>
     
    513485
    514486<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
    515 mkdir -pv /usr/share/pixmaps      &amp;&amp;
    516 
    517 MIMETYPE="text/xml;text/mml;text/html;"                                    &amp;&amp;
    518 MIMETYPE="$MIMETYPE;application/xhtml+xml;application/vnd.mozilla.xul+xml" &amp;&amp;
    519 MIMETYPE="$MIMETYPE;x-scheme-handler/http;x-scheme-handler/https;          &amp;&amp;
    520 
    521 cat &gt; /usr/share/applications/firefox.desktop &lt;&lt; EOF &amp;&amp;
     487mkdir -pv /usr/share/pixmaps &amp;&amp;
     488
     489cat &gt; /usr/share/applications/firefox.desktop &lt;&lt; "EOF" &amp;&amp;
    522490<literal>[Desktop Entry]
    523491Encoding=UTF-8
     
    530498Icon=firefox
    531499Categories=GNOME;GTK;Network;WebBrowser;
    532 MimeType=$MIMETYPE
     500MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
    533501StartupNotify=true</literal>
    534502EOF
    535 
    536 unset MIMETYPE &amp;&amp;
    537503
    538504ln -sfv /usr/lib/firefox/browser/chrome/icons/default/default128.png \
     
    662628          <para>
    663629            is a <application>GTK+-3</application> internet browser that uses
    664             the Mozilla Gecko rendering engine
     630            the Mozilla Gecko rendering engine.
    665631          </para>
    666632          <indexterm zone="firefox firefox-prog">
Note: See TracChangeset for help on using the changeset viewer.