]> git.pld-linux.org Git - packages/thunderbird.git/blobdiff - thunderbird.spec
disable clang and gold by default
[packages/thunderbird.git] / thunderbird.spec
index aa698a43ae0bef4c9429cbea09beb6d7ad63e881..d0d3da6665aecd587d2b8de7fffb18bc667f16e3 100644 (file)
@@ -8,12 +8,13 @@
 %bcond_without lightning       # disable Sunbird/Lightning calendar
 %bcond_without official        # official Thunderbird branding
 %bcond_with    crashreporter   # report crashes to crash-stats.mozilla.com
-%bcond_without gold            # use default linker instead of gold
+%bcond_with    gold            # use gold instead of default linker
 # - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964
 %bcond_with    shared_js       # shared libmozjs library [broken]
 %bcond_without system_icu      # build without system ICU
 %bcond_with    system_cairo    # build with system cairo (not supported in 60.0)
-%bcond_without clang           # build using Clang/LLVM
+%bcond_with    system_libvpx   # build with system libvpx (60.7.0 does not build with libvpx 1.8)
+%bcond_with    clang           # build using Clang/LLVM
 
 # UPDATING TRANSLATIONS:
 %if 0
@@ -24,12 +25,14 @@ U=http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/$V/linux-i686
 curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
 %endif
 
+%define                _enable_debug_packages  0
+
 %if 0%{?_enable_debug_packages} != 1
 %undefine      crashreporter
 %endif
 
-%define                nspr_ver        4.19
-%define                nss_ver         3.36.4
+%define                nspr_ver        4.21
+%define                nss_ver         3.44.1
 
 # The actual sqlite version (see RHBZ#480989):
 %define                sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR)
@@ -37,133 +40,134 @@ curl -s $U | sed -ne 's,.*href="\([^"]\+\)/".*,'"$U"'xpi/\1.xpi,p'
 Summary:       Thunderbird - email client
 Summary(pl.UTF-8):     Thunderbird - klient poczty
 Name:          thunderbird
-Version:       60.3.3
+Version:       68.0
 Release:       1
 License:       MPL v2.0
 Group:         X11/Applications/Mail
 Source0:       http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/%{name}-%{version}.source.tar.xz
-# Source0-md5: d697e8a613d0716c10b975a504b9cc20
+# Source0-md5: 79fbff6edded2fce28026c617dec805c
 Source1:       %{name}.desktop
 Source2:       %{name}.sh
 Source100:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ar.xpi
-# Source100-md5:       2edcc883367bfe63e08d9723794058f9
+# Source100-md5:       d5e114116a5e36856f3353f153d7bc61
 Source101:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ast.xpi
-# Source101-md5:       d449a0d14770e16934f824b2feb72372
+# Source101-md5:       2b2ac31bfb2e429f64323f35e62baf8f
 Source102:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/be.xpi
-# Source102-md5:       98defb390f644c525ef1496fbe81537a
+# Source102-md5:       ddf45714aa4b4f31aa396c3860b2228f
 Source103:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/bg.xpi
-# Source103-md5:       60d7bb718c9fc45b2c82e1a0911f70f4
+# Source103-md5:       c20fc99646e5ef9f0c766d86b9da1adb
 Source104:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/br.xpi
-# Source104-md5:       d4ac4d8b6290c68acf725edd849a557b
+# Source104-md5:       d7ce37e52ea831a4e123f970e4b3d266
 Source105:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ca.xpi
-# Source105-md5:       f5104760fab03a4a7df0dbbbe8a9e12f
+# Source105-md5:       c57d00bfcad2db63acd5f04b3aa5394e
 Source106:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cs.xpi
-# Source106-md5:       8e3e3c59c556b5a6c41cd68f63fd08fc
+# Source106-md5:       60ffd65ac5ccb8289adfb517a1a62dca
 Source107:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/cy.xpi
-# Source107-md5:       e7dd71af6f8d9fcb5ed7bc7cc0bcc44b
+# Source107-md5:       b352ccb56b4d8eefe53ca9db54ade441
 Source108:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/da.xpi
-# Source108-md5:       bcc5a0a76cfff5eb8a78019fa6cf05b3
+# Source108-md5:       b2580d68bc3696c93becb7f580896df1
 Source109:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/de.xpi
-# Source109-md5:       19bc4e270ee0ef409c7d5976264b34ef
+# Source109-md5:       c6554eb16f9fba7cdcfcedc5d541b6f5
 Source110:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/dsb.xpi
