hyprwm / hyprpicker

A wlroots-compatible Wayland color picker that does not suck.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to build if `wp-cursor-shape-v1-protocol.h` not available

vadz opened this issue · comments

commented

I'm not sure if this is known/intended, but the latest version doesn't build under Debian Bookworm because wp-cursor-shape-v1-protocol.h is nowhere to be found.

0e41693 (2 commits behind main right now) builds (and works) fine.

we require the protocol, I guess you have to wait for debian to update

commented

we require the protocol, I guess you have to wait for debian to update

Sure, I'll just use the commit mentioned above for now, it works perfectly well without this protocol AFAICS.

It might still be worth to improve the error as right now it's not very clear, e.g. CMake ends with just

-- Checking for modules 'wayland-client;wayland-protocols;xkbcommon;cairo;pango;pangocairo;libjpeg'                                                                                                                              
--   Found wayland-client, version 1.21.0                                                                                                                                                                                        
--   Found wayland-protocols, version 1.31                                                                                                                                                                                       
--   Found xkbcommon, version 1.5.0                                                                                                                                                                                              
--   Found cairo, version 1.16.0                                                                                                                                                                                                 
--   Found pango, version 1.50.12                                                                                                                                                                                                
--   Found pangocairo, version 1.50.12                                                                                                                                                                                           
--   Found libjpeg, version 2.1.5                                                                                                                                                                                                
Could not open input file: No such file or directory                                                                                                                                                                             
Could not open input file: No such file or directory                                                                                                                                                                             
-- Configuring done                                                                                                                                                                                                              
CMake Error at CMakeLists.txt:78 (add_executable):                                                                                                                                                                               
  Cannot find source file:                                                                                                                                                                                                       
                                                                                                                                                                                                                                 
    wp-cursor-shape-v1-protocol.h                                                                                                                                                                                                
                                                                                                                                                                                                                                 
  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h                                                                                                                                                     
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc                                                                                                                                                      
                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                 
-- Generating done                                                                                                                                                                                                               
CMake Generate step failed.  Build files cannot be regenerated correctly.

and I have no idea what it wants in "Could not open input file: No such file or directory", but, well, it's just cosmetic.