Commit graph

21 commits

Author SHA1 Message Date
Gwilherm Folliot
e4035e6808
WIP: input capture 2024-10-25 17:03:11 +02:00
Vaxry
5c72a7fea1
core: move to sdbus-cpp2 (#278)
* core: move to sdbus-cpp2

* oopsie LMAO

* thing

* nix/overlays: add sdbus overlay

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-10-22 18:45:24 +01:00
15932f0f9e core: add --version and improve --help 2024-09-21 16:45:23 +01:00
Vaxry
eb3f3d9854
core: Move to hyprwayland-scanner (#260)
* move to hw-s
* hyprland-share-picker: add missing sources to meson, format CMake
* CMake: bump hw-s version
* CMake: fix protocolnew external protos
* CMake: get wayland.xml from wayland-scanner
* Nix: add missing deps
* Meson: use hw-s for protocols, add hyprutils

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-09-20 18:01:12 +01:00
André Silva
2425e8f541 CMakeLists: just search for the wayland-scanner binary 2024-09-01 18:18:52 +03:00
0dd9af698b
CMake: remove wayland-scanner from deps
Removed because of error:

> Imported target "PkgConfig::deps" includes non-existent path
> "/nix/store/0ikl83z4h69imxkwsly3hcm424f7wi7j-wayland-scanner-1.23.0-dev/include"
> in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
> * The path was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and references files it does not
> provide.
2024-09-01 18:12:36 +03:00
5555f467f6
CMake: fmt, require pw>=1.1.82 2024-07-23 20:17:29 +03:00
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
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