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: 8
Popularity: 2.10
First Submitted: 2024-03-07 18:46 (UTC)
Last Updated: 2024-07-25 15:31 (UTC)

Required by (12)

Sources (1)

Latest Comments

1 2 Next › Last »

musta_ruhtinas commented on 2024-07-25 09:30 (UTC) (edited on 2024-07-25 09:30 (UTC) by musta_ruhtinas)

/usr/bin/ld: warning: libhyprutils.so.1, needed by /usr/lib/libhyprlang.so, not found (try using -rpath or -rpath-link)

hyprutils is now required for build

zjeffer commented on 2024-07-17 19:00 (UTC) (edited on 2024-07-17 19:03 (UTC) by zjeffer)

@alba4k Yes, the first time I probably accidentally pressed enter a couple of times before the question even popped up, causing the N option to be selected twice. Like I mentioned in my edit it did work when I tried again. But there is still a problem when passing --noconfirm in scripts because then it won't remove hyprlang. For example my GitHub action that simply installs hyprland-git with --noconfirm fails: error: can not install conflicting packages with --noconfirm.

The bigger problem remains that this package does not use the -git package in the depends list (but hyprland-git now does for every hypr dependency). In the case of hyprcursor-git, the package build will fail in this scenario:

  • The hyprlang repo introduces a breaking change
  • The hyprcursor repo is updated to use the breaking change
  • There is no new hyprlang release yet that contains this breaking change

I remember we've had this kind of scenario happen a couple times with hyprland-git, which is why I updated the AUR package to use the -git versions. I feel this package should do the same.

alba4k commented on 2024-07-17 18:41 (UTC) (edited on 2024-07-17 18:42 (UTC) by alba4k)

@alerque wdym, that is already that way I think? You might have an outdated PKGBUILD?

@asgard that is vaxrys fault and not mine.

@musta_ruhtinas It's already in the depends, outdated PKGBUILD maybe? not sure whether it should be a dep or a makedep tho.

@zjeffer pacman is asking you something you should probably read before just pressing enter ;)

Remove hyprlang? [y/N]

zjeffer commented on 2024-07-17 18:02 (UTC) (edited on 2024-07-17 18:23 (UTC) by zjeffer)

@alba4k I updated hyprland-git's PKGBUILD to use all -git packages, but now I'm getting this issue when installing hyprland-git:

:: Calculating inner conflicts...
:: Inner conflicts found:
    hyprlang: hyprlang-git (hyprlang)  

and

==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...
:: hyprlang-git-0.5.2.r5.5df0174-1 and hyprlang-0.5.2-1 are in conflict. Remove hyprlang? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: hyprlang-git-0.5.2.r5.5df0174-1 and hyprlang-0.5.2-1 are in conflict
loading packages...
resolving dependencies...
looking for conflicting packages...
:: hyprlang-git-0.5.2.r5.5df0174-1 and hyprlang-0.5.2-1 are in conflict. Remove hyprlang? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: hyprlang-git-0.5.2.r5.5df0174-1 and hyprlang-0.5.2-1 are in conflict
error: packages failed to build: hyprland-git-0.41.2.r43.293e6873-1

Can you update the PKGBUILD to also use the -git package for hyprlang?

EDIT: after trying again, I was able to answer 'y' to the above questions and install hyprland. Still, it would be better if every -git package also used -git dependencies.

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