mirror of
https://github.com/NickHu/sway
synced 2024-12-25 21:58:16 +01:00
Removed unused wlroots dependency for sway(bg|bar|msg|nag)
Also remove direct libm dependency where unused.
This commit is contained in:
parent
c040defd5f
commit
4b1eaaf731
7 changed files with 6 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -15,8 +15,7 @@ lib_sway_common = static_library(
|
|||
cairo,
|
||||
gdk_pixbuf,
|
||||
pango,
|
||||
pangocairo,
|
||||
wlroots
|
||||
pangocairo
|
||||
],
|
||||
include_directories: sway_inc
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -16,8 +16,7 @@ swaybar_deps = [
|
|||
pangocairo,
|
||||
rt,
|
||||
wayland_client,
|
||||
wayland_cursor,
|
||||
wlroots,
|
||||
wayland_cursor
|
||||
]
|
||||
if have_tray
|
||||
if systemd.found()
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -2,7 +2,7 @@ executable(
|
|||
'swaymsg',
|
||||
'main.c',
|
||||
include_directories: [sway_inc],
|
||||
dependencies: [jsonc, wlroots],
|
||||
dependencies: [jsonc],
|
||||
link_with: [lib_sway_common],
|
||||
install: true
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue