From 462390089827952303a8d98ff5ae552d7d93b3d0 Mon Sep 17 00:00:00 2001 From: Adam Mizerski Date: Sun, 5 Nov 2017 20:19:38 +0100 Subject: [PATCH 1/2] Dbus must be at least version 1.10 Function dbus_message_iter_get_element_count is available since 1.10. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf373280..dc521570 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ find_package(Cairo REQUIRED) find_package(Pango REQUIRED) find_package(GdkPixbuf) find_package(PAM) -find_package(DBus) +find_package(DBus 1.10) find_package(LibInput REQUIRED) From e677888b620d7e04b640b2f104161e2d1d28607c Mon Sep 17 00:00:00 2001 From: Adam Mizerski Date: Sun, 5 Nov 2017 20:24:57 +0100 Subject: [PATCH 2/2] Add dbus info to readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 2c585791..29e8a674 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ Install dependencies: * cairo * gdk-pixbuf2 * * pam ** +* dbus >= 1.10 *** * imagemagick (required for image capture with swaygrab) * ffmpeg (required for video capture with swaygrab) @@ -73,6 +74,8 @@ _\*Only required for swaybar, swaybg, and swaylock_ _\*\*Only required for swaylock_ +_\*\*\*Only required for tray support_ + Run these commands: mkdir build