-# Source110-md5:       231c87fdec42f0e0e31be0640a11eb15
+# Source110-md5:       4ac6ee426e196b3226368413179a8e6c
 Source111:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/el.xpi
-# Source111-md5:       41059d9870f8fe38ff6375dad1955fb9
+# Source111-md5:       dd31d910010462670a49a946993f5a82
 Source112:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-GB.xpi
-# Source112-md5:       87bacd27be33d8bb8b9ace91825deeb9
+# Source112-md5:       3ba76b86401665573f7feb53bec585cc
 Source113:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/en-US.xpi
-# Source113-md5:       abdc7241eb2d2ebda1522155240fc88f
+# Source113-md5:       afc3399baafd6dd40280146762b7e215
 Source114:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-AR.xpi
-# Source114-md5:       cb500f14997395e75de203fd76fed1a5
+# Source114-md5:       24f9ce861b8bede5feb33aab47d84ce4
 Source115:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/es-ES.xpi
-# Source115-md5:       734f3037a701b835c6f6f3950709f6ae
+# Source115-md5:       4eacbc0393b84e2eb3817c0c6ced62b4
 Source116:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/et.xpi
-# Source116-md5:       9569ede1f8dc5f322b6edad13744edbe
+# Source116-md5:       70074fc2361424d42b51e422f8a74ae2
 Source117:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/eu.xpi
-# Source117-md5:       9524d965fa3fca6718f2fa1d19fa9e97
+# Source117-md5:       303a3c31980e3d2a88787553cdb04280
 Source118:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fi.xpi
-# Source118-md5:       1acdc638cb5c3fadbb5edb19e2debda1
+# Source118-md5:       ccddfdfa45aa87421c9e729fe771f510
 Source119:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fr.xpi
-# Source119-md5:       9480f5803ef667985320d8433e1005d9
+# Source119-md5:       140d6f3befda4f227756304317f3e279
 Source120:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/fy-NL.xpi
-# Source120-md5:       8d98a4ce0cf7e77d8b89996eb77cb6c9
+# Source120-md5:       c656b1c21c64435bfbca05e2c4d462a0
 Source121:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ga-IE.xpi
-# Source121-md5:       4b817f13a8a3d418e517d38b6ad93515
+# Source121-md5:       84deed1b3170bc89cf928650da717feb
 Source122:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gd.xpi
-# Source122-md5:       da1a8a8fb48c8e4255b5d136d308b19c
+# Source122-md5:       7321c9f9fcd844ff4954f4e87b303bd7
 Source123:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/gl.xpi
-# Source123-md5:       468ce3067afe64517f6adb6c4e7982d6
+# Source123-md5:       77475473005736d8a4782ffe7303067a
 Source124:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/he.xpi
-# Source124-md5:       8bfa8c66af527f6c5aa97bab3f1fae9e
+# Source124-md5:       65cc42ea29a8decab59a053a4727217e
 Source125:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hr.xpi
-# Source125-md5:       c0b07a0c3a6af9ac47585f7220e4c5e9
+# Source125-md5:       51f62444887a5e30804ed38b69c7acff
 Source126:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hsb.xpi
-# Source126-md5:       495555a181bc98cc4d807c2267177f09
+# Source126-md5:       f1370c44368e674977135a79c379c798
 Source127:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hu.xpi
-# Source127-md5:       6e4340de64ed9b43b06b7c407c6f427c
+# Source127-md5:       fe8b2c7631f8dd7a21504eb685ff7531
 Source128:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/hy-AM.xpi
-# Source128-md5:       10ad348778a29d6147341f4f2a43dc03
+# Source128-md5:       2d662e9d1f7e041da00010f156cdf768
 Source129:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/id.xpi
-# Source129-md5:       3287750887d4cb106f431da29435607c
+# Source129-md5:       b13d1286a490e1116ed7980e85d5a099
 Source130:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/is.xpi
-# Source130-md5:       be92a0c9da38111fc979eb4b36bfb0b9
+# Source130-md5:       8be73084b5812588158986735f71a3f3
 Source131:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/it.xpi
-# Source131-md5:       f62ccbd74e5a5ac8616d225a8b2c432f
+# Source131-md5:       e8513a35d4d7bbcaabbfd78da24db72a
 Source132:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ja.xpi
-# Source132-md5:       b09438f5ab7d2d17f308f3b3df9c792c
+# Source132-md5:       0d64b38da764674fbb18396dc991d332
 Source133:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kab.xpi
