diff --git a/recipes-lxqt/libfm-qt/files/0001-src-CMakeLists.txt-hard-code-xcb-link-target.patch b/recipes-lxqt/libfm-qt/files/0001-src-CMakeLists.txt-hard-code-xcb-link-target.patch new file mode 100644 index 00000000..9516a731 --- /dev/null +++ b/recipes-lxqt/libfm-qt/files/0001-src-CMakeLists.txt-hard-code-xcb-link-target.patch @@ -0,0 +1,33 @@ +From e8711b9b3c93085063b8ee7ac31a62e5860dcae3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Tue, 27 Sep 2016 00:42:15 +0200 +Subject: [PATCH] src/CMakeLists.txt: hard code xcb link target +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +FindXCB.cmake default drags in absolute path + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Andreas Müller +--- + src/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index f6ceea0..cc1ce27 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -112,7 +112,7 @@ target_link_libraries(${LIBFM_QT_LIBRARY_NAME} + ${LIBFM_LIBRARIES} + ${LIBMENUCACHE_LIBRARIES} + ${SYSTEM_LIBS_LIBRARIES} +- ${XCB_LIBRARIES} ++ xcb + ) + + # set libtool soname +-- +2.5.5 + diff --git a/recipes-lxqt/libfm-qt/libfm-qt_git.bb b/recipes-lxqt/libfm-qt/libfm-qt_git.bb index 6b080445..c3d2d266 100644 --- a/recipes-lxqt/libfm-qt/libfm-qt_git.bb +++ b/recipes-lxqt/libfm-qt/libfm-qt_git.bb @@ -6,9 +6,10 @@ REQUIRED_DISTRO_FEATURES = "x11" inherit lxqt pkgconfig distro_features_check -DEPENDS += "qtx11extras glib-2.0 libfm menu-cache" +DEPENDS += "qtx11extras glib-2.0 libfm menu-cache libxcb liblxqt" -SRCREV = "6f4782e12b9a1789a6d49e51e1f98e04ede2e896" -PV = "0.11.0" +SRC_URI += "file://0001-src-CMakeLists.txt-hard-code-xcb-link-target.patch" +SRCREV = "ff6beead85f37830c08a59592883b649ecda0733" +PV = "0.11.1" RRECOMMENDS_${PN} = "gvfs gvfsd-trash eject"