shezdy / hyprsplit

hyprland plugin for separate sets of workspaces on each monitor
BSD 3-Clause "New" or "Revised" License
74 stars 3 forks source link

Error on latest hyprland #25

Closed LoricAndre closed 1 week ago

LoricAndre commented 1 week ago

After updating hyprland, I got this error :

hyprpm add -v https://github.com/shezdy/hyprsplit                                                  
[v] version returned: Hyprland, built from branch main at commit 4778afe2e6b4a6f8c7d218ccd8fe7e0bd4d2ee9c  
(hyprctl: make recv timeout bigger and give error message if it does timeout (6621)).                      
Date: Sat Jun 22 00:41:23 2024                                                                             
Tag: v0.41.1-56-g4778afe2, commits: 4874                                                                   

flags: (if any)                                                                                            

[v] parsed commit 4778afe2e6b4a6f8c7d218ccd8fe7e0bd4d2ee9c at branch main on Sat Jun 22 00:41:23 2024, comm
its 4874                                                                                                   
✔ adding a new plugin repository from https://github.com/shezdy/hyprsplit                                  
  MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author
.                                                                                                          
  Are you sure? [Y/n]                                                                                      

 → Cloning https://github.com/shezdy/hyprsplit                                                             
✔ cloned                                                                                                   
✔ found hyprpm manifest                                                                                    
✔ parsed manifest, found 1 plugins:                                                                        
 → hyprsplit by shezdy version                                                                             
 → Manifest has 10 pins, checking                                                                          
✔ Hyprland headers OK                                                                                      
 → Building hyprsplit                                                                                      
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /t
mp/hyprpm/loric && PKG_CONFIG_PATH="/home/loric/.local/share/hyprpm/headersRoot/share/pkgconfig" make all  
g++ -shared -fPIC --no-gnu-unique -Wall -g -DWLR_USE_UNSTABLE -std=c++23 -O2 `pkg-config --cflags pixman-1 
libdrm hyprland` src/main.cpp -o hyprsplit.so                                                              
src/main.cpp: In function ‘void focusWorkspace(std::string)’:                                              
src/main.cpp:110:29: error: ‘getWorkspaceIDNameFromString’ was not declared in this scope; did you mean ‘ge
tWorkspaceIDFromString’?                                                                                   
  110 |     const int WORKSPACEID = getWorkspaceIDNameFromString(getWorkspaceOnCurrentMonitor(args)).id;   
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                                           
      |                             getWorkspaceIDFromString                                               
make: *** [Makefile:7: all] Error 1                                                                        

✖ Plugin hyprsplit 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.
LoricAndre commented 1 week ago

I solved this by manually reinstalling the plugin, which means it probably is an issue on my side. I'm closing this