Ignore:
Timestamp:
08/01/2015 04:26:22 AM (9 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
ad6910d
Parents:
4a83293
Message:

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/seamonkey.xml

    r4a83293 rac38e9dc  
    66
    77  <!ENTITY seamonkey-download-http
    8   "https://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
     8           "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
    99  <!ENTITY seamonkey-download-ftp
    10   "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
    11   <!ENTITY seamonkey-md5sum        "44b6f9cfc2a95fd08dba35ff236d306e">
    12   <!ENTITY seamonkey-size          "180 MB">
    13   <!ENTITY seamonkey-buildsize     "4.1 GB (77 MB installed)">
    14   <!ENTITY seamonkey-time          "17 SBU (using parallelism=4)">
     10           "&mozilla-ftp;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
     11  <!ENTITY seamonkey-md5sum        "d9b1f863cb8808ca92a2d9ac004ae5ee">
     12  <!ENTITY seamonkey-size          "194 MB">
     13  <!ENTITY seamonkey-buildsize     "3.6 GB (72 MB installed)">
     14  <!ENTITY seamonkey-time          "61 SBU">
    1515]>
    1616
     
    4747    </para>
    4848
    49     &lfs76_checked;
     49    &lfs77_checked;
    5050
    5151    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8989      <xref linkend="alsa-lib"/>,
    9090      <xref linkend="gtk2"/>,
    91       <xref linkend="zip"/>, and
    92       <xref linkend="unzip"/>.
     91      <xref linkend="unzip"/>,
     92      <xref linkend="yasm"/> and
     93      <xref linkend="zip"/>
    9394    </para>
    9495
    9596    <bridgehead renderas="sect4">Recommended</bridgehead>
    9697    <para role="recommended">
    97       <xref linkend="yasm"/> or <xref linkend="libvpx"/>
    98       (to allow <application>SeaMonkey</application> to play webm videos).
    99     </para>
     98      <xref linkend="icu"/>,
     99      <xref linkend="libevent"/>,
     100      <xref linkend="libvpx"/>,
     101      <xref linkend="nspr"/>,
     102      <xref linkend="nss"/> and
     103      <xref linkend="sqlite"/>
     104    </para>
     105
     106    <note>
     107      <para>
     108        If you don't install recommended dependencies, then internal copies of
     109        those packages will be used. They might be tested to work, but they can
     110        be out of date or contain security holes.
     111      </para>
     112    </note>
     113
     114    <note>
     115      <para>
     116        You must have installed <application>OpenSSL</application> before
     117        <application>Python 2</application>, or the build system will quickly
     118        fail with output including "ImportError: cannot import name
     119        HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
     120        an older version of SeaMonkey), check if
     121        <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
     122        exists. If it does not, reinstall <xref linkend="python2"/> (after
     123        installing <xref linkend="openssl"/>. The latest version of any
     124        <emphasis>currently maintained</emphasis> version of OpenSSL should be
     125        satisfactory if already installed.
     126      </para>
     127    </note>
    100128
    101129    <bridgehead renderas="sect4">Optional</bridgehead>
    102130    <para role="optional">
     131      <xref linkend="curl"/>,
    103132      <xref linkend="dbus-glib"/>,
    104       <xref linkend="startup-notification"/>,
    105       <xref linkend="sqlite"/>,
    106       <xref linkend="libevent"/>,
    107133      <xref linkend="doxygen"/>,
    108134      <xref linkend="gst-plugins-base"/> (with
    109135      <xref linkend="gst-plugins-good"/> and
    110       <xref linkend="gst-ffmpeg"/> at runtime),
     136      <xref linkend="gst-ffmpeg"/> at runtime), or
     137      <xref linkend="gst10-plugins-base"/> (with
     138      <xref linkend="gst10-plugins-good"/> and
     139      <xref linkend="gst10-libav"/> at runtime),
    111140      <xref linkend="libnotify"/>,
    112       <xref linkend="nspr"/>,
    113       <xref linkend="nss"/>,
    114141      <xref linkend="openjdk"/>,
    115142      <xref linkend="pulseaudio"/>,
    116       <xref linkend="wireless_tools"/>,
    117       <xref linkend="valgrind"/> (only for testing the jemalloc code),
    118       <xref linkend="wget"/>, and
     143      <xref linkend="startup-notification"/>,
     144      <xref linkend="valgrind"/>,
     145      <xref linkend="wget"/>,
     146      <xref linkend="wireless_tools"/> and
    119147      <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
    120148    </para>
     
    127155  <sect2 role="installation">
    128156    <title>Installation of SeaMonkey</title>
    129 <!--
    130     <para>
    131       If you have not installed <xref linkend="wireless_tools"/>, apply the
    132       patch or the installer will fail:
    133     </para>
    134 
    135 <screen><userinput>patch -p1 &lt; ../seamonkey-&seamonkey-version;-necko-wifi-1.patch</userinput></screen>
    136 -->
     157
    137158    <para>
    138159      The configuration of <application>SeaMonkey</application> is accomplished
     
    146167    </para>
    147168
    148 <screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; EOF
    149 <literal># If you have a multicore machine you can speed up the build by running
    150 # several jobs at once, but if you have a single core, delete this line:
    151 mk_add_options MOZ_MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"
    152 
    153 # If you have installed Yasm delete this option:
    154 ac_add_options --disable-webm
    155 
    156 # If you have installed DBus-Glib delete this option:
     169<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
     170<literal># If you have a multicore machine, all cores will be used by default.
     171# If desired, you can reduce the number of cores used, e.g. to 1, by
     172# uncommenting the next line and setting a valid number of CPU cores.
     173#mk_add_options MOZ_MAKE_FLAGS="-j1"
     174
     175# If you have installed DBus-Glib comment out this line:
    157176ac_add_options --disable-dbus
    158177
    159 # If you have installed wireless-tools delete this option:
     178# If you have installed dbus-glib, and you have installed (or will install)
     179# wireless-tools, and you wish to use geolocation web services, comment out
     180# this line
    160181ac_add_options --disable-necko-wifi
    161182
    162 # If you have installed libnotify delete this option:
     183# If you have installed libnotify comment out this line:
    163184ac_add_options --disable-libnotify
    164185
     
    166187ac_add_options --disable-pulseaudio
    167188
    168 # GStreamer is necessary for H.264 video playback in HTML5 Video Player;
    169 # to be enabled, also remember to set "media.gstreamer.enabled" to "true"
    170 # in about:config. If you do *not* have GStreamer 0.x.y, uncomment this line:
     189# GStreamer is necessary for H.264 video playback in HTML5 Video Player.
     190# To enable it, make sure you also set "media.gstreamer.enabled" to
     191# "true" in about:config.
     192
     193# If you don't have GStreamer 0.10.x installed, uncomment this line:
    171194#ac_add_options --disable-gstreamer
    172 
    173 # Uncomment these if you have installed them:
    174 # ac_add_options --enable-startup-notification
    175 # ac_add_options --enable-system-hunspell
    176 # ac_add_options --enable-system-sqlite
    177 # ac_add_options --with-system-libevent
    178 # ac_add_options --with-system-libvpx
    179 # ac_add_options --with-system-nspr
    180 # ac_add_options --with-system-nss
    181 
    182 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir
     195# or uncomment this line if you have GStreamer 1.x.y installed:
     196#ac_add_options --enable-gstreamer=1.0
     197
     198# Uncomment these lines if you have installed optional dependencies:
     199#ac_add_options --enable-system-hunspell
     200#ac_add_options --enable-startup-notification
     201
     202# Comment out following options if you have not installed
     203# recommended dependencies:
     204ac_add_options --enable-system-sqlite
     205ac_add_options --with-system-libevent
     206ac_add_options --with-system-libvpx
     207ac_add_options --with-system-nspr
     208ac_add_options --with-system-nss
     209ac_add_options --with-system-icu
     210
     211# The BLFS editors recommend not changing anything below this line:
     212ac_add_options --prefix=/usr
     213ac_add_options --enable-application=suite
     214
    183215ac_add_options --disable-crashreporter
    184 ac_add_options --disable-debug
    185 ac_add_options --disable-debug-symbols
    186 ac_add_options --disable-installer
    187 ac_add_options --disable-static
     216ac_add_options --disable-updater
    188217ac_add_options --disable-tests
    189 ac_add_options --disable-updater
    190 ac_add_options --enable-application=suite
    191 ac_add_options --enable-shared
     218
     219ac_add_options --enable-optimize
     220ac_add_options --enable-strip
     221ac_add_options --enable-install-strip
     222
     223ac_add_options --enable-gio
     224ac_add_options --enable-official-branding
     225ac_add_options --enable-safe-browsing
     226ac_add_options --enable-url-classifier
     227
    192228ac_add_options --enable-system-cairo
    193229ac_add_options --enable-system-ffi
    194 ac_add_options --prefix=/usr
     230ac_add_options --enable-system-pixman
     231
    195232ac_add_options --with-pthreads
     233
     234ac_add_options --with-system-bz2
    196235ac_add_options --with-system-jpeg
    197236ac_add_options --with-system-png
    198 ac_add_options --with-system-zlib</literal>
     237ac_add_options --with-system-zlib
     238
     239mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
    199240EOF</userinput></screen>
    200241
    201242    <para>
     243      First, fix building with system freetype-2.6 or later:
     244    </para>
     245
     246<screen><userinput>sed -i '/^ftglyph.h/ i ftfntfmt.h' mozilla/config/system-headers</userinput></screen>
     247
     248    <para>
    202249      The moz-build-dir directory needs to exist and match the value used in
    203       mozconfig (above) for the object directory (MOZ_OBJDIR):
    204     </para>
    205 
    206 <screen><userinput>mkdir -vp mozilla/moz-build-dir</userinput></screen>
     250      the mozconfig above for the object directory (MOZ_OBJDIR):
     251    </para>
     252
     253<screen><userinput>mkdir -v mozilla/moz-build-dir</userinput></screen>
     254
     255    <note>
     256      <para>
     257        If you have a multicore machine, <application>SeaMonkey</application>
     258        will use all the cores by default. Exceptionally, you can reduce
     259        the number of cores, e.g. to 1, by prepending the
     260        <envar>MOZ_MAKE_FLAGS="-j1"</envar> environment variable to all
     261        of the <command>make</command> commands below.
     262      </para>
     263    </note>
    207264
    208265    <para>
     
    214271
    215272    <para>
    216       This package does not come with a test suite. However, if
    217       <application>X</application> is running it can be launched
    218       from the build directory before installing with the command line:
    219       <userinput>moz-build-dir/mozilla/dist/seamonkey/seamonkey</userinput>
     273      This package does not come with a test suite.
    220274    </para>
    221275
     
    225279    </para>
    226280
    227 <screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
    228 cp -v moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
    229 
    230     <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
    231       All the Development Libraries and Headers
    232     </bridgehead>
    233 
    234     <para>
    235       If you want to install the full <application>SeaMonkey</application>
    236       development environment, as the
     281<screen role="root"><userinput>make -f client.mk install INSTALL_SDK=       &amp;&amp;
     282chown -R root:root /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
     283install -v -m644 moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
     284
     285    <para>
     286      The above instruction just installs the parts you need to run
     287      <application>SeaMonkey</application>. Alternatively, if you want to
     288      install the full <application>SeaMonkey</application> development
     289      environment, run the following command as the
    237290      <systemitem class="username">root</systemitem> user:
    238291    </para>
    239292
    240 <screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
     293<screen role="root"><userinput>make -f client.mk install</userinput></screen>
     294
    241295  </sect2>
    242296
    243297  <sect2 role="commands">
    244298    <title>Command Explanations</title>
    245 
    246     <para>
    247       <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
    248       at the beginning of the build.
    249     </para>
    250299
    251300    <para>
     
    261310  <sect2 role="configuration">
    262311    <title>Configuring SeaMonkey</title>
    263 
    264     <para>
    265       If you deleted the <option>--disable-webm</option> option from your
    266       <filename>mozconfig</filename>, your <application>SeaMonkey</application>
    267       can play most youtube videos without the need for the flash plugin. To
    268       enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
    269       on 'Join the HTML5 Trial' (needs cookies enabled).
    270     </para>
    271312
    272313    <para>
     
    305346
    306347    <para>
    307       If you use a desktop environment like <application>Gnome</application> or
    308       <application>KDE</application> you may wish to create a
    309       <filename>seamonkey.desktop</filename> file so that
    310       <application>SeaMonkey</application> appears in the panel's menus. If you
    311       didn't enable <application>Startup-Notification</application> in your
    312       mozconfig change the StartupNotify line to false. As the
    313       <systemitem class="username">root</systemitem> user:
    314     </para>
    315 
    316 <screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps}              &amp;&amp;
     348      If you use a desktop environment such as <application>GNOME</application>
     349      or <application>KDE</application>, you may want to create a desktop file
     350      in order to be able to launch <application>SeaMonkey</application> from the
     351      desktop menus. If you didn't enable
     352      <application>Startup Notification</application> support in your mozconfig
     353      then change the StartupNotify line to false. Run the following commands
     354      as the <systemitem class="username">root</systemitem> user:
     355    </para>
     356
     357<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
    317358
    318359cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF" &amp;&amp;
     
    339380      <segtitle>Installed Programs</segtitle>
    340381      <segtitle>Installed Libraries</segtitle>
    341       <segtitle>Installed Directory</segtitle>
     382      <segtitle>Installed Directories</segtitle>
    342383
    343384      <seglistitem>
    344         <seg>seamonkey</seg>
     385        <seg>
     386          seamonkey
     387        </seg>
    345388        <seg>
    346389          None
    347390        </seg>
    348391        <seg>
    349           /usr/lib/seamonkey-&seamonkey-version;.
     392          /usr/lib/seamonkey-&seamonkey-version;
    350393        </seg>
    351394      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.