extra/firefox to 55.0.1-1

This commit is contained in:
Kevin Mihelich 2017-08-11 13:50:38 +00:00
parent bb075b83bc
commit 5f0a08b3bc
2 changed files with 19 additions and 9 deletions

View file

@ -14,21 +14,21 @@ highmem=1
noautobuild=1
pkgname=firefox
pkgver=55.0
pkgver=55.0.1
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=(i686 x86_64)
license=(MPL GPL LGPL)
url="https://www.mozilla.org/firefox/"
depends=(gtk3 gtk2 mozilla-common libxt startup-notification mime-types dbus-glib alsa-lib ffmpeg
nss hunspell sqlite ttf-font libpulse)
nss hunspell sqlite ttf-font libpulse icu)
makedepends=(unzip zip diffutils python2 yasm mesa imake gconf inetutils xorg-server-xvfb
autoconf2.13 cargo)
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'pulseaudio: Audio support'
'speech-dispatcher: Text-to-Speech')
options=(!emptydirs !makeflags)
options=(!emptydirs !makeflags !strip)
source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz
$pkgname.desktop firefox-symbolic.svg
firefox-install-dir.patch no-crmf.diff fix-wifi-scanner.diff
@ -98,6 +98,7 @@ ac_add_options --disable-webrtc
# System libraries
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-icu
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
ac_add_options --enable-system-hunspell

View file

@ -5,10 +5,19 @@ die() {
exit 1
}
(( $# == 2 )) || die "Usage: $0 TOKEN-FILE SYMBOL-ARCHIVE"
[[ -f $1 && -s $1 ]] || die "Invalid TOKEN-FILE ${1@Q}"
[[ $(file -Ebi "$2") == application/zip* ]] || die "Invalid SYMBOL-ARCHIVE ${2@Q}"
(( $# >= 2 )) || die "Usage: $0 TOKEN-FILE SYMBOL-ARCHIVE..."
token="$1"
shift
echo >&2 "Uploading ${2@Q} ..."
exec curl -X POST -H "Auth-Token: $(<"$1")" -F "${2##*/}=@$2" \
https://crash-stats.mozilla.com/symbols/upload
[[ -f $token && -s $token ]] || die "Invalid TOKEN-FILE ${token@Q}"
for zip; do
[[ $(file -Ebi "$zip") == application/zip* ]] || die "Invalid SYMBOL-ARCHIVE ${zip@Q}"
done
for zip; do
echo >&2 "Uploading ${zip@Q} ..."
curl -X POST -H "Auth-Token: $(<"$token")" -F "${zip##*/}=@$zip" \
https://crash-stats.mozilla.com/symbols/upload
echo
done