koeqaife / hyprland-material-you

Dynamic and elegant desktop setup inspired by Material You, featuring auto-generated colors, fluid animations, and ripple effects for a cohesive, customizable user experience.
GNU General Public License v3.0
489 stars 23 forks source link

plugins fail to install #57

Closed oDEVU closed 1 month ago

oDEVU commented 1 month ago

It failed to install headers, it told me to run 'hyprpm update', after i ran it it tells me about missing path it cant cd to.

hyprpm update -v                                                                                               22:14  
[v] version returned: Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

[v] parsed commit 918d8340afd652b011b937d29d5eea0be08467f5 at branch  on Tue Jun 25 12:06:02 2024, commits 4886

! Cloning https://github.com/hyprwm/hyprland, this might take a moment.                                                           
[v] will shallow since: Tue Jun 18 12:06:02 2024                                                                                  

✔ cloned                                                                                                                          
[v] git returned (co): Your branch is up to date with 'origin/main'.                                                              

[v] git returned (rs): rm 'subprojects/tracy'                                                                                     
fatal: not a git repository: ../../.git/modules/subprojects/wlroots-hyprland
fatal: could not reset submodule index

✔ checked out to running ver                                                                                                      
! configuring Hyprland                                                                                                            
[v] setting PREFIX for cmake to /home/arch/.local/share/hyprpm/headersRoot                                                        
[v] cmake returned: CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:253 (message):                           
  Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
  target architecture is known.  Please enable at least one language before
  including GNUInstallDirs.
Call Stack (most recent call first):
  CMakeLists.txt:5 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
Not searching for unused variables given on the command line.

