diff options
author | Yaroslav <[email protected]> | 2024-04-20 22:50:07 +0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-20 18:50:07 +0100 |
commit | a94534606412ec30620f68751382cea5b700ba8d (patch) | |
tree | 9519e69c1661d38b3fc1b925dbecd5a27e30d168 /nix | |
parent | ea47e8c92ae283c4b41be0aafbdad9b0701a1624 (diff) | |
download | Hyprland-a94534606412ec30620f68751382cea5b700ba8d.tar.gz Hyprland-a94534606412ec30620f68751382cea5b700ba8d.zip |
core: remove libsystemd dependency (#5660)
* remove libsystemd dependency
as per Lennart Poettering's advice:
https://github.com/systemd/systemd/issues/32028#issuecomment-2031366922
* fix naming for systemd helper functions
* rename vars according to code style
* Nix: update meson patch
---------
Co-authored-by: Mihai Fufezan <[email protected]>
Diffstat (limited to 'nix')
-rw-r--r-- | nix/patches/meson-build.patch | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/nix/patches/meson-build.patch b/nix/patches/meson-build.patch index 5827e5c3..eb1d3f9a 100644 --- a/nix/patches/meson-build.patch +++ b/nix/patches/meson-build.patch @@ -1,5 +1,5 @@ diff --git a/meson.build b/meson.build -index 1d2c7f9f..c5ef4e67 100644 +index 40883073..d8f2e536 100644 --- a/meson.build +++ b/meson.build @@ -33,20 +33,7 @@ if cpp_compiler.check_header('execinfo.h') @@ -24,7 +24,7 @@ index 1d2c7f9f..c5ef4e67 100644 add_project_arguments('-DNO_XWAYLAND', language: 'cpp') endif -@@ -69,8 +56,6 @@ if get_option('buildtype') == 'debug' +@@ -65,8 +52,6 @@ if get_option('buildtype') == 'debug' add_project_arguments('-DHYPRLAND_DEBUG', language: 'cpp') endif @@ -34,7 +34,7 @@ index 1d2c7f9f..c5ef4e67 100644 headers = globber.stdout().strip().split('\n') foreach file : headers diff --git a/src/meson.build b/src/meson.build -index 45701f5f..3505cefe 100644 +index 15c69552..327aa4fb 100644 --- a/src/meson.build +++ b/src/meson.build @@ -9,7 +9,7 @@ executable('Hyprland', src, @@ -46,7 +46,7 @@ index 45701f5f..3505cefe 100644 dependency('cairo'), dependency('hyprcursor'), dependency('hyprlang', version: '>= 0.3.2'), -@@ -17,11 +17,11 @@ executable('Hyprland', src, +@@ -17,10 +17,10 @@ executable('Hyprland', src, dependency('egl'), dependency('xkbcommon'), dependency('libinput'), @@ -54,7 +54,6 @@ index 45701f5f..3505cefe 100644 + dependency('xcb', required: get_option('xwayland')), backtrace_dep, epoll_dep, - systemd_dep, - udis86, + dependency('udis86'), |