Browse Source

Init update to v89

tags/89.0.4389.82-1
wchen342 6 months ago
parent
commit
d7463735e0
Signed by: wchen342 GPG Key ID: 9C19365D69B04CEC
6 changed files with 9 additions and 1103 deletions
  1. +5
    -33
      README.md
  2. +4
    -4
      build.sh
  3. +0
    -3
      patches/series
  4. +0
    -17
      patches/src-fix/webview-extra-deps.patch
  5. +0
    -1025
      patches/ungoogled-chromium-android/Add-global-privacy-control.patch
  6. +0
    -21
      patches/ungoogled-chromium-android/Enable-flag-process-sharing.patch

+ 5
- 33
README.md View File

@ -47,7 +47,6 @@ In descending order of significance (i.e. most important objective first):
* Add `Startpage.com` and `Qwant.com` as search engine options
* Add new folder button in bookmark manager
* Add back flags to enable deprecated TLS warnings
* Add back flags to enable process sharing
* Add flag to enable update notifications (disabled by default and will only send a single `GET` request to my server periodically)
* Add flags to always send `save-data` flag in header
* Add flags to force tablet UI and desktop mode
@ -148,41 +147,14 @@ For a more customized building process, see building instructions from [the orig
## Reporting and Contributing
* For reporting issues and contacting, see [SUPPORT](SUPPORT.md)
* This project is still in its early stage, so contributions are welcomed.
* Bug reports and code contributions are welcomed.
## Extensions
*Note: the extension-support version is experimental. It is not officially a part of `ungoogled-chromium`. Only use it if you want to help testing, or you know what you are doing! I will not be responsible for any loss or damage caused.*
The extension-support version is *NOT* a successor of Kiwi browser.
Some common extensions are known to work. Please report what extensions are working or not in discussions.
There are three methods to install extensions:
- Method 1 (the easiest way):
1. Go to `chrome://flags/` and change `#extension-mime-request-handling` to `Always prompt for install` and relaunch your browser.
2. Go to chrome webstore page
3. Switch to desktop site
4. Search for the extension you want to install and click `Add to Chromium`
5. The browser should prompt for installation after finishing downloading
6. Check `chrome://extensions/` and you should see the extension there.
- Method 2 (Direct Download):
1. Go to `chrome://flags/` and change `#extension-mime-request-handling` to `Always prompt for install` and relaunch your browser.
2. Get direct link to `crx` file following the instructions [here](https://ungoogled-software.github.io/ungoogled-chromium-wiki/faq#downloading-the-crx-file).
1. Optionally, you can use a third-party website to download the `crx` file. However, do so at your own risk, as I will take *absolutely no* responsibility for problems caused by using a third party website or service.
3. Paste the link into omnibox and go to that link.
4. The browser should prompt for installation after finishing downloading
5. Check `chrome://extensions/` and you should see the extension there.
- Method 3 (Developer Mode Folder Loading. This method only supports Android 5.1 to 10):
1. Download extension following the instructions [here](https://ungoogled-software.github.io/ungoogled-chromium-wiki/faq#downloading-the-crx-file).
1. Optionally, you can use a third-party website to download the `crx` file. However, do so at your own risk, as I will take *absolutely no* responsibility for problems caused by using a third party website or service.
2. Extract the `crx` file into a folder with`unzip`/`7z` and copy the folder to your device.
1. For an alternative way to extract the crx` file on device, see [this comment](https://github.com/ungoogled-software/ungoogled-chromium-android/issues/49#issuecomment-767683754).
3. **Notice for Android 10**: as a workaround for a [permission issue](https://github.com/wchen342/ungoogled-chromium-android/issues/27), you need to enable "Allow from unknown source" for "Ungoogled Chromium Extensions".
4. **Make sure you also give storage access**.
5. Open `chrome://extensions/` and enable Developer mode.
6. Click `Load unpacked` and select the folder you copied. Notice that Android has two file selections, one for selecting files and one for selecting folders. Make sure you use the right one.
7. Refresh and you shall see the extension in the list.
*The extension support version has been discontinued.* The last version is `88.0.4324.182`. It will still be available for downloading, but no new version will be released.
The extension patches can be found at [chromium-android-extension](https://github.com/wchen342/chromium-android-extension). Anyone interested is welcomed to fork and keeps working on it.
## F-Droid Repository


+ 4
- 4
build.sh View File

@ -11,10 +11,10 @@ trichrome_chrome_apk_target=trichrome_library_apk
webview_target=system_webview_apk
trichrome_webview_target=trichrome_webview_apk
chromium_version=88.0.4324.182
ungoogled_chromium_version=88.0.4324.182
chromium_version=89.0.4389.72
ungoogled_chromium_version=89.0.4389.72
ungoogled_chromium_revision=1
ungoogled_chromium_android_revision=2
ungoogled_chromium_android_revision=1
# Show env
pwd
@ -211,7 +211,7 @@ for i in $(seq 1 10); do prepare_repos && s=0 && break || s=$? && reverse_change
## Run ungoogled-chromium scripts
# Patch prune list and domain substitution
# TODO some pruned binaries are excluded since they will cause android build to fail
# Some pruned binaries are excluded since they will cause android build to fail
patch -p1 --ignore-whitespace -i patches/Other/ungoogled-main-repo-fix.patch --no-backup-if-mismatch
# Remove the cache file if exists
cache_file="domsubcache.tar.gz"


+ 0
- 3
patches/series View File

@ -4,7 +4,6 @@ src-fix/fix-unkown-warning-clang.patch
src-fix/fix-safe-browsing-prefs.patch
src-fix/fix-prefs.patch
src-fix/fix-base-feature.patch
src-fix/webview-extra-deps.patch
Vanadium/0020-disable-media-router-media-remoting-by-default.patch
Vanadium/0021-disable-media-router-by-default.patch
Unobtainium/kill-Auth.patch
@ -30,7 +29,6 @@ ungoogled-chromium-android/Disable-prefetch.patch
ungoogled-chromium-android/Add-more-search-engines.patch
ungoogled-chromium-android/Add-folder-button-bookmark.patch
ungoogled-chromium-android/Mark-http-as-dangerous-mixed-content-warning.patch
ungoogled-chromium-android/Enable-flag-process-sharing.patch
ungoogled-chromium-android/Enable-update-notification.patch
ungoogled-chromium-android/Enable-ProactivelySwapBrowsingInstance.patch
ungoogled-chromium-android/Disable-homepage-by-default.patch
@ -39,7 +37,6 @@ ungoogled-chromium-android/Remove-ntp-sites.patch
ungoogled-chromium-android/Add-save-data-flag.patch
ungoogled-chromium-android/Add-always-desktop-option.patch
ungoogled-chromium-android/Add-force-tablet-ui-option.patch
ungoogled-chromium-android/Add-global-privacy-control.patch
Bromite/Add-exit-menu-item.patch
Bromite/Add-flag-to-disable-WebGL.patch
Bromite/Add-flags-to-disable-device-motion-orientation-APIs.patch


+ 0
- 17
patches/src-fix/webview-extra-deps.patch View File

@ -1,17 +0,0 @@
description: somehow webview is missing files from chrome/browser in v88
author: Wengling Chen <[email protected]>
---
android_webview/lib/BUILD.gn | 2 ++
1 file changed, 2 insertions(+)
--- a/android_webview/lib/BUILD.gn
+++ b/android_webview/lib/BUILD.gn
@@ -21,6 +21,8 @@ source_set("lib") {
"//android_webview/gpu",
"//android_webview/renderer",
"//base",
+ "//chrome/browser:browser",
+ "//chrome/utility",
"//cc/base",
"//components/autofill/core/common",
"//components/crash/core/common",

+ 0
- 1025
patches/ungoogled-chromium-android/Add-global-privacy-control.patch
File diff suppressed because it is too large
View File


+ 0
- 21
patches/ungoogled-chromium-android/Enable-flag-process-sharing.patch View File

@ -1,21 +0,0 @@
---
chrome/browser/flag-metadata.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -2026,12 +2026,12 @@
{
"name": "enable-process-sharing-with-default-site-instances",
"owners": [ "acolwell" ],
- "expiry_milestone": 81
+ "expiry_milestone": -1
},
{
"name": "enable-process-sharing-with-strict-site-instances",
"owners": [ "japhet" ],
- "expiry_milestone": 80
+ "expiry_milestone": -1
},
{
"name": "enable-profiles-ui-revamp",

Loading…
Cancel
Save