Skip to content
Snippets Groups Projects
Verified Commit d99f0d48 authored by alice's avatar alice
Browse files

community/firefox-esr: fix profile issue

parent 34fe1a55
No related branches found
No related tags found
1 merge request!39304[3.16] main/expat: security upgrade to 2.4.9
...@@ -5,14 +5,13 @@ pkgname=firefox-esr ...@@ -5,14 +5,13 @@ pkgname=firefox-esr
pkgver=102.2.0 pkgver=102.2.0
# Date of release, YY-MM-DD for metainfo file (see package()) # Date of release, YY-MM-DD for metainfo file (see package())
_releasedate=2022-08-23 _releasedate=2022-08-23
pkgrel=2 pkgrel=3
pkgdesc="Firefox web browser - Extended Support Release" pkgdesc="Firefox web browser - Extended Support Release"
url="https://www.mozilla.org/en-US/firefox/organizations/" url="https://www.mozilla.org/en-US/firefox/organizations/"
# s390x and riscv64: blocked by rust and cargo # s390x and riscv64: blocked by rust and cargo
# armhf: build failure on armhf due to wasm # armhf: build failure on armhf due to wasm
arch="x86_64 armv7 aarch64 x86 ppc64le" arch="x86_64 armv7 aarch64 x86 ppc64le"
license="GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND MPL-2.0" license="GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND MPL-2.0"
install="$pkgname.post-upgrade"
depends="ffmpeg-libs" depends="ffmpeg-libs"
makedepends=" makedepends="
alsa-lib-dev alsa-lib-dev
...@@ -432,7 +431,7 @@ export BUILD_OFFICIAL=1 ...@@ -432,7 +431,7 @@ export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1 export MOZILLA_OFFICIAL=1
export USE_SHORT_LIBNAME=1 export USE_SHORT_LIBNAME=1
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
export MOZ_APP_PROFILE="mozilla/firefox-esr" export MOZ_APP_PROFILE="mozilla/firefox"
export MOZ_APP_REMOTINGNAME=firefox-esr export MOZ_APP_REMOTINGNAME=firefox-esr
export MOZBUILD_STATE_PATH="$srcdir"/mozbuild export MOZBUILD_STATE_PATH="$srcdir"/mozbuild
# disable desktop notifications # disable desktop notifications
......
#!/bin/sh
ver_old=$2
if [ "$(apk version -t "$ver_old" '102.2.0-r2')" = '<' ]; then
# firefox-esr appid changed in 102.2.0-r1
cat 2>&1 <<-EOF
* firefox-esr 102.2.0-r1 changed its' appid to firefox-esr, allowing it to
* be installed alongside regular firefox. to migrate your profile for this
* change, you have to move ~/.mozilla/firefox to ~/.mozilla/firefox-esr, and
* ensure ~/.mozilla/firefox-esr/profiles.ini contains one of the
* subdirectory folders (Path= is the subdir name, Default=1 is the one
* selected on startup).
EOF
fi
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment