From 7deac92a2f3ff051f86e549f319acf416395f765 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 8 Feb 2022 14:29:16 +0100 Subject: 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 --- .../kapptemplate-21.08.3-fix-ProvidersUrl.patch | 25 +++++++++++++++ .../kapptemplate/kapptemplate-21.08.3-r1.ebuild | 35 +++++++++++++++++++++ kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild | 32 ------------------- .../kapptemplate/kapptemplate-21.12.2-r1.ebuild | 36 ++++++++++++++++++++++ kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild | 32 ------------------- 5 files changed, 96 insertions(+), 64 deletions(-) create mode 100644 kde-apps/kapptemplate/files/kapptemplate-21.08.3-fix-ProvidersUrl.patch create mode 100644 kde-apps/kapptemplate/kapptemplate-21.08.3-r1.ebuild delete mode 100644 kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild create mode 100644 kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild delete mode 100644 kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild (limited to 'kde-apps/kapptemplate') 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 +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-r1.ebuild b/kde-apps/kapptemplate/kapptemplate-21.08.3-r1.ebuild new file mode 100644 index 000000000000..8ef34766d118 --- /dev/null +++ b/kde-apps/kapptemplate/kapptemplate-21.08.3-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="forceoptional" +KFMIN=5.84.0 +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="Shell script to create the necessary framework to develop KDE applications" +HOMEPAGE="https://apps.kde.org/kapptemplate/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" +IUSE="" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=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.08.3.ebuild b/kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild deleted file mode 100644 index 84a3907dc666..000000000000 --- a/kde-apps/kapptemplate/kapptemplate-21.08.3.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -ECM_TEST="forceoptional" -KFMIN=5.84.0 -QTMIN=5.15.2 -inherit ecm kde.org - -DESCRIPTION="Shell script to create the necessary framework to develop KDE applications" -HOMEPAGE="https://apps.kde.org/kapptemplate/" - -LICENSE="GPL-2" # TODO: CHECK -SLOT="5" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" -IUSE="" - -DEPEND=" - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-frameworks/karchive-${KFMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 -" -RDEPEND="${DEPEND}" diff --git a/kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild b/kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild new file mode 100644 index 000000000000..ad83d5ad9636 --- /dev/null +++ b/kde-apps/kapptemplate/kapptemplate-21.12.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="forceoptional" +KFMIN=5.88.0 +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="Shell script to create the necessary framework to develop KDE applications" +HOMEPAGE="https://apps.kde.org/kapptemplate/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=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" ) + diff --git a/kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild b/kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild deleted file mode 100644 index fc02f1dbdb56..000000000000 --- a/kde-apps/kapptemplate/kapptemplate-21.12.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -ECM_TEST="forceoptional" -KFMIN=5.88.0 -QTMIN=5.15.2 -inherit ecm kde.org - -DESCRIPTION="Shell script to create the necessary framework to develop KDE applications" -HOMEPAGE="https://apps.kde.org/kapptemplate/" - -LICENSE="GPL-2" # TODO: CHECK -SLOT="5" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" - -DEPEND=" - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-frameworks/karchive-${KFMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 -" -RDEPEND="${DEPEND}" -- cgit v1.2.3-65-gdbad