Skip to content

Commit

Permalink
upgrade to 131.0.6778.69-1
Browse files Browse the repository at this point in the history
  • Loading branch information
clickot committed Nov 14, 2024
1 parent c994946 commit aa1cd95
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ Portable Linux build and packaging for [ungoogled-chromium](https://github.com/u
## building
execute `docker-build.sh` script in the root dir. This will
* build a debian-based docker image with all needed llvm, nodejs and distro packages to build chromium
* start the docker image, mounts the current dir and runs `build.sh` in it, which executes the actual build process on ungoogled-chromium (mainly: download chromium source tar, unpack and patch it, setup build env and execute ninja build on the result).
* start the docker image, mounts the current dir and runs `build.sh` in it, which executes the actual build process on ungoogled-chromium (mainly: download chromium source tar, unpack
and patch it, setup build env and execute ninja build on the result).
* if you want to checkout chromium instead of downloading a tarball (e.g. because there's no tarball available yet), call `docker-build.sh -c`.
Instead of tarball downloading this will call the `<ungoogled-chromium>/utils/clone.py` script for cloning the source tree of chromium and all needed submodules etc.

>Note that the build takes several hours (about 8 hous on my computer) and consumes about 15G of disk space (you may delete the `build` dir __AFTER PACKAGING__, see [packaging](#packaging))
Expand Down
2 changes: 1 addition & 1 deletion ungoogled-chromium
Submodule ungoogled-chromium updated 68 files
+1 −1 chromium_version.txt
+203 −158 domain_substitution.list
+4 −4 patches/core/bromite/disable-fetching-field-trials.patch
+41 −41 patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch
+4 −4 patches/core/inox-patchset/0005-disable-default-extensions.patch
+1 −1 patches/core/inox-patchset/0015-disable-update-pings.patch
+1 −1 patches/core/inox-patchset/0021-disable-rlz.patch
+3 −3 patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch
+2 −2 patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch
+2 −2 patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch
+6 −6 patches/core/ungoogled-chromium/block-trk-and-subdomains.patch
+1 −1 patches/core/ungoogled-chromium/disable-crash-reporter.patch
+6 −3 patches/core/ungoogled-chromium/disable-domain-reliability.patch
+1 −1 patches/core/ungoogled-chromium/disable-gaia.patch
+9 −8 patches/core/ungoogled-chromium/disable-google-host-detection.patch
+1 −1 patches/core/ungoogled-chromium/disable-mei-preload.patch
+3 −3 patches/core/ungoogled-chromium/disable-privacy-sandbox.patch
+1 −1 patches/core/ungoogled-chromium/disable-webrtc-log-uploader.patch
+56 −4 patches/core/ungoogled-chromium/extensions-manifestv2.patch
+208 −92 patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch
+285 −170 patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch
+307 −292 patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch
+1 −1 patches/core/ungoogled-chromium/toggle-translation-via-switch.patch
+29 −29 patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch
+12 −12 patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch
+6 −6 patches/extra/bromite/flag-max-connections-per-host.patch
+7 −6 patches/extra/inox-patchset/0006-modify-default-prefs.patch
+1 −1 patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch
+1 −1 patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-bookmark-bar-ntp.patch
+8 −8 patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-custom-ntp.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-disabling-link-drag.patch
+2 −2 patches/extra/ungoogled-chromium/add-flag-for-incognito-themes.patch
+5 −5 patches/extra/ungoogled-chromium/add-flag-for-search-engine-collection.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch
+5 −5 patches/extra/ungoogled-chromium/add-flag-to-clear-data-on-exit.patch
+16 −18 patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-configure-extension-downloading.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-convert-popups-to-tabs.patch
+2 −2 patches/extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch
+2 −2 patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-reduce-system-info.patch
+1 −1 patches/extra/ungoogled-chromium/add-flag-to-show-avatar-button.patch
+1 −1 patches/extra/ungoogled-chromium/add-flags-for-existing-switches.patch
+124 −194 patches/extra/ungoogled-chromium/add-flags-for-referrer-customization.patch
+8 −8 patches/extra/ungoogled-chromium/add-suggestions-url-field.patch
+1 −1 patches/extra/ungoogled-chromium/add-ungoogled-flag-headers.patch
+1 −1 patches/extra/ungoogled-chromium/default-webrtc-ip-handling-policy.patch
+2 −2 patches/extra/ungoogled-chromium/disable-download-quarantine.patch
+3 −3 patches/extra/ungoogled-chromium/disable-downloads-page-referrer-url.patch
+1 −1 patches/extra/ungoogled-chromium/disable-remote-optimization-guide.patch
+2 −2 patches/extra/ungoogled-chromium/disable-webgl-renderer-info.patch
+1 −1 patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch
+1 −1 patches/extra/ungoogled-chromium/enable-page-saving-on-more-pages.patch
+26 −20 patches/extra/ungoogled-chromium/first-run-page.patch
+2 −2 patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch
+2 −2 patches/extra/ungoogled-chromium/prepopulated-search-engines.patch
+1 −1 patches/extra/ungoogled-chromium/remove-disable-setuid-sandbox-as-bad-flag.patch
+22 −44 patches/extra/ungoogled-chromium/remove-uneeded-ui.patch
+1 −0 patches/series
+27 −0 patches/upstream-fixes/glue_core_pools.patch
+5 −23 patches/upstream-fixes/missing-dependencies.patch
+49 −43 pruning.list
+36 −4 utils/clone.py
+5 −5 utils/depot_tools.patch
37 changes: 20 additions & 17 deletions use-oauth2-client-switches-as-default.patch
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
diff --git a/google_apis/google_api_keys-inc.cc b/google_apis/google_api_keys-inc.cc
index 4d13e697a54d..61aac7b48662 100644
--- a/google_apis/google_api_keys-inc.cc
+++ b/google_apis/google_api_keys-inc.cc
@@ -193,11 +193,11 @@ class APIKeyCache {
std::string default_client_id = CalculateKeyValue(
GOOGLE_DEFAULT_CLIENT_ID,
STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), std::string(),
- nullptr, std::string(), environment.get(), command_line, gaia_config);
+ ::switches::kOAuth2ClientID, std::string(), environment.get(), command_line, gaia_config);
std::string default_client_secret = CalculateKeyValue(
GOOGLE_DEFAULT_CLIENT_SECRET,
STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_SECRET), std::string(),
- nullptr, std::string(), environment.get(), command_line, gaia_config);
+ ::switches::kOAuth2ClientSecret, std::string(), environment.get(), command_line, gaia_config);
diff --git a/google_apis/api_key_cache.cc b/google_apis/api_key_cache.cc
index e8bc9bb79704..38e5d2bd005f 100644
--- a/google_apis/api_key_cache.cc
+++ b/google_apis/api_key_cache.cc
@@ -221,14 +221,14 @@ ApiKeyCache::ApiKeyCache(const DefaultApiKeys& default_api_keys) {

std::string default_client_id = CalculateKeyValue(
default_api_keys.google_default_client_id,
- STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), std::string(), nullptr,
+ STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_ID), std::string(), ::switches::kOAuth2ClientID,
std::string(), environment.get(), command_line, gaia_config,
default_api_keys.allow_override_via_environment,
default_api_keys.allow_unset_values);
std::string default_client_secret = CalculateKeyValue(
default_api_keys.google_default_client_secret,
STRINGIZE_NO_EXPANSION(GOOGLE_DEFAULT_CLIENT_SECRET), std::string(),
- nullptr, std::string(), environment.get(), command_line, gaia_config,
+ ::switches::kOAuth2ClientSecret, std::string(), environment.get(), command_line, gaia_config,
default_api_keys.allow_override_via_environment,
default_api_keys.allow_unset_values);

// We currently only allow overriding the baked-in values for the
// default OAuth2 client ID and secret using a command-line

0 comments on commit aa1cd95

Please sign in to comment.