Failes to build, again. I bet Hyprland update broke it, again. Don't know any C++ so, can't fix it. Please, help, this the only plugin I use, and I really, really like it. Thanks in advance.
❯ hyprpm add https://github.com/pyt0xic/hyprfocus -v
[v] running version returned: Hyprland 0.47.0 built from branch at commit 04ac46c54357278fc68f0a95d26347ea0db99496 (version: bump to 0.47.0).
Date: Mon Jan 27 11:43:43 2025
Tag: v0.47.0, commits: 5742
built against:
aquamarine 0.7.1
hyprlang 0.6.0
hyprutils 0.5.0
hyprcursor 0.1.11
hyprgraphics 0.1.1
no flags were set
[v] parsed commit 04ac46c54357278fc68f0a95d26347ea0db99496 at branch on Mon Jan 27 11:43:43 2025, commits 5742
✔ adding a new plugin repository from https://github.com/pyt0xic/hyprfocus
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/pyt0xic/hyprfocus
✔ cloned
✔ found hyprpm manifest
✔ parsed manifest, found 1 plugins:
→ hyprfocus by VortexCoyote, OakleyCord, vaxerski, DRAGONTOS, pyt0xic version
━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2 / 5 Verifying headers[v] installed version returned: Hyprland 0.47.0 built from branch at commit 04ac46c54357278fc68f0a95d26347ea0db99496 (version: bump to 0.47.0
Date: Mon Jan 27 11:43:43 2025
Tag: v0.47.0, commits: 5742
built against:
aquamarine 0.7.1
hyprlang 0.6.0
hyprutils 0.5.0
hyprcursor 0.1.11
hyprgraphics 0.1.1
no flags were set
[v] parsed commit 04ac46c54357278fc68f0a95d26347ea0db99496 at branch on Mon Jan 27 11:43:43 2025, commits 5742
✔ Hyprland headers OK
→ Building hyprfocus
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━ 3 / 5 Building plugin(s)[v] shell returned: -> cd /run/user/1000/hyprpm/daxis && PKG_CONFIG_PATH="/home/daxis/.local/share/hyprpm/headersRoot/share/pkgconfig" make a
g++ -shared -fPIC --no-gnu-unique src/Flash.cpp src/IFocusAnimation.cpp src/main.cpp src/Shrink.cpp -o hyprfocus.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -
In file included from src/Flash.hpp:1,
from src/Flash.cpp:1:
src/IFocusAnimation.hpp:19:3: error: ‘SAnimationPropertyConfig’ does not name a type
19 | SAnimationPropertyConfig m_sFocusInAnimConfig;
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/IFocusAnimation.hpp:20:3: error: ‘SAnimationPropertyConfig’ does not name a type
20 | SAnimationPropertyConfig m_sFocusOutAnimConfig;
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/Flash.cpp: In member function ‘virtual void CFlash::onWindowFocus(PHLWINDOW, void*)’:
src/Flash.cpp:36:25: error: no match for ‘operator=’ (operand types are ‘PHLANIMVAR<float>’ {aka ‘Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationContext> >’} and ‘float’
36 | pWindow->m_fAlpha = **flash_opacity;
| ^~~~~~~~~~~~~
In file included from /usr/include/hyprutils/memory/WeakPtr.hpp:3,
from /usr/include/hyprutils/animation/AnimationConfig.hpp:3,
from /home/daxis/.local/share/hyprpm/headersRoot/include/hyprland/src/config/ConfigManager.hpp:3,
from src/IFocusAnimation.hpp:6:
/usr/include/hyprutils/memory/SharedPtr.hpp:76:54: note: candidate: ‘template<class U> Hyprutils::Memory::CSharedPointer<T>::validHierarchy<const Hyprutils::Memory::CSharedPointer<U>&> Hyprutils::Memory::CSharedPointer<T
76 | validHierarchy<const CSharedPointer<U>&> operator=(const CSharedPointer<U>& rhs) {
| ^~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:76:54: note: template argument deduction/substitution failed:
src/Flash.cpp:36:25: note: mismatched types ‘const Hyprutils::Memory::CSharedPointer<U>’ and ‘float’
36 | pWindow->m_fAlpha = **flash_opacity;
| ^~~~~~~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:97:54: note: candidate: ‘template<class U> Hyprutils::Memory::CSharedPointer<T>::validHierarchy<const Hyprutils::Memory::CSharedPointer<U>&> Hyprutils::Memory::CSharedPointer<T
97 | validHierarchy<const CSharedPointer<U>&> operator=(CSharedPointer<U>&& rhs) {
| ^~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:97:54: note: template argument deduction/substitution failed:
src/Flash.cpp:36:25: note: mismatched types ‘Hyprutils::Memory::CSharedPointer<U>’ and ‘float’
36 | pWindow->m_fAlpha = **flash_opacity;
| ^~~~~~~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:86:29: note: candidate: ‘Hyprutils::Memory::CSharedPointer<T>& Hyprutils::Memory::CSharedPointer<T>::operator=(const Hyprutils::Memory::CSharedPointer<T>&) [with T = Hyprutils:
86 | CSharedPointer& operator=(const CSharedPointer& rhs) {
| ^~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:86:61: note: no known conversion for argument 1 from ‘float’ to ‘const Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationConte
86 | CSharedPointer& operator=(const CSharedPointer& rhs) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/hyprutils/memory/SharedPtr.hpp:102:29: note: candidate: ‘Hyprutils::Memory::CSharedPointer<T>& Hyprutils::Memory::CSharedPointer<T>::operator=(Hyprutils::Memory::CSharedPointer<T>&&) [with T = Hyprutils::Ani
102 | CSharedPointer& operator=(CSharedPointer&& rhs) {
| ^~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:102:56: note: no known conversion for argument 1 from ‘float’ to ‘Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationContext> >
102 | CSharedPointer& operator=(CSharedPointer&& rhs) {
| ~~~~~~~~~~~~~~~~~^~~
src/Flash.cpp:38:21: error: ‘PHLANIMVAR<float>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationContext> >’} has no member named ‘setConfig’
38 | pWindow->m_fAlpha.setConfig(&m_sFocusInAnimConfig);
| ^~~~~~~~~
src/Flash.cpp:38:32: error: ‘m_sFocusInAnimConfig’ was not declared in this scope
38 | pWindow->m_fAlpha.setConfig(&m_sFocusInAnimConfig);
| ^~~~~~~~~~~~~~~~~~~~
src/Flash.cpp:39:21: error: ‘PHLANIMVAR<float>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationContext> >’} has no member named ‘setCallbackOnEnd’
39 | pWindow->m_fAlpha.setCallbackOnEnd([this, pWindow, pHandle](void *) {
| ^~~~~~~~~~~~~~~~
src/Flash.cpp: In lambda function:
src/Flash.cpp:45:27: error: no match for ‘operator=’ (operand types are ‘PHLANIMVAR<float>’ {aka ‘Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationContext> >’} and ‘float’
45 | pWindow->m_fAlpha = **active_opacity;
| ^~~~~~~~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:76:54: note: candidate: ‘template<class U> Hyprutils::Memory::CSharedPointer<T>::validHierarchy<const Hyprutils::Memory::CSharedPointer<U>&> Hyprutils::Memory::CSharedPointer<T
76 | validHierarchy<const CSharedPointer<U>&> operator=(const CSharedPointer<U>& rhs) {
| ^~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:76:54: note: template argument deduction/substitution failed:
src/Flash.cpp:45:27: note: mismatched types ‘const Hyprutils::Memory::CSharedPointer<U>’ and ‘float’
45 | pWindow->m_fAlpha = **active_opacity;
| ^~~~~~~~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:97:54: note: candidate: ‘template<class U> Hyprutils::Memory::CSharedPointer<T>::validHierarchy<const Hyprutils::Memory::CSharedPointer<U>&> Hyprutils::Memory::CSharedPointer<T
97 | validHierarchy<const CSharedPointer<U>&> operator=(CSharedPointer<U>&& rhs) {
| ^~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:97:54: note: template argument deduction/substitution failed:
src/Flash.cpp:45:27: note: mismatched types ‘Hyprutils::Memory::CSharedPointer<U>’ and ‘float’
45 | pWindow->m_fAlpha = **active_opacity;
| ^~~~~~~~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:86:29: note: candidate: ‘Hyprutils::Memory::CSharedPointer<T>& Hyprutils::Memory::CSharedPointer<T>::operator=(const Hyprutils::Memory::CSharedPointer<T>&) [with T = Hyprutils:
86 | CSharedPointer& operator=(const CSharedPointer& rhs) {
| ^~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:86:61: note: no known conversion for argument 1 from ‘float’ to ‘const Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationConte
86 | CSharedPointer& operator=(const CSharedPointer& rhs) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/hyprutils/memory/SharedPtr.hpp:102:29: note: candidate: ‘Hyprutils::Memory::CSharedPointer<T>& Hyprutils::Memory::CSharedPointer<T>::operator=(Hyprutils::Memory::CSharedPointer<T>&&) [with T = Hyprutils::Ani
102 | CSharedPointer& operator=(CSharedPointer&& rhs) {
| ^~~~~~~~
/usr/include/hyprutils/memory/SharedPtr.hpp:102:56: note: no known conversion for argument 1 from ‘float’ to ‘Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationContext> >
102 | CSharedPointer& operator=(CSharedPointer&& rhs) {
| ~~~~~~~~~~~~~~~~~^~~
src/Flash.cpp:47:23: error: ‘PHLANIMVAR<float>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationContext> >’} has no member named ‘setConfig’
47 | pWindow->m_fAlpha.setConfig(&m_sFocusOutAnimConfig);
| ^~~~~~~~~
src/Flash.cpp:47:34: error: ‘m_sFocusOutAnimConfig’ was not declared in this scope
47 | pWindow->m_fAlpha.setConfig(&m_sFocusOutAnimConfig);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from src/IFocusAnimation.cpp:1:
src/IFocusAnimation.hpp:19:3: error: ‘SAnimationPropertyConfig’ does not name a type
19 | SAnimationPropertyConfig m_sFocusInAnimConfig;
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/IFocusAnimation.hpp:20:3: error: ‘SAnimationPropertyConfig’ does not name a type
20 | SAnimationPropertyConfig m_sFocusOutAnimConfig;
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/IFocusAnimation.cpp: In member function ‘virtual void IFocusAnimation::init(void*, std::string)’:
src/IFocusAnimation.cpp:21:3: error: ‘m_sFocusInAnimConfig’ was not declared in this scope
21 | m_sFocusInAnimConfig =
| ^~~~~~~~~~~~~~~~~~~~
src/IFocusAnimation.cpp:28:3: error: ‘m_sFocusOutAnimConfig’ was not declared in this scope
28 | m_sFocusOutAnimConfig =
| ^~~~~~~~~~~~~~~~~~~~~
src/IFocusAnimation.cpp: In member function ‘virtual void IFocusAnimation::onWindowFocus(PHLWINDOW, void*)’:
src/IFocusAnimation.cpp:58:3: error: ‘m_sFocusInAnimConfig’ was not declared in this scope
58 | m_sFocusInAnimConfig.internalBezier = *inBezier;
| ^~~~~~~~~~~~~~~~~~~~
src/IFocusAnimation.cpp:61:3: error: ‘m_sFocusOutAnimConfig’ was not declared in this scope
61 | m_sFocusOutAnimConfig.internalBezier = *outBezier;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from src/Flash.hpp:1,
from src/main.cpp:14:
src/IFocusAnimation.hpp:19:3: error: ‘SAnimationPropertyConfig’ does not name a type
19 | SAnimationPropertyConfig m_sFocusInAnimConfig;
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/IFocusAnimation.hpp:20:3: error: ‘SAnimationPropertyConfig’ does not name a type
20 | SAnimationPropertyConfig m_sFocusOutAnimConfig;
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp: In function ‘PLUGIN_DESCRIPTION_INFO pluginInit(void*)’:
src/main.cpp:172:29: warning: ‘bool HyprlandAPI::addDispatcher(void*, const std::string&, std::function<void(std::__cxx11::basic_string<char>)>)’ is deprecated [-Wdeprecated-declarations]
172 | HyprlandAPI::addDispatcher(PHANDLE, "animatefocused", &flashCurrentWindow);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/Globals.hpp:4,
from src/main.cpp:5:
/home/daxis/.local/share/hyprpm/headersRoot/include/hyprland/src/plugins/PluginAPI.hpp:242:33: note: declared here
242 | APICALL [[deprecated]] bool addDispatcher(HANDLE handle, const std::string& name, std::function<void(std::string)> handler);
| ^~~~~~~~~~~~~
src/main.cpp:184:21: error: ‘class CConfigManager’ has no member named ‘tick’
184 | g_pConfigManager->tick();
| ^~~~
In file included from src/Shrink.hpp:1,
from src/Shrink.cpp:1:
src/IFocusAnimation.hpp:19:3: error: ‘SAnimationPropertyConfig’ does not name a type
19 | SAnimationPropertyConfig m_sFocusInAnimConfig;
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/IFocusAnimation.hpp:20:3: error: ‘SAnimationPropertyConfig’ does not name a type
20 | SAnimationPropertyConfig m_sFocusOutAnimConfig;
| ^~~~~~~~~~~~~~~~~~~~~~~~
src/Shrink.cpp: In member function ‘virtual void CShrink::onWindowFocus(PHLWINDOW, void*)’:
src/Shrink.cpp:25:28: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
25 | pWindow->m_vRealSize.getConfig()->internalStyle;
| ^~~~~~~~~
src/Shrink.cpp:28:28: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
28 | pWindow->m_vRealSize.isBeingAnimated()) {
| ^~~~~~~~~~~~~~~
src/Shrink.cpp:35:24: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
35 | pWindow->m_vRealSize.setConfig(&m_sFocusOutAnimConfig);
| ^~~~~~~~~
src/Shrink.cpp:35:35: error: ‘m_sFocusOutAnimConfig’ was not declared in this scope
35 | pWindow->m_vRealSize.setConfig(&m_sFocusOutAnimConfig);
| ^~~~~~~~~~~~~~~~~~~~~
src/Shrink.cpp:36:28: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
36 | pWindow->m_vRealPosition.setConfig(&m_sFocusOutAnimConfig);
| ^~~~~~~~~
src/Shrink.cpp:38:22: error: ‘CAnimatedVariable<float>’ {aka ‘class Hyprutils::Animation::CGenericAnimatedVariable<float, SAnimationContext>’} has no member named ‘registerVar’
38 | m_sShrinkAnimation.registerVar();
| ^~~~~~~~~~~
src/Shrink.cpp:39:36: error: ‘m_sFocusInAnimConfig’ was not declared in this scope
39 | m_sShrinkAnimation.create(1.0f, &m_sFocusInAnimConfig, AVARDAMAGE_ENTIRE);
| ^~~~~~~~~~~~~~~~~~~~
src/Shrink.cpp: In lambda function:
src/Shrink.cpp:47:51: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
47 | const auto GOALPOS = pWindow->m_vRealPosition.goal();
| ^~~~
src/Shrink.cpp:48:48: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
48 | const auto GOALSIZE = pWindow->m_vRealSize.goal();
| ^~~~
src/Shrink.cpp:52:26: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
52 | pWindow->m_vRealSize.setValue(GOALSIZE * PANIMATION->value());
| ^~~~~~~~
src/Shrink.cpp:53:30: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
53 | pWindow->m_vRealPosition.setValue(GOALPOS + GOALSIZE / 2.f -
| ^~~~~~~~
src/Shrink.cpp:54:60: error: ‘PHLANIMVAR<Hyprutils::Math::Vector2D>’ {aka ‘class Hyprutils::Memory::CSharedPointer<Hyprutils::Animation::CGenericAnimatedVariable<Hyprutils::Math::Vector2D, SAnimationContext> >’} has no m
54 | pWindow->m_vRealSize.value() / 2.f);
| ^~~~~
src/Shrink.cpp: In member function ‘virtual void CShrink::onWindowFocus(PHLWINDOW, void*)’:
src/Shrink.cpp:46:40: error: cannot convert ‘CShrink::onWindowFocus(PHLWINDOW, void*)::<lambda(void*)>’ to ‘Hyprutils::Animation::CBaseAnimatedVariable::CallbackFun’ {aka ‘std::function<void(Hyprutils::Memory::CWeakPoint
46 | m_sShrinkAnimation.setUpdateCallback([this, pWindow](void *pShrinkAnimation) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| CShrink::onWindowFocus(PHLWINDOW, void*)::<lambda(void*)>
47 | const auto GOALPOS = pWindow->m_vRealPosition.goal();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48 | const auto GOALSIZE = pWindow->m_vRealSize.goal();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 |
|
50 | const auto *PANIMATION = (CAnimatedVariable<float> *)pShrinkAnimation;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 |
|
52 | pWindow->m_vRealSize.setValue(GOALSIZE * PANIMATION->value());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53 | pWindow->m_vRealPosition.setValue(GOALPOS + GOALSIZE / 2.f -
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54 | pWindow->m_vRealSize.value() / 2.f);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | });
| ~
In file included from /home/daxis/.local/share/hyprpm/headersRoot/include/hyprland/src/config/../desktop/../helpers/AnimatedVariable.hpp:3,
from /home/daxis/.local/share/hyprpm/headersRoot/include/hyprland/src/config/../desktop/Window.hpp:8,
from /home/daxis/.local/share/hyprpm/headersRoot/include/hyprland/src/config/ConfigManager.hpp:15,
from src/IFocusAnimation.hpp:6:
/usr/include/hyprutils/animation/AnimatedVariable.hpp:80:48: note: initializing argument 1 of ‘void Hyprutils::Animation::CBaseAnimatedVariable::setUpdateCallback(CallbackFun)’
80 | void setUpdateCallback(CallbackFun func);
| ~~~~~~~~~~~~^~~~
src/Shrink.cpp:57:39: error: cannot convert ‘CShrink::onWindowFocus(PHLWINDOW, void*)::<lambda(void*)>’ to ‘Hyprutils::Animation::CBaseAnimatedVariable::CallbackFun’ {aka ‘std::function<void(Hyprutils::Memory::CWeakPointer<Hyprutils::Animation::CBaseAnimatedVariable>)>’}
57 | m_sShrinkAnimation.setCallbackOnEnd([this, pWindow](void *pShrinkAnimation) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| CShrink::onWindowFocus(PHLWINDOW, void*)::<lambda(void*)>
58 | ((CAnimatedVariable<float> *)pShrinkAnimation)->resetAllCallbacks();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59 | });
| ~
/usr/include/hyprutils/animation/AnimatedVariable.hpp:72:47: note: initializing argument 1 of ‘void Hyprutils::Animation::CBaseAnimatedVariable::setCallbackOnEnd(CallbackFun, bool)’
72 | void setCallbackOnEnd(CallbackFun func, bool remove = true);
| ~~~~~~~~~~~~^~~~
make: *** [Makefile:4: all] Error 1
✖ Plugin hyprfocus 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.
✔ all plugins built
✔ installed repository
✔ you can now enable the plugin(s) with hyprpm enable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5 / 5 Done!
❯ hyprpm list
→ Repository hyprfocus:
│ Plugin hyprfocus
└─ enabled: Plugin failed to build
Failes to build, again. I bet Hyprland update broke it, again. Don't know any C++ so, can't fix it. Please, help, this the only plugin I use, and I really, really like it. Thanks in advance.