commit:     ad38b38964f572f4f13aa5542ed2c49e4600ac77
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  6 18:31:41 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb  6 21:16:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad38b389

kde-apps/dolphin: Fix KNewStuff3 ProvidersUrl

See also:
https://mail.kde.org/pipermail/distributions/2022-February/001124.html
https://mail.kde.org/pipermail/distributions/2022-February/001128.html

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...in-21.08.3.ebuild => dolphin-21.08.3-r1.ebuild} |  4 +++-
 .../files/dolphin-21.08.3-fix-ProvidersUrl.patch   | 27 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/kde-apps/dolphin/dolphin-21.08.3.ebuild 
b/kde-apps/dolphin/dolphin-21.08.3-r1.ebuild
similarity index 95%
rename from kde-apps/dolphin/dolphin-21.08.3.ebuild
rename to kde-apps/dolphin/dolphin-21.08.3-r1.ebuild
index 9160d9e3ad2d..d4a96ad6d8a2 100644
--- a/kde-apps/dolphin/dolphin-21.08.3.ebuild
+++ b/kde-apps/dolphin/dolphin-21.08.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -63,6 +63,8 @@ RDEPEND="${DEPEND}
 
 PATCHES=(
        "${FILESDIR}/${PN}-21.08.1-port-to-KTerminalLauncherJob.patch" # 
KDE-bug 441072
+       # https://mail.kde.org/pipermail/distributions/2022-February/001128.html
+       "${FILESDIR}/${PN}-21.08.3-fix-ProvidersUrl.patch"
 )
 
 src_configure() {

diff --git a/kde-apps/dolphin/files/dolphin-21.08.3-fix-ProvidersUrl.patch 
b/kde-apps/dolphin/files/dolphin-21.08.3-fix-ProvidersUrl.patch
new file mode 100644
index 000000000000..74472fd0943d
--- /dev/null
+++ b/kde-apps/dolphin/files/dolphin-21.08.3-fix-ProvidersUrl.patch
@@ -0,0 +1,27 @@
+From d0898592a17d14fc8d48fc5cba71f3d57f0a1856 Mon Sep 17 00:00:00 2001
+From: Ben Cooksley <[email protected]>
+Date: Thu, 30 Dec 2021 07:31:41 +1300
+Subject: [PATCH] Use the CDN based endpoint rather than the legacy endpoint
+ which hits our download redirector.
+
+CCMAIL: [email protected]
+
+(cherry picked from commit 694e4e24526c5f55e162ad9288782e7c82cac38f)
+---
+ src/settings/contextmenu/servicemenu.knsrc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/settings/contextmenu/servicemenu.knsrc 
b/src/settings/contextmenu/servicemenu.knsrc
+index 59d459895..4374082c7 100644
+--- a/src/settings/contextmenu/servicemenu.knsrc
++++ b/src/settings/contextmenu/servicemenu.knsrc
+@@ -1,5 +1,5 @@
+ [KNewStuff3]
+-ProvidersUrl=https://download.kde.org/ocs/providers.xml
++ProvidersUrl=https://autoconfig.kde.org/ocs/providers.xml
+ Categories=Dolphin Service Menus
+ TargetDir=servicemenu-download
+ Uncompress=never
+-- 
+GitLab
+

Reply via email to