From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/yakuake/files/, kde-apps/yakuake/
Date: Sat, 22 Apr 2023 12:15:12 +0000 (UTC) [thread overview]
Message-ID: <1682165702.5af7e43d0856706bc3448b4e80711c31ebc9931e.asturm@gentoo> (raw)
commit: 5af7e43d0856706bc3448b4e80711c31ebc9931e
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 12:12:49 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 12:15:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af7e43d
kde-apps/yakuake: Fix build with USE=-absolute-position
Closes: https://bugs.gentoo.org/904742
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/yakuake-23.04.0-missing-ifdef.patch | 32 ++++++++++++++++++++++
kde-apps/yakuake/yakuake-23.04.0.ebuild | 2 ++
2 files changed, 34 insertions(+)
diff --git a/kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch b/kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch
new file mode 100644
index 000000000000..aae30407060c
--- /dev/null
+++ b/kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch
@@ -0,0 +1,32 @@
+From 0901b2f27fdfb9092f7d56da2a9129fa4b5e1183 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 22 Apr 2023 14:10:34 +0200
+Subject: [PATCH] Add missing HAVE_KWAYLAND ifdef
+
+Follow-up to 91a90aa6f30e95d2927d9d089eb5c4f429677080
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ app/mainwindow.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp
+index 9f6dca0..6f21a21 100644
+--- a/app/mainwindow.cpp
++++ b/app/mainwindow.cpp
+@@ -933,10 +933,12 @@ void MainWindow::applyWindowProperties()
+ KWindowSystem::setState(winId(), NET::KeepAbove | NET::SkipTaskbar | NET::SkipPager);
+ }
+
++#if HAVE_KWAYLAND
+ if (m_isWayland && m_plasmaShellSurface) {
+ m_plasmaShellSurface->setSkipTaskbar(true);
+ m_plasmaShellSurface->setSkipSwitcher(true);
+ }
++#endif
+
+ KX11Extras::setOnAllDesktops(winId(), Settings::showOnAllDesktops());
+ KWindowEffects::enableBlurBehind(windowHandle(), m_sessionStack->wantsBlur());
+--
+2.40.0
+
diff --git a/kde-apps/yakuake/yakuake-23.04.0.ebuild b/kde-apps/yakuake/yakuake-23.04.0.ebuild
index 6ae55f80d4b7..ebae5522753a 100644
--- a/kde-apps/yakuake/yakuake-23.04.0.ebuild
+++ b/kde-apps/yakuake/yakuake-23.04.0.ebuild
@@ -47,6 +47,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${P}-missing-ifdef.patch" ) # bug 904742
+
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package absolute-position KF5Wayland)
next reply other threads:[~2023-04-22 12:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-22 12:15 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-26 11:01 [gentoo-commits] repo/gentoo:master commit in: kde-apps/yakuake/files/, kde-apps/yakuake/ Andreas Sturmlechner
2023-05-11 16:04 Andreas Sturmlechner
2023-01-05 18:03 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1682165702.5af7e43d0856706bc3448b4e80711c31ebc9931e.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox