Updated dependencies for BUILD.md
Using the kdeneon/plasma docker image, I was not able to build konsole using the prerequisites listed in BUILD.md. After some experimentation, I found what appears to be the current dependencies.
On the kdeneon/plasma docker image, the dependencies appear to be:
- git cmake make g++ extra-cmake-modules qtbase5-dev libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5kcmutils-dev libkf5i18n-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev qt5-default libkf5notifyconfig-dev libkf5pty-dev libkf5notifications-dev libkf5parts-dev qtmultimedia5-dev libkf5crash-dev libkf5newstuff-dev gettext libicu-dev
In addition, on a minimal Ubuntu 22.04 docker image, the dependencies appear to be:
- git cmake make g++ extra-cmake-modules qtbase5-dev libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5kcmutils-dev libkf5i18n-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev libkf5notifyconfig-dev libkf5pty-dev libkf5notifications-dev libkf5parts-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qtmultimedia5-dev libkf5crash-dev libkf5newstuff-dev appstream
That list also worked on my Kubuntu 22.04 desktop.
The Neon build was tested with the following:
# This will download about 2 GB.
docker run -it --rm kdeneon/plasma /bin/sh
# The following are run from the command line inside of the docker image
# This will download about 0.5 GB.
sudo apt install git cmake make g++ extra-cmake-modules qtbase5-dev libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5kcmutils-dev libkf5i18n-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev qt5-default libkf5notifyconfig-dev libkf5pty-dev libkf5notifications-dev libkf5parts-dev qtmultimedia5-dev libkf5crash-dev libkf5newstuff-dev gettext libicu-dev
git clone https://invent.kde.org/utilities/konsole.git
mkdir konsole/build
cd konsole/build
cmake ..
make -j4
The Ubuntu build was tested with the following:
docker run -it --rm ubuntu:22.04
# The following are run from the command line inside of the docker image
cd /tmp
apt update
# This will downlod about 0.3 GB
apt install -y git cmake make g++ extra-cmake-modules qtbase5-dev libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5kcmutils-dev libkf5i18n-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev libkf5notifyconfig-dev libkf5pty-dev libkf5notifications-dev libkf5parts-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qtmultimedia5-dev libkf5crash-dev libkf5newstuff-dev appstream
git clone https://invent.kde.org/utilities/konsole.git
mkdir konsole/build
cd konsole/build
cmake .. -DCMAKE_INSTALL_PREFIX=/tmp/konsole-install
make -j4