Commit Graph

14 Commits

Author SHA1 Message Date
Yaroslav 91e48d6acd
core: Small fixes (#215)
* fix build warnings

* properly generate wayland protocols on rebuild

* make systemd service installation optional
2024-05-21 12:16:37 +01:00
Pavel Solovev 6a5de92769 cmake: Don't install sdbus-cpp files 2024-01-07 22:30:50 +02:00
Pavel Solovev 24fa87b939 Cmake: Do not use CMAKE_INSTALL_LIBDIR for the systemd service
In some distros CMAKE_INSTALL_LIBDIR is lib64, but systemd services are always in lib (not lib64)
2024-01-07 22:30:50 +02:00
Mihai Fufezan 1c802128f6
CMake: fix configure_file replacement 2024-01-04 22:34:27 +02:00
Mihai Fufezan 86a94c3e4e
CMake: include GNUInstallDirs 2024-01-04 20:13:20 +02:00
Mihai Fufezan df8c154f57
CMake: properly choose pkg-config or submodule sdbus 2024-01-04 19:48:43 +02:00
Mihai Fufezan c0b606460a
CMake: add back -Wno-address-of-temporary 2024-01-04 19:22:30 +02:00
Mihai Fufezan 21d216ed7f
CMake: get rid of Makefile and Ninja (#154)
* CMake: get rid of Makefile

* Nix: build using CMake
2024-01-04 16:20:11 +01:00
Mihai Fufezan f46cff1df2
CMake: sdbus through pkg-config, fallback to subproject 2024-01-03 23:43:01 +02:00
Vaxry c5b69eb5b5 config: add a config with hyprlang 2024-01-03 12:59:40 +01:00
Rudolchr 8b2183b3a5
cmakelists: add -Wno-address-of-temporary 2023-11-30 10:24:14 +00:00
Jan Beich 54b5467ec1
build: Unbreak build on FreeBSD (#98)
* helpers: add missing header after 9dfb9e125b

src/helpers/MiscFunctions.cpp: In function 'void addHyprlandNotification(const std::string&, float, const std::string&, const std::string&)':
src/helpers/MiscFunctions.cpp:24:9: error: 'fork' was not declared in this scope
   24 |     if (fork() == 0)
      |         ^~~~
src/helpers/MiscFunctions.cpp:25:9: error: 'execl' was not declared in this scope
   25 |         execl("/bin/sh", "/bin/sh", "-c", CMD.c_str(), nullptr);
      |         ^~~~~

* build: add missing dependency for libc++ after 2f48e65503

ld.lld: error: undefined symbol: pthread_create
>>> referenced by PortalManager.cpp
>>>               src/xdg-desktop-portal-hyprland.p/core_PortalManager.cpp.o:(CPortalManager::startEventLoop())
>>> referenced by PortalManager.cpp
>>>               src/xdg-desktop-portal-hyprland.p/core_PortalManager.cpp.o:(CPortalManager::startEventLoop())
2023-09-18 20:00:21 +01:00
Jan Beich 676571b2c0
build: drop unused dependencies after 022469529c (#84) 2023-09-08 23:38:55 +01:00
Vaxry 022469529c
Woo! Full rewrite, v1.0 release. (#78) 2023-09-06 20:36:48 +02:00