-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/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/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
-- Found Python3: /usr/bin/python3.12 (found version "3.12.4") found components: Interpreter
Building itab.c/itab.h...
-- Setting up wlroots
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1")
-- Found WaylandScanner at /usr/bin/wayland-scanner
-- 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/lib/libOpenGL.so  found components: GLES3
-- Checking for modules 'xkbcommon;uuid;wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;pango;pangocairo;pixman-1;libdrm;libinput;hwdata;libseat;libdisplay-info;libliftoff;libudev;gbm;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.1.5'
--   Found xkbcommon, version 1.7.0
--   Found uuid, version 2.40.2
--   Found wayland-server, version 1.23.0
--   Found wayland-client, version 1.23.0
--   Found wayland-cursor, version 1.23.0
--   Found wayland-protocols, version 1.36
--   Found cairo, version 1.18.0
--   Found pango, version 1.54.0
--   Found pangocairo, version 1.54.0
--   Found pixman-1, version 0.43.4
--   Found libdrm, version 2.4.122
--   Found libinput, version 1.26.1
--   Found hwdata, version 0.384
--   Found libseat, version 0.8.0
--   Found libdisplay-info, version 0.2.0
--   Found libliftoff, version 0.5.0
--   Found libudev, version 256
--   Found gbm, version 24.1.4-arch1.2
--   Found hyprlang, version 0.5.2
--   Found hyprcursor, version 0.1.9
--   Found hyprutils, version 0.2.0
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Configuration supports execinfo
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- Looking for sys/timerfd.h
-- Looking for sys/timerfd.h - found
-- Checking for module 'epoll-shim'
--   Package 'epoll-shim', required by 'virtual:world', not found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh;xcb-errors'
--   Found xcb, version 1.17.0
--   Found xwayland, version 24.1.1
--   Found xcb-util, version 0.4.1
--   Found xcb-render, version 1.17.0
--   Found xcb-xfixes, version 1.17.0
--   Found xcb-icccm, version 0.4.2
--   Found xcb-composite, version 1.17.0
--   Found xcb-res, version 1.17.0
--   Found xcb-ewmh, version 0.4.2
--   Found xcb-errors, version 1.0.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined)...
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'hyprutils>=0.1.1'
--   Found hyprutils, version 0.2.0
-- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
--   Found tomlplusplus, version 3.4.0
--   Found hyprutils, version 0.2.0
-- Configuring done (1.3s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/hyprpm/hyprland-arch/build

[v] meson returned:                                                                                                               
ERROR: Neither source directory 'build' nor build directory None contain a build file meson.build.

✔ configured Hyprland                                                                                                             
[v] installation will run: sed -i -e "s#PREFIX = /usr/local#PREFIX = /home/arch/.local/share/hyprpm/headersRoot#" /tmp/hyprpm/hyprland-arch/Makefile && cd /tmp/hyprpm/hyprland-arch && make installheaders
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing sources[v] installer returned: # remove previous headers from hyprpm's dir
rm -fr /home/arch/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/arch/.local/share/hyprpm/headersRoot/include/hyprland
mkdir -p /home/arch/.local/share/hyprpm/headersRoot/include/hyprland/protocols
mkdir -p /home/arch/.local/share/hyprpm/headersRoot/include/hyprland/wlr
mkdir -p /home/arch/.local/share/hyprpm/headersRoot/share/pkgconfig
cmake --build ./build --config Release --target generate-protocol-headers
[0/2] Re-checking globbed directories...
[1/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wlr-gamma-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/wlr-gamma-control-unstable-v1.hpp
[2/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wlr-foreign-toplevel-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/wlr-foreign-toplevel-management-unstable-v1.hpp
[3/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wlr-output-power-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/wlr-output-power-management-unstable-v1.hpp
[4/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wlr-screencopy-unstable-v1-protocol.h
[5/41] Generating /tmp/hyprpm/hyprland-arch/protocols/hyprland-global-shortcuts-v1-protocol.h
[6/41] Generating /tmp/hyprpm/hyprland-arch/protocols/hyprland-toplevel-export-v1-protocol.h
[7/41] Generating /tmp/hyprpm/hyprland-arch/protocols/virtual-keyboard-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/virtual-keyboard-unstable-v1.hpp
[8/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wlr-virtual-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/wlr-virtual-pointer-unstable-v1.hpp
[9/41] Generating /tmp/hyprpm/hyprland-arch/protocols/input-method-unstable-v2.cpp, /tmp/hyprpm/hyprland-arch/protocols/input-method-unstable-v2.hpp
[10/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wlr-output-management-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/wlr-output-management-unstable-v1.hpp
[11/41] Generating /tmp/hyprpm/hyprland-arch/protocols/kde-server-decoration.cpp, /tmp/hyprpm/hyprland-arch/protocols/kde-server-decoration.hpp
[12/41] Generating /tmp/hyprpm/hyprland-arch/protocols/text-input-unstable-v1-protocol.h
[13/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wlr-data-control-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/wlr-data-control-unstable-v1.hpp
[14/41] Generating /tmp/hyprpm/hyprland-arch/protocols/hyprland-focus-grab-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/hyprland-focus-grab-v1.hpp
[15/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wlr-layer-shell-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/wlr-layer-shell-unstable-v1.hpp
[16/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wayland-drm.cpp, /tmp/hyprpm/hyprland-arch/protocols/wayland-drm.hpp
[17/41] Generating /tmp/hyprpm/hyprland-arch/protocols/tearing-control-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/tearing-control-v1.hpp
[18/41] Generating /tmp/hyprpm/hyprland-arch/protocols/fractional-scale-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/fractional-scale-v1.hpp
[19/41] Generating /tmp/hyprpm/hyprland-arch/protocols/xdg-output-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/xdg-output-unstable-v1.hpp
[20/41] Generating /tmp/hyprpm/hyprland-arch/protocols/cursor-shape-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/cursor-shape-v1.hpp
[21/41] Generating /tmp/hyprpm/hyprland-arch/protocols/idle-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/idle-inhibit-unstable-v1.hpp
[22/41] Generating /tmp/hyprpm/hyprland-arch/protocols/relative-pointer-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/relative-pointer-unstable-v1.hpp
[23/41] Generating /tmp/hyprpm/hyprland-arch/protocols/xdg-decoration-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/xdg-decoration-unstable-v1.hpp
[24/41] Generating /tmp/hyprpm/hyprland-arch/protocols/alpha-modifier-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/alpha-modifier-v1.hpp
[25/41] Generating /tmp/hyprpm/hyprland-arch/protocols/ext-foreign-toplevel-list-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/ext-foreign-toplevel-list-v1.hpp
[26/41] Generating /tmp/hyprpm/hyprland-arch/protocols/pointer-gestures-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/pointer-gestures-unstable-v1.hpp
[27/41] Generating /tmp/hyprpm/hyprland-arch/protocols/keyboard-shortcuts-inhibit-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/keyboard-shortcuts-inhibit-unstable-v1.hpp
[28/41] Generating /tmp/hyprpm/hyprland-arch/protocols/text-input-unstable-v3.cpp, /tmp/hyprpm/hyprland-arch/protocols/text-input-unstable-v3.hpp
[29/41] Generating /tmp/hyprpm/hyprland-arch/protocols/pointer-constraints-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/pointer-constraints-unstable-v1.hpp
[30/41] Generating /tmp/hyprpm/hyprland-arch/protocols/xdg-activation-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/xdg-activation-v1.hpp
[31/41] Generating /tmp/hyprpm/hyprland-arch/protocols/ext-idle-notify-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/ext-idle-notify-v1.hpp
[32/41] Generating /tmp/hyprpm/hyprland-arch/protocols/ext-session-lock-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/ext-session-lock-v1.hpp
[33/41] Generating /tmp/hyprpm/hyprland-arch/protocols/presentation-time.cpp, /tmp/hyprpm/hyprland-arch/protocols/presentation-time.hpp
[34/41] Generating /tmp/hyprpm/hyprland-arch/protocols/tablet-v2.cpp, /tmp/hyprpm/hyprland-arch/protocols/tablet-v2.hpp
[35/41] Generating /tmp/hyprpm/hyprland-arch/protocols/xwayland-shell-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/xwayland-shell-v1.hpp
[36/41] Generating /tmp/hyprpm/hyprland-arch/protocols/viewporter.cpp, /tmp/hyprpm/hyprland-arch/protocols/viewporter.hpp
[37/41] Generating /tmp/hyprpm/hyprland-arch/protocols/primary-selection-unstable-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/primary-selection-unstable-v1.hpp
[38/41] Generating /tmp/hyprpm/hyprland-arch/protocols/xdg-shell.cpp, /tmp/hyprpm/hyprland-arch/protocols/xdg-shell.hpp
[39/41] Generating /tmp/hyprpm/hyprland-arch/protocols/linux-dmabuf-v1.cpp, /tmp/hyprpm/hyprland-arch/protocols/linux-dmabuf-v1.hpp
[40/41] Generating /tmp/hyprpm/hyprland-arch/protocols/wayland.cpp, /tmp/hyprpm/hyprland-arch/protocols/wayland.hpp
find src -name '*.h*' -print0 | cpio --quiet -0dump /home/arch/.local/share/hyprpm/headersRoot/include/hyprland
cd subprojects/wlroots-hyprland/include/wlr && find . -name '*.h*' -print0 | cpio --quiet -0dump /home/arch/.local/share/hyprpm/headersRoot/include/hyprland/wlr && cd ../../../..
/bin/sh: line 1: cd: subprojects/wlroots-hyprland/include/wlr: No such file or directory
make: *** [Makefile:56: installheaders] Error 1

✖ failed to install headers with error code 2                                                                                     
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Failed                                                                

✖ Headers missing. Please run hyprpm update to fix those.

My system:

                   -`                    arch@btw 
                  .o+`                   -------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: B650E PG Riptide WiFi 
               `+oooooo:                 Kernel: 6.9.10-zen1-1-zen 
               -+oooooo+:                Uptime: 21 mins 
             `/:-:++oooo+:               Packages: 1411 (pacman) 
            `/++++/+++++++:              Shell: zsh 5.9 
           `/++++++++++++++:             Resolution: 1920x1080 
          `/+++ooooooooooooo/`           DE: Hyprland 
         ./ooosssso++osssssso+`          Theme: adw-gtk3 [GTK2/3] 
        .oossssso-````/ossssss+`         Icons: Reversal-black-dark [GTK2], Tela-nord [GTK3] 
       -osssssso.      :ssssssso.        Terminal: konsole 
      :osssssss/        osssso+++.       CPU: AMD Ryzen 5 7600 (12) @ 5.170GHz 
     /ossssssss/        +ssssooo/-       GPU: AMD ATI Radeon RX 6800/6800 XT / 6900 XT 
   `/ossssso+/:-        -:/+osssso+-     Memory: 3271MiB / 15697MiB 
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/                           
 .`                                 `/                           
S4NKALP commented 1 month ago

install hyprland-git instead of hyprland

koeqaife commented 1 month ago

new hyprland is so broken

koeqaife commented 1 month ago

I have the same problem now

Evren-os commented 1 month ago

I have the same problem now

How to solve it? I tried installing this dotfiles 7 times, never installed without error. Still getting headers missing

oDEVU commented 1 month ago

So both hyprland and hyprland-git packages didn't worked for me BUT what i did is cloned official hyprland repo and build it from there and this worked.

Evren-os commented 1 month ago

So both hyprland and hyprland-git packages didn't worked for me BUT what i did is cloned official hyprland repo and build it from there and this worked.

What about headers missing thing ?

oDEVU commented 1 month ago

So both hyprland and hyprland-git packages didn't worked for me BUT what i did is cloned official hyprland repo and build it from there and this worked.

What about headers missing thing ?

after compiling hyprland from source i just ran install script again and it simply worked. Im not sure but i think hyprpm just works with newest git version of hyprland, and hyprland-git isnt newest git version thats why it doesn't work anymore. i guess.

koeqaife commented 1 month ago

I have the same problem now

How to solve it? I tried installing this dotfiles 7 times, never installed without error. Still getting headers missing

I'm trying to fix the problem, but it seems the only thing left to do is wait for hyprland to update. You can comment this line in keybindigs.conf

bind = $mainMod,tab,hyprexpo:expo, toggle #! @description: "View all workspaces"; @workspaces;