* update libde265 to 1.0 4

This commit is contained in:
Alexander Baldeck 2019-12-26 14:04:38 +01:00
parent 55276dfcb3
commit 370f9517cb
17 changed files with 118 additions and 443 deletions

View File

@ -1,172 +0,0 @@
format = 1
pkgname = archlinux-keyring
pkgbase = archlinux-keyring
pkgver = 20191018-4
pkgarch = any
pkgbuild_sha256sum = 1578e2137c6d66788e967c667f826a834b3b9c1c70920e1b80fd57f0245ab4c3
packager = Alexander Baldeck <alex.bldck@gmail.com>
builddate = 1576004992
builddir = /build
buildenv = !distcc
buildenv = color
buildenv = ccache
buildenv = check
buildenv = sign
options = strip
options = docs
options = !libtool
options = !staticlibs
options = emptydirs
options = zipman
options = purge
options = !debug
installed = acl-2.2.53-2-powerpc64le
installed = apr-1.7.0-1-powerpc64le
installed = apr-util-1.6.1-5-powerpc64le
installed = archlinux-keyring-20191018-1-any
installed = argon2-20190702-2-powerpc64le
installed = attr-2.4.48-2-powerpc64le
installed = audit-2.8.5-7-powerpc64le
installed = autoconf-2.69-6-any
installed = automake-1.16.1-2-any
installed = automake-1.14-1.14.1-2-any
installed = automake-1.15-1.15.1-2-any
installed = bash-5.0.011-2-powerpc64le
installed = binutils-2.33.1-1-powerpc64le
installed = bison-3.4.2-2-powerpc64le
installed = brotli-1.0.7-3-powerpc64le
installed = bzip2-1.0.8-3-powerpc64le
installed = ca-certificates-20181109-2-any
installed = ca-certificates-mozilla-3.47.1-1-powerpc64le
installed = ca-certificates-utils-20181109-2-any
installed = ccache-3.7.5-1-powerpc64le
installed = coreutils-8.31-3-powerpc64le
installed = cracklib-2.9.7-2-powerpc64le
installed = cryptsetup-2.2.2-1-powerpc64le
installed = curl-7.67.0-3-powerpc64le
installed = db-5.3.28-5-powerpc64le
installed = dbus-1.12.16-3-powerpc64le
installed = device-mapper-2.02.186-2-powerpc64le
installed = diffutils-3.7-3-powerpc64le
installed = e2fsprogs-1.45.4-2-powerpc64le
installed = expat-2.2.9-2-powerpc64le
installed = fakeroot-1.24-2-powerpc64le
installed = file-5.37-4-powerpc64le
installed = filesystem-2018.12-3-powerpc64le
installed = findutils-4.7.0-2-powerpc64le
installed = flex-2.6.4-3-powerpc64le
installed = gawk-5.0.1-2-powerpc64le
installed = gc-8.0.4-3-powerpc64le
installed = gcc-9.2.0-3-powerpc64le
installed = gcc-libs-9.2.0-3-powerpc64le
installed = gdbm-1.18.1-3-powerpc64le
installed = gettext-0.20.1-3-powerpc64le
installed = git-2.24.0-1-powerpc64le
installed = glib2-2.62.3-1-powerpc64le
installed = glibc-2.30-2-powerpc64le
installed = gmp-6.1.2-3-powerpc64le
installed = gnupg-2.2.17-3-powerpc64le
installed = gnutls-3.6.10-2-powerpc64le
installed = gpgme-1.13.1-4-powerpc64le
installed = grep-3.3-3-powerpc64le
installed = groff-1.22.4-2-powerpc64le
installed = guile-2.2.6-1-powerpc64le
installed = gzip-1.10-3-powerpc64le
installed = hwids-20191025-2-any
installed = iana-etc-20191123-1-any
installed = icu-65.1-2-powerpc64le
installed = inetutils-1.9.4-7-powerpc64le
installed = iproute2-5.3.0-1-powerpc64le
installed = iptables-1:1.8.3-1-powerpc64le
installed = iputils-20190709-1-powerpc64le
installed = json-c-0.13.1-2-powerpc64le
installed = kbd-2.2.0-4-powerpc64le
installed = keyutils-1.6.1-1-powerpc64le
installed = kmod-26-3-powerpc64le
installed = krb5-1.17-1-powerpc64le
installed = less-551-2-powerpc64le
installed = libaio-0.3.112-1-powerpc64le
installed = libarchive-3.4.0-2-powerpc64le
installed = libassuan-2.5.3-1-powerpc64le
installed = libcap-2.27-1-powerpc64le
installed = libcap-ng-0.7.9-1-powerpc64le
installed = libcroco-0.6.13-1-powerpc64le
installed = libelf-0.177-2-powerpc64le
installed = libffi-3.2.1-3-powerpc64le
installed = libgcrypt-1.8.5-1-powerpc64le
installed = libgpg-error-1.36-2-powerpc64le
installed = libidn2-2.3.0-1-powerpc64le
installed = libksba-1.3.5-1-powerpc64le
installed = libldap-2.4.48-1-powerpc64le
installed = libmnl-1.0.4-2-powerpc64le
installed = libmpc-1.1.0-1-powerpc64le
installed = libnetfilter_conntrack-1.0.7-1-powerpc64le
installed = libnfnetlink-1.0.1-3-powerpc64le
installed = libnftnl-1.1.4-1-powerpc64le
installed = libnghttp2-1.39.2-1-powerpc64le
installed = libnl-3.5.0-1-powerpc64le
installed = libpcap-1.9.1-1-powerpc64le
installed = libpsl-0.21.0-1-powerpc64le
installed = librtas-2.0.2-1-powerpc64le
installed = libsasl-2.1.27-1-powerpc64le
installed = libseccomp-2.4.1-2-powerpc64le
installed = libsecret-0.19.1-1-powerpc64le
installed = libssh2-1.9.0-1-powerpc64le
installed = libtasn1-4.14-2-powerpc64le
installed = libtirpc-1.1.4-1-powerpc64le
installed = libtool-2.4.6+42+gb88cebd5-6-powerpc64le
installed = libunistring-0.9.10-1-powerpc64le
installed = libusb-1.0.23-1-powerpc64le
installed = libutf8proc-2.4.0-1-powerpc64le
installed = libutil-linux-2.34-6-powerpc64le
installed = libxml2-2.9.10-2-powerpc64le
installed = linux-api-headers-5.3.1-1-any
installed = logrotate-3.15.1-1-powerpc64le
installed = lvm2-2.02.186-2-powerpc64le
installed = lz4-1:1.9.2-1-powerpc64le
installed = m4-1.4.18-2-powerpc64le
installed = make-4.2.1-4-powerpc64le
installed = mdadm-4.1-1-powerpc64le
installed = mpfr-4.0.2-1-powerpc64le
installed = ncurses-6.1-6-powerpc64le
installed = nettle-3.5.1-1-powerpc64le
installed = npth-1.6-1-powerpc64le
installed = openssl-1.1.1.d-1-powerpc64le
installed = p11-kit-0.23.18.1-1-powerpc64le
installed = pacman-5.2.1-1-powerpc64le
installed = pam-1.3.1-2-powerpc64le
installed = pambase-20190105.1-1-any
installed = patch-2.7.6-8-powerpc64le
installed = pciutils-3.6.2-1-powerpc64le
installed = pcre-8.43-1-powerpc64le
installed = pcre2-10.33-1-powerpc64le
installed = perl-5.30.1-1-powerpc64le
installed = perl-error-0.17028-1-any
installed = perl-mailtools-2.21-2-any
installed = perl-timedate-2.30-6-any
installed = pinentry-1.1.0-5-powerpc64le
installed = pkgconf-1.6.3-2-powerpc64le
installed = popt-1.16-10-powerpc64le
installed = powerpc-utils-1.3.7-1-powerpc64le
installed = procps-ng-3.3.15-2-powerpc64le
installed = readline-8.0.001-1-powerpc64le
installed = reiserfsprogs-3.6.27-2-powerpc64le
installed = sed-4.7-2-powerpc64le
installed = serf-1.3.9-4-powerpc64le
installed = shadow-4.7-3-powerpc64le
installed = sqlite-3.30.1-1-powerpc64le
installed = subversion-1.13.0-1-powerpc64le
installed = sudo-1.8.29-1-powerpc64le
installed = sysfsutils-2.1.0-10-powerpc64le
installed = systemd-243.162-2-powerpc64le
installed = systemd-libs-243.162-2-powerpc64le
installed = tar-1.32-2-powerpc64le
installed = texinfo-6.7-1-powerpc64le
installed = thin-provisioning-tools-0.8.5-2-powerpc64le
installed = tzdata-2019c-2-powerpc64le
installed = usbutils-012-1-powerpc64le
installed = util-linux-2.34-6-powerpc64le
installed = which-2.21-4-powerpc64le
installed = xz-5.2.4-1-powerpc64le
installed = zlib-1:1.2.11-4-powerpc64le
installed = zstd-1.4.3-1-powerpc64le

