From 48bdff3caf252cc4346269ae282776d7f5b70e5e Mon Sep 17 00:00:00 2001 From: bill-auger Date: Thu, 16 Aug 2018 01:25:57 -0400 Subject: iceweasel upgrade to 61.0.2 (buggy - fix #1941) --- libre-testing/iceweasel/PKGBUILD | 34 ++++++++++++++++++++++++++++------ libre-testing/iceweasel/no-crmf.diff | 15 +++++++++++++++ 2 files changed, 43 insertions(+), 6 deletions(-) create mode 100644 libre-testing/iceweasel/no-crmf.diff (limited to 'libre-testing') diff --git a/libre-testing/iceweasel/PKGBUILD b/libre-testing/iceweasel/PKGBUILD index b9de99364..ade199152 100644 --- a/libre-testing/iceweasel/PKGBUILD +++ b/libre-testing/iceweasel/PKGBUILD @@ -1,4 +1,3 @@ -# $Id$ # Maintainer (Arch): Jan Alexander Steffens (heftig) # Contributor (Arch): Ionut Biru # Contributor (Arch): Jakub Schmidtke @@ -28,7 +27,7 @@ _pkgname=firefox pkgname=iceweasel epoch=1 -pkgver=61.0.1 +pkgver=61.0.2 pkgrel=0.testing1 _bver=61.0 _brel=1 @@ -39,7 +38,7 @@ license=(MPL GPL LGPL) url="https://wiki.parabola.nu/$pkgname" depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib ffmpeg nss hunspell-en_US sqlite ttf-font libpulse libvpx icu) -depends+=('icu>=61' 'icu<62') +depends+=('icu>=62' 'icu<63') makedepends=(unzip zip diffutils python2 yasm mesa imake gconf inetutils xorg-server-xvfb autoconf2.13 rust mercurial clang llvm jack gtk2 python) makedepends+=(mozilla-searchplugins quilt libxslt imagemagick) @@ -50,11 +49,12 @@ optdepends=('networkmanager: Location detection via available WiFi networks' options=(!emptydirs !makeflags !strip) replaces=("$_pkgname") conflicts=("$_pkgname") +# https://archive.mozilla.org/pub/firefox/releases/$pkgver/SOURCE source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz $pkgname.desktop) source+=(https://repo.parabola.nu/other/iceweasel/${pkgname}_$_bver-$_brel.branding.tar.xz{,.sig} libre.patch) -sha256sums=('708f4dc39fdf105fe9d3ee6b52412a1c7548fd7d34e14c29f840064de3fe8a28' +sha256sums=('0bdecbbb2a955c9f4c5cd0b33acd1e47afcb6cd57ac89cf11257668e3cef202c' 'ed350ef2f528b999a621f7080fa80948be6b351e67ce32529fb32bcf47bb21fa' 'dabd5a0b8023e8ca13f6ae5fcb9e6c29531fc952bc781b4aa25c8a598187768e' 'SKIP' @@ -62,8 +62,14 @@ sha256sums=('708f4dc39fdf105fe9d3ee6b52412a1c7548fd7d34e14c29f840064de3fe8a28' validpgpkeys=('BFA8008A8265677063B11BF47171986E4B745536') # Andreas Grapentin prepare() { + mkdir path + ln -s /usr/bin/python2 path/python + cd firefox-$pkgver + # https://bugzilla.mozilla.org/show_bug.cgi?id=1371991 + patch -Np1 -i ../no-crmf.diff + cat >.mozconfig < browser/base/content/newtab/newTab.xhtml + # re-use 'abouthome' page for 'newtab' page + install -d browser/base/content/newtab + cat browser/base/content/abouthome/aboutHome.xhtml > browser/base/content/newtab/newTab.xhtml # Load our searchplugins rm -rv browser/locales/searchplugins @@ -166,8 +175,16 @@ END build() { cd firefox-$pkgver + # _FORTIFY_SOURCE causes configure failures +# CPPFLAGS+=" -O2" + + export PATH="$srcdir/path:$PATH" export MOZ_SOURCE_REPO="$_repo" + # Do PGO + #xvfb-run -a -n 95 -s "-extension GLX -screen 0 1280x1024x24" \ + # MOZ_PGO=1 ./mach build + ./mach build ./mach buildsymbols } @@ -520,6 +537,11 @@ END install -Dm644 ../$pkgname.desktop \ "$pkgdir/usr/share/applications/$pkgname.desktop" + # Use system-provided dictionaries + rm -r "$pkgdir/usr/lib/$pkgname/dictionaries" + ln -Ts /usr/share/hunspell "$pkgdir/usr/lib/$pkgname/dictionaries" + ln -Ts /usr/share/hyphen "$pkgdir/usr/lib/$pkgname/hyphenation" + # Install a wrapper to avoid confusion about binary path install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <