Changeset 5e94b6c3 for xsoft/other/thunderbird.xml
- Timestamp:
- 02/11/2016 07:19:50 AM (9 years ago)
- Branches:
- systemd-13485
- Children:
- 58b6b9b2
- Parents:
- 17fee97b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/other/thunderbird.xml
r17fee97b r5e94b6c3 5 5 %general-entities; 6 6 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)"> 15 14 ]> 16 15 … … 38 37 </para> 39 38 40 &lfs7 7_checked;39 &lfs78_checked; 41 40 42 41 <bridgehead renderas="sect3">Package Information</bridgehead> … … 73 72 </listitem> 74 73 </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>--> 75 84 76 85 <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead> … … 80 89 <xref linkend="alsa-lib"/>, 81 90 <xref linkend="gtk2"/>, 82 <xref linkend=" unzip"/>,83 <xref linkend=" yasm"/>and84 <xref linkend=" zip"/>91 <xref linkend="zip"/>, 92 <xref linkend="unzip"/>, and 93 <xref linkend="yasm"/> 85 94 </para> 86 95 … … 90 99 <xref linkend="libvpx"/>, 91 100 <xref linkend="nspr"/>, 92 <xref linkend="nss"/> and101 <xref linkend="nss"/>, and 93 102 <xref linkend="sqlite"/> 94 103 </para> … … 96 105 <note> 97 106 <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. 101 112 </para> 102 113 </note> … … 104 115 <note> 105 116 <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 107 119 <application>Python 2</application>, or the build system will quickly 108 120 fail with output including "ImportError: cannot import name 109 121 HTTPSHandler". If you are in any doubt about this (e.g. upgrading from 110 an older version of SeaMonkey), check if122 an older version of Thunderbird), check if 111 123 <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). 116 129 </para> 117 130 </note> … … 123 136 <xref linkend="dbus-glib"/>, 124 137 <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"/>, 128 139 <xref linkend="gst10-plugins-base"/> (with 129 140 <xref linkend="gst10-plugins-good"/> and 130 141 <xref linkend="gst10-libav"/> at runtime), 131 <xref linkend="libnotify"/>,132 142 <xref linkend="openjdk"/>, 133 143 <xref linkend="pulseaudio"/>, 134 144 <xref linkend="startup-notification"/>, 135 145 <xref linkend="wget"/>, 136 <xref linkend="wireless_tools"/> and146 <xref linkend="wireless_tools"/>, and 137 147 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink> 138 148 </para> … … 169 179 ac_add_options --disable-necko-wifi 170 180 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: 182 185 ac_add_options --disable-gstreamer 183 # or uncomment this line if you have GStreamer 1.x.y installed:184 186 #ac_add_options --enable-gstreamer=1.0 185 187 … … 188 190 #ac_add_options --enable-startup-notification 189 191 192 # Comment out following option if you have PulseAudio installed 193 ac_add_options --disable-pulseaudio 194 195 # Comment out following option if you have gconf installed 196 ac_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 --> 190 201 # If you want to compile the Mozilla Calendar, uncomment this line: 191 202 #ac_add_options --enable-calendar … … 219 230 ac_add_options --enable-url-classifier 220 231 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 222 235 ac_add_options --enable-system-ffi 223 236 ac_add_options --enable-system-pixman … … 231 244 EOF</userinput></screen> 232 245 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 247 test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&--> 239 248 <para> 240 249 Compile <application>Thunderbird</application> by issuing the following … … 242 251 </para> 243 252 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 244 258 <screen><userinput>make -f client.mk</userinput></screen> 245 259 … … 254 268 255 269 <screen role="root"><userinput>make -f client.mk install INSTALL_SDK= && 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 && 268 gtk-update-icon-cache -qf /usr/share/icons/hicolor && 269 unset s</userinput></screen> 270 270 chown -R 0:0 /usr/lib/thunderbird-&thunderbird-version;</userinput></screen> 271 272 <!-- thunderbuild directory does not exist anymore. Leaving as comment, 273 in 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 --> 271 284 </sect2> 272 285 273 286 <sect2 role="commands"> 274 287 <title>Command Explanations</title> 288 <!-- might be necessary 289 <para> 290 <command>test $(uname -m) = "i686" && 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>--> 275 295 276 296 <para> … … 287 307 <title>Configuring Thunderbird</title> 288 308 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 324 311 <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. 329 318 </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 333 356 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 && 343 344 cat > /usr/share/applications/thunderbird.desktop << "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} && 368 369 cat > /usr/share/applications/thunderbird.desktop << "EOF" && 345 370 <literal>[Desktop Entry] 346 371 Encoding=UTF-8 … … 355 380 MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto; 356 381 StartupNotify=true</literal> 357 EOF</userinput></screen> 358 382 EOF 383 384 ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \ 385 /usr/share/pixmaps/thunderbird.png</userinput></screen> 386 </sect3> 359 387 </sect2> 360 388 … … 363 391 364 392 <segmentedlist> 365 <segtitle>Installed Program s</segtitle>393 <segtitle>Installed Program</segtitle> 366 394 <segtitle>Installed Libraries</segtitle> 367 <segtitle>Installed Director ies</segtitle>395 <segtitle>Installed Directory</segtitle> 368 396 369 397 <seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.