hyprwm / hyprland-plugins

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

Hyprland plugins not working after transition of wlroots #209

Closed starsprinter92 closed 1 month ago

starsprinter92 commented 1 month ago
hyprpm add https://github.com/hyprwm/hyprland-plugins -s -v
[v] version returned: Hyprland, built from branch main at commit 01ff5fdf6a00a9231bd3b56400d8bcab378c4257  (cursor: make inactive_timeout setting a float (7268)).
Date: Sat Aug 10 16:42:45 2024
Tag: v0.42.0-7-g01ff5fdf, commits: 5076

flags: (if any)

[v] parsed commit 01ff5fdf6a00a9231bd3b56400d8bcab378c4257 at branch main on Sat Aug 10 16:42:45 2024, commits 5076
✔ adding a new plugin repository from https://github.com/hyprwm/hyprland-plugins
  MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author.
  Are you sure? [Y/n]

 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the plugin re → Cloning https://github.com/hyprwm/hyprland-plugins
 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the plugin re✔ cloned
 ━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  1 / 5  Cloning the plugin re ━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  1 / 5  Reading the ma✔ found hyprpm manifest
 ━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  1 / 5  Reading the ma✔ parsed manifest, found 6 plugins:
 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the ma → borders-plus-plus by Vaxry version
 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the ma → csgo-vulkan-fix by Vaxry version
 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the ma → hyprbars by Vaxry version
 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the ma → hyprexpo by Vaxry version
 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the ma → hyprtrails by Vaxry version
 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the ma → hyprwinwrap by Vaxry version
 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the ma → Manifest has 16 pins, checking
 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the ma ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Verifying head✔ Hyprland headers OK
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Verifying head ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugi → Building borders-plus-plus
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/guy && PKG_CONFIG_PATH="/home/guy/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C borders-plus-plus all
make: Entering directory '/tmp/hyprpm/guy/borders-plus-plus'
g++ -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from borderDeco.hpp:5,
                 from borderDeco.cpp:1:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/guy/borders-plus-plus'

✖ Plugin borders-plus-plus failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugi → Building csgo-vulkan-fix
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/guy && PKG_CONFIG_PATH="/home/guy/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C csgo-vulkan-fix all
make: Entering directory '/tmp/hyprpm/guy/csgo-vulkan-fix'
g++ -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:5:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/guy/csgo-vulkan-fix'

✖ Plugin csgo-vulkan-fix failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugi → Building hyprbars
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/guy && PKG_CONFIG_PATH="/home/guy/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprbars all
make: Entering directory '/tmp/hyprpm/guy/hyprbars'
g++ -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` main.cpp barDeco.cpp  -o hyprbars.so `pkg-config --libs pangocairo` -O2
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from barDeco.hpp:5,
                 from barDeco.cpp:1:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11: hyprbars.so] Error 1
make: Leaving directory '/tmp/hyprpm/guy/hyprbars'

✖ Plugin hyprbars failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugi → Building hyprexpo
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/guy && PKG_CONFIG_PATH="/home/guy/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprexpo all
make: Entering directory '/tmp/hyprpm/guy/hyprexpo'
g++ -shared -fPIC --no-gnu-unique main.cpp overview.cpp -o hyprexpo.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -Wno-narrowing
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:5:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:26,
                 from globals.hpp:3,
                 from overview.hpp:5,
                 from overview.cpp:1:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/guy/hyprexpo'

✖ Plugin hyprexpo failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugi → Building hyprtrails
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/guy && PKG_CONFIG_PATH="/home/guy/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprtrails all
make: Entering directory '/tmp/hyprpm/guy/hyprtrails'
g++ -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:8,
                 from main.cpp:6:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../defines.hpp:1,
                 from /home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:26,
                 from trail.hpp:6,
                 from trail.cpp:1:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/../includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/guy/hyprtrails'

✖ Plugin hyprtrails failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugi → Building hyprwinwrap
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/guy && PKG_CONFIG_PATH="/home/guy/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprwinwrap all
make: Entering directory '/tmp/hyprpm/guy/hyprwinwrap'
g++ -shared -fPIC --no-gnu-unique main.cpp -o hyprwinwrap.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from main.cpp:6:
/home/guy/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:36:10: fatal error: wlr/backend.h: No such file or directory
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/guy/hyprwinwrap'

✖ Plugin hyprwinwrap failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugi✔ all plugins built
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugi ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing rep✔ installed repository
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing rep✔ you can now enable the plugin(s) with hyprpm enable
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing rep ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Done!
vaxerski commented 1 month ago

wtf? can you try purging the hyprpm cache?

starsprinter92 commented 1 month ago

wtf? can you try purging the hyprpm cache?

how u do that?

vaxerski commented 1 month ago

rm -r ~/.local/share/hyprpm

starsprinter92 commented 1 month ago

that fixes it