summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-08 14:29:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-08 14:31:14 +0100
commit7deac92a2f3ff051f86e549f319acf416395f765 (patch)
tree5c7fc91c9963307d2a3e14e6d81cd4e017ebd4d5 /kde-apps
parentdev-php/smarty: Drop old (diff)
downloadgentoo-7deac92a2f3ff051f86e549f319acf416395f765.tar.gz
gentoo-7deac92a2f3ff051f86e549f319acf416395f765.tar.bz2
gentoo-7deac92a2f3ff051f86e549f319acf416395f765.zip
kde-apps/kapptemplate: Fix ProvidersUrl
See also: https://mail.kde.org/pipermail/distributions/2022-February/001124.html Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kapptemplate/files/kapptemplate-21.08.3-fix-ProvidersUrl.patch25
-rw-r--r--kde-apps/kapptemplate/kapptemplate-21.08.3-r1.ebuild (renamed from kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild)5
-rw-r--r--kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild (renamed from kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild)4
3 files changed, 33 insertions, 1 deletions
diff --git a/kde-apps/kapptemplate/files/kapptemplate-21.08.3-fix-ProvidersUrl.patch b/kde-apps/kapptemplate/files/kapptemplate-21.08.3-fix-ProvidersUrl.patch
new file mode 100644
index 000000000000..aef236203b06
--- /dev/null
+++ b/kde-apps/kapptemplate/files/kapptemplate-21.08.3-fix-ProvidersUrl.patch
@@ -0,0 +1,25 @@
+From 14c554ba403fded7a22b1c231e02f552da344670 Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heiko.becker@kde.org>
+Date: Tue, 8 Feb 2022 11:55:58 +0100
+Subject: [PATCH] Use the CDN based endpoint rather than the legacy endpoint
+
+---
+ src/application/kapptemplate.knsrc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/application/kapptemplate.knsrc b/src/application/kapptemplate.knsrc
+index 76bcc7f..9ddd3a7 100644
+--- a/src/application/kapptemplate.knsrc
++++ b/src/application/kapptemplate.knsrc
+@@ -33,7 +33,7 @@ Name[x-test]=xxApplication Templates (SDK)xx
+ Name[zh_CN]=应用程序模板 (SDK)
+ Name[zh_TW]=應用程式範本 (SDK)
+
+-ProvidersUrl=http://download.kde.org/ocs/providers.xml
++ProvidersUrl=https://autoconfig.kde.org/ocs/providers.xml
+ Categories=KDE App Template
+ TargetDir=kdevappwizard/templates
+ Uncompress=never
+--
+GitLab
+
diff --git a/kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild b/kde-apps/kapptemplate/kapptemplate-21.08.3-r1.ebuild
index 84a3907dc666..8ef34766d118 100644
--- a/kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild
+++ b/kde-apps/kapptemplate/kapptemplate-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
@@ -30,3 +30,6 @@ DEPEND="
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
"
RDEPEND="${DEPEND}"
+
+# https://mail.kde.org/pipermail/distributions/2022-February/001124.html
+PATCHES=( "${FILESDIR}/${P}-fix-ProvidersUrl.patch" )
diff --git a/kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild b/kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild
index fc02f1dbdb56..ad83d5ad9636 100644
--- a/kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild
+++ b/kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild
@@ -30,3 +30,7 @@ DEPEND="
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
"
RDEPEND="${DEPEND}"
+
+# https://mail.kde.org/pipermail/distributions/2022-February/001124.html
+PATCHES=( "${FILESDIR}/${PN}-21.08.3-fix-ProvidersUrl.patch" )
+