Package Details: librepilot 16.09+r902+g35e84b7-1

Git Clone URL: https://aur.archlinux.org/librepilot.git (read-only, click to copy)
Package Base: librepilot
Description: A ground control station and firmware for UAV flight controllers
Upstream URL: https://www.librepilot.org
Keywords: drone gcs uav
Licenses: GPL-3.0-or-later
Submitter: parched
Maintainer: vitaliikuzhdin
Last Packager: vitaliikuzhdin
Votes: 8
Popularity: 0.000000
First Submitted: 2015-10-24 10:49 (UTC)
Last Updated: 2025-01-08 19:34 (UTC)

Pinned Comments

vitaliikuzhdin commented on 2025-01-27 13:39 (UTC)

Package updated to build against the latest commit from the next 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.

Latest Comments

vitaliikuzhdin commented on 2025-01-27 13:39 (UTC)

Package updated to build against the latest commit from the next 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.

tarbisrat commented on 2019-04-23 02:58 (UTC)

PKGBUILD for git version https://pastebin.com/6WU5sQHH

juliosddr commented on 2019-01-22 11:46 (UTC)

Will you update this?

eodna commented on 2017-08-17 08:43 (UTC) (edited on 2017-08-17 16:06 (UTC) by eodna)

Also building from their git directly. If anyone has trouble with libusb-1.0 when building gcs (may or not be related to my libusb-nosystemd) just comment out the PKGCONFIG line in: ground/gcs/src/plugins/ophid/ophid.pro and the build continues. I don't know how to add /usr/include/libusb-1.0/ as an include directly cleanly, but in extremis you can just link libusb.h into ground/gcs/src/plugins/ophid/inc/ It compiles, however there are libusb warnings about loading plugins on startup, more news soon.

andrej commented on 2017-01-16 13:54 (UTC) (edited on 2017-01-16 13:55 (UTC) by andrej)

There's a new release 16.09, but it still doesn't build due to a completely different compilation error than the one in this version. What I did manage to build, however, was their standard 'next' branch from Git. I just did a local build by following the (ArchLinux-specific) instructions here: https://librepilot.atlassian.net/wiki/display/LPDOC/Linux+-+Building+and+Packaging (Haven't made any packaging attempts.) I plugged in my HiSky HMX280 and flashed it using that 'next' build. And it flies. \o/ \o/ \o/ There were a few funny glitches though, for example, all the settings got wiped out although I hadn't selected the most aggressive flashing option. So the aircraft completely forgot that it had motors and I had to configure them again (ports, ESC types, all that). Also the PID settings got weird -- both the backed-up ones I had as well as the default ones made the quadcopter wobble in hover. But now it's fine after a bit of quick "tuning", --P and ++I basically, the classics. :-D Just thought I'd leave behind a word of caution for someone who decides to update an aircraft with a dated firmware in it. :-)

parched commented on 2016-07-12 12:59 (UTC)

@andrej Yes it requires an older version of Qt to build. The prebuilt version here should work though http://download.librepilot.org/repo/archlinux/librepilot/

andrej commented on 2016-07-12 08:07 (UTC)

This doesn't build on my system. :-( Does it require an older Qt version or something like that? I can see two instances of this error message: /tmp/yaourt-tmp-andrej/aur-librepilot/src/LibrePilot/ground/gcs/src/plugins/uavsettingsimportexport/importsummary.cpp:83:70: error: no matching function for call to ‘QTableWidgetItem::setFlags(bool)’ ui->importSummaryList->item(row, 2)->setFlags(!Qt::ItemIsEditable);

parched commented on 2015-10-24 10:54 (UTC)

A repository is also available. To use add [librepilot] SigLevel = Optional TrustAll Server = http://download.librepilot.org/repo/archlinux/librepilot/$arch to `/etc/pacman.conf`