Commit 0a709183 authored by Chaoting Liu's avatar Chaoting Liu

firefox: 65.0.2

parent f5d88684
Pipeline #2843 passed with stages
in 128 minutes and 11 seconds
pkgname=firefox-kde
pkgver=65.0.1
pkgver=65.0.2
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE"
arch=('x86_64')
......@@ -9,14 +9,13 @@ depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib als
libevent libproxy nss nspr pixman
kio knotifications kwindowsystem ki18n)
makedepends=(unzip zip diffutils python2 yasm mesa imake libpulse inetutils xorg-server-xvfb
autoconf2.13 gtk2 gobject-introspection jack rust gconf
autoconf2.13 gtk2 gobject-introspection jack rust
cmake extra-cmake-modules llvm clang lld cbindgen nodejs nasm)
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'upower: Battery API'
'firefox-i18n: for multilanguage support'
'hunspell: for spell check support')
options=(!emptydirs !strip)
'hunspell: for spellchecking support')
screenshot="http://img864.imageshack.us/img864/5116/firefoxm.png"
provides=("firefox=${pkgver}" "kmozillahelper=5.0.2")
conflicts=('kmozillahelper')
......@@ -37,12 +36,11 @@ replaces=('kmozillahelper')
_kmozillahelper_commit=2ca28e0 #v5.0.2
_kdepatchrev=87f893cf45b9
_kdepatchurl=http://www.rosenauer.org/hg/mozilla/raw-file/$_kdepatchrev
_ubuntuver=build2-0ubuntu1
_ubuntuver=build1-0ubuntu1
#_ubuntupatchurl=http://archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_${pkgver}+${_ubuntuver}.debian.tar.xz # no TLS @2019, really?
#_gentoopatch=https://dev.gentoo.org/~{anarchy,axs,polynomial-c,whissi}/mozilla/patchsets/${PATCH}.tar.xz
source=("https://releases.mozilla.org/pub/firefox/releases/${pkgver}/source/${pkgname%%-kde}-${pkgver}.source.tar.xz"
source=("https://releases.mozilla.org/pub/firefox/releases/${pkgver}/source/${pkgname%%-kde}-${pkgver}.source.tar.xz"{,.asc}
"git://github.com/openSUSE/kmozillahelper#commit=${_kmozillahelper_commit}"
'firefox.desktop' 'ddg.xml'
'pgo-fix-missing-kdejs.patch'
......@@ -65,9 +63,9 @@ source=("https://releases.mozilla.org/pub/firefox/releases/${pkgver}/source/${pk
"http://archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_${pkgver%.1}+${_ubuntuver}.debian.tar.xz"
# Unused patchset
#"$_patchurl/gecko-lockdown.patch"
#$_patchurl/firefox-ui-lockdown.patch
#"$_patchurl/toolkit-ui-lockdown.patch" # Not appliable
# gecko-lockdown.patch
# firefox-ui-lockdown.patch
# toolkit-ui-lockdown.patch: this and above, Not appliable
# mozilla-gconf-backend.patch: we disabled gconf
# mozilla-bmo1463035.patch: not our targetted architecture
# mozilla-bmo256180.patch: don't know what it is for
......@@ -76,7 +74,9 @@ source=("https://releases.mozilla.org/pub/firefox/releases/${pkgver}/source/${pk
# mozilla-ntlm-full-path.patch: not affected it seems
# mozilla-reduce-files-per-UnifiedBindings.patch
)
sha256sums=('67e517f6d1ea8aa5c8f32404b8756f3205c3550917a91a19b0a0edccc656a3cc'
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com>
sha256sums=('7d856a681fd8959f492679d0db3c3b787102665670f57cd9739ba9065702059f'
'SKIP'
'SKIP'
'6c2ea431c36afef67710547ae67e81975254309e9e1c82d8312f765caa950fe5'
'1190f251471305f4c96a313b32aa66ee1549125300d7ce385356f45bd8ebcb3d'
......@@ -89,7 +89,7 @@ sha256sums=('67e517f6d1ea8aa5c8f32404b8756f3205c3550917a91a19b0a0edccc656a3cc'
'e5d8f0410ecd05119119e2d44a88fb5f1eb67a5b1035fd0a66b8cf167fb81c5d'
'21949f918907e16919820784bfb51540714c7bb256e219a3d965387b14b18886'
'8afb2dbc729487aaf6e43e0ce0e86fb51c6f0bd27c3b6580dbb0c431c1cf9aa0'
'd5a80640c1bc5694f022dfab1b405ef5491ef9677b13f922ec279fc948a64558')
'db5bd28953b91ce3411c01c6bac3d899c91d71983c7c48d4d1228698e1ffdbed')
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
......@@ -148,15 +148,10 @@ ac_add_options --enable-official-branding
ac_add_options --enable-update-channel=release
ac_add_options --with-distribution-id=org.chakralinux
ac_add_options --enable-default-toolkit=cairo-gtk3
export CC=clang
export CXX=clang++
export MOZILLA_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1
export MOZ_TELEMETRY_REPORTING=0
export MOZ_REQUIRE_SIGNING=1
#export MOZ_PGO=1
export AR=llvm-ar
export NM=llvm-nm
export RANLIB=llvm-ranlib
export MOZ_PGO=1
# Keys
ac_add_options --with-google-api-keyfile=${PWD@Q}/google-api-key
......@@ -181,7 +176,7 @@ ac_add_options --enable-libproxy
ac_add_options --enable-startup-notification
ac_add_options --enable-jack
ac_add_options --enable-alsa
ac_add_options --enable-gconf
ac_add_options --disable-gconf
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
......@@ -237,9 +232,8 @@ build_firefox() {
ulimit -n 4096
# Do PGO
#xvfb-run -a -n 95 -s "-extension GLX -screen 0 1280x1024x24" \
xvfb-run -a -n 95 -s "-extension GLX -screen 0 1280x1024x24" \
./mach build
#make -f client.mk build
}
package() {
......@@ -265,6 +259,9 @@ pref("spellchecker.dictionary_path", "/usr/share/hunspell");
// Disable default browser checking.
pref("browser.shell.checkDefaultBrowser", false);
// Enable Network Manager integration
pref("network.manage-offline-status", true);
// Don't disable our bundled extensions in the application directory
pref("extensions.autoDisableScopes", 11);
pref("extensions.shownSelectionUI", true);
......@@ -288,6 +285,7 @@ about=Mozilla Firefox compiled by Chakra GNU/Linux
app.distributor=chakralinux
app.distributor.channel=firefox
app.partner.chakralinux=chakralinux
browser.search.geoSpecificDefaults=false
END
install -Dm644 $srcdir/ddg.xml $pkgdir/usr/lib/firefox/distribution/searchplugins/common/ddg-chakra.xml
for i in 16 22 24 32 48 64 128 256; do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment