Skip to content

Commit 43b90ca

Browse files
update: helium 0.10.0.1 (#211)
Co-authored-by: jj <jj@imput.net>
1 parent b5b4ad0 commit 43b90ca

10 files changed

Lines changed: 33 additions & 33 deletions

helium-chromium

Submodule helium-chromium updated 243 files

package/helium-bin.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%define version 0.9.4.1
1+
%define version 0.10.0.1
22
%global debug_package %{nil}
33

44
Name: helium-bin

patches/helium/linux/add-error-for-missing-desktop-file.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
--- a/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
8686
+++ b/chrome/browser/ui/webui/settings/settings_default_browser_handler.cc
8787
@@ -200,7 +200,11 @@ void DefaultBrowserHandler::OnDefaultChe
88-
base::Value::Dict dict;
88+
base::DictValue dict;
8989
dict.Set("isDefault", state == shell_integration::IS_DEFAULT);
9090
dict.Set("canPin", can_pin);
9191
+#if BUILDFLAG(IS_LINUX)
@@ -98,7 +98,7 @@
9898

9999
--- a/chrome/app/settings_chromium_strings.grdp
100100
+++ b/chrome/app/settings_chromium_strings.grdp
101-
@@ -129,9 +129,18 @@ Chromium understands forms better and ca
101+
@@ -119,9 +119,18 @@
102102
</message>
103103
</then>
104104
<else>
@@ -127,7 +127,7 @@
127127
#include "ui/display/screen.h"
128128
#endif
129129

130-
@@ -717,6 +718,15 @@ void AddClearBrowsingDataStrings(content
130+
@@ -698,6 +699,15 @@ void AddClearBrowsingDataStrings(content
131131
html_source->AddLocalizedStrings(kLocalizedStrings);
132132
}
133133

@@ -143,7 +143,7 @@
143143
#if !BUILDFLAG(IS_CHROMEOS)
144144
void AddDefaultBrowserStrings(content::WebUIDataSource* html_source) {
145145
static constexpr webui::LocalizedString kLocalizedStrings[] = {
146-
@@ -733,9 +743,15 @@ void AddDefaultBrowserStrings(content::W
146+
@@ -714,9 +724,15 @@ void AddDefaultBrowserStrings(content::W
147147
{"defaultBrowserMakeDefaultButton",
148148
IDS_SETTINGS_DEFAULT_BROWSER_MAKE_DEFAULT_BUTTON},
149149
{"defaultBrowserError", IDS_SETTINGS_DEFAULT_BROWSER_ERROR},

patches/helium/linux/add-middle-click-paste-flag.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
}
4747
--- a/ui/base/clipboard/clipboard.cc
4848
+++ b/ui/base/clipboard/clipboard.cc
49-
@@ -30,6 +30,8 @@
49+
@@ -29,6 +29,8 @@
5050
#include "url/gurl.h"
5151

5252
#if BUILDFLAG(IS_LINUX)
@@ -55,7 +55,7 @@
5555
#include "ui/linux/linux_ui.h"
5656
#endif
5757

58-
@@ -80,6 +82,13 @@ bool Clipboard::IsSupportedClipboardBuff
58+
@@ -79,6 +81,13 @@ bool Clipboard::IsSupportedClipboardBuff
5959
// static
6060
bool Clipboard::IsMiddleClickPasteEnabled() {
6161
#if BUILDFLAG(IS_LINUX)
@@ -71,7 +71,7 @@
7171
}
7272
--- a/ui/base/ui_base_features.cc
7373
+++ b/ui/base/ui_base_features.cc
74-
@@ -446,4 +446,6 @@ BASE_FEATURE(kStringWidthCache, base::FE
74+
@@ -436,4 +436,6 @@ BASE_FEATURE(kStringWidthCache, base::FE
7575
BASE_FEATURE(kUseClipboardStrictVirtualFileCheck,
7676
base::FEATURE_ENABLED_BY_DEFAULT);
7777

@@ -80,7 +80,7 @@
8080
} // namespace features
8181
--- a/ui/base/ui_base_features.h
8282
+++ b/ui/base/ui_base_features.h
83-
@@ -274,6 +274,9 @@ BASE_DECLARE_FEATURE(kStringWidthCache);
83+
@@ -270,6 +270,9 @@ BASE_DECLARE_FEATURE(kStringWidthCache);
8484
COMPONENT_EXPORT(UI_BASE_FEATURES)
8585
BASE_DECLARE_FEATURE(kUseClipboardStrictVirtualFileCheck);
8686

patches/helium/linux/change-chromium-branding.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/BUILD.gn
22
+++ b/chrome/BUILD.gn
3-
@@ -1812,7 +1812,7 @@ if (is_linux || is_chromeos) {
3+
@@ -1810,7 +1810,7 @@ if (is_linux || is_chromeos) {
44
]
55
if (is_linux) {
66
sources += [

patches/helium/linux/fix-swipe-between-pages.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/content/common/features.cc
22
+++ b/content/common/features.cc
3-
@@ -694,7 +694,7 @@ const base::FeatureParam<base::TimeDelta
3+
@@ -699,7 +699,7 @@ BASE_FEATURE_PARAM(bool,
44
// Allows swipe left/right from touchpad change browser navigation. Currently
55
// only enabled by default on CrOS and Windows.
66
BASE_FEATURE(kTouchpadOverscrollHistoryNavigation,

patches/helium/linux/rename-chrome-binary.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
// to ChromeOS's /sbin/crash_reporter which in turn passes the dump to
2222
--- a/chrome/browser/memory_details_linux.cc
2323
+++ b/chrome/browser/memory_details_linux.cc
24-
@@ -118,7 +118,7 @@ void MemoryDetails::CollectProcessData(
24+
@@ -119,7 +119,7 @@ void MemoryDetails::CollectProcessData(
2525
ProcessData current_browser =
2626
GetProcessDataMemoryInformation(GetAllChildren(process_map, getpid()));
27-
current_browser.name = l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME);
27+
current_browser.name = base::ASCIIToUTF16(version_info::GetProductName());
2828
- current_browser.process_name = u"chrome";
2929
+ current_browser.process_name = u"helium";
3030

@@ -41,7 +41,7 @@
4141
}
4242

4343
executable("chrome_initial") {
44-
@@ -1696,19 +1696,19 @@ if (is_linux || is_chromeos) {
44+
@@ -1694,19 +1694,19 @@ if (is_linux || is_chromeos) {
4545
}
4646
}
4747
extract_symbols("chrome_symbols") {

patches/ungoogled-chromium/portablelinux/drop-nodejs-version-check.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ here.
1919
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2020
--- a/third_party/node/node.gni
2121
+++ b/third_party/node/node.gni
22-
@@ -36,15 +36,5 @@ template("node") {
22+
@@ -37,15 +37,5 @@ template("node") {
2323
}
2424
}
2525

@@ -37,7 +37,7 @@ Signed-off-by: Matt Jolly <kangie@gentoo.org>
3737
}
3838
--- a/third_party/protobuf/proto_library.gni
3939
+++ b/third_party/protobuf/proto_library.gni
40-
@@ -558,7 +558,6 @@ template("proto_library") {
40+
@@ -557,7 +557,6 @@ template("proto_library") {
4141
_protoc_gen_ts_path,
4242
"//tools/protoc_wrapper/protoc-gen-ts_proto.py",
4343
] + _protoc_gen_ts_runtime_deps

patches/ungoogled-chromium/portablelinux/fix-compiling-on-arm64.patch

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
cxx = "g++"
1717
--- a/tools/clang/scripts/build.py
1818
+++ b/tools/clang/scripts/build.py
19-
@@ -517,6 +517,21 @@ def DownloadPinnedClang():
19+
@@ -518,6 +518,21 @@ def DownloadPinnedClang():
2020
PINNED_CLANG_VERSION)
2121

2222

@@ -78,7 +78,7 @@
7878
GitRevert, LLVM_DIR, IsGitAncestorToHead,
7979
LLVM_BUILD_TOOLS_DIR, RunCommand)
8080
from update import (CHROMIUM_DIR, DownloadAndUnpack, EnsureDirExists,
81-
@@ -200,8 +200,8 @@ def AddOpenSSLToEnv():
81+
@@ -197,8 +197,8 @@ def AddOpenSSLToEnv():
8282
ssl_url = (f'{CIPD_DOWNLOAD_URL}/{OPENSSL_CIPD_WIN_AMD_PATH}'
8383
f'/+/version:2@{OPENSSL_CIPD_WIN_AMD_VERSION}')
8484
else:
@@ -89,7 +89,7 @@
8989

9090
if os.path.exists(ssl_dir):
9191
RmTree(ssl_dir)
92-
@@ -577,7 +577,7 @@ def RustTargetTriple():
92+
@@ -574,7 +574,7 @@ def RustTargetTriple():
9393
elif sys.platform == 'win32':
9494
return 'x86_64-pc-windows-msvc'
9595
else:
@@ -98,17 +98,17 @@
9898

9999

100100
# Build the LLVM libraries and install them .
101-
@@ -588,6 +588,9 @@ def BuildLLVMLibraries(skip_build, llvm_
102-
sys.executable,
103-
os.path.join(CLANG_SCRIPTS_DIR, 'build.py'),
104-
'--disable-asserts',
105-
+ '--use-system-cmake',
106-
+ '--host-cc=clang',
107-
+ '--host-cxx=clang++',
108-
'--no-tools',
109-
'--no-runtimes',
110-
# PIC needed for Rust build (links LLVM into shared object)
111-
@@ -789,7 +792,8 @@ def main():
101+
@@ -584,6 +584,9 @@ def BuildLLVMLibraries(skip_checkout, ll
102+
sys.executable,
103+
os.path.join(CLANG_SCRIPTS_DIR, 'build.py'),
104+
'--disable-asserts',
105+
+ '--use-system-cmake',
106+
+ '--host-cc=clang',
107+
+ '--host-cxx=clang++',
108+
'--no-tools',
109+
'--no-runtimes',
110+
# PIC needed for Rust build (links LLVM into shared object)
111+
@@ -797,7 +800,8 @@ def main():
112112
# Fetch sysroot we build rustc against. This ensures a minimum supported
113113
# host (not Chromium target). Since the rustc linux package is for
114114
# x86_64 only, that is the sole needed sysroot.
@@ -131,7 +131,7 @@
131131
+rustflags = ["-Clink-arg=--sysroot=$DEBIAN_SYSROOT"]
132132
--- a/tools/rust/config.toml.template
133133
+++ b/tools/rust/config.toml.template
134-
@@ -88,3 +88,12 @@ cc = "$LLVM_BIN/clang"
134+
@@ -89,3 +89,12 @@ cc = "$LLVM_BIN/clang"
135135
cxx = "$LLVM_BIN/clang++"
136136
linker = "$LLVM_BIN/clang"
137137

patches/ungoogled-chromium/portablelinux/use-oauth2-client-switches-as-default.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/google_apis/api_key_cache.cc
22
+++ b/google_apis/api_key_cache.cc
3-
@@ -235,14 +235,14 @@ ApiKeyCache::ApiKeyCache(const DefaultAp
3+
@@ -237,14 +237,14 @@ ApiKeyCache::ApiKeyCache(const DefaultAp
44

55
std::string default_client_id = CalculateKeyValue(
66
default_api_keys.google_default_client_id,

0 commit comments

Comments
 (0)