diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-06 18:27:11 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-10 17:29:10 +0200 |
commit | 8847fea2e876bf5cb81152b2ad2c809bbf7251a7 (patch) | |
tree | ef48a9b8ac9731781961ca1d025df38932097bd9 | |
parent | kde-frameworks/kidletime: drop 5.80.0* (diff) | |
download | gentoo-8847fea2e876bf5cb81152b2ad2c809bbf7251a7.tar.gz gentoo-8847fea2e876bf5cb81152b2ad2c809bbf7251a7.tar.bz2 gentoo-8847fea2e876bf5cb81152b2ad2c809bbf7251a7.zip |
kde-frameworks/kirigami: drop 5.80.0*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-frameworks/kirigami/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kirigami/files/kirigami-5.80.0-fix-crash-in-SizeGroup.patch | 41 | ||||
-rw-r--r-- | kde-frameworks/kirigami/kirigami-5.80.0-r1.ebuild | 50 |
3 files changed, 0 insertions, 92 deletions
diff --git a/kde-frameworks/kirigami/Manifest b/kde-frameworks/kirigami/Manifest index f24321772408..fcd1b76a54b8 100644 --- a/kde-frameworks/kirigami/Manifest +++ b/kde-frameworks/kirigami/Manifest @@ -1,2 +1 @@ -DIST kirigami2-5.80.0.tar.xz 310608 BLAKE2B 3e3ad3190306ffc955c17ed783d6d231f7b5d37314bbc6a8a215c22d2cd0a13564b914ca7c482ad60dd1e54336f1af5833a6af7881d94cf584753007d7052ac5 SHA512 d40e95a4f5376eb16d45193c32d96a777e5045fbfdd3dbe4902edb561b6709dde8ab2e2c905042bc76b6a641575a05a876a0204090b0c705bdac9d8631b67971 DIST kirigami2-5.82.0.tar.xz 315952 BLAKE2B 470199ae252029e7abf78b1d3853f72635bd0a68a306695d2ba2a88ed2114e129a1b496cbc6084da17e9d39f5bff7c44fe0a72636f22654aad582b658484aa8f SHA512 d2a72879bca7151dfe07e55089bf61c8f3157ed78357b894a7834a05c78ee790b55afc2633e491b358b8b6c86ba73a000f17c7b224c88e19711a065debf0102e diff --git a/kde-frameworks/kirigami/files/kirigami-5.80.0-fix-crash-in-SizeGroup.patch b/kde-frameworks/kirigami/files/kirigami-5.80.0-fix-crash-in-SizeGroup.patch deleted file mode 100644 index 7d13d2fa1bfa..000000000000 --- a/kde-frameworks/kirigami/files/kirigami-5.80.0-fix-crash-in-SizeGroup.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 29dabab2f536827bc1ecec63f5a0b0a76f0809e5 Mon Sep 17 00:00:00 2001 -From: David Edmundson <kde@davidedmundson.co.uk> -Date: Tue, 9 Mar 2021 14:30:44 +0000 -Subject: [PATCH] Fix potential crash in SizeGroup - -SizeGroup keeps a cache of a list of items, and when one updates does -calculations based on all items. - -This list is stored as a list of QPointers as we don't explicitly track -deletion. - -We have a list of items and guard for deletion, but they're QML owned. -So there's a point in time when it's pending deletion with the garbage -collector but the lower level object isn't managed by an engine. - -As we go via QQmlProperty(item, QStringLiteral("Layout.preferredWidth"), -qmlContext(item)).write(maxWidth) this is problematic. - -BUG: 434079 ---- - src/sizegroup.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/sizegroup.cpp b/src/sizegroup.cpp -index 2035b6eb..a9a0ebf8 100644 ---- a/src/sizegroup.cpp -+++ b/src/sizegroup.cpp -@@ -98,6 +98,10 @@ void SizeGroup::adjustItems(Mode whatChanged) - continue; - } - -+ if (!qmlEngine(item)) { -+ continue; -+ } -+ - switch (m_mode) { - case Mode::Width: - QQmlProperty(item, QStringLiteral("Layout.preferredWidth"), qmlContext(item)).write(maxWidth); --- -GitLab - diff --git a/kde-frameworks/kirigami/kirigami-5.80.0-r1.ebuild b/kde-frameworks/kirigami/kirigami-5.80.0-r1.ebuild deleted file mode 100644 index 6190075bd2a2..000000000000 --- a/kde-frameworks/kirigami/kirigami-5.80.0-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ECM_EXAMPLES="true" -ECM_QTHELP="false" -ECM_TEST="true" -KDE_ORG_NAME="${PN}2" -QTMIN=5.15.2 -inherit ecm kde.org - -DESCRIPTION="Lightweight user interface framework for mobile and convergent applications" -HOMEPAGE="https://techbase.kde.org/Kirigami" -EGIT_REPO_URI="${EGIT_REPO_URI/${PN}2/${PN}}" - -LICENSE="LGPL-2+" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="" - -# requires package to already be installed -RESTRICT+=" test" - -BDEPEND=" - >=dev-qt/linguist-tools-${QTMIN}:5 -" -DEPEND=" - >=dev-qt/qtconcurrent-${QTMIN}:5 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qtquickcontrols2-${QTMIN}:5 - >=dev-qt/qtsvg-${QTMIN}:5 -" -RDEPEND="${DEPEND} - >=dev-qt/qtgraphicaleffects-${QTMIN}:5 -" - -PATCHES=( - "${FILESDIR}/${P}-fix-crash-in-SizeGroup.patch" # KDE-bug #434079 -) - -src_configure() { - local mycmakeargs=( - -DBUILD_EXAMPLES=$(usex examples) - ) - - ecm_src_configure -} |