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/other/thunderbird.xml

    r17fee97b r5e94b6c3  
    55  %general-entities;
    66
    7   <!ENTITY thunderbird-download-http
    8            "&mozilla-http;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
    9   <!ENTITY thunderbird-download-ftp
    10            "&mozilla-ftp;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
    11   <!ENTITY thunderbird-md5sum            "0a740cdeee86d3ab49c635c6070c4b06">
    12   <!ENTITY thunderbird-size              "194 MB">
    13   <!ENTITY thunderbird-buildsize         "3.9 GB (73 MB installed)">
    14   <!ENTITY thunderbird-time              "50 SBU">
     7  <!ENTITY thunderbird-download-http "&mozilla-http;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
     8<!--  <!ENTITY thunderbird-download-ftp "&mozilla-ftp;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">-->
     9  <!ENTITY thunderbird-download-ftp " ">
     10  <!ENTITY thunderbird-md5sum            "44919e93fdd3d8e9ba99e62d1d7e1fd7">
     11  <!ENTITY thunderbird-size              "195 MB">
     12  <!ENTITY thunderbird-buildsize         "3.8 GB (72 MB installed)">
     13  <!ENTITY thunderbird-time              "9 SBU (with -j4, estimated 30 SBU with -j1)">
    1514]>
    1615
     
    3837    </para>
    3938
    40     &lfs77_checked;
     39    &lfs78_checked;
    4140
    4241    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7372      </listitem>
    7473    </itemizedlist>
     74<!--
     75    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     76    <itemizedlist spacing="compact">
     77      <listitem>
     78        <para>
     79          Required patch, if building with gcc-5:
     80          <ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc5-1.patch"/>
     81        </para>
     82      </listitem>
     83    </itemizedlist>-->
    7584
    7685    <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
     
    8089      <xref linkend="alsa-lib"/>,
    8190      <xref linkend="gtk2"/>,
    82       <xref linkend="unzip"/>,
    83       <xref linkend="yasm"/> and
    84       <xref linkend="zip"/>
     91      <xref linkend="zip"/>,
     92      <xref linkend="unzip"/>, and
     93      <xref linkend="yasm"/>
    8594    </para>
    8695
     
    9099      <xref linkend="libvpx"/>,
    91100      <xref linkend="nspr"/>,
    92       <xref linkend="nss"/> and
     101      <xref linkend="nss"/>, and
    93102      <xref linkend="sqlite"/>
    94103    </para>
     
    96105    <note>
    97106      <para>
    98         If you don't install recommended dependencies, then internal copies of
    99         those packages will be used. They might be tested to work, but they can
    100         be out of date or contain security holes.
     107        If you don't install recommended dependencies,
     108        then internal copies of those packages will
     109        be used. They might be tested to work, but
     110        they can be out of date or contain security
     111        holes.
    101112      </para>
    102113    </note>
     
    104115    <note>
    105116      <para>
    106         You must have installed <application>OpenSSL</application> before
     117        With <application>Thunderbird-31.0</application> and later versions,
     118        you must have installed <application>Openssl</application> before
    107119        <application>Python 2</application>, or the build system will quickly
    108120        fail with output including "ImportError: cannot import name
    109121        HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
    110         an older version of SeaMonkey), check if
     122        an older version of Thunderbird), check if
    111123        <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
    112         exists. If it does not, reinstall <xref linkend="python2"/> (after
    113         installing <xref linkend="openssl"/>. The latest version of any
    114         <emphasis>currently maintained</emphasis> version of OpenSSL should be
    115         satisfactory if already installed.
     124        exists.  If it does not, reinstall <xref linkend="python2"/> (after
     125        installing <xref linkend="openssl"/>  - the latest version of any
     126        <emphasis>currently maintained</emphasis> version of Openssl should be
     127        satisfactory if already installed - if that package has not already
     128        been installed).
    116129      </para>
    117130    </note>
     
    123136      <xref linkend="dbus-glib"/>,
    124137      <xref linkend="doxygen"/>,
    125       <xref linkend="gst-plugins-base"/> (with
    126       <xref linkend="gst-plugins-good"/> and
    127       <xref linkend="gst-ffmpeg"/> at runtime), or
     138      <xref linkend="GConf"/>,
    128139      <xref linkend="gst10-plugins-base"/> (with
    129140      <xref linkend="gst10-plugins-good"/> and
    130141      <xref linkend="gst10-libav"/> at runtime),
    131       <xref linkend="libnotify"/>,
    132142      <xref linkend="openjdk"/>,
    133143      <xref linkend="pulseaudio"/>,
    134144      <xref linkend="startup-notification"/>,
    135145      <xref linkend="wget"/>,
    136       <xref linkend="wireless_tools"/> and
     146      <xref linkend="wireless_tools"/>, and
    137147      <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
    138148    </para>
     
    169179ac_add_options --disable-necko-wifi
    170180
    171 # If you have installed libnotify comment out this line:
    172 ac_add_options --disable-libnotify
    173 
    174 # Comment out following option if you have PulseAudio installed
    175 ac_add_options --disable-pulseaudio
    176 
    177 # GStreamer is necessary for H.264 video playback in HTML5 Video Player.
    178 # To enable it, make sure you also set "media.gstreamer.enabled" to
    179 # "true" in about:config.
    180 
    181 # If you have GStreamer 0.10.x installed, comment out this line:
     181# GStreamer is necessary for H.264 video playback in HTML5 Video Player;
     182# to be enabled, also remember to set "media.gstreamer.enabled" to "true"
     183# in about:config. If you have GStreamer 1.x.y, comment out this line and
     184# uncomment the following one:
    182185ac_add_options --disable-gstreamer
    183 # or uncomment this line if you have GStreamer 1.x.y installed:
    184186#ac_add_options --enable-gstreamer=1.0
    185187
     
    188190#ac_add_options --enable-startup-notification
    189191
     192# Comment out following option if you have PulseAudio installed
     193ac_add_options --disable-pulseaudio
     194
     195# Comment out following option if you have gconf installed
     196ac_add_options --disable-gconf
     197<!-- Uncommenting does not work
     198# If you have not installed Yasm then uncomment this line:
     199#ac_add_options - -disable-webm
     200-->
    190201# If you want to compile the Mozilla Calendar, uncomment this line:
    191202#ac_add_options --enable-calendar
     
    219230ac_add_options --enable-url-classifier
    220231
    221 ac_add_options --enable-system-cairo
     232# Use internal cairo due to reports of unstable execution with
     233# system cairo
     234#ac_add_options --enable-system-cairo
    222235ac_add_options --enable-system-ffi
    223236ac_add_options --enable-system-pixman
     
    231244EOF</userinput></screen>
    232245
    233     <para>
    234       First, fix building with system freetype-2.6 or later:
    235     </para>
    236 
    237 <screen><userinput>sed -i '/^ftglyph.h/ i ftfntfmt.h' mozilla/config/system-headers</userinput></screen>
    238 
     246<!-- might be necessary
     247test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-->
    239248    <para>
    240249      Compile <application>Thunderbird</application> by issuing the following
     
    242251    </para>
    243252
     253    <note><para>
     254      If you are compiling <application>Thunderbird</application> in chroot,
     255      prepend <envar>SHELL=/bin/sh</envar> to the <!--first -->make command below.
     256    </para></note>
     257
    244258<screen><userinput>make -f client.mk</userinput></screen>
    245259
     
    254268
    255269<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
    256 chown -R root:root /usr/lib/thunderbird-&thunderbird-version;</userinput></screen>
    257 
    258     <para>
    259       While still as the <systemitem class="username">root</systemitem> user,
    260       install the icon files which will be used in the desktop file below:
    261     </para>
    262 
    263 <screen role="root"><userinput>for s in 16 22 24 32 48 256
    264 do
    265 install -v -Dm644 /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default${s}.png \
    266                   /usr/share/icons/hicolor/${s}x${s}/apps/thunderbird.png
    267 done &amp;&amp;
    268 gtk-update-icon-cache -qf /usr/share/icons/hicolor &amp;&amp;
    269 unset s</userinput></screen>
    270 
     270chown -R 0:0 /usr/lib/thunderbird-&thunderbird-version;</userinput></screen>
     271
     272<!-- thunderbuild directory does not exist anymore. Leaving as comment,
     273in case an editor figures out how to install the development environment.
     274    <para>
     275      The above instruction just installs the parts you need to run
     276      <application>Thunderbird</application>. Alternatively, if you want to
     277      install the full <application>Thunderbird</application> development
     278      environment, run the following command as the
     279      <systemitem class="username">root</systemitem> user:
     280    </para>
     281
     282<screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
     283-->
    271284  </sect2>
    272285
    273286  <sect2 role="commands">
    274287    <title>Command Explanations</title>
     288<!-- might be necessary
     289    <para>
     290      <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>: On this
     291      version of thunderbird, an old bug has reappeared in 32-bit builds.  With
     292      optimization, the install fails with a Python error.  This command will
     293      fix i686 builds and preserve the optimization on x86_64.
     294    </para>-->
    275295
    276296    <para>
     
    287307    <title>Configuring Thunderbird</title>
    288308
    289     <para>
    290       If your Window or Desktop Manager does not allow you to configure a
    291       default browser, you can add a configuration parameter to
    292       <application>Thunderbird</application> so that a browser will start when
    293       when you click on an Internet/intranet/local URL. The procedure to check
    294       or modify any of the configuration parameters is quite simple and the
    295       instructions here can be used to view or modify any of the parameters.
    296     </para>
    297 
    298     <para>
    299       First, open the configuration dialog by opening the <quote>Edit</quote>
    300       drop-down menu. Choose <quote>Preferences</quote> and then click on the
    301       <quote>Advanced</quote> icon on the top menu bar. Choose the
    302       <quote>General</quote> tab and click on the <quote>Config Editor</quote>
    303       button. This will display a list of the configuration preferences and
    304       information related to each one. You can use the <quote>Filter:</quote>
    305       bar to enter search criteria and narrow down the listed items. Changing
    306       a preference can be done using two methods. One, if the preference has a
    307       boolean value (True/False), simply double-click on the preference to
    308       toggle the value and two, for other preferences simply right-click on
    309       the desired line, choose <quote>Modify</quote> from the menu and change
    310       the value. Creating new preference items is accomplished in the same
    311       way, except choose <quote>New</quote> from the menu and provide the
    312       desired data into the fields when prompted.
    313     </para>
    314 
    315     <para>
    316       The configuration preference item you need to check so that
    317       <application>Thunderbird</application> uses a specified browser is the
    318       <parameter>network.protocol-handler.app.http</parameter> which should be
    319       set to the path of the desired browser, e.g.
    320       <option>/usr/bin/firefox</option>.
    321     </para>
    322 
    323     <tip>
     309    <sect3><title>Configuration Information</title>
     310
    324311      <para>
    325         There is a multitude of configuration parameters you can tweak to
    326         customize <application>Thunderbird</application>. A very extensive,
    327         but not so up-to-date list of these parameters can be found at
    328         <ulink url="http://preferential.mozdev.org/preferences.html"/>.
     312        If your Window or Desktop Manager does not allow you to configure a
     313        default browser, you can add a configuration parameter to
     314        <application>Thunderbird</application> so that a browser will start when
     315        when you click on an Internet/intranet/local URL. The procedure to check
     316        or modify any of the configuration parameters is quite simple and the
     317        instructions here can be used to view or modify any of the parameters.
    329318      </para>
    330     </tip>
    331 
    332     <para>
     319
     320      <para>
     321        First, open the configuration dialog by opening the <quote>Edit</quote>
     322        drop-down menu. Choose <quote>Preferences</quote> and then click on the
     323        <quote>Advanced</quote> icon on the top menu bar. Choose the
     324        <quote>General</quote> tab and click on the <quote>Config Editor</quote>
     325        button. This will display a list of the configuration preferences and
     326        information related to each one. You can use the <quote>Filter:</quote>
     327        bar to enter search criteria and narrow down the listed items. Changing
     328        a preference can be done using two methods. One, if the preference has a
     329        boolean value (True/False), simply double-click on the preference to
     330        toggle the value and two, for other preferences simply right-click on
     331        the desired line, choose <quote>Modify</quote> from the menu and change
     332        the value. Creating new preference items is accomplished in the same
     333        way, except choose <quote>New</quote> from the menu and provide the
     334        desired data into the fields when prompted.
     335      </para>
     336
     337      <para>
     338        The configuration preference item you need to check so that
     339        <application>Thunderbird</application> uses a specified browser is the
     340        <parameter>network.protocol-handler.app.http</parameter> which should be
     341        set to the path of the desired browser, e.g.
     342        <option>/usr/bin/firefox</option>.
     343      </para>
     344
     345      <tip>
     346        <para>
     347          There is a multitude of configuration parameters you can tweak to
     348          customize <application>Thunderbird</application>. A very extensive,
     349          but not so up-to-date list of these parameters can be found at
     350          <ulink url="http://preferential.mozdev.org/preferences.html"/>.
     351        </para>
     352      </tip>
     353
     354    <para>
     355
    333356      If you use a desktop environment such as <application>GNOME</application>
    334       or <application>KDE</application>, you may want to create a desktop file
    335       in order to be able to launch <application>Thunderbird</application> from the
    336       desktop menus. If you didn't enable
    337       <application>Startup Notification</application> support in your mozconfig
    338       then change the StartupNotify line to false. Run the following commands
    339       as the <systemitem class="username">root</systemitem> user:
    340     </para>
    341 
    342 <screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
    343 
    344 cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF"
     357      or <application>KDE</application>, a desktop file
     358      <filename>thunderbird.desktop</filename> may be created, in order to
     359      include a <quote><application>Thunderbird</application></quote> entry in
     360      the menu. If you didn't enable
     361      <application>startup-notification</application> in your mozconfig, then
     362      change the StartupNotify line to false. Run the following commands as the
     363      <systemitem class="username">root</systemitem> user:
     364
     365    </para>
     366
     367<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
     368
     369cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF" &amp;&amp;
    345370<literal>[Desktop Entry]
    346371Encoding=UTF-8
     
    355380MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
    356381StartupNotify=true</literal>
    357 EOF</userinput></screen>
    358 
     382EOF
     383
     384ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
     385        /usr/share/pixmaps/thunderbird.png</userinput></screen>
     386    </sect3>
    359387  </sect2>
    360388
     
    363391
    364392    <segmentedlist>
    365       <segtitle>Installed Programs</segtitle>
     393      <segtitle>Installed Program</segtitle>
    366394      <segtitle>Installed Libraries</segtitle>
    367       <segtitle>Installed Directories</segtitle>
     395      <segtitle>Installed Directory</segtitle>
    368396
    369397      <seglistitem>
Note: See TracChangeset for help on using the changeset viewer.