Update to latest Linux patches
This commit is contained in:
parent
4411d83bd5
commit
d6a50d6c4a
2 changed files with 25 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,6 +3,8 @@ librewolf-*
|
||||||
megabar.patch
|
megabar.patch
|
||||||
remove_addons.patch
|
remove_addons.patch
|
||||||
unity-menubar.patch
|
unity-menubar.patch
|
||||||
|
context-menu.patch
|
||||||
|
mozilla-vpn-ad.patch
|
||||||
mozconfig
|
mozconfig
|
||||||
Makefile
|
Makefile
|
||||||
librewolf
|
librewolf
|
||||||
|
|
|
||||||
25
build.sh
25
build.sh
|
|
@ -76,13 +76,26 @@ do_patches() {
|
||||||
|
|
||||||
# get the patches
|
# get the patches
|
||||||
echo 'Getting patches..'
|
echo 'Getting patches..'
|
||||||
rm -f megabar.patch remove_addons.patch
|
rm -f context-menu.patch megabar.patch mozilla-vpn-ad.patch remove_addons.patch unity-menubar.patch
|
||||||
|
|
||||||
|
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/context-menu.patch
|
||||||
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
if [ ! -f context-menu.patch ]; then exit 1; fi
|
||||||
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/megabar.patch
|
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/megabar.patch
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
if [ ! -f megabar.patch ]; then exit 1; fi
|
if [ ! -f megabar.patch ]; then exit 1; fi
|
||||||
|
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/mozilla-vpn-ad.patch
|
||||||
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
if [ ! -f mozilla-vpn-ad.patch ]; then exit 1; fi
|
||||||
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/remove_addons.patch
|
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/remove_addons.patch
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
if [ ! -f remove_addons.patch ]; then exit 1; fi
|
if [ ! -f remove_addons.patch ]; then exit 1; fi
|
||||||
|
wget -q https://gitlab.com/librewolf-community/browser/linux/-/raw/master/unity-menubar.patch
|
||||||
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
if [ ! -f unity-menubar.patch ]; then exit 1; fi
|
||||||
|
|
||||||
|
|
||||||
|
# create mozconfig..
|
||||||
|
|
||||||
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
if [ ! -d firefox-$pkgver ]; then exit 1; fi
|
||||||
cd firefox-$pkgver
|
cd firefox-$pkgver
|
||||||
|
|
@ -127,10 +140,18 @@ END
|
||||||
echo 'Applying patches...'
|
echo 'Applying patches...'
|
||||||
|
|
||||||
# Apply patches..
|
# Apply patches..
|
||||||
patch -p1 -i ../remove_addons.patch
|
# context-menu.patch megabar.patch mozilla-vpn-ad.patch remove_addons.patch unity-menubar.patch
|
||||||
|
patch -p1 -i ../context-menu.patch
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
patch -p1 -i ../megabar.patch
|
patch -p1 -i ../megabar.patch
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
patch -p1 -i ../mozilla-vpn-ad.patch
|
||||||
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
patch -p1 -i ../remove_addons.patch
|
||||||
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
patch -p1 -i ../unity-menubar.patch
|
||||||
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
|
||||||
|
|
||||||
# Disabling Pocket
|
# Disabling Pocket
|
||||||
sed -i "s/'pocket'/#'pocket'/g" browser/components/moz.build
|
sed -i "s/'pocket'/#'pocket'/g" browser/components/moz.build
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue