thorium/PATCHES.md

101 lines
6.8 KiB
Markdown
Raw Normal View History

2022-04-15 16:31:30 -04:00
<img src="https://github.com/Alex313031/Thorium/blob/main/logos/STAGING/Thorium90_502.jpg" width="200">
2021-10-28 10:12:35 -03:00
## List of patches included in Thorium
2022-04-29 19:56:34 -04:00
Compiler modifications include SSE4.2, AVX, AES and cflags, lto flags, and import_instr_limit flags set to /03, 3, and 100, respectively. \
2022-01-13 18:01:04 -03:00
NEW > Added some LLVM LOOP optimizations as -mllvm flags. See here > https://github.com/RobRich999/Chromium_Clang/issues/26#issuecomment-976883814
2021-11-12 20:50:09 -03:00
2022-01-02 13:37:53 -03:00
Fixed AVX Windows Builds as per > https://github.com/RobRich999/Chromium_Clang/issues/26#issuecomment-1003605112
2022-01-02 13:37:31 -03:00
2022-05-12 09:21:06 -04:00
.desktop files are created for Thorium itself and content-shell (named thorium-shell), with theses cmdline flags being appended to both via the wrapper file > '--no-default-browser-check --use-gl=desktop --enable-experimental-web-platform-features --new-canvas-2d-api --show-component-extension-options --autoplay-policy=user-gesture-required --enable-features=VaapiVideoDecoder,PageInfoAboutThisSite,ChromeLabs'.
2022-05-10 04:59:12 -04:00
There are also additional desktop actions: when right clicking the Thorium launcher it gives three additional desktop actions, one to open thorium-shell, another to open in Safe Mode which disables any flags one has set in chrome://flags until the next launch, and lastly to open in Dark Mode which appends the --force-dark-mode flag.
2021-11-12 20:50:09 -03:00
2022-02-13 10:11:47 -03:00
Ink > https://chromium.googlesource.com/chromium/src/third_party/+/c4f7a938fcdc796ad9fead3ab01e0508c129b831/ink NOTE: Disabled for now due to bugs!
2021-11-30 17:54:02 -03:00
- Implemented with the args.gn flag "enable_ink = true" Adds PDF annotation features present in CrOS.
2021-10-28 10:12:35 -03:00
MPEG-DASH > https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP
2021-11-28 02:37:28 -03:00
- Implemented with the args.gn flags "enable_hls_sample_aes = true" and "enable_mse_mpeg2ts_stream_parser = true"
2021-10-28 10:12:35 -03:00
2022-02-27 15:58:58 -03:00
Enable JPEG XL Image File Format by Default Patch
- Made by me.
2022-03-15 14:34:02 -03:00
Enable Live Caption (SODA) on all builds Patch
- Made by me.
2021-10-28 10:12:35 -03:00
Font Rendering Patch > https://github.com/saiarcot895/chromium-ubuntu-build/blob/master/debian/patches/fix-font-rendering.patch
2021-11-30 17:54:02 -03:00
- Fixes font rendering in certain instances.
2021-10-28 10:12:35 -03:00
VAAPI Patch > https://github.com/saiarcot895/chromium-ubuntu-build/blob/master/debian/patches/enable-vaapi-on-linux.diff
2022-02-11 16:58:26 -03:00
- Modified by me.
2021-10-28 10:12:35 -03:00
2021-12-05 03:02:39 -03:00
Intel HD Support Patch > https://github.com/saiarcot895/chromium-ubuntu-build/blob/master/debian/patches/ihd-support.patch
2021-10-28 10:12:35 -03:00
Nicer Native Notifications Patch > https://github.com/saiarcot895/chromium-ubuntu-build/blob/master/debian/patches/notifications-nicer
Title Bar Patch > https://github.com/saiarcot895/chromium-ubuntu-build/blob/master/debian/patches/title-bar-default-system.patch-v35
VDPAU Patch > https://github.com/saiarcot895/chromium-ubuntu-build/blob/master/debian/patches/vdpau-support.patch
2021-10-28 10:19:57 -03:00
- Modified by me.
2021-10-28 10:12:35 -03:00
2021-11-11 22:56:48 -03:00
Audio Sandbox Patch > https://github.com/saiarcot895/chromium-ubuntu-build/blob/master/debian/patches/fix-sandbox-for-audio.patch
2022-04-18 16:43:25 -04:00
DoH Secure Mode Patch > https://github.com/bromite/bromite/blob/master/build/patches/DoH-improvements.patch
2021-10-28 10:19:57 -03:00
DoH Bare Minimum HTTP Headers Patch > https://github.com/bromite/bromite/blob/master/build/patches/Reduce-HTTP-headers-in-DoH-requests-to-bare-minimum.patch
2021-11-01 13:48:06 -03:00
Enable Do Not Track By Default Patch > https://github.com/GrapheneOS/Vanadium/blob/12/patches/0045-enable-dubious-Do-Not-Track-feature-by-default.patch
2021-12-21 20:57:59 -03:00
Show full URLs by Default Patch > https://github.com/Eloston/ungoogled-chromium/blob/master/patches/extra/ungoogled-chromium/disable-formatting-in-omnibox.patch
2021-11-22 07:52:23 -03:00
Disable FLOC Patch > https://github.com/Eloston/ungoogled-chromium/blob/master/patches/core/ungoogled-chromium/disable-floc.patch
2022-05-12 04:12:01 -04:00
Disable Google API Key Warning Infobar Patch > https://github.com/Eloston/ungoogled-chromium/blob/master/patches/extra/debian/disable/google-api-warning.patch & https://github.com/Eloston/ungoogled-chromium/blob/master/patches/extra/inox-patchset/0013-disable-missing-key-warning.patch
2022-01-25 18:10:11 -03:00
- Modified by me.
2021-11-01 13:48:06 -03:00
2022-05-12 04:12:01 -04:00
Disable Default Browser Infobar Patch
- Made by me.
2021-10-28 10:19:57 -03:00
Search Engines Patch > https://github.com/saiarcot895/chromium-ubuntu-build/blob/master/debian/patches/additional-search-engines.patch
2021-11-30 17:54:02 -03:00
- Modified by me. Adds DuckDuckGo, Ecosia, Ask, and Yandex, with DuckDuckGo being set to "canonical" so that canonical gets a small amount of money when using it.
2021-11-02 15:48:19 -03:00
2022-03-16 21:31:17 -03:00
Always use the local NTP (New Tab Page) Patch > https://github.com/GrapheneOS/Vanadium/blob/12.1/patches/0052-always-use-local-new-tab-page.patch
2022-01-25 18:10:11 -03:00
Chromium Sandbox Patch (enables PIE) > https://github.com/Eloston/ungoogled-chromium/blob/master/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch
2022-02-11 17:00:09 -03:00
- Increases security for the chrome-sandbox executable.
2022-01-25 18:10:11 -03:00
Fix Distilled Page Icons Patch > https://github.com/Eloston/ungoogled-chromium/blob/master/patches/extra/ungoogled-chromium/fix-distilled-icons.patch#L6
2022-02-11 17:00:09 -03:00
- Fixes some issues with material design icons.
2022-01-25 18:10:11 -03:00
Enable Menu UI on Reload Button > https://github.com/Eloston/ungoogled-chromium/blob/master/patches/extra/ungoogled-chromium/enable-menu-on-reload-button.patch
2022-02-11 17:00:09 -03:00
- Adds new right click menu to the reload button.
2022-01-25 18:10:11 -03:00
2022-02-21 22:36:35 -03:00
Show Home Button by Default Patch
- Made by me.
2022-01-25 18:10:11 -03:00
Prefetch Privacy enabled by Default Patch > https://github.com/Eloston/ungoogled-chromium/blob/master/patches/extra/ungoogled-chromium/enable-default-prefetch-privacy-changes.patch
GN Respect number of --jobs patch > https://github.com/Eloston/ungoogled-chromium/blob/master/patches/extra/debian/gn/parallel.patch
2022-02-11 17:00:09 -03:00
- Useful when building.
2022-01-25 18:10:11 -03:00
2022-03-26 01:08:29 -03:00
V8 SEGV Patch > https://github.com/FydeOS/chromium_os-raspberry_pi/blob/master/project-cros-pi/chromeos-base/chromeos-chrome/files/patches/001-workaround-for-v8-SEGV-issue.patch
- Modified by me.
2022-04-30 02:05:29 -04:00
Widevine CDM CU Patch > https://launchpad.net/ubuntu/bionic/+source/chromium-browser
2022-05-12 09:21:06 -04:00
Enable Parallel Downloading by Default Patch
- Made by me.
2022-04-30 02:05:29 -04:00
RPATH for libffmpeg.so Patch > https://launchpad.net/ubuntu/bionic/+source/chromium-browser
2021-12-13 05:10:21 -03:00
Disable the addition of the Google-Chrome sources.list in /etc/apt/sources.list.d/ during installation, and prevents apt from complaining about removing the nonexistent file during an apt remove --purge. - Created by me.
2021-12-10 01:12:10 -03:00
2022-02-11 15:24:02 -03:00
Installer patches to include unstripped and RPATH binaries, with chrome_sandbox (needed for older distros), chromedriver and content-shell being added along with an icon and .desktop file for content-shell. - Created by me.
2022-01-25 18:10:11 -03:00
2022-02-11 17:01:04 -03:00
Patches for mini_installer and abseil when using AVX on Windows. Credit goes to @RobRich999
2022-01-25 18:10:11 -03:00
2022-05-12 09:21:06 -04:00
The Thorium .desktop file and content-shell .desktop file have flags added for experimental and useful features, namely: Disabling the Default Browser check and InfoBar, Experimental web platform features, Experimental Canvas2D, showing component extensions on chrome://extensions, requiring a user gesture to initiate playback of media, VAAPI Video decoder, Page Info v2, Chrome Labs. The --enable-clear-hevc-for-testing in thorium-shell enables testing H.265 (but still won't demux it).
2021-11-02 15:48:19 -03:00
- Modified by me.
2022-05-12 09:21:20 -04:00
- Any other code/patches are written from scratch by me.