summaryrefslogtreecommitdiff
path: root/src/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* meson: dropMihai Fufezan2025-11-171-58/+0
|
* input: add sticky option for drag_lock (#10702)may2025-06-151-1/+1
| | | | | | | | * allow configuring the sticky option for `drag_lock` * enable sticky drag_lock by default as recommended by libinput recommended here: https://lists.freedesktop.org/archives/wayland-devel/2024-November/043860.html
* deps: add libinotify-kqueue on BSDs after 8dd2cd41fb4c (#9197)Jan Beich2025-01-271-0/+1
| | | | | src/config/ConfigWatcher.cpp:2:10: fatal error: 'sys/inotify.h' file not found 2 | #include <sys/inotify.h> | ^~~~~~~~~~~~~~~
* Meson: properly install 'hyprland' symlink (#9091)Mihai Fufezan2025-01-181-0/+6
|
* nix/meson: add re2 dependency (#8738)Austin Horstman2024-12-161-0/+1
| | | | | * nix/default: add re2 dependency * meson: add re2
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-031-0/+1
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* version: add link versions for other utils (#8619)Vaxry2024-12-021-3/+3
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* Meson: add tracy dependencyMihai Fufezan2024-09-271-0/+1
|
* Meson: try to find udis86 through pkgconfig, fallback to subprojectMihai Fufezan2024-09-271-1/+5
| | | | | | Only the fork provides a .pc file, so there's no risk of linking the wrong lib version. If pkg-config can't find it (most cases), fall back to using the subproject through the wrap file.
* Internal: move to Mat3x3 from hyprutils (#7902)Vaxry2024-09-251-1/+1
| | | | | | | | | * Meson: require hyprutils >= 0.2.3 * flake.lock: update hyprutils --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* Meson: pass AQUAMARINE_VERSION argumentMihai Fufezan2024-09-191-1/+1
|
* Meson: formatMihai Fufezan2024-09-111-2/+4
|
* cursormgr: add a new setting to sync gsettings (#7253)Tom Englund2024-08-091-0/+1
| | | | | | cursor:sync_gsettings_theme is set to default true and if enabled it will now sync xcursor theme loading with gsettings if it can, meaning CSD clients will now also change to the appropiate theme upon start and hyprctl setcursor THEME SIZE .
* xdg-shell: completely rewrite xdg-positioner (#7067)outfoxxed2024-07-271-1/+1
| | | This implementation actually works.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-2/+3
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* config: use hyprutils helper (#6891)Mihai Fufezan2024-07-161-2/+2
| | | | | | | | | | | * flake.lock: update nix/overlays: remove xwayland overlay (merged upstream) * config: use hyprutils helper * flake.lock: update * CMake & Meson: update required versions
* core: move to hyprutils for utils (#6385)Vaxry2024-06-111-0/+1
| | | | | | | | | | | | | * core: move to hyprutils for utils Nix: add hyprutils dep * Meson: add hyprutils dep * flake.lock: update --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* meson: add more xcb-* dependencies after addd3e7f1aebJan Beich2024-05-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld: error: undefined symbol: xcb_icccm_get_wm_hints_from_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::readProp(CSharedPointer<CXWaylandSurface>, unsigned int, xcb_get_property_reply_t*)) ld: error: undefined symbol: xcb_icccm_get_wm_size_hints_from_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::readProp(CSharedPointer<CXWaylandSurface>, unsigned int, xcb_get_property_reply_t*)) ld: error: undefined symbol: xcb_errors_get_name_for_major_code >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::handleError(xcb_value_error_t*)) ld: error: undefined symbol: xcb_errors_get_name_for_minor_code >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::handleError(xcb_value_error_t*)) ld: error: undefined symbol: xcb_errors_get_name_for_error >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::handleError(xcb_value_error_t*)) ld: error: undefined symbol: xcb_xfixes_id >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_composite_id >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_res_id >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_xfixes_query_version >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_xfixes_query_version_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_res_query_version >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_res_query_version_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::gatherResources()) ld: error: undefined symbol: xcb_render_query_pict_formats >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::getRenderFormat()) ld: error: undefined symbol: xcb_render_query_pict_formats_reply >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::getRenderFormat()) ld: error: undefined symbol: xcb_render_query_pict_formats_formats_iterator >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::getRenderFormat()) ld: error: undefined symbol: xcb_render_pictforminfo_next >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::getRenderFormat()) ld: error: undefined symbol: xcb_errors_context_new >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::CXWM()) ld: error: undefined symbol: xcb_composite_redirect_subwindows >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::CXWM()) ld: error: undefined symbol: xcb_xfixes_select_selection_input >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::initSelection()) ld: error: undefined symbol: xcb_render_create_picture >>> referenced by XWM.cpp >>> src/Hyprland.p/xwayland_XWM.cpp.o:(CXWM::setCursor(unsigned char*, unsigned int, Vector2D const&, Vector2D const&)) ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
* Meson & Nix: add libuuid depMihai Fufezan2024-04-231-1/+2
|
* core: remove libsystemd dependency (#5660)Yaroslav2024-04-201-1/+0
| | | | | | | | | | | | | | | | * 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 <mihai@fufexan.net>
* build: Unbreak build on FreeBSD by adjusting dependencies (#5595)Jan Beich2024-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deps: add epoll-shim for some BSDs after 863c7b6072d6 ld: error: undefined symbol: timerfd_create >>> referenced by EventLoopManager.cpp >>> src/Hyprland.p/managers_eventLoop_EventLoopManager.cpp.o:(CEventLoopManager::CEventLoopManager()) ld: error: undefined symbol: timerfd_settime >>> referenced by EventLoopManager.cpp >>> src/Hyprland.p/managers_eventLoop_EventLoopManager.cpp.o:(CEventLoopManager::nudgeTimers()) See also https://github.com/freebsd/freebsd-src/commit/af93fea71038 https://github.com/netbsd/src/commit/75f1bc6655cf * deps: drop unused xcb-image after 45945a3e7d44 $ pkg install <hyprland dependencies> $ pkg install meson jq `pkg rquery %dn wlroots` hwdata $ gmake all [...] -- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-image;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh' -- Package 'xcb-image' not found CMake Error at /usr/local/share/cmake/Modules/FindPkgConfig.cmake:619 (message): The following required packages were not found: - xcb-image Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal) CMakeLists.txt:177 (pkg_check_modules) See also https://github.com/swaywm/wlroots/commit/ae7c3f3d1c56
* internal: Support libhyprcursor (#5009)Vaxry2024-03-091-0/+1
| | | | | | | woo --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* meson: Sort input file list (#3550)Bernhard M. Wiedemann2023-10-111-1/+1
| | | | | | | | | so that hyprland builds in a reproducible way in spite of non-deterministic filesystem readdir order. See https://reproducible-builds.org/ for why this is good. This patch was done while working on reproducible builds for openSUSE. Co-authored-by: Bernhard M. Wiedemann <bernhard+gitcommit lsmod.de>
* build: use PCH to reduce compile time (#3095)memchr2023-09-041-0/+1
|
* meson: add pango depsvaxerski2023-03-201-1/+3
|
* Meson: add rdynamic ld flagMihai Fufezan2023-03-181-0/+1
|
* Plugin System (#1590)Vaxry2023-02-271-0/+1
| | | | | --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Unbreak CrashReporter on FreeBSD (#1589)Jan Beich2023-02-201-0/+1
|
* add systemd support (#1253)jrun2023-01-051-0/+1
| | | | | | | | | | | | | | | | | | | * add systemd support motivation for this is is proper ordering of related/bound/required services to Hyprland (e.g. swaybg) that would need to have a compositor ready. this could possibly be a build-time option of course. see also: example/ files for example of services Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com> * nix: add withSystemd flag Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com> Co-authored-by: Mihai Fufezan <fufexan@protonmail.com> Co-authored-by: Vaxerski <vaxry@vaxry.net>
* Drop Pango (unused) (#1251)Jan Beich2022-12-191-2/+0
| | | | | | | * 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
* meson: explicitly specify path for find(1) (#971)Jan Beich2022-11-071-1/+1
| | | src/meson.build:1:0: ERROR: Command "/usr/bin/find -name *.cpp" failed with status 1.
* meson: use gl instead of GLwael2022-10-311-1/+1
| | | `/usr/lib/pkgconfig/gl.pc`
* meson: Fallback to 'opengl' when 'GL' is not found.Hilton Chain2022-10-281-1/+1
| | | | | | | | | This patch adds 'opengl' as a fallback to 'GL' for dependency lookup, to link with libglvnd configured without X11 support. For OpenGL, libglvnd provides two pkg-config files: `gl.pc' with GLX support while `opengl.pc' not. When building without X11 support, the former won't be installed.
* meson: added wayland dependencies to main executableFlorian "sp1rit"​2022-06-161-0/+2
|
* moved wlroots/xwayland definitions to the main meson fileFlorian "sp1rit"​2022-06-161-13/+0
| | | | | | prevents build-failure when xwayland is disabled to to add_project_arguments('-DNO_XWAYLAND', language: 'cpp') beeing called after the required wayland protocols have been built.
* replaced source list with globber scriptFlorian "sp1rit"​2022-06-161-43/+2
| | | | | | See: - https://mesonbuild.com/FAQ.html#why-cant-i-specify-target-files-with-a-wildcard - https://github.com/vaxerski/Hyprland/pull/205#issuecomment-1154158918
* Added meson buildfilesFlorian "sp1rit"​2022-06-161-0/+77
this makes for a far better experience in combination with wlroots, since that whole makefile mess is not required. Additionaly, handling of wayland protocol sources is also slightly better, but could be improved with mesons inbuilt wayland module. To build Hyprland using meson: meson _build -Ddefault_library=static ninja -C _build ninja -C _build install