Bug 492266

Summary: spacenavigator plugin FTBFS
Product: [Applications] calligracommon Reporter: Antonio Rojas <arojas>
Component: flake-pluginsAssignee: Calligra Bugs <calligra-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antonio Rojas 2024-08-27 12:48:33 UTC
/build/calligra/src/calligra-4.0.0/plugins/spacenavigator/SpaceNavigatorEvent.cpp: In constructor ‘SpaceNavigatorEvent::SpaceNavigatorEvent(KoInputDeviceHandlerEvent::Type)’:
/build/calligra/src/calligra-4.0.0/plugins/spacenavigator/SpaceNavigatorEvent.cpp:11:37: error: no matching function for call to ‘KoInputDeviceHandlerEvent::KoInputDeviceHandlerEvent(KoInputDeviceHandlerEvent::Type&)’
   11 |     : KoInputDeviceHandlerEvent(type)
      |                                     ^
In file included from /build/calligra/src/calligra-4.0.0/plugins/spacenavigator/SpaceNavigatorEvent.h:10,
                 from /build/calligra/src/calligra-4.0.0/plugins/spacenavigator/SpaceNavigatorEvent.cpp:7:
/build/calligra/src/calligra-4.0.0/libs/flake/KoInputDeviceHandlerEvent.h:29:14: note: candidate: ‘KoInputDeviceHandlerEvent::KoInputDeviceHandlerEvent(Type, const QInputDevice*)’
   29 |     explicit KoInputDeviceHandlerEvent(Type type, const QInputDevice *dev);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
/build/calligra/src/calligra-4.0.0/libs/flake/KoInputDeviceHandlerEvent.h:29:14: note:   candidate expects 2 arguments, 1 provided
/build/calligra/src/calligra-4.0.0/libs/flake/KoInputDeviceHandlerEvent.h:19:20: note: candidate: ‘KoInputDeviceHandlerEvent::KoInputDeviceHandlerEvent(const KoInputDeviceHandlerEvent&)’
   19 | class FLAKE_EXPORT KoInputDeviceHandlerEvent : public QInputEvent
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/build/calligra/src/calligra-4.0.0/libs/flake/KoInputDeviceHandlerEvent.h:19:20: note:   no known conversion for argument 1 from ‘KoInputDeviceHandlerEvent::Type’ to ‘const KoInputDeviceHandlerEvent&’
Comment 1 Bug Janitor Service 2024-08-27 13:04:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/office/calligra/-/merge_requests/127
Comment 2 Carl Schwan 2024-08-27 21:50:08 UTC
Git commit 9fdd45d60459c01d9a247a884dbf96e214588a47 by Carl Schwan.
Committed on 27/08/2024 at 21:50.
Pushed by carlschwan into branch 'master'.

Drop spacenavigator plugin

The library is not available on Fedora and it fails to build on Arch. I
don't think we need an input handler for space simulator in an office
suite.

M  +0    -1    CMakeLists.txt
M  +0    -1    CalligraProducts.cmake
D  +0    -6    cmake/modules/FindSpnav.cmake
M  +0    -13   plugins/CMakeLists.txt
D  +0    -18   plugins/spacenavigator/CMakeLists.txt
D  +0    -21   plugins/spacenavigator/IDEAS
D  +0    -21   plugins/spacenavigator/Plugin.cpp
D  +0    -22   plugins/spacenavigator/Plugin.h
D  +0    -13   plugins/spacenavigator/SpaceNavigatorDebug.cpp
D  +0    -19   plugins/spacenavigator/SpaceNavigatorDebug.h
D  +0    -90   plugins/spacenavigator/SpaceNavigatorDevice.cpp
D  +0    -31   plugins/spacenavigator/SpaceNavigatorDevice.h
D  +0    -38   plugins/spacenavigator/SpaceNavigatorEvent.cpp
D  +0    -30   plugins/spacenavigator/SpaceNavigatorEvent.h
D  +0    -90   plugins/spacenavigator/SpaceNavigatorPollingThread.cpp
D  +0    -34   plugins/spacenavigator/SpaceNavigatorPollingThread.h
D  +0    -28   plugins/spacenavigator/calligra_device_spacenavigator.json

https://invent.kde.org/office/calligra/-/commit/9fdd45d60459c01d9a247a884dbf96e214588a47