From 6b61c4b43b4b97e3636a7a735a262ddf23e7e9fb Mon Sep 17 00:00:00 2001 From: Reinhold Gschweicher Date: Fri, 18 Oct 2024 10:01:39 +0200 Subject: [PATCH] reenable QRDBIO plugin and update rdblib to 2.4.5 With commit 6da29e4713849772f0352850c9168cde0710f31f the QRDBIO plugin was disabled/removed. Reenable it again and update the dependency `rdblib` to its latest version `v2.4.5` As a note: RDB files created with older versions of rdblib are readable by a newer version of rdblib (backwards compatibility). --- org.cloudcompare.CloudCompare.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/org.cloudcompare.CloudCompare.yaml b/org.cloudcompare.CloudCompare.yaml index b8ccde2..f0b07e5 100644 --- a/org.cloudcompare.CloudCompare.yaml +++ b/org.cloudcompare.CloudCompare.yaml @@ -71,6 +71,7 @@ cleanup: - /share/pcl-* - /share/pkgconfig - /share/proj + - /share/rdblib - /include @@ -84,6 +85,23 @@ build-options: prepend-ld-library-path: /usr/lib/sdk/llvm17/lib modules: + - name: rdblib + sources: + - type: archive + only-arches: [x86_64] + url: https://repository.riegl.com/software/libraries/rdblib/archive/2.4.5/linux/rdblib-2.4.5-x86_64-linux.tar.gz + sha256: 96720496230cc7fbbe1274b0a76415f5f73125773abe146ebd26afa888b67e0d + - type: archive + only-arches: [aarch64] + url: https://repository.riegl.com/software/libraries/rdblib/archive/2.4.5/linux/rdblib-2.4.5-arm64-linux.tar.gz + sha256: 8f57270def8f9bb8b3ce57750bd954dbd426c70fcb6bce5024f0524e9233651c + buildsystem: simple + build-commands: + - mkdir -p /app/rdblib + - cp -r . /app/rdblib + - mkdir -p /app/share/rdblib + - cp license.txt /app/share/rdblib + - name: MPFR sources: - type: archive @@ -399,6 +417,10 @@ modules: - -DPLUGIN_IO_QE57=ON - -DPLUGIN_IO_QPHOTOSCAN=ON - -DPLUGIN_IO_QLAS=ON + - -Drdb_DIR=/app/rdblib/interface/cpp # path to rdb-config.cmake provided by rdblib-module + - -DPLUGIN_IO_QRDB=ON + - -DPLUGIN_IO_QRDB_FETCH_DEPENDENCY=OFF # flatpak build itself has no internet access + - -DPLUGIN_IO_QRDB_INSTALL_DEPENDENCY=ON - -DPLUGIN_STANDARD_QANIMATION=ON - -DPLUGIN_STANDARD_QBROOM=ON - -DPLUGIN_STANDARD_QCANUPO=ON