View File

@ -1,11 +0,0 @@
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate archlinux
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}

View File

@ -1,12 +0,0 @@
# Generated by makepkg 5.2.1
# using fakeroot version 1.24
pkgname = archlinux-keyring
pkgbase = archlinux-keyring
pkgver = 20191018-4
pkgdesc = Arch Linux PGP keyring
url = https://projects.archlinux.org/archlinux-keyring.git/
builddate = 1576004992
packager = Alexander Baldeck <alex.bldck@gmail.com>
size = 1924
arch = any
license = GPL

View File

@ -1 +0,0 @@
AF005B829107AC9BEABC899C205FDA4547155052?

View File

@ -1 +0,0 @@
8D3D6CE8D4F0625F4D7109022205B7A06C2656A3:4:

View File

@ -1,31 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: master-key: alex (8D3D6CE8D4F0625F4D7109022205B7A06C2656A3)
mQENBF3v6T0BCADLieK37olpzo81rGQVHIFD06Gc69AjUazLNEIDA0n3gHWUBY+J
rRc9BdhYNNZI60AxRKs7Zgo7OrmICdIkGLhHN67A9lZPSGeuoF310S4BevtNEDJu
WZQVQGz1BSg6SNxSQ7nPbS+EDfZNasVCqgp8YBrhgP2AJWhV6j0TA3bYZpbJ5oGq
AENtugNDPlOROUChCTC1Gdt/X8T5go21hNF6ptF7E+1lE4Gs8BmV74QFM3JSt3MG
m/ktTg2LerL5TP+VqMrXThK0IBwLc4I1ZlQTbtlrZFocbcTNGPCCC0aEZLFL7zGM
OBK+1XqUOhy8lS1Eu1lQpQ7WZVCMj3ppR5kxABEBAAG0KEFsZXhhbmRlciBCYWxk
ZWNrIDxhbGV4LmJsZGNrQGdtYWlsLmNvbT6JAVQEEwEIAD4WIQSNPWzo1PBiX01x
CQIiBbegbCZWowUCXe/pPQIbAwUJA8JnAAULCQgHAgYVCgkICwIEFgIDAQIeAQIX
gAAKCRAiBbegbCZWo/LzB/wOmT7TPh78Zp9PhKRYbYHPsPmd0Sb48taWVeg0Bcr+
jtVQslmEELI1eMqhZTp3jhvEpqJptaqTmqZ7ryIvG2ZOolgPINJosbHGOu56zbd9
Ndqm04sZU8Qw5y0jik+0+dJJvyC+Z67v/p8UYAE2w32wTkeua/2Ik1F5EfB4HwPY
kuxsuN713T3j0q2f9nlxmwBSxjZzysKqKfFVicMMuRzz//tkhOtBVull3hvUERRo
hFZr0YjWSJ5wggwdB+n3Sh1WnVl4Z2cal+UZIccfJ0St/7dN3jVNHOQ3o2OXCviO
Zel0V5cdU0NJcMUSx7mKa1jKROls2RCMWLXRVTPOyrMFuQENBF3v6T0BCACuoGMK
+KzViTB4tbCqs8RitBx68XAxkJz22pIqLShcDm3LhcsEDSuX18gUOQO/wxW+al//
ROaCzCPSRPfUuiMjDfTPOrC6uMgtYRtvy2PmfgmRMhN9D/KdpvhQLdqMKeESgUkT
2MrYe9ZhgkISsVSEDGjjpLAEIyTqrAWbJ92Pntt2JKLKq6naMUpvyxDkn+ADap8J
5QWk8GOr5XbL8hXRw7nOH/NLs0f222L8JaNuIJzQTNlL1zGw5DWTYekzRgGWR1lh
sVlRglzBJl8qUZg3GNpBFoQw/3tZHB3MBWjMhJfeZLPCkkeUOtSrtXLAtyhqPEHw
QGzFAec5sXdiIVXnABEBAAGJATwEGAEIACYWIQSNPWzo1PBiX01xCQIiBbegbCZW
owUCXe/pPQIbDAUJA8JnAAAKCRAiBbegbCZWo3zjB/0Q4qFplqLJSD6CMzesCLg8
ekzHJjzRlojt9UVkp3Ey7wq4givtaoGWnn2SAhYUJj1mMMDp4fWl5MzPq7qV5rb5
KjiYOk2m2xj7g3fOTrIlFflpvnQ0Yi/DANiZ/Ie1dTXIjULRIAeEXxNyiqBKHreB
iL1j0rX7PihHDkVPwNILNafjq4l6IKyKagd8qRkmsVbMqm57NzWfFPXU8Q5Oy71I
+J/tu4/v4OckM1bdugRJbekpnA1sLq3f8E6wsxSSQSJ2Xe4N+OFWgxycudydMIKS
6TSsz2u3j0gealsXiIySKd9ur7WSTCUUY4uYPhYgcLMaA1QcAp8uAq6FFC5ntdIL
=UR2e
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,5 +1,4 @@
From 1cab10b39cfda068100cab8c598f1ca0f50e4131 Mon Sep 17 00:00:00 2001
Message-Id: <1cab10b39cfda068100cab8c598f1ca0f50e4131.1553597287.git.jan.steffens@gmail.com>
From 83f234464554c7f4393cd1dbdeb3a68d3ae0ccae Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
Date: Mon, 25 Mar 2019 20:30:11 +0100
Subject: [PATCH] Use remoting name for GDK application names
@ -10,10 +9,10 @@ Subject: [PATCH] Use remoting name for GDK application names
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
index 0b808ef215f06..28911c0ffeaec 100644
index 984b998133bd..b6c9f013940c 100644
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -3728,11 +3728,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
@@ -3746,11 +3746,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
// consistently.
// Set program name to the one defined in application.ini.
@ -27,7 +26,7 @@ index 0b808ef215f06..28911c0ffeaec 100644
// Initialize GTK here for splash.
diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
index 0686ff814916b..ae4a4ea55f420 100644
index 0daa78fdbbad..49038d0bb1c8 100644
--- a/widget/gtk/nsAppShell.cpp
+++ b/widget/gtk/nsAppShell.cpp
@@ -24,6 +24,7 @@
@ -38,7 +37,7 @@ index 0686ff814916b..ae4a4ea55f420 100644
#include "ScreenHelperGTK.h"
#include "HeadlessScreenHelper.h"
#include "mozilla/widget/ScreenManager.h"
@@ -171,10 +172,8 @@ nsresult nsAppShell::Init() {
@@ -175,10 +176,8 @@ nsresult nsAppShell::Init() {
// option when program uses gdk_set_program_class().
//
// See https://bugzilla.gnome.org/show_bug.cgi?id=747634
@ -52,5 +51,5 @@ index 0686ff814916b..ae4a4ea55f420 100644
}
--
2.21.0
2.24.0

View File

@ -4,101 +4,90 @@
# Contributor: Jakub Schmidtke <sjakub@gmail.com>
pkgname=firefox
pkgver=70.0.1
pkgver=72.0b10
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=(x86_64 powerpc64le)
license=(MPL GPL LGPL)
url="https://www.mozilla.org/firefox/"
depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib
ffmpeg nss ttf-font libpulse jemalloc sqlite)
depends=(gtk3 libxt startup-notification mime-types dbus-glib ffmpeg nss
ttf-font libpulse)
makedepends=(unzip zip diffutils python2-setuptools mesa imake inetutils
xorg-server-xvfb autoconf2.13 rust mercurial jack gtk2
python nodejs python2-psutil llvm cbindgen clang)
xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2
python nodejs python2-psutil cbindgen xorgproto compiler-rt)
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'pulseaudio: Audio support'
'speech-dispatcher: Text-to-Speech'
'hunspell-en_US: Spell checking, American English')
options=(!emptydirs !makeflags)
_repo=https://hg.mozilla.org/mozilla-unified
options=(!emptydirs !makeflags !strip)
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc}
no-relinking.patch
0001-Update-bindgen.patch
0002-Bug-1212502-Switch-mozinfo-to-using-the-distro-packa.patch
0001-Use-remoting-name-for-GDK-application-names.patch
$pkgname.desktop)
sha256sums=('f2e9bb26af7682b31e82fdfc3a4b3e04fd1caa8b004469ea608185d33e35691b'
$pkgname.desktop
firefox-powerpc-clang.patch)
sha256sums=('9e4d6d1bc07cca420df1d6f9e06419c24e895b9e93f9846ab99e96a6fac4e2e3'
'SKIP'
'2dc9d1aa5eb7798c89f46478f254ae61e4122b4d1956d6044426288627d8a014'
'832d895c90d346fe4acf25b8b8ba9a62bea595fe5fcdeaf545c8e952393993fc'
'58890388e02af41055e1ec9797b7c094dee499a5219dc9c532c6cfccf2cce972'
'ab07ab26617ff76fce68e07c66b8aa9b96c2d3e5b5517e51a3c3eac2edd88894'
'a9e5264257041c0b968425b5c97436ba48e8d294e1a0f02c59c35461ea245c33')
'5f7ac724a5c5afd9322b1e59006f4170ea5354ca1e0e60dab08b7784c2d8463c'
'a9e5264257041c0b968425b5c97436ba48e8d294e1a0f02c59c35461ea245c33'
'ad83c0c6195ab742848941be1d9c8f32c1d4a8bc019d8887b42256bafaefb541')
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com>
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
# Note: These are for Arch Linux use ONLY. For your own distribution, please
# get your own set of keys. Feel free to contact foutrelis@archlinux.org for
# more information.
#_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
# Mozilla API keys (see https://location.services.mozilla.com/api)
# Note: These are for Arch Linux use ONLY. For your own distribution, please
# get your own set of keys. Feel free to contact heftig@archlinux.org for
# more information.
#_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
_mozilla_api_key=e05d56db0a694edc8b5aaebda3f2db6a
prepare() {
mkdir -p mozbuild
cd ${pkgname}-${pkgver}
cd firefox-${pkgver/b10/}
# Avoid relinking during buildsymbols
patch -Np1 -i ../no-relinking.patch
# Make it compile with Rust 1.39 and Python 3.8
patch -Np1 -i ../0001-Update-bindgen.patch
patch -Np1 -i ../0002-Bug-1212502-Switch-mozinfo-to-using-the-distro-packa.patch
# https://bugzilla.mozilla.org/show_bug.cgi?id=1530052
patch -Np1 -i ../0001-Use-remoting-name-for-GDK-application-names.patch
patch -Np0 -i ../firefox-powerpc-clang.patch
echo -n "$_google_api_key" >google-api-key
echo -n "$_mozilla_api_key" >mozilla-api-key
cat >.mozconfig <<END
cat >../mozconfig <<END
ac_add_options --enable-application=browser
ac_add_options --prefix=/usr
ac_add_options --enable-release
ac_add_options --enable-hardening
ac_add_options --enable-optimize
ac_add_options --enable-rust-simd
ac_add_options --disable-lto
ac_add_options --enable-jemalloc
export MOZ_PGO=1
export RUSTC_OPT_LEVEL=2
mk_add_options MOZ_MAKE_FLAGS="${MAKEFLAGS}"
export CC="clang --target=${CHOST}"
export CXX="clang++ --target=${CHOST}"
export AR=llvm-ar
export NM=llvm-nm
export RANLIB=llvm-ranlib
# Branding
ac_add_options --enable-official-branding
ac_add_options --enable-update-channel=release
ac_add_options --with-distribution-id=org.archlinuxpower
ac_add_options --with-distribution-id=org.archlinux
ac_add_options --with-unsigned-addon-scopes=app,system
export MOZILLA_OFFICIAL=1
export MOZ_APP_REMOTINGNAME=${pkgname//-/}
#export MOZ_TELEMETRY_REPORTING=0
#export MOZ_REQUIRE_SIGNING=0
export MOZ_TELEMETRY_REPORTING=1
export MOZ_REQUIRE_SIGNING=1
# Keys
#ac_add_options --with-google-location-service-api-keyfile=${PWD@Q}/google-api-key
#ac_add_options --with-google-safebrowsing-api-keyfile=${PWD@Q}/google-api-key
#ac_add_options --with-mozilla-api-keyfile=${PWD@Q}/mozilla-api-key
ac_add_options --with-google-location-service-api-keyfile=${PWD@Q}/google-api-key
ac_add_options --with-google-safebrowsing-api-keyfile=${PWD@Q}/google-api-key
ac_add_options --with-mozilla-api-keyfile=${PWD@Q}/mozilla-api-key
# System libraries
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --enable-system-sqlite
# Features
ac_add_options --enable-alsa
@ -112,14 +101,14 @@ END
}
build() {
cd ${pkgname}-${pkgver}
cd firefox-${pkgver/b10/}
export MOZ_NOSPAM=1
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
export SHELL=/bin/bash
# LTO needs more open files
ulimit -n 4096
# -fno-plt with cross-LTO causes obscure LLVM errors
# LLVM ERROR: Function Import: link error
CFLAGS="${CFLAGS/-fno-plt/}"
@ -137,36 +126,40 @@ END
LLVM_PROFDATA=llvm-profdata \
JARLOG_FILE="$PWD/jarlog" \
xvfb-run -a -n 92 -s "-screen 0 1600x1200x24" \
./mach python build/pgo/profileserver.py
./mach python build/pgo/profileserver.py
if ! compgen -G '*.profraw' >&2; then
if [[ ! -s merged.profdata ]]; then
error "No profile data produced."
return 1
fi
if [[ ! -s jarlog ]]; then
error "No jar log produced."
return 1
fi
msg2 "Removing instrumented browser..."
./mach clobber
msg2 "Building optimized browser..."
cat >.mozconfig ../mozconfig - <<END
ac_add_options --enable-lto=cross
ac_add_options --enable-profile-use=cross
##ac_add_options --with-pgo-profile-path=${PWD@Q}/merged.profdata
##ac_add_options --with-pgo-jarlog=${PWD@Q}/jarlog
END
./mach build
msg2 "Building symbol archive..."
./mach buildsymbols
}
package() {
export SHELL=/bin/bash
cd ${pkgname}-${pkgver}
cd firefox-${pkgver/b10/}
DESTDIR="$pkgdir" ./mach install
find . -name '*crashreporter-symbols-full.zip' -exec cp -fvt "$startdir" {} +
_vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"
install -Dm644 /dev/stdin "$_vendorjs" <<END
local vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"
install -Dvm644 /dev/stdin "$vendorjs" <<END
// Use LANG environment variable to choose locale
pref("intl.locale.requested", "");
@ -181,43 +174,57 @@ pref("extensions.autoDisableScopes", 11);
pref("extensions.shownSelectionUI", true);
END
_distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"
install -Dm644 /dev/stdin "$_distini" <<END
local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"
install -Dvm644 /dev/stdin "$distini" <<END
[Global]
id=archlinuxpower
id=archlinux
version=1.0
about=Mozilla Firefox for Archlinux POWER
about=Mozilla Firefox for Arch Linux
[Preferences]
app.distributor=archlinuxpower
app.distributor=archlinux
app.distributor.channel=$pkgname
app.partner.archlinuxpower=archlinuxpower
app.partner.archlinux=archlinux
END
local i
for i in 16 22 24 32 48 64 128 256; do
install -Dm644 browser/branding/official/default$i.png \
install -Dvm644 browser/branding/official/default$i.png \
"$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png"
done
install -Dm644 browser/branding/official/content/about-logo.png \
install -Dvm644 browser/branding/official/content/about-logo.png \
"$pkgdir/usr/share/icons/hicolor/192x192/apps/$pkgname.png"
install -Dm644 browser/branding/official/content/about-logo@2x.png \
install -Dvm644 browser/branding/official/content/about-logo@2x.png \
"$pkgdir/usr/share/icons/hicolor/384x384/apps/$pkgname.png"
install -Dm644 ../firefox-symbolic.svg \
install -Dvm644 browser/branding/official/content/identity-icons-brand.svg \
"$pkgdir/usr/share/icons/hicolor/symbolic/apps/$pkgname-symbolic.svg"
install -Dm644 ../$pkgname.desktop \
install -Dvm644 ../$pkgname.desktop \
"$pkgdir/usr/share/applications/$pkgname.desktop"
# Install a wrapper to avoid confusion about binary path
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
install -Dvm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
#!/bin/sh
exec /usr/lib/$pkgname/firefox "\$@"
END
# Replace duplicate binary with wrapper
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
ln -srf "$pkgdir/usr/bin/$pkgname" \
"$pkgdir/usr/lib/$pkgname/firefox-bin"
ln -srfv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/firefox-bin"
# Use system certificates
local nssckbi="$pkgdir/usr/lib/$pkgname/libnssckbi.so"
if [[ -e $nssckbi ]]; then
ln -srfv "$pkgdir/usr/lib/libnssckbi.so" "$nssckbi"
fi
if [[ -f "$startdir/.crash-stats-api.token" ]]; then
find . -name '*crashreporter-symbols-full.zip' -exec \
"$startdir/upload-symbol-archive" "$startdir/.crash-stats-api.token" {} +
else
find . -name '*crashreporter-symbols-full.zip' -exec \
cp -fvt "$startdir" {} +
fi
}
# vim:set sw=2 et:

View File

@ -1,23 +1,23 @@
--- mozilla-unified/security/nss/lib/freebl/mpi/mpcpucache.c.orig 2019-03-01 07:33:16.000000000 +0000
+++ mozilla-unified/security/nss/lib/freebl/mpi/mpcpucache.c 2019-03-01 08:08:20.000000000 +0000
--- security/nss/lib/freebl/mpi/mpcpucache.c.orig 2019-12-23 18:32:28.800055511 +0100
+++ security/nss/lib/freebl/mpi/mpcpucache.c 2019-12-23 18:33:00.886759880 +0100
@@ -727,9 +727,12 @@
dcbzl(char *array)
{
register char *a asm("r2") = array;
- __asm__ __volatile__("dcbzl %0,r0"
- __asm__ __volatile__("dcbzl %0,0"
- : "=r"(a)
- : "0"(a));
+ /* some older assemblers won't understand the dcbzl instruction
+ * variant, so we directly emit the instruction ourselves */
+ __asm__ __volatile__("mr 9, %0 ; .long 0x7C204FEC" /*dcbzl 0,9*/
+ : /*out*/
+ : "r" (a) /*in*/
+ : "memory", "r9" /*clobber*/);
+ * variant, so we directly emit the instruction ourselves */
+ __asm__ __volatile__("mr 9, %0 ; .long 0x7C204FEC" /*dcbzl 0,9*/
+ : /*out*/
+ : "r" (a) /*in*/
+ : "memory", "r9" /*clobber*/);
}
#define PPC_DO_ALIGN(x, y) ((char *)((((long long)(x)) + ((y)-1)) & ~((y)-1)))
--- mozilla-unified/xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc64_linux.S.orig 2019-03-18 11:00:03.847370287 +0000
+++ mozilla-unified/xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc64_linux.S 2019-03-18 11:07:58.285691290 +0000
--- xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc64_linux.S.orig 2019-12-23 18:34:18.188819500 +0100
+++ xpcom/reflect/xptcall/md/unix/xptcstubs_asm_ppc64_linux.S 2019-12-23 18:34:35.437047656 +0100
@@ -58,35 +58,35 @@
#endif
mflr r0
@ -88,8 +88,8 @@
mtlr r0
blr
--- mozilla-unified/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S.orig 2019-04-14 16:45:21.610000000 +0000
+++ mozilla-unified/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S 2019-04-14 16:45:28.050000000 +0000
--- xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S.orig 2019-12-23 18:35:17.732702582 +0100
+++ xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_ppc64_linux.S 2019-12-23 18:35:23.742085209 +0100
@@ -62,11 +62,11 @@
.NS_InvokeByIndex:
#endif
@ -115,7 +115,7 @@
# +stack frame, -unused stack params, +regs storage, +1 for alignment
addi r7,r5,((STACK_PARAMS/8)-7+7+13+3+1)
@@ -105,55 +105,55 @@
@@ -105,56 +105,56 @@
# Set up to invoke function
@ -192,15 +192,16 @@
- ld r2,STACK_TOC(r1) # Load our own TOC pointer
- ld r1,0(r1) # Revert stack frame
- ld 0,16(r1) # Reload lr
- ld 29,-24(r1) # Restore NVGPRS
- ld 30,-16(r1)
- ld 31,-8(r1)
+ ld r2,STACK_TOC(%r1) # Load our own TOC pointer
+ ld r1,0(%r1) # Revert stack frame
+ ld 0,16(%r1) # Reload lr
mtlr 0
- ld 29,-24(r1) # Restore NVGPRS
- ld 30,-16(r1)
- ld 31,-8(r1)
+ ld 29,-24(%r1) # Restore NVGPRS
+ ld 30,-16(%r1)
+ ld 31,-8(%r1)
mtlr 0
blr
#if _CALL_ELF == 2

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -119,7 +119,7 @@ X-MultipleArgs=false
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;
StartupNotify=true
StartupWMClass=Firefox
StartupWMClass=firefox
Categories=Network;WebBrowser;
Actions=new-window;new-private-window;

View File

@ -1,21 +0,0 @@
# HG changeset patch
# Parent b735e618c2a860972197942f6680c941e3c9a67f
# User Gustavo Luiz Duarte <gustavold@linux.vnet.ibm.com>
Bug 997353 - Do not use compile-time page size for PowerPC.
The PowerPC architecture allows various memory page sizes, making it impossible
to predict the runtime page size.
Index: b/memory/build/mozjemalloc.cpp
===================================================================
--- a/memory/build/mozjemalloc.cpp
+++ b/memory/build/mozjemalloc.cpp
@@ -182,7 +182,7 @@
// Debug builds are opted out too, for test coverage.
#ifndef MOZ_DEBUG
# if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && \
- !defined(__aarch64__) && !defined(__powerpc__)
+ !defined(__aarch64__) && !defined(__powerpc__) && !defined(__powerpc64__)
# define MALLOC_STATIC_PAGESIZE 1
# endif
#endif

View File

@ -1,27 +0,0 @@
Description: reduce the rust debuginfo level on selected architectures where
compiling with debuginfo=2 causes the OOM killer to interrupt the build on
launchpad builders. Initially this was only on 32 bit architectures, but with
firefox 63 it started happening frequently on arm64 and ppc64el too.
--- a/build/moz.configure/toolchain.configure
+++ b/build/moz.configure/toolchain.configure
@@ -1522,8 +1522,8 @@ def rustc_opt_level(opt_level_option, mo
return '1' if moz_optimize.optimize else '0'
-@depends(rustc_opt_level, debug_rust, '--enable-debug-symbols')
-def rust_compile_flags(opt_level, debug_rust, debug_symbols):
+@depends(rustc_opt_level, debug_rust, '--enable-debug-symbols', host)
+def rust_compile_flags(opt_level, debug_rust, debug_symbols, host):
# Cargo currently supports only two interesting profiles for building:
# development and release. Those map (roughly) to --enable-debug and
# --disable-debug in Gecko, respectively.
@@ -1546,6 +1546,8 @@ def rust_compiler_flags(opt_level, debug
if debug_symbols:
debug_info = '2'
+ if host.bitness == 32 or host.cpu == 'aarch64' or host.cpu == 'ppc64':
+ debug_info = '1'
opts = []

View File

@ -1,6 +0,0 @@
--- a/third_party/rust/libloading/.cargo-checksum.json
+++ b/third_party/rust/libloading/.cargo-checksum.json
@@ -1,1 +1,1 @@
-{"files":{"Cargo.toml":"5bc50b6714c71bebc3b616d276e3c73c34ebd375ec99fcaba76b29ac5685e696","LICENSE":"b29f8b01452350c20dd1af16ef83b598fea3053578ccc1c7a0ef40e57be2620f","README.mkd":"b4cd83f110d01dc5aa8fcaf3da34bdbe1478efdba767d73abc14d4d87e4775fa","appveyor.yml":"8382c7f1769f6cf78029a221058c4d73f35a48308b5dfc38d875facabec1c139","build.rs":"dd60f6fc4cef3f02f56b74b6f03ed665ee8ce47e4040e2919282289affa1aca8","src/changelog.rs":"1ac991741280fdd9c5268d617ae7279d08146cfb3222b86e32315ff90b392598","src/lib.rs":"c17a20b5b9125b5a6d7b0913c35448ee688795f3e03f7bf1bf0aaf3e7e4e729e","src/os/mod.rs":"51d733e5522dacd6069642ad66aa6d7acf6c82950c934eb040e8dfd112e6d610","src/os/unix/global_static.c":"b1096dedf7d4aed5c28b658fc917f6603339ffd92390c84e25cb543bdc9460ac","src/os/unix/mod.rs":"717c09d09c20b14b8b8344899ffc3448ef23cf230ec61536a9fd53e8900d05ee","src/os/windows/mod.rs":"0b648941117a1573501ce1be5fcd11416361e1fe9c19a49f0826569a6cbc400a","src/test_helpers.rs":"3a55052e8cd5231e97d9282b43398c2f144c57ced2d2df64bde7f482f5c778e7","src/util.rs":"0b0155448a26db4b00b2a6ca129e0e1f6f75870c56c9777d262941818c7581b7","tests/functions.rs":"4633f3673db6a5b3623ea8927b13314c25502c9fbb63bb17a5a35650ea489012","tests/markers.rs":"8e9c1b883404d9190e4f23ed39b3d6cbbccb3a07883f733b04aed4357b9c6aca","tests/nagisa32.dll":"5c69b2bd9c8a6ad04165c221075fc9fade1dd66ca697399ace528a5a62328e36","tests/nagisa64.dll":"e20b95e3036f3289421abd100760874d4f455afd33c3b5b64fec56b191f7d477","tests/windows.rs":"7711dfe19062d91356cd127546542b1b6e13aeef76ad3098f32c8a6ae319b66a"},"package":"9c3ad660d7cb8c5822cd83d10897b0f1f1526792737a179e73896152f85b88c2"}
\ No newline at end of file
+{"files":{"Cargo.toml":"5bc50b6714c71bebc3b616d276e3c73c34ebd375ec99fcaba76b29ac5685e696","LICENSE":"b29f8b01452350c20dd1af16ef83b598fea3053578ccc1c7a0ef40e57be2620f","README.mkd":"b4cd83f110d01dc5aa8fcaf3da34bdbe1478efdba767d73abc14d4d87e4775fa","appveyor.yml":"8382c7f1769f6cf78029a221058c4d73f35a48308b5dfc38d875facabec1c139","build.rs":"dd60f6fc4cef3f02f56b74b6f03ed665ee8ce47e4040e2919282289affa1aca8","src/changelog.rs":"1ac991741280fdd9c5268d617ae7279d08146cfb3222b86e32315ff90b392598","src/lib.rs":"c17a20b5b9125b5a6d7b0913c35448ee688795f3e03f7bf1bf0aaf3e7e4e729e","src/os/mod.rs":"51d733e5522dacd6069642ad66aa6d7acf6c82950c934eb040e8dfd112e6d610","src/os/unix/global_static.c":"b1096dedf7d4aed5c28b658fc917f6603339ffd92390c84e25cb543bdc9460ac","src/os/unix/mod.rs":"717c09d09c20b14b8b8344899ffc3448ef23cf230ec61536a9fd53e8900d05ee","src/os/windows/mod.rs":"0b648941117a1573501ce1be5fcd11416361e1fe9c19a49f0826569a6cbc400a","src/test_helpers.rs":"3a55052e8cd5231e97d9282b43398c2f144c57ced2d2df64bde7f482f5c778e7","src/util.rs":"0b0155448a26db4b00b2a6ca129e0e1f6f75870c56c9777d262941818c7581b7","tests/functions.rs":"4633f3673db6a5b3623ea8927b13314c25502c9fbb63bb17a5a35650ea489012","tests/markers.rs":"8e9c1b883404d9190e4f23ed39b3d6cbbccb3a07883f733b04aed4357b9c6aca","tests/windows.rs":"7711dfe19062d91356cd127546542b1b6e13aeef76ad3098f32c8a6ae319b66a"},"package":"9c3ad660d7cb8c5822cd83d10897b0f1f1526792737a179e73896152f85b88c2"}

View File

@ -21,4 +21,5 @@ for zip; do
--retry 4 --retry-connrefused --connect-timeout 120 \
https://symbols.mozilla.org/upload/
echo
mv -v "$zip" "$zip.uploaded"
done

View File

@ -2,29 +2,42 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=npm
pkgver=6.12.1
pkgver=6.13.4
pkgrel=1
pkgdesc='A package manager for javascript'
arch=('any')
url='https://www.npmjs.com/'
license=('custom:Artistic')
depends=('nodejs' 'node-gyp' 'semver')
makedepends=('procps-ng' 'marked-man')
# libgl: TODO
# libvips: for sharp (doc build)
# libxi: for cwebp (doc build)
makedepends=('libgl' 'libvips' 'libxi' 'marked' 'marked-man' 'procps-ng' 'python')
options=('!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/npm/cli/archive/v$pkgver.tar.gz")
sha512sums=('781ad125eebf426714a050eb0d3332c2a22041380c6b5691b6781f49f8324ce8ace7c6040b34ed8132d084da74cb6dfe69a9ef0ccd1c554d86864d13a20f618c')
sha512sums=('0b7b591bb73ea0ca25a5675e6c01c6289bdc85fd22cea399d0b7a0e428bda838d1f4ac279ee674de6ed7fcd1f3d2e91a3c8bd023ea8eaef211b8f4cee7ec718a')
prepare() {
cd cli-$pkgver
mkdir -p node_modules/.bin
ln -sf /usr/bin/marked{,-man} node_modules/.bin/
# Use local marked/marked-man
sed -i 's|node bin/npm-cli.js install marked|true |' Makefile
# Don't build twice
sed -i 's/install: all/install:/' Makefile
mkdir -p man/man1
# Fix nodejs 13 compatibility
sed -i '/gatsby/ s/\^/>=/' docs/package.json
rm docs/package-lock.json
}
build() {
cd cli-$pkgver
make
NODE_PATH=/usr/lib/node_modules make
}
package() {