-# Source133-md5:       6b30d1be86dc20ad9a768a72ca8bd370
+# Source133-md5:       b2d1d5dd6a2be6e021f73003da3044a4
 Source134:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/kk.xpi
-# Source134-md5:       e029bf11198f3d180cd358afabf3a15d
+# Source134-md5:       962a95cfcb93aa72cc46d37b8d24d853
 Source135:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ko.xpi
-# Source135-md5:       39bc69d0d9a94fa1d96421270fc71a5d
+# Source135-md5:       9da478aee2b85aa1af91d4adde523860
 Source136:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/lt.xpi
-# Source136-md5:       0cff8d78977587ea5aa4f2e5ebb7ff64
+# Source136-md5:       d53cadbd712b26134b333a2c2540c0a3
 Source137:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ms.xpi
-# Source137-md5:       7c9f49dfc830cdd8a145250002e59411
+# Source137-md5:       ec17a19acd79bdf956d3f0df67c8d381
 Source138:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nb-NO.xpi
-# Source138-md5:       141aad05e6706f1fdd09189ce9479919
+# Source138-md5:       ff43e00a84325083b1eab08744e0c473
 Source139:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nl.xpi
-# Source139-md5:       65b68007c09fccd2a82777e429f3551a
+# Source139-md5:       a5d721f6b688d57074dd39ef95e2a6cf
 Source140:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/nn-NO.xpi
-# Source140-md5:       ca11596f0a4411389778757314491bc0
+# Source140-md5:       acfcb526762615d5cb7570b49b147537
 Source141:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pl.xpi
-# Source141-md5:       5089ba7c2be62aa39240bad83b035613
+# Source141-md5:       0564c146722bae34ad39efd801eff587
 Source142:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-BR.xpi
-# Source142-md5:       796e766b5573d0b06d489293dfc549e4
+# Source142-md5:       72a8bc3dbda72559437efc12caecb8e8
 Source143:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/pt-PT.xpi
-# Source143-md5:       76fb3d5fe83f65ced0d2158dfbce919f
+# Source143-md5:       8f09353c5b9e69f995b6737862979dec
 Source144:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/rm.xpi
-# Source144-md5:       bba3bf120484c5f50e607062ff99a6e0
+# Source144-md5:       3c7e21574546f6bc11f6cfaac4416893
 Source145:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ro.xpi
-# Source145-md5:       7b11c744a779ce4fe4909d6e9dee3c5b
+# Source145-md5:       ee7293b221c8d32d76bae90b87734561
 Source146:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/ru.xpi
-# Source146-md5:       7cee70a9e33f6423b8aa3740da2aa07a
+# Source146-md5:       7357452581604895bae66088fa3ef54e
 Source147:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/si.xpi
-# Source147-md5:       1df519e2e18d6d478e30bb92cfc41d0e
+# Source147-md5:       5e12bef0bc2a742a22ca6b8babb13fa5
 Source148:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sk.xpi
-# Source148-md5:       ece2a9b1d556e3959fb2f3bdaf6e843c
+# Source148-md5:       67cdb3d53d79af83a5fa19b8467f67a4
 Source149:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sl.xpi
-# Source149-md5:       fd30fa27118ec27b496a1c2c00a58b2e
+# Source149-md5:       72f988b4997bef2c8aa1a13b3968ba60
 Source150:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sq.xpi
-# Source150-md5:       41cea40e0f0c7109d260d62ed4302cb7
+# Source150-md5:       fba648aacaf1f623262d2d2ae7b67553
 Source151:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sr.xpi
-# Source151-md5:       d316b3ca380799e709acf89c41d6120c
+# Source151-md5:       80a3e322da3c9359483347c9469ddd67
 Source152:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/sv-SE.xpi
-# Source152-md5:       12d7bd1c1f1bd5b90d8fb165e9c9ad49
+# Source152-md5:       ef7617e052a45d2864dd9bebc22c74ad
 Source153:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/tr.xpi
-# Source153-md5:       0db18f357e4b7c50e2593d7096dc459d
+# Source153-md5:       2d239b6eb141d30d6f60b603459a8e6a
 Source154:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/uk.xpi
-# Source154-md5:       f438d81ac0e43bbe5cd237d805d484d3
+# Source154-md5:       3c16e9c798c6289855daad0c28568fe0
 Source155:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/vi.xpi
