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
|
@ -8,8 +8,7 @@ lib_sway_client = static_library(
|
||||||
gdk_pixbuf,
|
gdk_pixbuf,
|
||||||
pango,
|
pango,
|
||||||
pangocairo,
|
pangocairo,
|
||||||
wlroots,
|
wayland_client
|
||||||
wayland_client,
|
|
||||||
],
|
],
|
||||||
link_with: [lib_sway_common],
|
link_with: [lib_sway_common],
|
||||||
include_directories: sway_inc
|
include_directories: sway_inc
|
||||||
|
|
|
@ -15,8 +15,7 @@ lib_sway_common = static_library(
|
||||||
cairo,
|
cairo,
|
||||||
gdk_pixbuf,
|
gdk_pixbuf,
|
||||||
pango,
|
pango,
|
||||||
pangocairo,
|
pangocairo
|
||||||
wlroots
|
|
||||||
],
|
],
|
||||||
include_directories: sway_inc
|
include_directories: sway_inc
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <cairo/cairo.h>
|
#include <cairo/cairo.h>
|
||||||
#include <wlr/types/wlr_output.h>
|
#include <wayland-client-protocol.h>
|
||||||
#if HAVE_GDK_PIXBUF
|
#if HAVE_GDK_PIXBUF
|
||||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -16,8 +16,7 @@ swaybar_deps = [
|
||||||
pangocairo,
|
pangocairo,
|
||||||
rt,
|
rt,
|
||||||
wayland_client,
|
wayland_client,
|
||||||
wayland_cursor,
|
wayland_cursor
|
||||||
wlroots,
|
|
||||||
]
|
]
|
||||||
if have_tray
|
if have_tray
|
||||||
if systemd.found()
|
if systemd.found()
|
||||||
|
|
|
@ -7,11 +7,9 @@ executable(
|
||||||
client_protos,
|
client_protos,
|
||||||
gdk_pixbuf,
|
gdk_pixbuf,
|
||||||
jsonc,
|
jsonc,
|
||||||
math,
|
|
||||||
pango,
|
pango,
|
||||||
pangocairo,
|
pangocairo,
|
||||||
wayland_client,
|
wayland_client
|
||||||
wlroots,
|
|
||||||
],
|
],
|
||||||
link_with: [lib_sway_common, lib_sway_client],
|
link_with: [lib_sway_common, lib_sway_client],
|
||||||
install: true
|
install: true
|
||||||
|
|
|
@ -2,7 +2,7 @@ executable(
|
||||||
'swaymsg',
|
'swaymsg',
|
||||||
'main.c',
|
'main.c',
|
||||||
include_directories: [sway_inc],
|
include_directories: [sway_inc],
|
||||||
dependencies: [jsonc, wlroots],
|
dependencies: [jsonc],
|
||||||
link_with: [lib_sway_common],
|
link_with: [lib_sway_common],
|
||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
|
|
|
@ -11,12 +11,10 @@ executable(
|
||||||
cairo,
|
cairo,
|
||||||
client_protos,
|
client_protos,
|
||||||
gdk_pixbuf,
|
gdk_pixbuf,
|
||||||
math,
|
|
||||||
pango,
|
pango,
|
||||||
pangocairo,
|
pangocairo,
|
||||||
wayland_client,
|
wayland_client,
|
||||||
wayland_cursor,
|
wayland_cursor,
|
||||||
wlroots,
|
|
||||||
],
|
],
|
||||||
link_with: [lib_sway_common, lib_sway_client],
|
link_with: [lib_sway_common, lib_sway_client],
|
||||||
install: true
|
install: true
|
||||||
|
|
Loading…
Reference in a new issue