aboutsummaryrefslogtreecommitdiffhomepage
path: root/meson.build
AgeCommit message (Collapse)Author
9 daysnix/meson: add re2 dependency (#8738)Austin Horstman
* nix/default: add re2 dependency * meson: add re2
2024-12-03core: move colorspace handling to oklab (#8635)Vaxry
* Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-12-02version: add link versions for other utils (#8619)Vaxry
--------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-11-14pointer: add drm dumb buffers for cursors (#8399)Vaxry
--------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-11-11meson: autodetect systemdMihai Fufezan
2024-11-02Systemd fixesPavel Solovev
Fix installation path, install the service only if the systemd option is enabled
2024-10-26Build with hyprland-session.service (#8251)izmyname
Co-authored-by: Mihai Fufezan <[email protected]>
2024-10-11internal: improve version query and define HYPRLAND_VERSION (#8034)Toni500github
2024-10-08protocols: Add support for hyprland-ctm-control-v1 (#8023)Vaxry
* initial ctm support * flake.lock: update * Meson: bump required versions and add ctm proto --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-09-27Meson: add tracy dependencyMihai Fufezan
2024-09-27Meson: try to find udis86 through pkgconfig, fallback to subprojectMihai Fufezan
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.
2024-09-19Meson: pass AQUAMARINE_VERSION argumentMihai Fufezan
2024-09-11Meson: formatMihai Fufezan
2024-08-09cursormgr: add a new setting to sync gsettings (#7253)Tom Englund
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 .
2024-08-08core: Move to C++26 and use native_handle to CLOEXEC the debug fd (#7219)Vaxry
Requires GCC >= 14 / Clang >= 18 --------- Co-authored-by: Mihai Fufezan <[email protected]>
2024-08-04CMake, Meson: install config and wallpapers to DATADIR/hyprMihai Fufezan
OpenGL: get wallpapers dir from DATAROOTDIR
2024-07-21CMake, Meson, Nix: replace props.json with VERSIONMihai Fufezan
2024-07-21Core: Move to aquamarine (#6608)Vaxry
Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Jan Beich <[email protected]> Co-authored-by: vaxerski <[email protected]> Co-authored-by: UjinT34 <[email protected]> Co-authored-by: Tom Englund <[email protected]> Co-authored-by: Ikalco <[email protected]> Co-authored-by: diniamo <[email protected]>
2024-05-27meson: add more xcb-* dependencies after addd3e7f1aebJan Beich
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)
2024-05-21build: update meson, cmake setupgiskard
- meson . fix run_command() check warning . drop lines for compatability, as it's already using c++23 - cmake . generate `compile_commands.json` by default . position independent build: __FILE__
2024-05-12Meson: fix CflagsMihai Fufezan
2024-04-20core: remove libsystemd dependency (#5660)Yaroslav
* 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]>
2024-04-15build: Unbreak build on FreeBSD by adjusting dependencies (#5595)Jan Beich
* 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
2024-04-12Nix & Meson: switch to wlroots-hyprlandMihai Fufezan
2023-12-07hyprpm: Add hyprpm, a Hyprland Plugin Manager (#4072)Vaxry
2023-10-19meson: generate version.h before install_headers (#3612)memchr
Otherwise, meson install would not install version.h as a header in a clean build.
2023-10-11build: guard execinfo.h via build systems (#3547)Vaxry
* guard execinfo via cmake * libexecinfo -> execinfo macro name * meson: add execinfo check * move check in cmake up --------- Co-authored-by: Mihai Fufezan <[email protected]>
2023-10-10internal: better versioning (#3543)Vaxry
* better versioning * meson: better versioning * nix: better versioning --------- Co-authored-by: Mihai Fufezan <[email protected]>
2023-09-17wlroots: disable wlr vulkan supportvaxerski
Hyprland will never use vulkan so this is completely redundant
2023-05-16meson & nix: install wlroots headers (#2287)Mihai Fufezan
2023-04-27Meson: add subdirs to pkg-config fileMihai Fufezan
2023-04-27Plugin header overhaul (#2087)Ching Pei Yang
* meson: install headers * Meson/CMake: add pkg-config file for headers * makefile: install headers and pkgconfig * CMake: move protocols to cmake Co-authored-by: Ching Pei Yang <[email protected]> --------- Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: vaxerski <[email protected]>
2023-03-27Fix nix build optionsOliver Ni
2023-03-15Nix: fix meson patch againMihai Fufezan
2023-02-27Plugin System (#1590)Vaxry
--------- Co-authored-by: Mihai Fufezan <[email protected]>
2023-02-20Unbreak CrashReporter on FreeBSD (#1589)Jan Beich
2023-02-04meson: build in release by defaultMihai Fufezan
2023-01-06Build: use props file for versioningMihai Fufezan
2023-01-06Nix & meson: 0.19.2 -> 0.20.0Mihai Fufezan
2023-01-05add systemd support (#1253)jrun
* 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 <[email protected]> * nix: add withSystemd flag Signed-off-by: Paymon MARANDI <[email protected]> Co-authored-by: Mihai Fufezan <[email protected]> Co-authored-by: Vaxerski <[email protected]>
2022-12-22Nix & meson: 0.18.0 -> 0.19.2Rens Porre
2022-11-25Nix & meson: 0.17.0 -> 0.18.0Mihai Fufezan
2022-10-31Nix & meson: 0.16.0 -> 0.17.0Mihai Fufezan
Nix: make xwayland dependencies optional
2022-10-22meson.build: use sh instead of bashwael
2022-10-18Nix & meson: 0.15.3 -> 0.16.0Mihai Fufezan
2022-10-15Nix & meson: 0.15.0beta -> 0.15.3betaMihai Fufezan
Nix: remove merged libdrm update
2022-10-04Nix & meson: 0.14.0 -> 0.15.0Mihai Fufezan
2022-09-22Nix & meson: bump to 0.14.0Mihai Fufezan
2022-08-31Nix & meson: 0.11.1 -> 0.12.1Mihai Fufezan
flake: add commit to wlroots version
2022-08-26nix & meson: update version to 0.11.1Mihai Fufezan