summaryrefslogtreecommitdiff
path: root/user/lxqt-notificationd/revert-kwindowsystem-bump.patch
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-26 03:05:53 -0800
committerA. Wilcox <awilcox@wilcox-tech.com>2023-11-27 09:59:05 +0000
commit8696cb27a42362b19872a9e11a3494f78b18a2ff (patch)
treea92c69e2d6d302330687b9e73c8ce6ddae75a384 /user/lxqt-notificationd/revert-kwindowsystem-bump.patch
parent0018d98ccbd93db845e9e47f1f6b4164a13adce4 (diff)
downloadpackages-8696cb27a42362b19872a9e11a3494f78b18a2ff.tar.gz
packages-8696cb27a42362b19872a9e11a3494f78b18a2ff.tar.bz2
packages-8696cb27a42362b19872a9e11a3494f78b18a2ff.tar.xz
packages-8696cb27a42362b19872a9e11a3494f78b18a2ff.zip
user/lxqt-notificationsd: upgrade to 1.4.0
The patch accompanying this upgrade should be removed when kwindowsystem is bumped.
Diffstat (limited to 'user/lxqt-notificationd/revert-kwindowsystem-bump.patch')
-rw-r--r--user/lxqt-notificationd/revert-kwindowsystem-bump.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/lxqt-notificationd/revert-kwindowsystem-bump.patch b/user/lxqt-notificationd/revert-kwindowsystem-bump.patch
new file mode 100644
index 000000000..844e6596f
--- /dev/null
+++ b/user/lxqt-notificationd/revert-kwindowsystem-bump.patch
@@ -0,0 +1,32 @@
+diff '--color=auto' -Nurd lxqt-notificationd-1.4.0/CMakeLists.txt lxqt-notificationd-1.4.0.new/CMakeLists.txt
+--- lxqt-notificationd-1.4.0/CMakeLists.txt 2023-11-05 03:44:38.000000000 -0800
++++ lxqt-notificationd-1.4.0.new/CMakeLists.txt 2023-11-26 03:02:51.780473894 -0800
+@@ -16,7 +16,7 @@
+ option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
+ option(LXQT_NOTIFICATION_BUILD_TESTS "Build LXQt Notification tests" OFF)
+
+-set(KF5_MINIMUM_VERSION "5.101.0")
++set(KF5_MINIMUM_VERSION "5.36.0")
+ set(LXQT_MINIMUM_VERSION "1.4.0")
+ set(QT_MINIMUM_VERSION "5.15.0")
+
+diff '--color=auto' -Nurd lxqt-notificationd-1.4.0/src/notification.cpp lxqt-notificationd-1.4.0.new/src/notification.cpp
+--- lxqt-notificationd-1.4.0/src/notification.cpp 2023-11-05 03:44:38.000000000 -0800
++++ lxqt-notificationd-1.4.0.new/src/notification.cpp 2023-11-26 03:03:40.300079116 -0800
+@@ -33,7 +33,6 @@
+ #include <QDebug>
+ #include <XdgIcon>
+ #include <KWindowSystem/KWindowSystem>
+-#include <KWindowSystem/KX11Extras>
+ #include <QMouseEvent>
+ #include <QPushButton>
+ #include <QStyle>
+@@ -327,7 +326,7 @@
+ return;
+ }
+
+- const auto ids = KX11Extras::stackingOrder();
++ const auto ids = KWindowSystem::stackingOrder();
+ for (const WId &i : ids)
+ {
+ KWindowInfo info = KWindowInfo(i, NET::WMName | NET::WMVisibleName);