tor-browser-build merge requestshttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests2021-01-20T21:15:32Zhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/178Draft: Bug 23631: Use rootless containers2021-01-20T21:15:32ZboklmDraft: Bug 23631: Use rootless containersCloses #23631.
The same as !162, rebased on master.Closes #23631.
The same as !162, rebased on master.boklmboklmhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/177Draft: Bug 40191 v22021-01-14T07:58:22ZGeorg KoppenDraft: Bug 40191 v2Closes: #40190, #40191, #40193, #40194.Closes: #40190, #40191, #40193, #40194.https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/16840162: Build Fenix instrumented tests apk2021-01-08T08:02:15ZAlex Catarineu40162: Build Fenix instrumented tests apkCloses #40162.
I'm basing this on the branch from !165.
Currently, this builds `*androidTest.apk` for all build variants. I'm not sure if that's the best, or we should only do this for the nightlies.
This also needs a fenix branch wit...Closes #40162.
I'm basing this on the branch from !165.
Currently, this builds `*androidTest.apk` for all build variants. I'm not sure if that's the best, or we should only do this for the nightlies.
This also needs a fenix branch with the fenix@238126dc4b2f03a2e27a1a0ed31929ee3a807b13 fixup, otherwise there is a build error. The patch for fenix@623da161ac2d8438b1758037579318f8e11ddfe9 is not needed to build successfully I believe, but if it's not there the `androidTest.apk` will always be the debug one.
I fetched the gradle deps, but `okio-2.8.0` did not appear in the list as a result of that (not sure exactly why), so I added it manually.https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/166Draft: Bug 40185: Disable torsocks before running static-update-component2020-12-11T20:14:50ZboklmDraft: Bug 40185: Disable torsocks before running static-update-componentCloses #40185.
I am currently testing this patch on `tbb-nightlies-master`. I will confirm whether it worked in one or two hours.Closes #40185.
I am currently testing this patch on `tbb-nightlies-master`. I will confirm whether it worked in one or two hours.Georg KoppenGeorg Koppenhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/162Bug 23631: Use rootless containers2020-12-23T17:41:20ZboklmBug 23631: Use rootless containersCloses #23631.
This is the same as !130, rebased on master (fixing conflict).Closes #23631.
This is the same as !130, rebased on master (fixing conflict).Georg KoppenGeorg Koppenhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/137Bug 40137 012020-12-01T21:44:09ZMatthew FinkelBug 40137 01Squash (but not rebased onto current master)Squash (but not rebased onto current master)Georg KoppenGeorg Koppenhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/136Draft: Bug 40156 v42020-12-02T16:27:50ZGeorg KoppenDraft: Bug 40156 v4Closes #40140, #40155, #40156.Closes #40140, #40155, #40156.Georg KoppenGeorg Koppenhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/134Draft: Bug 40081: Build Mozilla code with --enable-rust-simd2020-12-01T07:37:43ZGeorg KoppenDraft: Bug 40081: Build Mozilla code with --enable-rust-simdMozilla builds their CI and shipped code with Rust SIMD enabled
(see: https://bugzilla.mozilla.org/show_bug.cgi?id=1578677#c4). We
should therefore do the same. Thanks to a cypherpunk for pointing that
out.
Closes #40081.Mozilla builds their CI and shipped code with Rust SIMD enabled
(see: https://bugzilla.mozilla.org/show_bug.cgi?id=1578677#c4). We
should therefore do the same. Thanks to a cypherpunk for pointing that
out.
Closes #40081.https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/130Draft: Bug 23631: Use rootless containers2021-02-17T18:05:16ZboklmDraft: Bug 23631: Use rootless containersCloses #23631Closes #23631boklmboklmhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/128Draft: Bug 40137 002020-12-01T17:05:39ZMatthew FinkelDraft: Bug 40137 00Closes #40137 #40157Closes #40137 #40157https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/115Draft: Bug 40128: Allow updating Fenix allowed_addons.json2020-12-03T15:53:45ZAlex CatarineuDraft: Bug 40128: Allow updating Fenix allowed_addons.jsonCloses #40128.
This replaces the `allowed_addon.json` in the apk assets with the one in `projects/tor-browser/allowed_addons.json`. It also checks at build time whether it has the right versions of `HTTPS Everywhere` and `NoScript`.
Th...Closes #40128.
This replaces the `allowed_addon.json` in the apk assets with the one in `projects/tor-browser/allowed_addons.json`. It also checks at build time whether it has the right versions of `HTTPS Everywhere` and `NoScript`.
The script in `tools/fetch_allowed_addons.py` script should allow updating `projects/tor-browser/allowed_addons.json` (manually). This expects the `AMO_COLLECTION` as an argument, which currently will have to be looked manually up from the corresponding Fenix repository (we could maybe try to automate this too, if we think it's worth it)
I included the same `allowed_addon.json` which is currently in `Fenix`, and should allow building correctly (the extension versions match).https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/85Draft: Bug 40093: Ensure application-services libs do not include libc networ...2020-10-01T08:58:33ZAlex CatarineuDraft: Bug 40093: Ensure application-services libs do not include libc networking symbolsCloses #40093 (supersedes !71).Closes #40093 (supersedes !71).https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/71Draft: Bug 40093: Ensure application-services libs do not include libc networ...2020-09-30T18:40:23ZAlex CatarineuDraft: Bug 40093: Ensure application-services libs do not include libc networking symbolsCloses #40093.
This compiles and links NSS/application-services with lto, and also adds a check
which will make the building of the application-services project fail if it finds
networking symbols in the final built libraries.Closes #40093.
This compiles and links NSS/application-services with lto, and also adds a check
which will make the building of the application-services project fail if it finds
networking symbols in the final built libraries.https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/66Bug 40080: Add reproducible build of Python for Windows2022-09-20T15:17:12ZyanmaaniBug 40080: Add reproducible build of Python for WindowsThis PR adds a reproducible build of Python 3.8.5 for Windows. This can be used for Namecoin, for example.
It's a separate project because the build system differs heavily from Linux Python's such. It relies on an entirely separate proj...This PR adds a reproducible build of Python 3.8.5 for Windows. This can be used for Namecoin, for example.
It's a separate project because the build system differs heavily from Linux Python's such. It relies on an entirely separate project (github.com/v-finance/cross-python), which re-implements that which is done by autoconf/make in upstream. As such it doesn't use MSVC, which means it doesn't need Wine.
There are some disgusting hacks in the build script. These can probably be cleaned up later, but it consistently produces working executables right now.
Python has a build-time dependency on Python, which we currently solve by depending on python3 in container-image, so this is not bootstrappable as-is. However, reproducible builds of Python for Linux are trivial to do, if a bit cumbersome (Python 3.8 has a build-time dependency on Python 3.6, and so on and so forth.)
Closes #40080.https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/64Bug 40070: Use android-* targets instead of torbrowser-android-* targets2020-09-11T20:05:11ZboklmBug 40070: Use android-* targets instead of torbrowser-android-* targetsCloses #40070.Closes #40070.https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/59Draft: Bug 40077 v22020-09-10T17:08:16ZGeorg KoppenDraft: Bug 40077 v2Closes #40071, #40077.Closes #40071, #40077.Georg KoppenGeorg Koppenhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/58Draft: Bug 400772020-09-07T07:50:24ZGeorg KoppenDraft: Bug 40077Closes #40077, #40071.Closes #40077, #40071.Georg KoppenGeorg Koppenhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/48Bug 40066: Remove default bridge 37.218.240.34.2020-08-31T16:04:26ZPhilipp Winterphw@torproject.orgBug 40066: Remove default bridge 37.218.240.34.The colocation site where the bridge is running will be shut down.The colocation site where the bridge is running will be shut down.https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/45WIP: Bug 40058: Build Fenix with tor-android-service and topl2020-08-31T20:00:29ZAlex CatarineuWIP: Bug 40058: Build Fenix with tor-android-service and toplhttps://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_requests/39Enable Namecoin on Windows Nightly2022-09-20T15:17:50ZJeremyRandEnable Namecoin on Windows NightlyThis PR enables Namecoin on Windows Nightly. Notes:
1. The user must install Python themselves; Tor Launcher will find Python automatically if it's in the `PATH`. This can be improved in a subsequent MR.
2. The `TOR_VERBOSE_NAMECOIN=1...This PR enables Namecoin on Windows Nightly. Notes:
1. The user must install Python themselves; Tor Launcher will find Python automatically if it's in the `PATH`. This can be improved in a subsequent MR.
2. The `TOR_VERBOSE_NAMECOIN=1` environment variable will enable verbose console logging of Electrum-NMC and StemNS.
3. Currently, if StemNS or Electrum-NMC is killed, Tor Launcher's error will indicate that Tor was killed. This can be improved in a subsequent MR.
4. Translation strings for new error messages haven't been added. This can be improved in a subsequent MR.
Everything else works pretty much the same as the GNU/Linux support (e.g. the `TOR_ENABLE_NAMECOIN=1` environment variable is used to enable Namecoin at runtime). I also bumped the Electrum-NMC checkpoint, as it was getting a bit outdated.
Fixes https://gitlab.torproject.org/tpo/applications/tor-launcher/-/issues/40001
Fixes https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/issues/40022
Fixes https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/issues/40042
(First time using GitLab's MR functionality for Tor stuff, so please let me know if my MR style needs revision.)
Huge thanks to Cyphrs and the Cyberia Computer Club for sponsoring this port.Isabela FernandesIsabela Fernandes