From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- kde-misc/latte-dock/Manifest | 3 ++ .../latte-dock-0.9.11-kwindowsystem-5.82.patch | 32 ++++++++++++ kde-misc/latte-dock/latte-dock-0.9.12.ebuild | 58 ++++++++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 kde-misc/latte-dock/files/latte-dock-0.9.11-kwindowsystem-5.82.patch create mode 100644 kde-misc/latte-dock/latte-dock-0.9.12.ebuild (limited to 'kde-misc/latte-dock') diff --git a/kde-misc/latte-dock/Manifest b/kde-misc/latte-dock/Manifest index 6ff024a38963..2c7ee64dfc27 100644 --- a/kde-misc/latte-dock/Manifest +++ b/kde-misc/latte-dock/Manifest @@ -1,3 +1,6 @@ +AUX latte-dock-0.9.11-kwindowsystem-5.82.patch 1071 BLAKE2B 11e2dc4b344395aa135521d96ab8a1b486f13ff6dad02ac023c2448058c53cf18044be8903ed80e78587bafa2a444c0af82a611f395f0e3a4cd405f8df9c3d4f SHA512 122e5884399b8bca924880ff7389552eb21b96a16e0f5b9f5788fef9759f01c6f70e3174c309d55a5f3574ccd0dd2f339d99b19b63fe255e67992170f90a8525 DIST latte-dock-0.9.11.tar.xz 719904 BLAKE2B 6d88fa42eab9e44144b33ba2affd98a74632f5aedb733bc279b5edd5db75f561af5428bcd1d9d60a4af8c1134686ea47adc9be798ee1e06ef9db515296e48494 SHA512 d02747e4709de8f3091c4686f6d80129fa2fe9d6e994cec436083c59b0ceab0b01af3c1c92d946e497e725bd20efc8ec1e8d284666348a13cf6ba79e515c30d5 +DIST latte-dock-0.9.12.tar.xz 741208 BLAKE2B 634805e78c618e0958d0d2d071fd6f262bee34f4aeb0106e42ba9cef0ba245a0382c2930e7e947df99bc93574721f6d5fc035c7eab3ac761cefd51c829ad409b SHA512 11538e90b110522bfc6a56737f7c2ef22e0a0aff1153a2d85413dae3e643b3b660c36cb4d2162b902b61c55b50d798b070f3c47da0c3709dcaefa09c3eeafd7f EBUILD latte-dock-0.9.11.ebuild 1639 BLAKE2B a3af64d56a85ccc2edeaf43e51b72d53a81a0599a3c969ed752b8de890aac19030497d359f5e34886e65bd22105e5d48074dbde6353c3e0b26a0b2cd4666c3a4 SHA512 36287dc89bb0e5559abfc98aeea2379253c05cb7836687d3a6ad560428d986a758b1e2c32d864b20f1bf90d5c4fa148db76324d8446288a22d3971b7a21cddff +EBUILD latte-dock-0.9.12.ebuild 1603 BLAKE2B fb921211e7cab2038353f41dfb372364ac8b5dfe9edaaa3d7bb0e81f0b7b327564303ae7ec6d9916cca1346f83de9ad3a9b627f3a1e560f5378643901f46aaa3 SHA512 49667b0ede8cc5cc26951ccf47bc49923bfc36f57ab54406b1493bf2c3cdf7f66fc6077abc6ce9c1ca4a8f8f5aafb1af13f1bc2a54ca2530f8ab84e254b77895 MISC metadata.xml 335 BLAKE2B f82ca43580b9ff4695a6f5ec12918e8d2b1955d17b0feea996494fa53725da09fbfcc1a99091e7799fb42feecb1e1da4f7d7ff88b0f52c1dda7fc3f65218c08d SHA512 c887c4c3536118fb9f6af0b4ff8e656d5a63e039e1725429cf1d00cbb2564da4528518ab300b6889b0feecebd0b69cacd5f206793f8c24db6a97b86057597cc2 diff --git a/kde-misc/latte-dock/files/latte-dock-0.9.11-kwindowsystem-5.82.patch b/kde-misc/latte-dock/files/latte-dock-0.9.11-kwindowsystem-5.82.patch new file mode 100644 index 000000000000..91fc96d41f70 --- /dev/null +++ b/kde-misc/latte-dock/files/latte-dock-0.9.11-kwindowsystem-5.82.patch @@ -0,0 +1,32 @@ +From e62605321d739b941fdf0861bd24843ba1137216 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Fri, 14 May 2021 16:13:01 +0200 +Subject: [PATCH] Port away from deprecated API (NET::StaysOnTop -> + NET::KeepAbove) + +Deprecated since 5.0. + +Signed-off-by: Andreas Sturmlechner +--- + app/wm/xwindowinterface.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/app/wm/xwindowinterface.cpp b/app/wm/xwindowinterface.cpp +index 932f8e43..cc66ff4b 100644 +--- a/app/wm/xwindowinterface.cpp ++++ b/app/wm/xwindowinterface.cpp +@@ -666,9 +666,9 @@ void XWindowInterface::requestToggleKeepAbove(WindowId wid) + NETWinInfo ni(QX11Info::connection(), wid.toUInt(), QX11Info::appRootWindow(), NET::WMState, NET::Properties2()); + + if (wInfo.isKeepAbove()) { +- ni.setState(NET::States(), NET::StaysOnTop); ++ ni.setState(NET::States(), NET::KeepAbove); + } else { +- ni.setState(NET::StaysOnTop, NET::StaysOnTop); ++ ni.setState(NET::KeepAbove, NET::KeepAbove); + } + } + +-- +2.31.1 + diff --git a/kde-misc/latte-dock/latte-dock-0.9.12.ebuild b/kde-misc/latte-dock/latte-dock-0.9.12.ebuild new file mode 100644 index 000000000000..97327e76f7d4 --- /dev/null +++ b/kde-misc/latte-dock/latte-dock-0.9.12.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KFMIN=5.82.0 +QTMIN=5.15.2 +inherit ecm kde.org + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="Elegant dock, based on KDE Frameworks" +HOMEPAGE="https://apps.kde.org/latte-dock/" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="" + +DEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgraphicaleffects-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5[X] + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + >=kde-frameworks/kactivities-${KFMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kpackage-${KFMIN}:5 + >=kde-frameworks/kwayland-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/plasma-${KFMIN}:5[X] + x11-libs/libSM + x11-libs/libX11 + x11-libs/libxcb +" +RDEPEND="${DEPEND} + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 +" + +DOCS=( CHANGELOG.md README.md ) + +PATCHES=( "${FILESDIR}/${PN}-0.9.11-kwindowsystem-5.82.patch" ) # bug 790185 -- cgit v1.2.3