diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-12-10 21:06:43 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-12-14 10:22:33 +0100 |
commit | 681b2c8203ec0bfb5a73339f595802bf91006831 (patch) | |
tree | 8b25b78eac1a9e6b084052478e0dab1df7692a08 /kde-frameworks/plasma | |
parent | kde-frameworks/kxmlgui: drop 5.85.0* (diff) | |
download | gentoo-681b2c8203ec0bfb5a73339f595802bf91006831.tar.gz gentoo-681b2c8203ec0bfb5a73339f595802bf91006831.tar.bz2 gentoo-681b2c8203ec0bfb5a73339f595802bf91006831.zip |
kde-frameworks/plasma: drop 5.85.0*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/plasma')
8 files changed, 0 insertions, 376 deletions
diff --git a/kde-frameworks/plasma/Manifest b/kde-frameworks/plasma/Manifest index 4ec095693100..8c3022b8e175 100644 --- a/kde-frameworks/plasma/Manifest +++ b/kde-frameworks/plasma/Manifest @@ -1,3 +1,2 @@ -DIST plasma-framework-5.85.0.tar.xz 3145156 BLAKE2B 8a9257e3613ecc20051064af8eaa94cd30d07fd9c6349f6dd2aa1169ab661dbede1ff424ac1f96a30230270cf8f957731465c0a655270862c104987576b614ed SHA512 aba7e62ff3d9eff7c28c1736bd1b25e14c19502f021ed7f78025f7129abb728a066de0fff327098f52b84e78f78fbe87743563b78a4c91e2065187fb443eeb77 DIST plasma-framework-5.88.0.tar.xz 3142640 BLAKE2B cbd0cc61b6c39e56a1bceed44d7f04f0033c0daaa3073760f04536b22760147b1bb82f5b85d70d48301083e9ae13e3f6bbebafa75e264762157e2fcaf658123d SHA512 b99c8d5722198d7f2096734f62f913f74471810331980a2722f1864602f3facf796c17a494d16fca7dbbe4389fd5db64b9fe82fd34f148f4ff6230ffde0ded93 DIST plasma-framework-5.89.0.tar.xz 3144948 BLAKE2B 692ee0869a38c1712f864e035aa0182b653dde863afde727940bfbdda2c7c4b3e75fd6d9bebefbed28c31e031b47fab80dbc09dd391fbd62093b73cafd3cc8b7 SHA512 b51caf71ee678f5766a15acae45aae66de5852738c3a8378420d3aebc179f1430ae290902b2c3f79c80009e483bbbf604d5982a494b955339ba45181096488e5 diff --git a/kde-frameworks/plasma/files/plasma-5.85.0-fix-ExpandableListItem-overlapping.patch b/kde-frameworks/plasma/files/plasma-5.85.0-fix-ExpandableListItem-overlapping.patch deleted file mode 100644 index 8063039b7626..000000000000 --- a/kde-frameworks/plasma/files/plasma-5.85.0-fix-ExpandableListItem-overlapping.patch +++ /dev/null @@ -1,41 +0,0 @@ -From f393bace87e5fc8c0e68eff9faf0656df64715ed Mon Sep 17 00:00:00 2001 -From: Nate Graham <nate@kde.org> -Date: Wed, 1 Sep 2021 12:30:01 -0600 -Subject: [PATCH] ExpandableListItem: Fix overlapping entries with many - expanded items - -A previous hack was done wrong, and was not taking into account disabled -items. - -BUG: 428102 -FIXED-IN: 5.86 ---- - .../plasmaextracomponents/qml/ExpandableListItem.qml | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml b/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml -index 47b3e3684..851961a4c 100644 ---- a/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml -+++ b/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml -@@ -523,7 +523,7 @@ Item { - - // Container for actions list, so that we can add left and right margins to it - Item { -- height: actionsList.contentHeight -+ height: actionsList.height - width: mainRowLayout.width - - // TODO: Implement keyboard focus -@@ -538,7 +538,8 @@ Item { - anchors.leftMargin: listItemIcon.width + PlasmaCore.Units.smallSpacing - anchors.rightMargin: listItemIcon.width + PlasmaCore.Units.smallSpacing * 2 - -- height: PlasmaCore.Units.gridUnit * 2 * actionsList.count -+ // Need to take into account disabled/invisible items -+ height: PlasmaCore.Units.gridUnit * 2 * Array.from(contextualActionsModel).filter(item => item.enabled).length - - focus: true - clip: true --- -GitLab - diff --git a/kde-frameworks/plasma/files/plasma-5.85.0-fix-cmake.patch b/kde-frameworks/plasma/files/plasma-5.85.0-fix-cmake.patch deleted file mode 100644 index 0eab0a772c08..000000000000 --- a/kde-frameworks/plasma/files/plasma-5.85.0-fix-cmake.patch +++ /dev/null @@ -1,48 +0,0 @@ -From e496ef0440c92e119da0b1088f1ab788cebeae33 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Thu, 26 Aug 2021 19:12:00 +0200 -Subject: [PATCH] CMake: do not expand variables beforehand - -Fixes build when FindOpenGL is disabled, producing a syntax error: -"Function invoked with incorrect arguments for function named: ADD_FEATURE_INFO" - -See also: https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/267 - -Downstream report: https://bugs.gentoo.org/809815 - -Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ---- - CMakeLists.txt | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e27ebd914..25abbf921 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -110,20 +110,20 @@ set_package_properties(EGL PROPERTIES - TYPE OPTIONAL - ) - --add_feature_info(GLX ${OpenGL_GLX_FOUND} "OpenGL GLX libraries.") -+add_feature_info(GLX OpenGL_GLX_FOUND "OpenGL GLX libraries.") - if(OpenGL_GLX_FOUND AND X11_FOUND AND (Qt5Gui_OPENGL_IMPLEMENTATION STREQUAL "GL")) - set(HAVE_GLX 1) - else() - set(HAVE_GLX 0) - endif() - --add_feature_info(EGL ${OpenGL_EGL_FOUND} -+add_feature_info(EGL OpenGL_EGL_FOUND - "A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG.") - # OpenGL_EGL_FOUND is defined by FindOpenGL - if(TARGET OpenGL::EGL) - set(HAVE_EGL ${OpenGL_EGL_FOUND}) - set(EGL_TARGET OpenGL::EGL) --elseif(${EGL_FOUND}) -+elseif(EGL_FOUND) - set(HAVE_EGL ${EGL_FOUND}) - set(EGL_TARGET EGL::EGL) - message(STATUS "Switch to EGL compatibility target EGL::EGL because OpenGL::EGL is not available") --- -2.33.0 - diff --git a/kde-frameworks/plasma/files/plasma-5.85.0-fix-pinned-calendar-dots.patch b/kde-frameworks/plasma/files/plasma-5.85.0-fix-pinned-calendar-dots.patch deleted file mode 100644 index 0342024ca89d..000000000000 --- a/kde-frameworks/plasma/files/plasma-5.85.0-fix-pinned-calendar-dots.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 19fe24ef9377178413438d7749630053995af229 Mon Sep 17 00:00:00 2001 -From: Eugene Popov <popov895@ukr.net> -Date: Mon, 9 Aug 2021 15:56:02 +0000 -Subject: [PATCH] [Calendar] Fix pinned calendar displaying the wrong number of - dots - -Use assignment instead of binding for the rootIndex property of the DelegateModel. - -BUG: 440627 -FIXED-IN: 5.86 ---- - src/declarativeimports/calendar/qml/DayDelegate.qml | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/declarativeimports/calendar/qml/DayDelegate.qml b/src/declarativeimports/calendar/qml/DayDelegate.qml -index af31991db..3f7fc681b 100644 ---- a/src/declarativeimports/calendar/qml/DayDelegate.qml -+++ b/src/declarativeimports/calendar/qml/DayDelegate.qml -@@ -81,13 +81,14 @@ PlasmaComponents3.AbstractButton { - Repeater { - model: DelegateModel { - model: dayStyle.dayModel -- rootIndex: modelIndex(index) - delegate: Rectangle { - width: PlasmaCore.Units.smallSpacing * 1.5 - height: width - radius: width / 2 - color: model.eventColor ? Kirigami.ColorUtils.linearInterpolation(model.eventColor, PlasmaCore.Theme.textColor, 0.2) : PlasmaCore.Theme.highlightColor - } -+ -+ Component.onCompleted: rootIndex = modelIndex(index) - } - } - } --- -GitLab - diff --git a/kde-frameworks/plasma/files/plasma-5.85.0-fix-plasma-scaling-w-int-scale-factors.patch b/kde-frameworks/plasma/files/plasma-5.85.0-fix-plasma-scaling-w-int-scale-factors.patch deleted file mode 100644 index 9c0e9046496a..000000000000 --- a/kde-frameworks/plasma/files/plasma-5.85.0-fix-plasma-scaling-w-int-scale-factors.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 837bb6975f6a0661d211107823b7587808fc3d4e Mon Sep 17 00:00:00 2001 -From: Nate Graham <nate@kde.org> -Date: Sun, 15 Aug 2021 09:33:10 -0600 -Subject: [PATCH] Fix Plasma (non-Qt) icon scaling with integer scale factors - -An embarrassing error in 4edb830f53aac4833ece024df59441029b01fde6 -caused the function which returns an appropriate scale factor for icons -to both take and return integer values rather than floating point -values, preventing it from working properly with any scale factor other -than an integer scale factor (e.g. 200%). This commit fixes that issue. ---- - src/declarativeimports/core/units.cpp | 2 +- - src/declarativeimports/core/units.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/declarativeimports/core/units.cpp b/src/declarativeimports/core/units.cpp -index 6788ed952..fbcc6d888 100644 ---- a/src/declarativeimports/core/units.cpp -+++ b/src/declarativeimports/core/units.cpp -@@ -174,7 +174,7 @@ int Units::roundToIconSize(int size) - } - } - --int Units::bestIconScaleForDevicePixelRatio(const int ratio) -+qreal Units::bestIconScaleForDevicePixelRatio(const qreal ratio) - { - if (ratio < 1.5) { - return 1; -diff --git a/src/declarativeimports/core/units.h b/src/declarativeimports/core/units.h -index c19cf0dd8..855738e7d 100644 ---- a/src/declarativeimports/core/units.h -+++ b/src/declarativeimports/core/units.h -@@ -271,7 +271,7 @@ private: - * Note that this function is only relevant when using Plasma scaling and - * when using Qt scaling, it always returns 1. - */ -- static int bestIconScaleForDevicePixelRatio(const int ratio); -+ static qreal bestIconScaleForDevicePixelRatio(const qreal ratio); - - /** - * @return The dpi-adjusted size for a given icon size --- -GitLab - diff --git a/kde-frameworks/plasma/files/plasma-5.85.0-fix-svgicon-memleak.patch b/kde-frameworks/plasma/files/plasma-5.85.0-fix-svgicon-memleak.patch deleted file mode 100644 index 89896911d0a2..000000000000 --- a/kde-frameworks/plasma/files/plasma-5.85.0-fix-svgicon-memleak.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 73782c8b39d1cc41fef003acca8df75ccdf384e4 Mon Sep 17 00:00:00 2001 -From: Matt Whitlock <kde@mattwhitlock.name> -Date: Mon, 16 Aug 2021 19:37:28 -0400 -Subject: [PATCH] avoid holding onto old Svg object when changing source of an - IconItem - -A long-lived IconItem instance can have its source changed many times -over its lifetime. Because SvgSource parents its internal Plasma::Svg -instance to the IconItem instance, this means that such Plasma::Svg -instance was not being destroyed when its responsible SvgSource -instance is destroyed and indeed would not be destroyed until the -IconItem instance is eventually destroyed, which could be arbitrarily -much later. This commit adds an explicit call in the SvgSource -destructor to delete the Plasma::Svg instance so it does not hang -around in memory until the IconItem instance is destroyed. This fixes -one of the major memory "leaks" in plasmashell. ---- - src/declarativeimports/core/iconitem.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/declarativeimports/core/iconitem.cpp b/src/declarativeimports/core/iconitem.cpp -index 0db750acd..3f06b8b0e 100644 ---- a/src/declarativeimports/core/iconitem.cpp -+++ b/src/declarativeimports/core/iconitem.cpp -@@ -196,6 +196,9 @@ public: - { - if (m_svgIcon) { - QObject::disconnect(m_iconItem, nullptr, m_svgIcon, nullptr); -+ // the parent IconItem can outlive this IconItemSource, so delete our Plasma::Svg object -+ // explicitly to avoid leaving unreferenced Plasma::Svg objects parented to the IconItem -+ delete m_svgIcon; - } - } - --- -GitLab - diff --git a/kde-frameworks/plasma/files/plasma-5.85.0-fix-theme-memleak.patch b/kde-frameworks/plasma/files/plasma-5.85.0-fix-theme-memleak.patch deleted file mode 100644 index 1d7dc596c20e..000000000000 --- a/kde-frameworks/plasma/files/plasma-5.85.0-fix-theme-memleak.patch +++ /dev/null @@ -1,86 +0,0 @@ -From 14b495f933dadace7832fa6cbc809c3abdb7c682 Mon Sep 17 00:00:00 2001 -From: Matt Whitlock <kde@mattwhitlock.name> -Date: Mon, 28 Jun 2021 18:01:14 -0400 -Subject: [PATCH] don't make duplicate connections to - ThemePrivate::onAppExitCleanup -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Plasma::Theme::Theme(…) and Plasma::Theme::setThemeName(…) were -unconditionally connecting the QCoreApplication::aboutToQuit signal to -the ThemePrivate::onAppExitCleanup slot, even though the ThemePrivate -instances are cached and shared across multiple Theme instances. In -long-running applications that make heavy use of the Svg class (such as -plasmashell), a single ThemePrivate instance can be reused by huge -numbers of Theme instances. If the reference count of that ThemePrivate -instance never reaches zero, then the connections just keep piling up, -contributing to excessive memory usage. This commit moves the relevant -connect(…) call so that it only happens in the case that a new -ThemePrivate instance is constructed. Thus, there will only ever be one -connection from QCoreApplication::aboutToQuit to -ThemePrivate::onAppExitCleanup per instance of ThemePrivate. ---- - src/plasma/theme.cpp | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -diff --git a/src/plasma/theme.cpp b/src/plasma/theme.cpp -index fabf98f4e..f403d393b 100644 ---- a/src/plasma/theme.cpp -+++ b/src/plasma/theme.cpp -@@ -39,13 +39,13 @@ Theme::Theme(QObject *parent) - if (!ThemePrivate::globalTheme) { - ThemePrivate::globalTheme = new ThemePrivate; - ThemePrivate::globalTheme->settingsChanged(false); -+ if (QCoreApplication::instance()) { -+ connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, ThemePrivate::globalTheme, &ThemePrivate::onAppExitCleanup); -+ } - } - ThemePrivate::globalTheme->ref.ref(); - d = ThemePrivate::globalTheme; - -- if (QCoreApplication::instance()) { -- connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, d, &ThemePrivate::onAppExitCleanup); -- } - connect(d, &ThemePrivate::themeChanged, this, &Theme::themeChanged); - connect(d, &ThemePrivate::defaultFontChanged, this, &Theme::defaultFontChanged); - connect(d, &ThemePrivate::smallestFontChanged, this, &Theme::smallestFontChanged); -@@ -57,6 +57,9 @@ Theme::Theme(const QString &themeName, QObject *parent) - auto &priv = ThemePrivate::themes[themeName]; - if (!priv) { - priv = new ThemePrivate; -+ if (QCoreApplication::instance()) { -+ connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, priv, &ThemePrivate::onAppExitCleanup); -+ } - } - - priv->ref.ref(); -@@ -68,9 +71,6 @@ Theme::Theme(const QString &themeName, QObject *parent) - d->setThemeName(themeName, false, false); - d->cacheTheme = useCache; - d->fixedName = true; -- if (QCoreApplication::instance()) { -- connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, d, &ThemePrivate::onAppExitCleanup); -- } - connect(d, &ThemePrivate::themeChanged, this, &Theme::themeChanged); - } - -@@ -105,12 +105,12 @@ void Theme::setThemeName(const QString &themeName) - auto &priv = ThemePrivate::themes[themeName]; - if (!priv) { - priv = new ThemePrivate; -+ if (QCoreApplication::instance()) { -+ connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, priv, &ThemePrivate::onAppExitCleanup); -+ } - } - priv->ref.ref(); - d = priv; -- if (QCoreApplication::instance()) { -- connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, d, &ThemePrivate::onAppExitCleanup); -- } - connect(d, &ThemePrivate::themeChanged, this, &Theme::themeChanged); - } - --- -GitLab - diff --git a/kde-frameworks/plasma/plasma-5.85.0-r3.ebuild b/kde-frameworks/plasma/plasma-5.85.0-r3.ebuild deleted file mode 100644 index e5f077ebe256..000000000000 --- a/kde-frameworks/plasma/plasma-5.85.0-r3.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KDE_ORG_NAME="${PN}-framework" -PVCUT=$(ver_cut 1-2) -QTMIN=5.15.2 -VIRTUALX_REQUIRED="test" -inherit ecm kde.org - -DESCRIPTION="Plasma framework" - -LICENSE="LGPL-2+" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" -IUSE="gles2-only man wayland X" - -RESTRICT="test" - -RDEPEND=" - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5[gles2-only=,X=] - >=dev-qt/qtquickcontrols-${QTMIN}:5 - >=dev-qt/qtsql-${QTMIN}:5 - >=dev-qt/qtsvg-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - =kde-frameworks/kactivities-${PVCUT}*:5 - =kde-frameworks/karchive-${PVCUT}*:5 - =kde-frameworks/kconfig-${PVCUT}*:5 - =kde-frameworks/kconfigwidgets-${PVCUT}*:5 - =kde-frameworks/kcoreaddons-${PVCUT}*:5 - =kde-frameworks/kdeclarative-${PVCUT}*:5 - =kde-frameworks/kglobalaccel-${PVCUT}*:5 - =kde-frameworks/kguiaddons-${PVCUT}*:5 - =kde-frameworks/ki18n-${PVCUT}*:5 - =kde-frameworks/kiconthemes-${PVCUT}*:5 - =kde-frameworks/kio-${PVCUT}*:5 - =kde-frameworks/kirigami-${PVCUT}*:5 - =kde-frameworks/knotifications-${PVCUT}*:5 - =kde-frameworks/kpackage-${PVCUT}*:5 - =kde-frameworks/kservice-${PVCUT}*:5 - =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 - =kde-frameworks/kwindowsystem-${PVCUT}*:5 - =kde-frameworks/kxmlgui-${PVCUT}*:5 - !gles2-only? ( media-libs/libglvnd[X?] ) - wayland? ( - =kde-frameworks/kwayland-${PVCUT}*:5 - media-libs/libglvnd - ) - X? ( - >=dev-qt/qtx11extras-${QTMIN}:5 - x11-libs/libX11 - x11-libs/libxcb - ) -" -DEPEND="${RDEPEND} - X? ( x11-base/xorg-proto ) -" -BDEPEND="man? ( >=kde-frameworks/kdoctools-${PVCUT}:5 )" - -PATCHES=( - "${FILESDIR}"/${P}-fix-plasma-scaling-w-int-scale-factors.patch - "${FILESDIR}"/${P}-fix-pinned-calendar-dots.patch # KDE-bug 440627 - "${FILESDIR}"/${P}-fix-cmake.patch # bug 809815 - "${FILESDIR}"/${P}-fix-ExpandableListItem-overlapping.patch # KDE-bug 428102 - "${FILESDIR}"/${P}-fix-theme-memleak.patch # in KF-5.86 - "${FILESDIR}"/${P}-fix-svgicon-memleak.patch # in KF-5.86 -) - -src_configure() { - local mycmakeargs=( - $(cmake_use_find_package !gles2-only OpenGL) - $(cmake_use_find_package man KF5DocTools) - $(cmake_use_find_package wayland EGL) - $(cmake_use_find_package wayland KF5Wayland) - $(cmake_use_find_package X X11) - $(cmake_use_find_package X XCB) - ) - - ecm_src_configure -} |