found tor-browser repo, does not build yet

This commit is contained in:
Bert van der Weerd 2021-04-11 00:13:53 +02:00
parent a5900bbe52
commit 1a4fcc2689
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1

View file

@ -227,8 +227,12 @@ artifacts_rpm()
# Dependencies for linux/freebsd. # Dependencies for linux/freebsd.
deps_deb() { deps_deb() {
echo "deps_deb: begin." echo "deps_deb: begin."
deps="python python-dev python3 python3-dev python3-distutils clang pkg-config libpulse-dev gcc curl wget nodejs libpango1.0-dev nasm yasm zip m4 libgtk-3-dev libgtk2.0-dev libdbus-glib-1-dev libxt-dev python3-pip mercurial" deps1="python python-dev python3 python3-dev python3-distutils clang pkg-config libpulse-dev gcc"
apt install -y $deps deps2="curl wget nodejs libpango1.0-dev nasm yasm zip m4 libgtk-3-dev libgtk2.0-dev libdbus-glib-1-dev"
deps3="libxt-dev python3-pip mercurial automake autoconf libtool m4"
apt install -y $deps1
apt install -y $deps2
apt install -y $deps3
echo "deps_deb: done." echo "deps_deb: done."
} }
@ -380,6 +384,19 @@ reset_mozilla_unified() {
cd .. cd ..
echo "reset_mozilla_unified: done." echo "reset_mozilla_unified: done."
} }
# tor.. experimental
init_tor_browser() {
git clone https://git.torproject.org/tor-browser.git
cd tor-browser
git checkout tor-browser-78.8.0esr-10.0-1
cd ..
}
set_tor_browser() {
srcdir=tor-browser
}
reset_tor_browser() {
echo "(todo)"
}
# #
# process commandline arguments and do something # process commandline arguments and do something
@ -441,6 +458,18 @@ if [[ "$*" == *reset_mozilla_unified* ]]; then
reset_mozilla_unified reset_mozilla_unified
done_something=1 done_something=1
fi fi
if [[ "$*" == *init_tor_browser* ]]; then
init_tor_browser
done_something=1
fi
if [[ "$*" == *set_tor_browser* ]]; then
set_tor_browser
done_something=1
fi
if [[ "$*" == *reset_tor_browser* ]]; then
reset_tor_browser
done_something=1
fi
@ -607,7 +636,7 @@ Use: ./build.sh clean | all | [other stuff...]
git_init - create .git folder in firefox-87.0 for creating patches. git_init - create .git folder in firefox-87.0 for creating patches.
mach_run_config - copy librewolf config/policies to enable 'mach run'. mach_run_config - copy librewolf config/policies to enable 'mach run'.
# Cross-compile from linux: # Cross-compile from linux: (experimental)
linux_patches - the 'do_patches' for linux->win crosscompile. linux_patches - the 'do_patches' for linux->win crosscompile.
linux_artifacts - standard artifact zip file. perhaps a -setup.exe. linux_artifacts - standard artifact zip file. perhaps a -setup.exe.
@ -622,10 +651,8 @@ Use: ./build.sh clean | all | [other stuff...]
set_mozilla_unified - use mozilla-unified instead of firefox-87.0 source. set_mozilla_unified - use mozilla-unified instead of firefox-87.0 source.
reset_mozilla_unified - clean mozilla-unified and pull latest git changes. reset_mozilla_unified - clean mozilla-unified and pull latest git changes.
Documentation is in the build-howto.md. In a docker situation, we'd like You can use init_tor_browser, set_tor_browser as above, but it attempts a Tor
to run something like: Browser build instead (esr releases). (experimental)
./build.sh fetch extract linux_patches build linux_artifacts
# Installation from linux zip file: # Installation from linux zip file: