Find a file
Sergei Trofimovich 996df87fca include/hyprutils/memory/SharedPtr.hpp: include missing <cstdint>
Without the change the build on upcoming gcc-16 fails as:

    [ 12%] Building CXX object CMakeFiles/hyprutils.dir/src/signal/Listener.cpp.o
    In file included from /build/source/./include/hyprutils/signal/Listener.hpp:5,
                     from /build/source/src/signal/Listener.cpp:1:
    /build/source/./include/hyprutils/memory/SharedPtr.hpp: In member function 'bool Hyprutils::Memory::CSharedPointer<T>::operator()(const Hyprutils::Memory::CSharedPointer<T>&, const Hyprutils::Memory::CSharedPointer<T>&) const':
    /build/source/./include/hyprutils/memory/SharedPtr.hpp:116:41: error: 'uintptr_t' does not name a type [-Wtemplate-body]
      116 |                 return reinterpret_cast<uintptr_t>(lhs.impl_) < reinterpret_cast<uintptr_t>(rhs.impl_);
          |                                         ^~~~~~~~~
2025-05-30 23:34:05 +01:00
.github/workflows CI: remove deprecated magic-nix-cache-action 2025-02-08 23:08:53 +02:00
include/hyprutils include/hyprutils/memory/SharedPtr.hpp: include missing <cstdint> 2025-05-30 23:34:05 +01:00
nix nix: add debug flag 2024-11-07 10:41:43 +02:00
src string: add ConstVarList 2025-05-07 17:26:37 +01:00
tests string: add ConstVarList 2025-05-07 17:26:37 +01:00
.clang-format utils: Initial Commit 2024-06-08 19:37:15 +02:00
.clang-tidy core: clang, clang-tidy fixes and comp options (#45) 2025-02-02 20:36:28 +01:00
.gitignore gitignore: add CMake residual files 2024-08-30 00:21:23 +03:00
CMakeLists.txt version: bump to 0.7.0 2025-04-30 02:16:55 +01:00
flake.lock flake.nix: gcc13 -> gcc14; flake.lock: update (#22) 2024-12-16 22:24:07 +01:00
flake.nix flake.nix: gcc13 -> gcc14; flake.lock: update (#22) 2024-12-16 22:24:07 +01:00
hyprutils.pc.in utils: Initial Commit 2024-06-08 19:37:15 +02:00
LICENSE Initial commit 2024-06-08 18:51:36 +02:00
README.md README: fix invalid getconf value 2024-11-22 15:11:21 +00:00
VERSION version: bump to 0.7.1 2025-05-07 17:27:05 +01:00

hyprutils

Hyprutils is a small C++ library for utilities used across the Hypr* ecosystem.

Stability

Hyprutils depends on the ABI stability of the stdlib implementation of your compiler. Sover bumps will be done only for hyprutils ABI breaks, not stdlib.

Building

git clone https://github.com/hyprwm/hyprutils.git
cd hyprutils/
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
sudo cmake --install build