-# Source155-md5:       f76fbb06ec23b9dd654ad9c580c2a74b
+# Source155-md5:       d6552117e8bf0da91d32af77d278da50
 Source156:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-CN.xpi
-# Source156-md5:       f7b2bd6acdfce05e92c27733e24938d6
+# Source156-md5:       b3fde48e00cb3c7a4ce2e59e5afc4fde
 Source157:     http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/xpi/zh-TW.xpi
-# Source157-md5:       cfcbb9f0be5ff6f0ed65c3cbc7fbd321
+# Source157-md5:       dadb95754415a28ad5e5a7818e2edb5d
 Patch0:                prefs.patch
 Patch1:                no-subshell.patch
 Patch2:                enable-addons.patch
+Patch3:                format.patch
 URL:           http://www.mozilla.org/projects/thunderbird/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf2_13 >= 2.13
@@ -178,18 +182,17 @@ BuildRequires:    fontconfig-devel >= 2.7.0
 BuildRequires: freetype-devel >= 1:2.1.8
 BuildRequires: glib2-devel >= 1:2.22
 BuildRequires: gtk+3-devel >= 3.4.0
-BuildRequires: hunspell-devel
 BuildRequires: libatomic-devel
 BuildRequires: libevent-devel
 BuildRequires: libffi-devel > 3.0.9
-%{?with_system_icu:BuildRequires:      libicu-devel >= 58.1}
+%{?with_system_icu:BuildRequires:      libicu-devel >= 63.1}
 BuildRequires: libiw-devel
 # requires libjpeg-turbo implementing at least libjpeg 6b API
 BuildRequires: libjpeg-devel >= 6b
 BuildRequires: libjpeg-turbo-devel
 BuildRequires: libpng-devel >= 2:1.6.25
 BuildRequires: libstdc++-devel
-BuildRequires: libvpx-devel >= 1.5.0
+%{?with_system_libvpx:BuildRequires:   libvpx-devel >= 1.5.0}
 BuildRequires: llvm-devel
 BuildRequires: mozldap-devel
 BuildRequires: nspr-devel >= 1:%{nspr_ver}
@@ -200,9 +203,10 @@ BuildRequires:     pixman-devel >= 0.19.2
 BuildRequires: pkgconfig
 BuildRequires: python >= 1:2.7
 BuildRequires: python-virtualenv
-BuildRequires: rust
+BuildRequires: rust >= 1.34.0
+BuildRequires: rust-cbindgen >= 0.8.2
 BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel >= 3.22.0
+BuildRequires: sqlite3-devel >= 3.28.0
 BuildRequires: startup-notification-devel >= 0.8
 BuildRequires: virtualenv
 BuildRequires: xorg-lib-libX11-devel
@@ -222,7 +226,7 @@ Requires:   dbus-glib >= 0.60
 Requires:      glib2 >= 1:2.22
 Requires:      gtk+3 >= 3.4.0
 Requires:      libpng >= 2:1.6.25
-Requires:      libvpx >= 1.5.0
+%{?with_system_libvpx:Requires:        libvpx >= 1.5.0}
 Requires:      myspell-common
 Requires:      nspr >= 1:%{nspr_ver}
 Requires:      nss >= 1:%{nss_ver}
