Adding dependencies for KDE KStars
We are in the process of shifting from our own CI image to the KDE CI system for KStars. We have a bunch of external dependencies. We're looking for the best course of action.
We suppose we should push a few MRs here for the images we plan to use, but where do we stop, and what configuration action is allowed from inside the build environment?
The current build image we have is based on ubuntu:22.04. We add the following distribution packages, most of which are either probably already installed in the suse_tumbleweed_qt515
CI image, or relatively easy to find:
- gcc-multilib
- g++-multilib
- make
- gettext
- coreutils
- cmake
- extra-cmake-modules
- qtbase5-dev
- qtdeclarative5-dev
- qtmultimedia5-dev
- qtpositioning5-dev
- libqt5websockets5-dev
- libqt5svg5-dev
- libqt5sql5-sqlite
- libkf5doctools-dev
- libkf5config-dev
- libkf5guiaddons-dev
- libkf5i18n-dev
- libkf5newstuff-dev
- libkf5notifications-dev
- libkf5xmlgui-dev
- libkf5plotting-dev
- libkf5crash-dev
- libkf5notifyconfig-dev
- libeigen3-dev
- zlib1g-dev
- libcfitsio-dev
- libnova-dev
- wcslib-dev
- libraw-dev
- libgsl-dev
- phonon4qt5-backend-vlc
- qt5keychain-dev
- libqt5sql5-sqlite
- libqt5datavisualization5-dev
- qml-module-qtquick-controls
- libsecret-1-dev
We also add the following external repositories in order to run tests (although we tend to be less and less dependent on those), most of which we suppose we should install at run or test time, if that is possible:
- ppa:mutlaqja/indinightly
- ppa:multaqja/ppa
- ppa:pch/phd2
We are under the impression that tests could be still run using our historical CI image, but anyway, the following additional packages are required:
- xplanet
- xplanet-images
- astrometry.net
- kded5
- kinit
- breeze-icon-theme
- gsc
- gsc-data
- phd2
- xvfb
Package xvfb
is here to run UI tests by providing a virtual framebuffer for QT.
We have some static files for astrometry.net
that we need to install on the test system. Right now we COPY them while building the CI image, but we would need to install them in someplace like /usr/local/astrometry
, or be able to modify a system configuration file to change the folder.
UI tests also require fiddling with d-bus to generate a system machine identifier.
Thanks for your guidance, -Eric