Ignore:
Timestamp:
02/11/2016 07:19:50 AM (9 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
58b6b9b2
Parents:
17fee97b
Message:

X Software section: Merge changes from trunk.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/seamonkey.xml

    r17fee97b r5e94b6c3  
    55  %general-entities;
    66
    7   <!ENTITY seamonkey-download-http
    8            "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
    9   <!ENTITY seamonkey-download-ftp
    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">
     7  <!ENTITY seamonkey-download-http "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.xz">
     8<!--  <!ENTITY seamonkey-download-ftp "&mozilla-ftp;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">-->
     9  <!ENTITY seamonkey-download-ftp " ">
     10  <!ENTITY seamonkey-md5sum        "eb571346b1ad00d3197d48aa0a906102">
     11  <!ENTITY seamonkey-size          "175 MB">
     12  <!ENTITY seamonkey-buildsize     "4.3 GB (84 MB installed)">
     13  <!ENTITY seamonkey-time          "10 SBU (using parallelism=4)">
    1514]>
    1615
     
    4746    </para>
    4847
    49     &lfs77_checked;
     48    &lfs78_checked;
    5049
    5150    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8281      </listitem>
    8382    </itemizedlist>
     83
     84    <note>
     85      <para>
     86        The tarball
     87        <emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
     88        untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
     89      </para>
     90    </note>
    8491
    8592    <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
     
    8996      <xref linkend="alsa-lib"/>,
    9097      <xref linkend="gtk2"/>,
    91       <xref linkend="unzip"/>,
    92       <xref linkend="yasm"/> and
    93       <xref linkend="zip"/>
     98      <xref linkend="zip"/>,
     99      <xref linkend="unzip"/>, and
     100      <xref linkend="yasm"/>
    94101    </para>
    95102
     
    100107      <xref linkend="libvpx"/>,
    101108      <xref linkend="nspr"/>,
    102       <xref linkend="nss"/> and
     109      <xref linkend="nss"/>, and
    103110      <xref linkend="sqlite"/>
    104111    </para>
     
    114121    <note>
    115122      <para>
    116         You must have installed <application>OpenSSL</application> before
    117         <application>Python 2</application>, or the build system will quickly
     123        You must have installed <application>Openssl</application> before
     124        <application>Python 2</application> or the build system will quickly
    118125        fail with output including "ImportError: cannot import name
    119126        HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
    120         an older version of SeaMonkey), check if
     127        an older version of Seamonkey), check if
    121128        <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
     129        exists.  If it does not, reinstall <xref linkend="python2"/> (after
     130        installing <xref linkend="openssl"/>.  The latest version of any
     131        <emphasis>currently maintained</emphasis> version of Openssl should be
    125132        satisfactory if already installed.
    126133      </para>
     
    132139      <xref linkend="dbus-glib"/>,
    133140      <xref linkend="doxygen"/>,
    134       <xref linkend="gst-plugins-base"/> (with
    135       <xref linkend="gst-plugins-good"/> and
    136       <xref linkend="gst-ffmpeg"/> at runtime), or
     141      <xref linkend="GConf"/>,
    137142      <xref linkend="gst10-plugins-base"/> (with
    138143      <xref linkend="gst10-plugins-good"/> and
    139144      <xref linkend="gst10-libav"/> at runtime),
    140       <xref linkend="libnotify"/>,
    141145      <xref linkend="openjdk"/>,
    142146      <xref linkend="pulseaudio"/>,
     
    144148      <xref linkend="valgrind"/>,
    145149      <xref linkend="wget"/>,
    146       <xref linkend="wireless_tools"/> and
     150      <xref linkend="wireless_tools"/>, and
    147151      <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
    148152    </para>
     
    151155      User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
    152156    </para>
     157
    153158  </sect2>
    154159
     
    181186ac_add_options --disable-necko-wifi
    182187
    183 # If you have installed libnotify comment out this line:
    184 ac_add_options --disable-libnotify
    185 
    186 # Comment out following option if you have PulseAudio installed
    187 ac_add_options --disable-pulseaudio
    188 
    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:
    194 #ac_add_options --disable-gstreamer
    195 # or uncomment this line if you have GStreamer 1.x.y installed:
     188# GStreamer is necessary for H.264 video playback in HTML5 Video Player;
     189# to be enabled, also remember to set "media.gstreamer.enabled" to "true"
     190# in about:config.  If you have GStreamer 1.x.y, uncomment this line:
    196191#ac_add_options --enable-gstreamer=1.0
    197192
     
    199194#ac_add_options --enable-system-hunspell
    200195#ac_add_options --enable-startup-notification
     196
     197# Comment out following option if you have PulseAudio installed
     198ac_add_options --disable-pulseaudio
     199
     200# Comment out following option if you have gconf installed
     201ac_add_options --disable-gconf
    201202
    202203# Comment out following options if you have not installed
     
    226227ac_add_options --enable-url-classifier
    227228
    228 ac_add_options --enable-system-cairo
     229# Use internal cairo due to reports of unstable execution with
     230# system cairo
     231#ac_add_options --enable-system-cairo
    229232ac_add_options --enable-system-ffi
    230233ac_add_options --enable-system-pixman
     
    244247    </para>
    245248
    246 <screen><userinput>sed -i '/^ftglyph.h/ i ftfntfmt.h' mozilla/config/system-headers</userinput></screen>
     249<screen><userinput>sed -e '/^ftglyph.h/i ftfntfmt.h'                     \
     250    -e '/^freetype\/ftcache.h/a freetype\/ftfntfmt.h' \
     251    -i mozilla/config/system-headers</userinput></screen>
     252
     253    <note><para>
     254      If you are compiling <application>SeaMonkey</application> in chroot, make
     255      sure you have the <envar>SHELL</envar> environment variable set or prepend
     256      <envar>SHELL=/bin/sh</envar> to the first make command below.
     257    </para></note>
    247258
    248259    <para>
    249260      The moz-build-dir directory needs to exist and match the value used in
    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>
     261      mozconfig (above) for the object directory (MOZ_OBJDIR):
     262    </para>
     263
     264<screen><userinput>mkdir -vp mozilla/moz-build-dir</userinput></screen>
    264265
    265266    <para>
     
    267268      command:
    268269    </para>
    269 
     270<!--  Should not be needed if Xorg setup instructions were followed
     271    <note><para>If you did not install Xorg in /usr, be sure to specify the
     272    location with:</para>
     273
     274    <screen><userinput>export CPLUS_INCLUDE_PATH=$XORG_PREFIX/include
     275export C_INCLUDE_PATH=$XORG_PREFIX/include</userinput></screen>
     276    </note>
     277-->
    270278<screen><userinput>make -f client.mk</userinput></screen>
    271279
     
    279287    </para>
    280288
    281 <screen role="root"><userinput>make -f client.mk install INSTALL_SDK=       &amp;&amp;
    282 chown -R root:root /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
    283 install -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
     289<screen role="root"><userinput>make  -f client.mk install INSTALL_SDK= &amp;&amp;
     290chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version;    &amp;&amp;
     291cp    -v moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
     292
     293    <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
     294      All the Development Libraries and Headers
     295    </bridgehead>
     296
     297    <para>
     298      If you want to install the full <application>SeaMonkey</application>
     299      development environment, as the
    290300      <systemitem class="username">root</systemitem> user:
    291301    </para>
    292302
    293 <screen role="root"><userinput>make -f client.mk install</userinput></screen>
    294 
     303<screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
    295304  </sect2>
    296305
    297306  <sect2 role="commands">
    298307    <title>Command Explanations</title>
     308
     309    <para>
     310      <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
     311      of Makefile at the beginning of the build, where a file cannot be found.
     312    </para>
    299313
    300314    <para>
     
    310324  <sect2 role="configuration">
    311325    <title>Configuring SeaMonkey</title>
    312 
     326<!-- This worked for me without the extra configuration
     327    <para>
     328      If you did not add the <option>- -disable-webm</option> option to your
     329      <filename>mozconfig</filename>, your <application>SeaMonkey</application>
     330      can play most youtube videos without the need for the flash plugin. To
     331      enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
     332      on 'Join the HTML5 Trial' (needs cookies enabled).
     333    </para>
     334-->
    313335    <para>
    314336      For installing various <application>SeaMonkey</application> plugins, refer
     
    346368
    347369    <para>
    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;
     370      If you use a desktop environment like <application>Gnome</application> or
     371      <application>KDE</application> you may wish to create a
     372      <filename>seamonkey.desktop</filename> file so that
     373      <application>SeaMonkey</application> appears in the panel's menus. If you
     374      didn't enable <application>Startup-Notification</application> in your
     375      mozconfig change the StartupNotify line to false. As the
     376      <systemitem class="username">root</systemitem> user:
     377    </para>
     378
     379<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps}              &amp;&amp;
    358380
    359381cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF" &amp;&amp;
     
    380402      <segtitle>Installed Programs</segtitle>
    381403      <segtitle>Installed Libraries</segtitle>
    382       <segtitle>Installed Directories</segtitle>
     404      <segtitle>Installed Directory</segtitle>
    383405
    384406      <seglistitem>
     407        <seg>seamonkey</seg>
    385408        <seg>
    386           seamonkey
    387         </seg>
    388         <seg>
    389           None
     409          Numerous libraries, browser, and email/newsgroup components, plugins,
     410          extensions, and helper modules installed in <filename
     411          class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
    390412        </seg>
    391413        <seg>
Note: See TracChangeset for help on using the changeset viewer.