summaryrefslogtreecommitdiff
path: root/makeicecat
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@trisquel.info>2022-09-08 20:54:49 -0400
committerRuben Rodriguez <ruben@trisquel.info>2022-09-08 20:54:49 -0400
commit0a9e525911bb43257f041d6d21d4789dd30152b2 (patch)
tree4fddd224263cc4312d15c0875f119cb161da30cb /makeicecat
parentc33290316ff738f5d92f8c3755ce1a220e623900 (diff)
Updated build scripts to match upstream changes
Diffstat (limited to 'makeicecat')
-rwxr-xr-xmakeicecat8
1 files changed, 7 insertions, 1 deletions
diff --git a/makeicecat b/makeicecat
index 802d84d..c4fddba 100755
--- a/makeicecat
+++ b/makeicecat
@@ -449,6 +449,12 @@ EOF
# IceCat menu l10n
/bin/sed '/appmenuitem-settings/,+1s/\(.*.label = \)\(.*\)/\1\2\nappmenuitem-icecat-settings =\n\1IceCat \2/' -i ./l10n/*/browser/browser/appmenu.ftl ./browser/locales/en-US/browser/appmenu.ftl
+
+ # Disable remote settings server
+ sed '/REMOTE_SETTINGS_SERVER_URL/,/^$/s/http.*"/"/' -i toolkit/modules/AppConstants.jsm
+
+ # Build on trisquel
+ sed '/^DEBIAN_DISTROS/s/$/\n "trisquel",/' -i ./python/mozboot/mozboot/bootstrap.py
}
configure_search()
@@ -636,7 +642,7 @@ s/OpenSource/Free Software/g;
sed '/If fingerprinting resistance is on/,/}/s/^/\/\//' -i ./dom/base/Navigator.cpp
# Leave user agent as Firefox
- sed "/MOZILLA_UAVERSION/ s:IceCat/:Firefox/:" -i netwerk/protocol/http/nsHttpHandler.cpp
+ sed "/mCompatIceCat.AssignLiteral/ s:IceCat/:Firefox/:" -i netwerk/protocol/http/nsHttpHandler.cpp
find . -name region.properties | xargs -i /bin/sed 's_https://www\.mibbit.*__' -i {}