From b8ff18f91f3ef4e645b29318581b47675cb969a4 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 16 Jun 2017 01:16:37 +0000 Subject: [PATCH] extra/thunderbird to 52.2.0-1 --- extra/thunderbird/PKGBUILD | 40 +++++++++++++++++++--------------- extra/thunderbird/no-crmf.diff | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 17 deletions(-) create mode 100644 extra/thunderbird/no-crmf.diff diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD index ed304b0b0..99b251f77 100644 --- a/extra/thunderbird/PKGBUILD +++ b/extra/thunderbird/PKGBUILD @@ -13,14 +13,14 @@ buildarch=12 highmem=1 pkgname=thunderbird -pkgver=52.1.1 +pkgver=52.2.0 pkgrel=1 pkgdesc="Standalone mail and news reader from mozilla.org" arch=(i686 x86_64) license=(MPL GPL LGPL) url="https://www.mozilla.org/thunderbird/" depends=(gtk3 gtk2 mozilla-common libxt startup-notification mime-types dbus-glib alsa-lib ffmpeg - libvpx libevent nss hunspell sqlite ttf-font icu) + nss hunspell sqlite ttf-font icu libvpx) makedepends=(unzip zip diffutils python2 yasm mesa imake gconf libpulse inetutils xorg-server-xvfb autoconf2.13) optdepends=('libcanberra: sound support') @@ -28,11 +28,12 @@ options=(!emptydirs !makeflags) source=(https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$pkgver/source/thunderbird-$pkgver.source.tar.xz thunderbird.desktop 0001-Bug-1338655-Don-t-try-to-build-mp4parse-bindings.-r-.patch - thunderbird-install-dir.patch rust-i686.patch fix-wifi-scanner.diff) -sha256sums=('88211d0d57dfdae9232617244f9c5406520a538e9e7be6ceec79fdfed175ba84' + thunderbird-install-dir.patch no-crmf.diff rust-i686.patch fix-wifi-scanner.diff) +sha256sums=('c65c66244ac113996002bcfa9e387f14291163cfb7009a9126e3a8d4a970e72d' 'e44c55501f650a4e80b9c353b81f33e07ca65808db831eff6ca616aded233827' '413cd6d366d78f325d80ebebccfd0afa0d266b40b2e54b66ba2fa03c15f3ea67' '24599eab8862476744fe1619a9a53a5b8cdcab30b3fc5767512f31d3529bd05d' + 'a7317caba56e89932bd9e3b9352d94701dd9a419685057f238b1ded8dc0adcd7' 'f61ea706ce6905f568b9bdafd1b044b58f20737426f0aa5019ddb9b64031a269' '9765bca5d63fb5525bbd0520b7ab1d27cabaed697e2fc7791400abc3fa4f13b8') @@ -55,6 +56,9 @@ prepare() { cd $pkgname-$pkgver patch -Np1 -i ../thunderbird-install-dir.patch + # https://bugzilla.mozilla.org/show_bug.cgi?id=1371991 + patch -Np1 -i ../no-crmf.diff + # https://bugzilla.mozilla.org/show_bug.cgi?id=1314968 patch -d mozilla -Np1 < ../fix-wifi-scanner.diff @@ -75,6 +79,7 @@ ac_add_options --prefix=/usr ac_add_options --enable-release #ac_add_options --enable-gold #ac_add_options --enable-pie +#ac_add_options --enable-optimize="-O2" # Branding ac_add_options --enable-official-branding @@ -92,7 +97,6 @@ ac_add_options --with-system-icu ac_add_options --with-system-jpeg ac_add_options --with-system-zlib ac_add_options --with-system-bz2 -ac_add_options --with-system-libevent ac_add_options --with-system-libvpx ac_add_options --enable-system-hunspell ac_add_options --enable-system-sqlite @@ -113,6 +117,8 @@ END if [[ $CARCH == "armv7h" ]]; then echo 'ac_add_options --enable-optimize="-g -O2 -fno-schedule-insns"' >> .mozconfig + else + echo 'ac_add_options --enable-optimize="-O2"' >> .mozconfig fi } @@ -137,7 +143,7 @@ package() { cd $pkgname-$pkgver make -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install - _vendorjs="$pkgdir/usr/lib/thunderbird/defaults/preferences/vendor.js" + _vendorjs="$pkgdir/usr/lib/$pkgname/defaults/preferences/vendor.js" install -Dm644 /dev/stdin "$_vendorjs" <