shezdy / hyprsplit

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

the plugin does not pass the tests #35

Closed fiersik closed 2 weeks ago

fiersik commented 2 weeks ago
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZTV17CHyprMasterLayout
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZTV18CHyprDwindleLayout
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN18CHookSystemManager4emitEPSt6vectorI14SCallbackFNPtrSaIS1_EER13SCallbackInfoSt3any
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN5Debug3logE8LogLevelNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN10CWorkspace5inertEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN9Hyprutils4Math8Vector2DD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZNK8Hyprlang12CConfigValue16getDataStaticPtrEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN20CHyprXWaylandManagerD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN9CWatchdogD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN8Hyprlang12CConfigValueC1El
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositor22moveWorkspaceToMonitorEN9Hyprutils6Memory14CSharedPointerI10CWorkspaceEENS2_I8CMonitorEEb
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositor21getWindowsOnWorkspaceERKlSt8optionalIbES3_
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN13CInputManager7refocusEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN15CKeybindManagerD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN13CInputManagerD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN8CMonitor17activeWorkspaceIDEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN10CWorkspace9monitorIDEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN7CWindow11workspaceIDEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN13CEventManager9postEventERK13SHyprIPCEvent
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN8Hyprlang12CConfigValueD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN8CMonitor15changeWorkspaceERKN9Hyprutils6Memory14CSharedPointerI10CWorkspaceEEbbb
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN14CThreadManagerD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN10CWorkspace13getConfigNameB5cxx11Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositor16getMonitorFromIDERKl
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _Z25getPlusMinusKeywordResultNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEf
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: registerCallbackDynamic
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: addDispatcher
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositorD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: addConfigValue
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN9Hyprutils6String8isNumberERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositor16getWorkspaceByIDERKl
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN17CHyprMasterLayout22getMasterWorkspaceDataERKl
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN22ICustomConfigValueDataD2Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN9Hyprutils4Math8Vector2DC1Edd
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN7CWindow18onSpecialWorkspaceEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN15CHyprOpenGLImplD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositor25moveWindowToWorkspaceSafeEN9Hyprutils6Memory14CSharedPointerI7CWindowEENS2_I10CWorkspaceEE
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: __hyprland_api_get_hash
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN10CHyprErrorD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositor31updateFullscreenFadeOnWorkspaceEN9Hyprutils6Memory14CSharedPointerI10CWorkspaceEE
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN14CLayoutManager16getCurrentLayoutEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _Z28getWorkspaceIDNameFromStringRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN18CHookSystemManager14getVecForEventERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN7CWindow14updateToplevelEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN16CProtocolManagerD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN6CColorC1Effff
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11IHyprLayoutD2Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN21CBaseAnimatedVariable15connectToActiveEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN8CMonitor8isMirrorEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN7CWindow12isFullscreenEv
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN13CHyprRendererD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: getConfigValue
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN8Hyprlang7CConfigD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN13CFunctionHookD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: addNotification
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositor18createNewWorkspaceERKlS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: reloadConfig
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN24CHyprNotificationOverlayD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN13CEventManagerD1Ev
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN11CCompositor20getMonitorFromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: WARNING: ./usr/lib64/hyprland/hyprsplit.so: undefined symbol: _ZN10CWorkspace13moveToMonitorERKl
shezdy commented 2 weeks ago

I'm not sure what you mean by 'tests', you'll need to elaborate.

fiersik commented 2 weeks ago

When building under ALT Linux, there are many checks, one of them is a test for existing, but not used elf symbols

shezdy commented 2 weeks ago

Those symbols are used in the plugin's code, but are defined by Hyprland. When the plugin is loaded by Hyprland they will be present.