Skip to content

Commit

Permalink
Removed unused wlroots dependency for sway(bg|bar|msg|nag)
Browse files Browse the repository at this point in the history
Also remove direct libm dependency where unused.
  • Loading branch information
mstoeckl committed Jan 21, 2019
1 parent c040def commit 4b1eaaf
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 13 deletions.
3 changes: 1 addition & 2 deletions client/meson.build
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions common/meson.build
Expand Up @@ -15,8 +15,7 @@ lib_sway_common = static_library(
cairo,
gdk_pixbuf,
pango,
pangocairo,
wlroots
pangocairo
],
include_directories: sway_inc
)
2 changes: 1 addition & 1 deletion include/cairo.h
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions swaybar/meson.build
Expand Up @@ -16,8 +16,7 @@ swaybar_deps = [
pangocairo,
rt,
wayland_client,
wayland_cursor,
wlroots,
wayland_cursor
]
if have_tray
if systemd.found()
Expand Down
4 changes: 1 addition & 3 deletions swaybg/meson.build
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion swaymsg/meson.build
Expand Up @@ -2,7 +2,7 @@ executable(
'swaymsg',
'main.c',
include_directories: [sway_inc],
dependencies: [jsonc, wlroots],
dependencies: [jsonc],
link_with: [lib_sway_common],
install: true
)
2 changes: 0 additions & 2 deletions swaynag/meson.build
Expand Up @@ -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
Expand Down

0 comments on commit 4b1eaaf

Please sign in to comment.