Initial scripts and stuff

This commit is contained in:
Laura Hausmann 2023-10-26 20:26:46 +02:00
parent 20a55763c8
commit 7d77b024ea
Signed by untrusted user: zotan
GPG key ID: D044E84C5BE01605
6 changed files with 90 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/mozilla-unified

20
assets/mozconfig Normal file
View file

@ -0,0 +1,20 @@
#ac_add_options --allow-addon-sideload
#ac_add_options --disable-crashreporter
#ac_add_options --disable-debug
#ac_add_options --disable-default-browser-agent
#ac_add_options --disable-tests
#ac_add_options --disable-updater
#ac_add_options --enable-hardening
#ac_add_options --enable-optimize
#ac_add_options --enable-release
#ac_add_options --enable-rust-simd
#ac_add_options --with-app-name=snowleopard
#ac_add_options --with-unsigned-addon-scopes=app,system
#export MOZ_REQUIRE_SIGNING=
#mk_add_options MOZ_CRASHREPORTER=0
#mk_add_options MOZ_DATA_REPORTING=0
#mk_add_options MOZ_SERVICES_HEALTHREPORT=0
#mk_add_options MOZ_TELEMETRY_REPORTING=0

5
bootstrap.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -e
curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O
python3 bootstrap.py --vcs=git --no-interactive

16
build.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
set -e
# Clean repo
cd ./mozilla-unified
git reset --hard
git clean -fd
# Prepare assets
cp ../assets/mozconfig mozconfig
# Prepare patches
git apply ../patches/*.patch
# Build the thing
./mach build

View file

@ -0,0 +1,43 @@
diff --git a/browser/branding/unofficial/configure.sh b/browser/branding/unofficial/configure.sh
index edd3bd3e86e50..a919513ddae3a 100644
--- a/browser/branding/unofficial/configure.sh
+++ b/browser/branding/unofficial/configure.sh
@@ -2,4 +2,4 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-MOZ_APP_DISPLAYNAME=Nightly
+MOZ_APP_DISPLAYNAME=Snowleopard
diff --git a/browser/branding/unofficial/locales/en-US/brand.ftl b/browser/branding/unofficial/locales/en-US/brand.ftl
index 5eaea9a7c4e87..917ac943756d6 100644
--- a/browser/branding/unofficial/locales/en-US/brand.ftl
+++ b/browser/branding/unofficial/locales/en-US/brand.ftl
@@ -16,10 +16,10 @@
## For further details, consult:
## https://mozilla-l10n.github.io/styleguides/mozilla_general/#brands-copyright-and-trademark
--brand-shorter-name = Nightly
--brand-short-name = Nightly
--brand-shortcut-name = Nightly
--brand-full-name = Nightly
+-brand-shorter-name = Snowleopard
+-brand-short-name = Snowleopard
+-brand-shortcut-name = Snowleopard
+-brand-full-name = Snowleopard
# This brand name can be used in messages where the product name needs to
# remain unchanged across different versions (Nightly, Beta, etc.).
-brand-product-name = Firefox
diff --git a/browser/branding/unofficial/locales/en-US/brand.properties b/browser/branding/unofficial/locales/en-US/brand.properties
index 346c3bdb509bf..e1429d9d33549 100644
--- a/browser/branding/unofficial/locales/en-US/brand.properties
+++ b/browser/branding/unofficial/locales/en-US/brand.properties
@@ -2,6 +2,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-brandShorterName=Nightly
-brandShortName=Nightly
-brandFullName=Nightly
+brandShorterName=Snowleopard
+brandShortName=Snowleopard
+brandFullName=Snowleopard

5
start.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
set -e
cd ./mozilla-unified
./mach run