hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
573 stars 60 forks source link

hyprutils - required packages not found? #214

Closed jncsotk30 closed 3 months ago

jncsotk30 commented 3 months ago

Hello All. I'm trying to install some of the hyprwm plugins, but when I run hyprpm update, I'm getting the following error. required packages were not found (hyprutils)...

➜  ~ rm -r ~/.local/share/hyprpm
➜  ~ hyprpm update

 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the hyprland re! Cloning https://github.com/hyprwm/hyprland, this might take a moment.
✔ cloned
✔ checked out to running ver
! configuring Hyprland
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building Hyprland
✖ Could not configure the hyprland source, cmake complained:
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib64/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
fatal: No names found, cannot describe anything.
-- Found Python3: /usr/bin/python3.12 (found version "3.12.4") found components: Interpreter
Building itab.c/itab.h...
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Configuring Hyprland in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenGL: /usr/lib64/libOpenGL.so  found components: GLES3
-- Checking for module 'hyprutils>=0.2.1'
--   Package 'hyprutils', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:619 (message):
  The following required packages were not found:

   - hyprutils>=0.2.1

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

This likely means that you are missing the above dependencies or they are out of date.

But it is installed...

hyprcursor.x86_64                                         0.1.9-2.fc40                                     @updates
hypridle.x86_64                                           0.1.2-1.fc40                                     @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprland-debuginfo.x86_64                                 0.42.0-2.fc40                                    @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprland-debugsource.x86_64                               0.42.0-2.fc40                                    @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprland-git.x86_64                                       0.42.0^24.gitc86db7b-1.fc40                      @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprland-welcome.x86_64                                   0~5.git51561c0-1.fc40                            @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprlang.x86_64                                           0.5.2-1.fc40                                     @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprlang-devel.x86_64                                     0.5.2-1.fc40                                     @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprlock.x86_64                                           0.4.1-1.fc40                                     @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprpaper.x86_64                                          0.7.1-1.fc40                                     @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprpicker.x86_64                                         0.3.0-1.fc40                                     @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprshot.noarch                                           1.3.0-1.fc40                                     @copr:copr.fedorainfracloud.org:solopasha:hyprland
hyprutils.x86_64                                          0.2.1-1.fc40                                     @copr:copr.fedorainfracloud.org:solopasha:hyprland

Any idea what's causing this? I'm running Fedora 40 @ 6.10.3-269.rog.fc40.x86_64

vaxerski commented 3 months ago

fedora splits packages into base and -devel. Do you have hyprutils-devel?

jncsotk30 commented 3 months ago

Ah, I did not -- good to know. Sorry for my ignorance.

image

Thanks for all the amazing work on Hyprland @vaxerski (and all contributors)!

EDIT: I had to remove hyprland-git and instead use hyprland-devel.

vaxerski commented 3 months ago

assuming fixed, closing

jncsotk30 commented 3 months ago

assuming fixed, closing

Yes, fixed. Thank you again!