Removed unused wlroots dependency for sway(bg|bar|msg|nag)

Also remove direct libm dependency where unused.
This commit is contained in:
M Stoeckl 2019-01-21 13:01:09 -05:00
parent c040defd5f
commit 4b1eaaf731
7 changed files with 6 additions and 13 deletions

View file

@ -8,8 +8,7 @@ lib_sway_client = static_library(
gdk_pixbuf,
pango,
pangocairo,
wlroots,
wayland_client,
wayland_client
],
link_with: [lib_sway_common],
include_directories: sway_inc

View file

@ -15,8 +15,7 @@ lib_sway_common = static_library(
cairo,
gdk_pixbuf,
pango,
pangocairo,
wlroots
pangocairo
],
include_directories: sway_inc
)

View file

@ -4,7 +4,7 @@
#include "config.h"
#include <stdint.h>
#include <cairo/cairo.h>
#include <wlr/types/wlr_output.h>
#include <wayland-client-protocol.h>
#if HAVE_GDK_PIXBUF
#include <gdk-pixbuf/gdk-pixbuf.h>
#endif

View file

@ -16,8 +16,7 @@ swaybar_deps = [
pangocairo,
rt,
wayland_client,
wayland_cursor,
wlroots,
wayland_cursor
]
if have_tray
if systemd.found()

View file

@ -7,11 +7,9 @@ executable(
client_protos,
gdk_pixbuf,
jsonc,
math,
pango,
pangocairo,
wayland_client,
wlroots,
wayland_client
],
link_with: [lib_sway_common, lib_sway_client],
install: true

View file

@ -2,7 +2,7 @@ executable(
'swaymsg',
'main.c',
include_directories: [sway_inc],
dependencies: [jsonc, wlroots],
dependencies: [jsonc],
link_with: [lib_sway_common],
install: true
)

View file

@ -11,12 +11,10 @@ executable(
cairo,
client_protos,
gdk_pixbuf,
math,
pango,
pangocairo,
wayland_client,
wayland_cursor,
wlroots,
],
link_with: [lib_sway_common, lib_sway_client],
install: true