lxqt-panel/lxqt-panel-xcb-1.12.patch

34 lines
1.1 KiB
Diff
Raw Normal View History

From 43d62a769773f5087c58f36ca043e998299e1487 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Wed, 1 Jun 2016 17:26:22 +0200
Subject: [PATCH] kbindicator-plugin: fix linking with libxcb-1.12
---
plugin-kbindicator/CMakeLists.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Index: lxqt-panel-0.10.0/plugin-kbindicator/CMakeLists.txt
===================================================================
--- lxqt-panel-0.10.0.orig/plugin-kbindicator/CMakeLists.txt
+++ lxqt-panel-0.10.0/plugin-kbindicator/CMakeLists.txt
@@ -38,7 +38,8 @@ if(XKB_COMMON_X11_FOUND)
message(STATUS "XkbCommon X11 was found")
include_directories(${XKB_COMMON_X11_INCLUDEDIR})
find_package(Qt5 COMPONENTS X11Extras Xml)
- pkg_check_modules(XCB_XCB xcb-xkb)
+ pkg_check_modules(XCB xcb)
+ pkg_check_modules(XCB_XKB xcb-xkb)
set(HEADERS
${HEADERS}
@@ -53,7 +54,8 @@ if(XKB_COMMON_X11_FOUND)
set(LIBRARIES
${LIBRARIES}
${XKB_COMMON_X11_LIBRARIES}
- ${XCB_XCB_LIBRARIES}
+ ${XCB_LIBRARIES}
+ ${XCB_XKB_LIBRARIES}
Qt5::Xml
)