From 4c91f7c7e5cc5117729fa91982e01618289833ca Mon Sep 17 00:00:00 2001 From: Tom Dewey <146750643+tdewey-rpi@users.noreply.github.com> Date: Tue, 3 Oct 2023 09:46:18 +0100 Subject: [PATCH 1/2] Add liblzma-dev to Debian instructions Turns out we actually require liblzma-dev, and without it we will fail to configure CMake with default options. So let's add it to the readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 64dd1f2..25fbc12 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ For the embedded (netboot) build see also "embedded/legal-info" for more informa Install the build dependencies: ``` -sudo apt install --no-install-recommends build-essential devscripts debhelper cmake git libarchive-dev libcurl4-gnutls-dev \ +sudo apt install --no-install-recommends build-essential devscripts debhelper cmake git libarchive-dev libcurl4-gnutls-dev liblzma-dev \ qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev libqt5svg5-dev qttools5-dev libgnutls28-dev \ qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtgraphicaleffects ``` From 19af037cd4d4fa552e5b60311f26e6dd81cbebd7 Mon Sep 17 00:00:00 2001 From: Tom Dewey <146750643+tdewey-rpi@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:00:13 +0100 Subject: [PATCH 2/2] Add lzma-sdk-devel to Fedora instructions The find_package in the root CMakeLists doesn't descriminate between Ubuntu/Debian and Fedora, so the check for LibLZMA will be applied on Fedora too. So update the instructions for Fedora to include the liblzma-sdk-devel package, which should satisfy CMake. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25fbc12..525cb00 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ If udisks2 is not functional on your Linux distribution, you can alternatively s Install the build dependencies: ``` -sudo yum install git gcc gcc-c++ make cmake libarchive-devel libcurl-devel openssl-devel qt5-qtbase-devel qt5-qtquickcontrols2-devel qt5-qtsvg-devel qt5-linguist +sudo yum install git gcc gcc-c++ make cmake libarchive-devel libcurl-devel lzma-sdk-devel openssl-devel qt5-qtbase-devel qt5-qtquickcontrols2-devel qt5-qtsvg-devel qt5-linguist ``` #### Get the source