Package Details: hyprcursor-git 0.1.8.r0.gcab47461-1

Git Clone URL: https://aur.archlinux.org/hyprcursor-git.git (read-only, click to copy)
Package Base: hyprcursor-git
Description: The hyprland cursor format, library and utilities
Upstream URL: https://github.com/hyprwm/hyprcursor
Licenses: BSD-3-Clause
Conflicts: hyprcursor
Provides: hyprcursor, libhyprcursor.so
Submitter: alba4k
Maintainer: alba4k (Vaxry)
Last Packager: alba4k
Votes: 4
Popularity: 0.70
First Submitted: 2024-03-07 18:46 (UTC)
Last Updated: 2024-04-26 13:24 (UTC)

Required by (14)

Sources (1)

Latest Comments

musta_ruhtinas commented on 2024-04-26 09:12 (UTC) (edited on 2024-04-26 09:13 (UTC) by musta_ruhtinas)

Apparently tomlplusplus is also needed to build.


CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:634 (message):
  The following required packages were not found:

   - tomlplusplus

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:862 (_pkg_check_modules_internal)
  CMakeLists.txt:23 (pkg_check_modules)

asgard commented on 2024-04-08 21:35 (UTC)

error when build with clang:


[ 35%] Building CXX object CMakeFiles/hyprcursor.dir/libhyprcursor/hyprcursor.cpp.o
/home/samson/.cache/paru/clone/hyprcursor-git/src/hyprcursor/libhyprcursor/hyprcursor.cpp:338:34: error: no member named 'round' in namespace 'std'
  338 |         data[i]->hotspotX = std::round(hotX * (float)data[i]->size);
      |                             ~~~~~^
/home/samson/.cache/paru/clone/hyprcursor-git/src/hyprcursor/libhyprcursor/hyprcursor.cpp:339:34: error: no member named 'round' in namespace 'std'
  339 |         data[i]->hotspotY = std::round(hotY * (float)data[i]->size);
      |                             ~~~~~^
2 errors generated.
make[2]: *** [CMakeFiles/hyprcursor.dir/build.make:90: CMakeFiles/hyprcursor.dir/libhyprcursor/hyprcursor.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:848: CMakeFiles/hyprcursor.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

alerque commented on 2024-03-19 13:24 (UTC) (edited on 2024-03-19 13:24 (UTC) by alerque)

-provides=("${_pkgname}")
+provides=("${_pkgname}=$pkgver" "lib$_pkgname.so")

Luffy879 commented on 2024-03-17 08:33 (UTC)

In case the Package dosent install for someone with /usr/lib64 already exists in filesystem, I at least fixed it by changing -DC_INSTALL_PREFIX:PATH from /usr to /usr/lib

alekgr commented on 2024-03-11 23:21 (UTC)

@alba2k thank you,

Looks like they fixed with a new commit, complies now

alba4k commented on 2024-03-11 22:13 (UTC)

looks like a problem with the upstream, not the aur package. report it to vaxry on https://github.com/hyprwm/hyprcursor/issues

alekgr commented on 2024-03-11 21:52 (UTC)

looks like its not building for me

11%] Building CXX object CMakeFiles/hyprcursor.dir/libhyprcursor/hyprcursor.cpp.o /home/alek/.cache/paru/clone/hyprcursor-git/src/hyprcursor/libhyprcursor/hyprcursor.cpp: In member function ‘void Hyprcursor::CHyprcursorManager::cursorSurfaceStyleDone(const Hyprcursor::SCursorStyleInfo&)’: /home/alek/.cache/paru/clone/hyprcursor-git/src/hyprcursor/libhyprcursor/hyprcursor.cpp:401:63: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = SCursorShape; _Dp = std::default_delete<SCursorShape>]’ 401 | std::erase_if(impl->loadedShapes[shape.get()].images, info, shape { | ^~ 402 | const bool isSVG = shape->shapeType == SHAPE_SVG; | 403 | const bool isArtificial = e->artificial; |
404 | |
405 | // clean artificial rasters made for this | ~
406 | if (isArtificial && e->side == info.size) | ~
407 | return true; |
408 | |
409 | // clean invalid non-svg rasters |
410 | if (!isSVG && e->side == 0) | ~
411 | return true; |

412 | |
413 | return false; |
~
414 | }); | ~
In file included from /usr/include/c++/13.2.1/memory:78, from /home/alek/.cache/paru/clone/hyprcursor-git/src/hyprcursor/libhyprcursor/internalSharedTypes.hpp:4, from /home/alek/.cache/paru/clone/hyprcursor-git/src/hyprcursor/libhyprcursor/hyprcursor.cpp:2: /usr/include/c++/13.2.1/bits/unique_ptr.h:522:7: note: declared here 522 | unique_ptr(const unique_ptr&) = delete; | ^
~ /home/alek/.cache/paru/clone/hyprcursor-git/src/hyprcursor/libhyprcursor/hyprcursor.cpp: In function ‘cairo_status_t readPNG(void, unsigned char, unsigned int)’: /home/alek/.cache/paru/clone/hyprcursor-git/src/hyprcursor/libhyprcursor/hyprcursor.cpp:511:36: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 511 | std::memcpy(output, DATA->data + DATA->readNeedle, toRead); | ~^~ make[2]: *** [CMakeFiles/hyprcursor.dir/build.make:76: CMakeFiles/hyprcursor.dir/libhyprcursor/hyprcursor.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:861: CMakeFiles/hyprcursor.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'hyprcursor-git-0.1.0.r0.g2bf4f66f-1': error: packages failed to build: hyprcursor-git-0.1.0.r0.g2bf4f66f-1

alba4k commented on 2024-03-11 15:59 (UTC)

what exactly do you mean with "include"? they should be installed with the rest of the package already

Pavlov commented on 2024-03-11 10:11 (UTC)

Can you also include hyprcursor-util and libhyprcursor utilities in this package?