Ignore:
Timestamp:
01/20/2013 05:26:45 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9301a07
Parents:
595cda07
Message:

Firefox, Xulrunner and Thunderbird updates.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/xulrunner.xml

    r595cda07 r0e37869  
    55  %general-entities;
    66
    7   <!ENTITY xulrunner-download-http " ">
     7  <!ENTITY xulrunner-download-http
     8           "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
    89  <!ENTITY xulrunner-download-ftp
    9   "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
    10   <!-- md5sum and size should match firefox, but the buildsize and time will differ -->
    11   <!ENTITY xulrunner-md5sum        "78e641c67dc4a40cb3f48fce3e782d41">
    12   <!ENTITY xulrunner-size          "85 MB">
    13   <!ENTITY xulrunner-buildsize     "961 MB (59 MB installed)">
    14   <!ENTITY xulrunner-time          "27 SBU">
     10           "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
     11  <!ENTITY xulrunner-md5sum        "8b400555fc7063163e3b99472d0c92a1">
     12  <!ENTITY xulrunner-size          "93 MB">
     13  <!ENTITY xulrunner-buildsize     "3.5 GB (110 MB installed)">
     14  <!ENTITY xulrunner-time          "29 SBU">
    1515]>
    1616
     
    8383      <xref linkend="gtk2"/>,
    8484      <xref linkend="zip"/> and
    85       <xref linkend="unzip"/>.
     85      <xref linkend="unzip"/>
    8686    </para>
    8787
    8888    <bridgehead renderas="sect4">Recommended</bridgehead>
    8989    <para role="recommended">
    90       <xref linkend="yasm"/> or <xref linkend="libvpx"/>
    91       (to allow <application>Xulrunner</application> to play webm videos).
    92     </para>
     90      <xref linkend="libevent"/>,
     91      <xref linkend="libvpx"/>,
     92      <xref linkend="nspr"/>,
     93      <xref linkend="nss"/>,
     94      <xref linkend="sqlite"/> and
     95      <xref linkend="yasm"/>
     96    </para>
     97
     98    <note>
     99      <para>
     100        If you don't install recommended dependencies,
     101        then internal copies of those packages will
     102        be used. They might be tested to work, but
     103        they can be out of date or contain security
     104        holes.
     105      </para>
     106    </note>
    93107
    94108    <bridgehead renderas="sect4">Optional</bridgehead>
    95109    <para role="optional">
    96110      <xref linkend="dbus-glib"/>,
     111      <xref linkend="doxygen"/>,
     112      <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/>
     113      (for integration with the old version of <application>GNOME</application>),
     114      <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
     115      <xref linkend="libnotify"/>,
    97116      <xref linkend="startup-notification"/>,
    98       <xref linkend="sqlite"/>,
    99       <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
    100       <xref linkend="libevent"/>,
    101       <xref linkend="doxygen"/>,
    102       <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/> (for
    103       integration with the old version of <application>Gnome</application>),
    104       <xref linkend="libnotify"/>,
    105       <xref linkend="nspr"/>,
    106       <xref linkend="nss"/>,
    107       <xref linkend="wireless_tools"/>,
    108       <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
    109       the jemalloc code) and
    110       <xref linkend="wget"/>
     117      <xref linkend="wget"/> and
     118      <xref linkend="wireless_tools"/>
    111119    </para>
    112120
     
    131139<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
    132140# If you have a multicore machine you can speed up the build by running
    133 # several jobs at once, but if you have a single core, delete this line:
    134 mk_add_options MOZ_MAKE_FLAGS="-j4"
    135 
    136 # If you have not installed Yasm, uncomment this option:
    137 # ac_add_options --disable-webm
    138 
    139 # If you have installed DBus-Glib delete this option:
     141# several jobs at once by uncommenting the following line and setting the
     142# value to number of CPU cores:
     143#mk_add_options MOZ_MAKE_FLAGS="-j4"
     144
     145# If you have installed DBus-Glib comment out this line:
    140146ac_add_options --disable-dbus
    141147
    142 # If you have installed wireless-tools delete this option:
     148# If you have installed wireless-tools comment out this line:
    143149ac_add_options --disable-necko-wifi
    144150
    145 # If you have installed libnotify delete this option:
     151# If you have installed libnotify comment out this line:
    146152ac_add_options --disable-libnotify
    147153
    148 # Uncomment these if you have installed them:
    149 # ac_add_options --enable-startup-notification
    150 # ac_add_options --enable-system-hunspell
    151 # ac_add_options --enable-system-sqlite
    152 # ac_add_options --with-system-libevent
    153 # ac_add_options --with-system-libvpx
    154 # ac_add_options --with-system-nspr
    155 # ac_add_options --with-system-nss
    156 
    157 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
     154# Uncomment these lines if you have installed optional dependencies:
     155#ac_add_options --enable-system-hunspell
     156#ac_add_options --enable-startup-notification
     157
     158# If you have not installed Yasm then uncomment this line:
     159#ac_add_options --disable-webm
     160
     161# Comment out following options if you have not installed
     162# recommended dependencies:
     163ac_add_options --enable-system-sqlite
     164ac_add_options --with-system-libevent
     165ac_add_options --with-system-libvpx
     166ac_add_options --with-system-nspr
     167ac_add_options --with-system-nss
     168
     169# It is recommended not to touch anything below this line
     170ac_add_options --prefix=/usr
     171ac_add_options --enable-application=xulrunner
     172
    158173ac_add_options --disable-crashreporter
     174ac_add_options --disable-installer
     175ac_add_options --disable-updater
    159176ac_add_options --disable-debug
    160 ac_add_options --disable-debug-symbols
    161 ac_add_options --disable-installer
    162 ac_add_options --disable-static
    163177ac_add_options --disable-tests
    164 ac_add_options --disable-updater
    165 ac_add_options --enable-application=xulrunner
    166 ac_add_options --enable-shared
     178ac_add_options --disable-mochitest
     179
     180ac_add_options --enable-optimize
     181ac_add_options --enable-strip
     182ac_add_options --enable-install-strip
     183
    167184ac_add_options --enable-system-ffi
    168 ac_add_options --prefix=/usr
     185ac_add_options --enable-system-pixman
     186
     187ac_add_options --enable-shared-js
    169188ac_add_options --with-pthreads
     189
     190ac_add_options --with-system-bz2
    170191ac_add_options --with-system-jpeg
    171192ac_add_options --with-system-png
    172193ac_add_options --with-system-zlib
     194
     195mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
    173196EOF</userinput></screen>
    174197
     
    188211    </para>
    189212
    190 <!-- the end two symlinks for run-mozilla.sh and xpcshell might not be needed
    191  in xulrunner-15 -->
    192 <screen role="root"><userinput>make -C   xulrunner-build-dir install       &amp;&amp;
    193 mkdir -p  /usr/lib/mozilla/plugins          &amp;&amp;
    194 rm -rf    /usr/lib/xulrunner-&xulrunner-version;/plugins &amp;&amp;
    195 ln -sv    ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &amp;&amp;
    196 
    197 for library in /usr/lib/xulrunner-&xulrunner-version;/*.so; do
    198    ln -sfv $library /usr/lib
     213<screen role="root"><userinput>make -C xulrunner-build-dir install &amp;&amp;
     214
     215mkdir -pv /usr/lib/mozilla/plugins &amp;&amp;
     216rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &amp;&amp;
     217ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &amp;&amp;
     218
     219chmod -v 755 /usr/lib/xulrunner-&xulrunner-version;/libxpcom.so \
     220             /usr/lib/xulrunner-devel-&xulrunner-version;/sdk/bin/xpcshell &amp;&amp;
     221
     222for library in libmozalloc.so libmozjs.so libxpcom.so libxul.so; do
     223    ln -sfv ../../../xulrunner-&xulrunner-version;/$library \
     224            /usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib/$library
     225    ln -sfv xulrunner-&xulrunner-version;/$library /usr/lib/$library
    199226done
    200227
    201 ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh \
    202        /usr/lib/xulrunner-&xulrunner-version;
    203 ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/xpcshell \
    204        /usr/lib/xulrunner-&xulrunner-version;</userinput></screen>
     228ln -sfv ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh \
     229        /usr/lib/xulrunner-&xulrunner-version;
     230ln -sfv ../xulrunner-devel-&xulrunner-version;/sdk/bin/xpcshell \
     231        /usr/lib/xulrunner-&xulrunner-version;</userinput></screen>
     232
    205233  </sect2>
    206234
     
    217245
    218246    <para>
    219       <command>ln -sv ../mozilla/plugins ...</command>: Some packages will
     247      <command>ln -sfv ../mozilla/plugins ...</command>: Some packages will
    220248      install browser plugins into
    221249      <filename class="directory">/usr/lib/mozilla/plugins</filename>.
     
    225253
    226254    <para>
    227       <command>for library in
    228       /usr/lib/xulrunner-&xulrunner-version;/*.so; do ln -sfv $library /usr/lib;
    229       done</command>: The libraries shipped with this package are installed into
     255      <command>for library in libmozalloc.so libmozjs.so libxpcom.so libxul.so ...
     256      </command>: The libraries shipped with this package are installed into
    230257      <filename class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
    231258      which means they will not be found at runtime. These commands make
    232259      relative symbolic links to the shared libraries from
    233       <filename class="directory">/usr/lib</filename>.  Debug versions of some,
    234       but not all, of these libraries can also be found in
    235  <filename class="directory">/usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib</filename>.
    236     </para>
    237 
    238     <para>
    239      <command>ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh</command>
    240      The <filename>run-mozilla.sh</filename> and <filename>xpcshell</filename> files
    241      have been moved in this version, but the code which installs <command>firefox</command>
    242      (when linked to xulrunner) was not updated.  These symlinks allow firefox to install.
     260      <filename class="directory">/usr/lib</filename>. They will also replace duplicate
     261      libraries that are installed in
     262      <filename class="directory">/usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib</filename>
     263      with symlinks in order to save some space.
     264    </para>
     265
     266    <para>
     267      <command>ln -sfv ../xulrunner-devel-&xulrunner-version;/sdk/bin/ ...</command>
     268      The <filename>run-mozilla.sh</filename> and <filename>xpcshell</filename> files
     269      have been moved in this version, but the code which installs
     270      <application>Firefox</application> (when linked to xulrunner) was not updated.
     271      These symlinks allow<application>Firefox</application> to install when built against
     272      <application>Xulrunner</application>.
    243273    </para>
    244274
     
    254284
    255285      <seglistitem>
    256         <seg>xulrunner</seg>
    257         <seg>Numerous libraries, browser components, plugins, extensions, and
    258         helper modules installed in <filename
    259         class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
    260         <seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
    261         /usr/lib/xulrunner-&xulrunner-version;,
    262         /usr/lib/xulrunner-devel-&xulrunner-version;, and
    263         /usr/share/idl/xulrunner-&xulrunner-version;</seg>
     286        <seg>
     287          xulrunner
     288        </seg>
     289        <seg>
     290          Numerous libraries, browser components, plugins, extensions, and
     291          helper modules installed in <filename
     292          class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
     293        </seg>
     294        <seg>
     295          /usr/include/xulrunner-&xulrunner-version;,
     296          /usr/lib/xulrunner-&xulrunner-version;,
     297          /usr/lib/xulrunner-devel-&xulrunner-version; and
     298          /usr/share/idl/xulrunner-&xulrunner-version;
     299        </seg>
    264300      </seglistitem>
    265301    </segmentedlist>
     
    274310        <listitem>
    275311          <para>
    276             is a shell script, useful for identifying the version installed.
     312            is a shell script used for identifying the installed version
     313            and running <application>Xulrunner</application> applications.
    277314          </para>
    278315          <indexterm zone="xulrunner xulrunner-prog">
     
    281318        </listitem>
    282319      </varlistentry>
     320
    283321    </variablelist>
     322
    284323  </sect2>
     324
    285325</sect1>
Note: See TracChangeset for help on using the changeset viewer.