From 46dba528c0bcf5f05ffdef9ba20c1db28185daef Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 7 Jan 2021 12:48:03 +0100 Subject: kde-plasma/kdeplasma-addons: drop 5.19.5* Signed-off-by: Andreas Sturmlechner --- kde-plasma/kdeplasma-addons/Manifest | 1 - .../files/kdeplasma-addons-5.19.5-fix-potd.patch | 64 ----------------- .../kdeplasma-addons-5.19.5-r1.ebuild | 80 ---------------------- 3 files changed, 145 deletions(-) delete mode 100644 kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.19.5-fix-potd.patch delete mode 100644 kde-plasma/kdeplasma-addons/kdeplasma-addons-5.19.5-r1.ebuild (limited to 'kde-plasma') diff --git a/kde-plasma/kdeplasma-addons/Manifest b/kde-plasma/kdeplasma-addons/Manifest index 9465a9b1a256..2f7450f2a27b 100644 --- a/kde-plasma/kdeplasma-addons/Manifest +++ b/kde-plasma/kdeplasma-addons/Manifest @@ -1,2 +1 @@ -DIST kdeplasma-addons-5.19.5.tar.xz 629136 BLAKE2B 992df5d362aca213531cb96b8d01a3c2792ed91562d4f6a7f71e8b50ba6ee28cbd6501b75c7c91923b6afcb13fdf1b385189f718d8cebb482d1cedd040f67d94 SHA512 93de717c623605ceb9fdcedecdf656030b6e9bc360ce834ea918403f64f250029e9a2406bddc0b324e4738006d4ca155bc509f4a7d40c073a2aefb2017db9731 DIST kdeplasma-addons-5.20.5.tar.xz 644352 BLAKE2B 2579fafc102210006a8cdb4b303c865ec3aabe149c0d0acfa47640c272e4327fa84934f33e14f6c2fad20656fbe145793d375c81fa4028251cf623e37b243aaa SHA512 3a4f0715ac1dbc9edbb62f253b48520f9b011c29f87ef0a7ba25ea14dc24dcc698405e7d8e83593b51bab2976b274b0ac869cab8b17a50ba34902bd8121ee421 diff --git a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.19.5-fix-potd.patch b/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.19.5-fix-potd.patch deleted file mode 100644 index 8cc7f7fb91a0..000000000000 --- a/kde-plasma/kdeplasma-addons/files/kdeplasma-addons-5.19.5-fix-potd.patch +++ /dev/null @@ -1,64 +0,0 @@ -From d5f9e6af9f9cda210b15d5c10b370006c86bd7ad Mon Sep 17 00:00:00 2001 -From: Guo Yunhe -Date: Thu, 23 Apr 2020 22:36:34 +0300 -Subject: [PATCH] Fix POTD in lock screen - -Summary: -2. Flickr and APOD(NASA) providers cannot cache pictures in `PNG` but -`JPEG` works. So I simply changed the cache format to `JPEG`. Most POTD -are photos. JPEG saves more spaces. - -Subscribers: plasma-devel - -Tags: #plasma - -Differential Revision: https://phabricator.kde.org/D29140 - -Merge Request: https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/3 - -BUG: 389962 - -FIXED-IN: 5.20 - -* asturm 2020-09-04: Backported to 5.19.5, including merged commits e7c51a04 and -* e6472153, shortened summary to relevant bits, dropped unrelated hunks. ---- - dataengines/potd/PoTD-list.txt | 1 + - dataengines/potd/cachedprovider.cpp | 14 +++---- - 2 files changed, 8 insertions(+), 7 deletions(-) - -diff --git a/dataengines/potd/PoTD-list.txt b/dataengines/potd/PoTD-list.txt -index 53b0fe02a..c74316614 100644 ---- a/dataengines/potd/PoTD-list.txt -+++ b/dataengines/potd/PoTD-list.txt -@@ -5,6 +5,7 @@ LIST OF POSSIBLE PROVIDERS - http://antwrp.gsfc.nasa.gov/apod/astropix.html - Each day can be reached via the URL http://antwrp.gsfc.nasa.gov/apod/apYYMMDD.html - where YY is the 2 digits year, MM is the 2 digits month and DD is the 2 digits day. -+Note: sometimes, the webpage shows a YouTube video and picture cannot be fetched. - - * Flickr Interestingness ---------------------------- DONE - http://www.flickr.com/explore/interesting/ -diff --git a/dataengines/potd/cachedprovider.cpp b/dataengines/potd/cachedprovider.cpp -index 476a7c253..d6fb63fe9 100644 ---- a/dataengines/potd/cachedprovider.cpp -+++ b/dataengines/potd/cachedprovider.cpp -@@ -51,13 +51,13 @@ SaveImageThread::SaveImageThread(const QString &identifier, const QImage &image) - void SaveImageThread::run() - { - const QString path = CachedProvider::identifierToPath( m_identifier ); -- m_image.save(path, "PNG"); -+ m_image.save(path, "JPEG"); - emit done( m_identifier, path, m_image ); - } - - QString CachedProvider::identifierToPath( const QString &identifier ) - { -- const QString dataDir = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + QLatin1String("/plasma_engine_potd/"); -+ const QString dataDir = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QLatin1String("/plasma_engine_potd/"); - QDir d; - d.mkpath(dataDir); - return dataDir + identifier; --- -GitLab - diff --git a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.19.5-r1.ebuild b/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.19.5-r1.ebuild deleted file mode 100644 index 5fe105d32ea5..000000000000 --- a/kde-plasma/kdeplasma-addons/kdeplasma-addons-5.19.5-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -KFMIN=5.71.0 -PVCUT=$(ver_cut 1-3) -QTMIN=5.14.2 -VIRTUALX_REQUIRED="test" -inherit ecm kde.org - -DESCRIPTION="Extra Plasma applets and engines" - -LICENSE="GPL-2 LGPL-2" -SLOT="5" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="+comic 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/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcmutils-${KFMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kdeclarative-${KFMIN}:5 - >=kde-frameworks/kholidays-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${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 - comic? ( >=kde-frameworks/kross-${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.patch" # in Plasma/5.20 - "${FILESDIR}/${PN}-5.19.3-kross-optional.patch" # downstream patch -) - -src_configure() { - local mycmakeargs=( - $(cmake_use_find_package comic KF5Kross) - $(cmake_use_find_package share KF5Purpose) - $(cmake_use_find_package webengine Qt5WebEngine) - ) - - ecm_src_configure -} - -pkg_postinst() { - ecm_pkg_postinst - - if [[ -z "${REPLACING_VERSIONS}" ]]; then - has_version sys-fs/quota || \ - elog "For using disk quota applet, install sys-fs/quota." - fi -} -- cgit v1.2.3-65-gdbad