1 |
commit: 7deac92a2f3ff051f86e549f319acf416395f765 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 8 13:29:16 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 8 13:31:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7deac92a |
7 |
|
8 |
kde-apps/kapptemplate: Fix ProvidersUrl |
9 |
|
10 |
See also: |
11 |
https://mail.kde.org/pipermail/distributions/2022-February/001124.html |
12 |
|
13 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
.../kapptemplate-21.08.3-fix-ProvidersUrl.patch | 25 ++++++++++++++++++++++ |
17 |
....08.3.ebuild => kapptemplate-21.08.3-r1.ebuild} | 5 ++++- |
18 |
....12.2.ebuild => kapptemplate-21.12.2-r1.ebuild} | 4 ++++ |
19 |
3 files changed, 33 insertions(+), 1 deletion(-) |
20 |
|
21 |
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 |
22 |
new file mode 100644 |
23 |
index 000000000000..aef236203b06 |
24 |
--- /dev/null |
25 |
+++ b/kde-apps/kapptemplate/files/kapptemplate-21.08.3-fix-ProvidersUrl.patch |
26 |
@@ -0,0 +1,25 @@ |
27 |
+From 14c554ba403fded7a22b1c231e02f552da344670 Mon Sep 17 00:00:00 2001 |
28 |
+From: Heiko Becker <heiko.becker@×××.org> |
29 |
+Date: Tue, 8 Feb 2022 11:55:58 +0100 |
30 |
+Subject: [PATCH] Use the CDN based endpoint rather than the legacy endpoint |
31 |
+ |
32 |
+--- |
33 |
+ src/application/kapptemplate.knsrc | 2 +- |
34 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
35 |
+ |
36 |
+diff --git a/src/application/kapptemplate.knsrc b/src/application/kapptemplate.knsrc |
37 |
+index 76bcc7f..9ddd3a7 100644 |
38 |
+--- a/src/application/kapptemplate.knsrc |
39 |
++++ b/src/application/kapptemplate.knsrc |
40 |
+@@ -33,7 +33,7 @@ Name[x-test]=xxApplication Templates (SDK)xx |
41 |
+ Name[zh_CN]=应用程序模板 (SDK) |
42 |
+ Name[zh_TW]=應用程式範本 (SDK) |
43 |
+ |
44 |
+-ProvidersUrl=http://download.kde.org/ocs/providers.xml |
45 |
++ProvidersUrl=https://autoconfig.kde.org/ocs/providers.xml |
46 |
+ Categories=KDE App Template |
47 |
+ TargetDir=kdevappwizard/templates |
48 |
+ Uncompress=never |
49 |
+-- |
50 |
+GitLab |
51 |
+ |
52 |
|
53 |
diff --git a/kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild b/kde-apps/kapptemplate/kapptemplate-21.08.3-r1.ebuild |
54 |
similarity index 82% |
55 |
rename from kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild |
56 |
rename to kde-apps/kapptemplate/kapptemplate-21.08.3-r1.ebuild |
57 |
index 84a3907dc666..8ef34766d118 100644 |
58 |
--- a/kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild |
59 |
+++ b/kde-apps/kapptemplate/kapptemplate-21.08.3-r1.ebuild |
60 |
@@ -1,4 +1,4 @@ |
61 |
-# Copyright 1999-2021 Gentoo Authors |
62 |
+# Copyright 1999-2022 Gentoo Authors |
63 |
# Distributed under the terms of the GNU General Public License v2 |
64 |
|
65 |
EAPI=8 |
66 |
@@ -30,3 +30,6 @@ DEPEND=" |
67 |
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
68 |
" |
69 |
RDEPEND="${DEPEND}" |
70 |
+ |
71 |
+# https://mail.kde.org/pipermail/distributions/2022-February/001124.html |
72 |
+PATCHES=( "${FILESDIR}/${P}-fix-ProvidersUrl.patch" ) |
73 |
|
74 |
diff --git a/kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild b/kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild |
75 |
similarity index 85% |
76 |
rename from kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild |
77 |
rename to kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild |
78 |
index fc02f1dbdb56..ad83d5ad9636 100644 |
79 |
--- a/kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild |
80 |
+++ b/kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild |
81 |
@@ -30,3 +30,7 @@ DEPEND=" |
82 |
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
83 |
" |
84 |
RDEPEND="${DEPEND}" |
85 |
+ |
86 |
+# https://mail.kde.org/pipermail/distributions/2022-February/001124.html |
87 |
+PATCHES=( "${FILESDIR}/${PN}-21.08.3-fix-ProvidersUrl.patch" ) |
88 |
+ |