Package updated to build against the latest commit from the update_2022 branch.
It seems to work fine, but namcap complains about missing QML files from qt5-quick1 and other packages which likely used to build against it:
$ namcap librepilot-16.09+r902+g35e84b7-1-x86_64.pkg.tar.zst
librepilot W: Referenced QML module 'Pfd' is an uninstalled dependency (needed in files ['usr/share/librepilot-gcs/qml/pfd/PfdTerrainWorld.qml', 'usr/share/librepilot-gcs/qml/Earth.qml', 'usr/share/librepilot-gcs/qml/pfd/PfdVideoWorld.qml', 'usr/share/librepilot-gcs/qml/model/ModelTerrainView.qml'])
librepilot W: Referenced QML module 'QtQuick.XmlListModel' is an uninstalled dependency (needed in files ['usr/lib/librepilot-gcs/plugins/LibrePilot/libWelcome.so'])
librepilot W: Referenced QML module 'QtQuick.Controls.Styles' is an uninstalled dependency (needed in files ['usr/share/librepilot-gcs/qml/pfd/TooltipArea.qml'])
librepilot W: Referenced QML module 'OsgQtQuick' is an uninstalled dependency (needed in files ['usr/share/librepilot-gcs/qml/Cube.qml', 'usr/share/librepilot-gcs/qml/pfd/PfdTerrainWorld.qml', 'usr/share/librepilot-gcs/qml/Earth.qml', 'usr/share/librepilot-gcs/qml/model/ModelView.qml', 'usr/share/librepilot-gcs/qml/pfd/PfdVideoWorld.qml', 'usr/share/librepilot-gcs/qml/model/ModelTerrainView.qml'])
librepilot W: Referenced QML module 'QtQuick.Controls.Private' is an uninstalled dependency (needed in files ['usr/share/librepilot-gcs/qml/pfd/TooltipArea.qml'])
librepilot W: Dependency included, but may not be needed ('qt5-xmlpatterns')
This may be because librepilot expects its QML files to be in /usr/share/librepilot/gcs/qml, instead of /usr/lib/qt/qml. For example, the Pfd module is provided by librepilot itself, but still appears among the warnings.
I have also packaged qt5-quick1, but installing it does not apparently satisfy the dependency and the warnings from namcap remain unchanged. The reason may be the same as above. However, librepilot does need at least some of the dependencies of qt5-quick1. For example, not having qt5-xmlpatterns produces some non-critical errors in stdout, and qt5-script is required at least for building.
For this reason, I did not include qt5-quick1 as a dependency. If you find more info on this or can confirm that some functionality is limited without qt5-quick1, qt5-script or their dependencies, please report any findings here.
Pinned Comments
vitaliikuzhdin commented on 2025-01-27 13:39 (UTC) (edited on 2025-02-23 13:19 (UTC) by vitaliikuzhdin)
Package updated to build against the latest commit from the
update_2022branch.It seems to work fine, but
namcapcomplains about missingQMLfiles fromqt5-quick1and other packages which likely used to build against it:This may be because
librepilotexpects itsQMLfiles to be in/usr/share/librepilot/gcs/qml, instead of/usr/lib/qt/qml. For example, thePfdmodule is provided bylibrepilotitself, but still appears among the warnings.I have also packaged qt5-quick1, but installing it does not apparently satisfy the dependency and the warnings from
namcapremain unchanged. The reason may be the same as above. However,librepilotdoes need at least some of the dependencies ofqt5-quick1. For example, not havingqt5-xmlpatternsproduces some non-critical errors instdout, andqt5-scriptis required at least for building.For this reason, I did not include
qt5-quick1as a dependency. If you find more info on this or can confirm that some functionality is limited withoutqt5-quick1,qt5-scriptor their dependencies, please report any findings here.