From d5a5bf7e1cc4df456d79ffb5e01824f74cc185db Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 11 Apr 2025 23:03:00 +0600 Subject: [PATCH] patches: update helium license headers --- patches/helium-ui/helium-logo-icons.patch | 12 ++++++++---- patches/helium/add-native-bangs.patch | 8 ++++---- patches/helium/hop/setup.patch | 8 ++++---- patches/helium/onboarding-page.patch | 16 ++++++++-------- .../helium/proxy-extension-downloads.patch | 8 ++++---- patches/helium/services-prefs.patch | 19 ++++++++++--------- 6 files changed, 38 insertions(+), 33 deletions(-) diff --git a/patches/helium-ui/helium-logo-icons.patch b/patches/helium-ui/helium-logo-icons.patch index 32cdd520..ff14be36 100644 --- a/patches/helium-ui/helium-logo-icons.patch +++ b/patches/helium-ui/helium-logo-icons.patch @@ -2,9 +2,11 @@ +++ b/chrome/app/vector_icons/browser_logo.icon @@ -1,46 +1,26 @@ -// Copyright 2023 The Chromium Authors +-// Use of this source code is governed by a BSD-style license that can be +-// found in the LICENSE file. +// Copyright 2025 The Helium Authors - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. -CANVAS_DIMENSIONS, 16, -MOVE_TO, 5.5, 8.02, @@ -70,9 +72,11 @@ +++ b/components/omnibox/browser/vector_icons/product_chrome_refresh.icon @@ -1,51 +1,26 @@ -// Copyright 2023 The Chromium Authors +-// Use of this source code is governed by a BSD-style license that can be +-// found in the LICENSE file. +// Copyright 2025 The Helium Authors - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. -CANVAS_DIMENSIONS, 15, -MOVE_TO, 4.92, 7.5, diff --git a/patches/helium/add-native-bangs.patch b/patches/helium/add-native-bangs.patch index e0137fc9..c2176edc 100644 --- a/patches/helium/add-native-bangs.patch +++ b/patches/helium/add-native-bangs.patch @@ -269,8 +269,8 @@ +++ b/components/search_engines/template_url_bang_manager.cc @@ -0,0 +1,174 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#include "components/search_engines/template_url_bang_manager.h" + @@ -446,8 +446,8 @@ +++ b/components/search_engines/template_url_bang_manager.h @@ -0,0 +1,65 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#ifndef COMPONENTS_SEARCH_ENGINES_BANG_PROVIDER_H_ +#define COMPONENTS_SEARCH_ENGINES_BANG_PROVIDER_H_ diff --git a/patches/helium/hop/setup.patch b/patches/helium/hop/setup.patch index 13007e1a..8b7ff756 100644 --- a/patches/helium/hop/setup.patch +++ b/patches/helium/hop/setup.patch @@ -72,8 +72,8 @@ +++ b/components/policy/core/common/helium_opinionated_policy_provider.cc @@ -0,0 +1,32 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#include "components/policy/core/common/helium_opinionated_policy_provider.h" + @@ -107,8 +107,8 @@ +++ b/components/policy/core/common/helium_opinionated_policy_provider.h @@ -0,0 +1,25 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#ifndef COMPONENTS_POLICY_CORE_COMMON_HELIUM_OPINIONATED_POLICY_PROVIDER_H_ +#define COMPONENTS_POLICY_CORE_COMMON_HELIUM_OPINIONATED_POLICY_PROVIDER_H_ diff --git a/patches/helium/onboarding-page.patch b/patches/helium/onboarding-page.patch index 76b42f1d..ad7bed6b 100644 --- a/patches/helium/onboarding-page.patch +++ b/patches/helium/onboarding-page.patch @@ -148,8 +148,8 @@ +++ b/chrome/browser/ui/webui/onboarding/onboarding_page_ui.cc @@ -0,0 +1,33 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#include "chrome/browser/ui/webui/onboarding/onboarding_page_ui.h" + @@ -184,8 +184,8 @@ +++ b/chrome/browser/ui/webui/onboarding/onboarding_page_ui.h @@ -0,0 +1,31 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#ifndef CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_PAGE_H_ +#define CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_PAGE_H_ @@ -218,8 +218,8 @@ +++ b/chrome/browser/ui/webui/onboarding/onboarding_handler.cc @@ -0,0 +1,82 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#include "chrome/browser/ui/webui/onboarding/onboarding_handler.h" + @@ -303,8 +303,8 @@ +++ b/chrome/browser/ui/webui/onboarding/onboarding_handler.h @@ -0,0 +1,37 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#ifndef CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_HANDLER_H_ +#define CHROME_BROWSER_UI_WEBUI_ONBOARDING_ONBOARDING_HANDLER_H_ diff --git a/patches/helium/proxy-extension-downloads.patch b/patches/helium/proxy-extension-downloads.patch index 71a8ba0b..daa5aa6e 100644 --- a/patches/helium/proxy-extension-downloads.patch +++ b/patches/helium/proxy-extension-downloads.patch @@ -70,8 +70,8 @@ +++ b/extensions/common/manifest_url_patcher.cc @@ -0,0 +1,37 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#ifndef EXTENSIONS_COMMON_MANIFEST_URL_PATCHER_H_ +#define EXTENSIONS_COMMON_MANIFEST_URL_PATCHER_H_ @@ -110,8 +110,8 @@ +++ b/extensions/common/manifest_url_patcher.h @@ -0,0 +1,18 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#ifndef EXTENSIONS_COMMON_MANIFEST_URL_PATCHER_H_ +#define EXTENSIONS_COMMON_MANIFEST_URL_PATCHER_H_ diff --git a/patches/helium/services-prefs.patch b/patches/helium/services-prefs.patch index 29e41525..3acd2a4e 100644 --- a/patches/helium/services-prefs.patch +++ b/patches/helium/services-prefs.patch @@ -309,8 +309,8 @@ +++ b/components/helium_services/BUILD.gn @@ -0,0 +1,20 @@ +# Copyright 2025 The Helium Authors -+# Use of this source code is governed by a BSD-style license that can be -+# found in the LICENSE file. ++# You can use, redistribute, and/or modify this source code under ++# the terms of the GPL-3.0 license that can be found in the LICENSE file. + +component("helium_services") { + sources = [ @@ -330,10 +330,11 @@ +} --- /dev/null +++ b/components/helium_services/helium_services_helpers.cc -@@ -0,0 +1,65 @@ +@@ -0,0 +1,66 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. ++ +#include "components/helium_services/helium_services_helpers.h" + +#include @@ -400,8 +401,8 @@ +++ b/components/helium_services/helium_services_helpers.h @@ -0,0 +1,28 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#ifndef COMPONENTS_HELIUM_SEREVICES_HELIUM_SERVICES_HELPERS_H_ +#define COMPONENTS_HELIUM_SEREVICES_HELIUM_SERVICES_HELPERS_H_ @@ -431,8 +432,8 @@ +++ b/components/helium_services/pref_names.h @@ -0,0 +1,18 @@ +// Copyright 2025 The Helium Authors -+// Use of this source code is governed by a BSD-style license that can be -+// found in the LICENSE file. ++// You can use, redistribute, and/or modify this source code under ++// the terms of the GPL-3.0 license that can be found in the LICENSE file. + +#ifndef COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_ +#define COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_