Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:junknot
lxqt-notificationd
optional-wayland.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File optional-wayland.patch of Package lxqt-notificationd
diff -ruN lxqt-notificationd-2.0.1/CMakeLists.txt lxqt-notificationd-2.0.1.optional-wayland/CMakeLists.txt --- lxqt-notificationd-2.0.1/CMakeLists.txt 2024-05-04 13:55:18.000000000 -0400 +++ lxqt-notificationd-2.0.1.optional-wayland/CMakeLists.txt 2024-09-12 23:49:25.702333113 -0400 @@ -26,7 +26,7 @@ find_package(Qt6Widgets ${QT_MINIMUM_VERSION} REQUIRED) find_package(KF6WindowSystem ${KF6_MINIMUM_VERSION} REQUIRED) find_package(lxqt ${LXQT_MINIMUM_VERSION} REQUIRED) -find_package(LayerShellQt ${SHELLQT_MINIMUM_VERSION} REQUIRED) +find_package(LayerShellQt ${SHELLQT_MINIMUM_VERSION}) message(STATUS "Building with Qt${Qt6Core_VERSION}") # Patch Version diff -ruN lxqt-notificationd-2.0.1/src/CMakeLists.txt lxqt-notificationd-2.0.1.optional-wayland/src/CMakeLists.txt --- lxqt-notificationd-2.0.1/src/CMakeLists.txt 2024-05-04 13:55:18.000000000 -0400 +++ lxqt-notificationd-2.0.1.optional-wayland/src/CMakeLists.txt 2024-09-13 00:01:07.116382537 -0400 @@ -42,8 +42,13 @@ Qt6::DBus lxqt KF6::WindowSystem - LayerShellQtInterface ) +if (LAYERSHELLQT_FOUND) + add_definitions(-DUSE_LAYERSHELLQT) + target_link_libraries(lxqt-notificationd + LayerShellQtInterface + ) +endif() install(TARGETS lxqt-notificationd diff -ruN lxqt-notificationd-2.0.1/src/notificationarea.cpp lxqt-notificationd-2.0.1.optional-wayland/src/notificationarea.cpp --- lxqt-notificationd-2.0.1/src/notificationarea.cpp 2024-05-04 13:55:18.000000000 -0400 +++ lxqt-notificationd-2.0.1.optional-wayland/src/notificationarea.cpp 2024-09-12 23:56:36.022465665 -0400 @@ -31,8 +31,10 @@ #include <LXQt/Globals> #include <LXQt/Settings> #include "notificationarea.h" +#ifdef USE_LAYERSHELLQT #include <LayerShellQt/Shell> #include <LayerShellQt/Window> +#endif NotificationArea::NotificationArea(QWidget *parent) : QScrollArea(parent), @@ -189,6 +191,7 @@ void NotificationArea::setLayerShell() { +#ifdef USE_LAYERSHELLQT if (!isVisible() && QGuiApplication::platformName() == QStringLiteral("wayland")) { winId(); @@ -237,4 +240,5 @@ } } } +#endif }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor