diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-02 22:00:26 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-07 17:42:58 +0200 |
commit | 259f2ee11ee48323ca1788332bf8f74ed4556b3a (patch) | |
tree | 8cd77d7e91d646950080a5bd7744e8ce7e7c16c6 /kde-plasma/kdeplasma-addons | |
parent | kde-plasma/kdecoration: drop 5.24.5 (diff) | |
download | gentoo-259f2ee11ee48323ca1788332bf8f74ed4556b3a.tar.gz gentoo-259f2ee11ee48323ca1788332bf8f74ed4556b3a.tar.bz2 gentoo-259f2ee11ee48323ca1788332bf8f74ed4556b3a.zip |
kde-plasma/kdeplasma-addons: drop 5.24.5-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kdeplasma-addons')
4 files changed, 0 insertions, 167 deletions
diff --git a/kde-plasma/kdeplasma-addons/Manifest b/kde-plasma/kdeplasma-addons/Manifest index d1b54457a8b8..4fb9e4e0c30b 100644 --- a/kde-plasma/kdeplasma-addons/Manifest +++ b/kde-plasma/kdeplasma-addons/Manifest @@ -1,3 +1,2 @@ -DIST kdeplasma-addons-5.24.5.tar.xz 635292 BLAKE2B baadba07cc223ae0dd87718202177c284a8db4efd8538297c456a2623df2b28449bcb0e55aec346a7aa76fe148c72bdf6ba354f1ccd897b8639153e5c31ceaa7 SHA512 de69d14ef6ffb23824bc646c1582cddfcac7334e7543a1414075f3debd8aab46d51d01983617ffec371ad1df703756b5f8d6c38eebb80ad10b6fe4d320747669 DIST kdeplasma-addons-5.24.6.tar.xz 636712 BLAKE2B 903c829eb1066bdd3cc96f2eb116997eb52c947d821ebd4da57c8e9bf382b844d66af7e86889ccaa9097ab6d0ce77c2daf48dc676dfabb40b0b348047a579cf0 SHA512 61214b8dc316f5dc14940695f45059ae044ff7206c6a37df4211cdc528f1fef9997fc6b256ef7e05b263089d05a9375547b330ee6ba6a623d34847e501bda691 DIST kdeplasma-addons-5.25.4.tar.xz 668336 BLAKE2B fbac5eaca4db7d89c963581999c90f759ea5f08a2ef1364dfc418195447ebaec4ca467d30237db9be058da2d9baad32b0d194071edcf95a82453c64dc0185062 SHA512 86de400783d515953cb8c21f436c5116a85830d72c7f674deea47bd26dbe1cc9c129e3f777151d753155cc3295394ecdda49baaa6138d084424804d23dc5f5ef diff --git a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.5-fix-potd-wallpapers-change-freq-1.patch b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.5-fix-potd-wallpapers-change-freq-1.patch deleted file mode 100644 index 5e692fa1fedb..000000000000 --- a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.5-fix-potd-wallpapers-change-freq-1.patch +++ /dev/null @@ -1,47 +0,0 @@ -From d3bb3dc1d96ef7d734503e6d78dc3ce35106a628 Mon Sep 17 00:00:00 2001 -From: Fushan Wen <qydwhotmail@gmail.com> -Date: Thu, 5 May 2022 10:16:45 +0800 -Subject: [PATCH] wallpapers/potd: Give random chooser a seed in - simonstalenhagprovider - -Make the seed depend on the current date. - -CCBUG: 453391 ---- - dataengines/potd/simonstalenhagprovider.cpp | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/dataengines/potd/simonstalenhagprovider.cpp b/dataengines/potd/simonstalenhagprovider.cpp -index ebcb3423f..fe273ec79 100644 ---- a/dataengines/potd/simonstalenhagprovider.cpp -+++ b/dataengines/potd/simonstalenhagprovider.cpp -@@ -6,10 +6,11 @@ - - #include "simonstalenhagprovider.h" - -+#include <random> -+ - #include <QDebug> - #include <QJsonArray> - #include <QJsonDocument> --#include <QRandomGenerator> - - #include <KIO/Job> - #include <KPluginFactory> -@@ -28,8 +29,11 @@ static QJsonValue randomArrayValueByKey(const QJsonObject &object, QLatin1String - return result; - } - -- auto arraySize = array.size(); -- return array.at(QRandomGenerator::global()->bounded(arraySize)); -+ // Plasma 5.24.0 release date -+ std::mt19937 randomEngine(QDate(2022, 2, 3).daysTo(QDate::currentDate())); -+ std::uniform_int_distribution<int> distrib(0, array.size() - 1); -+ -+ return array.at(distrib(randomEngine)); - } - - SimonStalenhagProvider::SimonStalenhagProvider(QObject *parent, const QVariantList &args) --- -GitLab - diff --git a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.5-fix-potd-wallpapers-change-freq-2.patch b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.5-fix-potd-wallpapers-change-freq-2.patch deleted file mode 100644 index af9ef33516e9..000000000000 --- a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.24.5-fix-potd-wallpapers-change-freq-2.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 326ae3a24ccb1f1b526f4742a84e4ce24046effd Mon Sep 17 00:00:00 2001 -From: Fushan Wen <qydwhotmail@gmail.com> -Date: Thu, 5 May 2022 10:19:22 +0800 -Subject: [PATCH] wallpapers/potd: Give random chooser a seed in flickrprovider - -Make the seed depend on the current date. - -BUG: 453391 -FIXED-IN: 5.24.6 ---- - dataengines/potd/flickrprovider.cpp | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/dataengines/potd/flickrprovider.cpp b/dataengines/potd/flickrprovider.cpp -index fe542f2b5..3861bd700 100644 ---- a/dataengines/potd/flickrprovider.cpp -+++ b/dataengines/potd/flickrprovider.cpp -@@ -7,8 +7,9 @@ - - #include "flickrprovider.h" - -+#include <random> -+ - #include <QDebug> --#include <QRandomGenerator> - #include <QRegularExpression> - #include <QUrlQuery> - -@@ -127,7 +128,11 @@ void FlickrProvider::xmlRequestFinished(KJob *_job) - } - - if (m_photoList.begin() != m_photoList.end()) { -- QUrl url(m_photoList.at(QRandomGenerator::global()->bounded(m_photoList.size()))); -+ // Plasma 5.24.0 release date -+ std::mt19937 randomEngine(QDate(2022, 2, 3).daysTo(QDate::currentDate())); -+ std::uniform_int_distribution<int> distrib(0, m_photoList.size() - 1); -+ -+ QUrl url(m_photoList.at(distrib(randomEngine))); - KIO::StoredTransferJob *imageJob = KIO::storedGet(url, KIO::NoReload, KIO::HideProgressInfo); - connect(imageJob, &KIO::StoredTransferJob::finished, this, &FlickrProvider::imageRequestFinished); - } else { --- -GitLab - diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.24.5-r1.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.24.5-r1.ebuild deleted file mode 100644 index a5195e5682e3..000000000000 --- a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.24.5-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -KFMIN=5.90.0 -PVCUT=$(ver_cut 1-3) -QTMIN=5.15.2 -VIRTUALX_REQUIRED="test" -inherit ecm kde.org optfeature - -DESCRIPTION="Extra Plasma applets and engines" - -LICENSE="GPL-2 LGPL-2" -SLOT="5" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="share webengine" - -RESTRICT="test" # bug 727846 - -DEPEND=" - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=kde-frameworks/karchive-${KFMIN}:5 - >=kde-frameworks/kcmutils-${KFMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kdeclarative-${KFMIN}:5 - >=kde-frameworks/kholidays-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/knewstuff-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/kpackage-${KFMIN}:5 - >=kde-frameworks/krunner-${KFMIN}:5 - >=kde-frameworks/kservice-${KFMIN}:5 - >=kde-frameworks/kunitconversion-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kwindowsystem-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=kde-frameworks/plasma-${KFMIN}:5 - >=kde-frameworks/sonnet-${KFMIN}:5 - share? ( >=kde-frameworks/purpose-${KFMIN}:5 ) - webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 ) -" -RDEPEND="${DEPEND} - >=dev-qt/qtquickcontrols-${QTMIN}:5 - >=dev-qt/qtquickcontrols2-${QTMIN}:5 - >=kde-plasma/plasma-workspace-${PVCUT}:5 -" - -PATCHES=( - "${FILESDIR}"/${P}-fix-potd-wallpapers-change-freq-{1,2}.patch # KDE-bug 453391 -) - -src_configure() { - local mycmakeargs=( - $(cmake_use_find_package share KF5Purpose) - $(cmake_use_find_package webengine Qt5WebEngine) - ) - - ecm_src_configure -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - optfeature "Disk quota applet" sys-fs/quota - fi - ecm_pkg_postinst -} |