Drop Pango (unused) (#1251)

* Drop unused Pango dependency

* nix: explicitly depend on cairo (previously pulled via pango)

src/meson.build:4:0: ERROR: Dependency "cairo" not found, tried pkgconfig
This commit is contained in:
Jan Beich 2022-12-19 12:13:07 +00:00 committed by GitHub
parent e2ee8b9f20
commit 2f6b37e103
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 8 deletions

View file

@ -54,7 +54,7 @@ message(STATUS "Checking deps...")
find_package(Threads REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-server wayland-client wayland-cursor wayland-protocols cairo pango pangocairo libdrm egl xkbcommon libinput) # we do not check for wlroots, as we provide it ourselves
pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-server wayland-client wayland-cursor wayland-protocols cairo libdrm egl xkbcommon libinput) # we do not check for wlroots, as we provide it ourselves
file(GLOB_RECURSE SRCFILES "src/*.cpp")

View file

@ -6,6 +6,7 @@
pkg-config,
meson,
ninja,
cairo,
git,
hyprland-protocols,
libdrm,
@ -14,7 +15,6 @@
libxkbcommon,
mesa,
mount,
pango,
pciutils,
wayland,
wayland-protocols,
@ -62,11 +62,11 @@ in
buildInputs =
[
git
cairo
libdrm
libinput
libxkbcommon
mesa
pango
wayland
wayland-protocols
wayland-scanner

View file

@ -25,12 +25,10 @@ diff --git a/src/meson.build b/src/meson.build
index 5d64188..a676333 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -7,7 +7,7 @@ executable('Hyprland', src,
@@ -7,5 +7,5 @@ executable('Hyprland', src,
server_protos,
dependency('wayland-server'),
dependency('wayland-client'),
- wlroots.get_variable('wlroots'),
+ wlroots,
dependency('cairo'),
dependency('pango'),
dependency('pangocairo'),

View file

@ -9,8 +9,6 @@ executable('Hyprland', src,
dependency('wayland-client'),
wlroots.get_variable('wlroots'),
dependency('cairo'),
dependency('pango'),
dependency('pangocairo'),
dependency('libdrm'),
dependency('egl'),
dependency('xkbcommon'),