@@ -1250,6 +1254,7 @@ unpack() {
 %patch0 -p1
 %patch1 -p1
 %patch2 -p0
+%patch3 -p1
 
 %build
 cp -p %{_datadir}/automake/config.* build/autoconf
@@ -1265,8 +1270,18 @@ export CXX="clang++"
 export CC="%{__cc}"
 export CXX="%{__cxx}"
 %endif
+%ifarch %{ix86}
+export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64 -g0"
+export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64 -g0"
+export MOZ_DEBUG_FLAGS=" "
+export LLVM_USE_SPLIT_DWARF=1
+export LLVM_PARALLEL_LINK_JOBS=1
+export MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+export RUSTFLAGS="-Cdebuginfo=0"
+%else
 export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
 export CXXFLAGS="%{rpmcxxflags} -D_FILE_OFFSET_BITS=64"
+%endif
 
 %if %{with crashreporter}
 export MOZ_DEBUG_SYMBOLS=1
@@ -1301,7 +1316,7 @@ ac_add_options --enable-crashreporter
 %else
 ac_add_options --disable-crashreporter
 %endif
-#ac_add_options --disable-elf-hack
+ac_add_options --disable-elf-hack
 ac_add_options --disable-gconf
 ac_add_options --disable-necko-wifi
 ac_add_options --disable-updater
@@ -1321,23 +1336,22 @@ ac_add_options --enable-readline
 ac_add_options --enable-startup-notification
 %{?with_system_cairo:ac_add_options --enable-system-cairo}
 ac_add_options --enable-system-ffi
-ac_add_options --enable-system-hunspell
 ac_add_options --enable-system-sqlite
 ac_add_options --with-distribution-id=org.pld-linux
-ac_add_options --with-pthreads
 ac_add_options --with-system-bz2
 ac_add_options --with%{!?with_system_icu:out}-system-icu
 ac_add_options --with-system-jpeg
 ac_add_options --with-system-libevent
-ac_add_options --with-system-libvpx
+ac_add_options --with%{!?with_system_libvpx:out}-system-libvpx
 ac_add_options --with-system-nspr
 ac_add_options --with-system-nss
 ac_add_options --with-system-png
 ac_add_options --with-system-zlib
-ac_add_options --with-x
 EOF
 
-AUTOCONF=/usr/bin/autoconf2_13 ./mach build -v
+%{!?with_clang:export MOZ_MAKE_FLAGS="-j1"}
+
+AUTOCONF=/usr/bin/autoconf2_13 ./mach build
 
 %if %{with crashreporter}
 # create debuginfo for crash-stats.mozilla.com
@@ -1346,7 +1360,7 @@ AUTOCONF=/usr/bin/autoconf2_13 ./mach build -v
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/plugins,%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/{extensions,plugins},%{_datadir}/%{name},%{_pixmapsdir},%{_desktopdir}}
 
 cd %{objdir}
 %{__make} -C comm/mail/installer stage-package \
@@ -1369,11 +1383,6 @@ cp -a dist/%{name}-%{version}.en-US.linux-*.crashreporter-symbols.zip $RPM_BUILD
 cp -p dist/thunderbird/chrome/icons/default/default48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
 
-# use system dict
-%{__rm} -rv $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
-ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
-ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation
-
 # move arch independant ones to datadir
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
@@ -1408,9 +1417,6 @@ if [ -d %{_libdir}/%{name}/extensions ] && [ ! -L %{_libdir}/%{name}/extensions
        fi
        mv -v %{_libdir}/%{name}/extensions %{_datadir}/%{name}/extensions
 fi
-if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
-       mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
-fi
 for d in chrome defaults icons isp modules res; do
        if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then
                install -d %{_datadir}/%{name}
@@ -1445,6 +1451,7 @@ rm -rf $HOME
 %attr(755,root,root) %{_libdir}/%{name}/liblgpllibs.so
 %{?with_shared_js:%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so}
 %attr(755,root,root) %{_libdir}/%{name}/libmozsandbox.so
+%attr(755,root,root) %{_libdir}/%{name}/libmozwayland.so
 %attr(755,root,root) %{_libdir}/%{name}/libxul.so
 %attr(755,root,root) %{_libdir}/%{name}/*-bin
 %attr(755,root,root) %{_libdir}/%{name}/pingsender
@@ -1460,8 +1467,11 @@ rm -rf $HOME
 %{_libdir}/%{name}/platform.ini
 %{!?with_system_icu:%{_libdir}/%{name}/icudt58l.dat}
 
+%dir %{_libdir}/%{name}/features
+%{_libdir}/%{name}/features/wetransfer@extensions.thunderbird.net.xpi
+
 %dir %{_libdir}/%{name}/fonts
-%{_libdir}/%{name}/fonts/EmojiOneMozilla.ttf
+%{_libdir}/%{name}/fonts/TwemojiMozilla.ttf
 
 %if %{with crashreporter}
 %attr(755,root,root) %{_libdir}/%{name}/crashreporter
@@ -1475,9 +1485,7 @@ rm -rf $HOME
 # symlinks
 %{_libdir}/%{name}/chrome
 %{_libdir}/%{name}/defaults
-%{_libdir}/%{name}/dictionaries
 %{_libdir}/%{name}/extensions
-%{_libdir}/%{name}/hyphenation
 %{_libdir}/%{name}/isp
 
 %{_pixmapsdir}/*.png
@@ -1488,9 +1496,6 @@ rm -rf $HOME
 %{_datadir}/%{name}/defaults
 %{_datadir}/%{name}/isp
 
-%dir %{_datadir}/%{name}/extensions
-%{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
-
 %if %{with lightning}
 %files addon-lightning
 %defattr(644,root,root,755)
This page took 0.047573 seconds and 4 git commands to generate.