From f84647a22c8b31268974d8f94d0b7476c3969a51 Mon Sep 17 00:00:00 2001 From: Craig de Stigter Date: Fri, 13 Sep 2024 14:51:22 +1200 Subject: [PATCH] Remove some deps we don't use * armadillo: Used for `gdalwarp -tps`, which we don't use * kml: We don't use this (note: `kmlsuperoverlay` format doesn't require it) * lz4: we don't use this --- debian/control | 6 ------ debian/rules | 7 ++++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/debian/control b/debian/control index 8af31460b28c..f0911f178bab 100644 --- a/debian/control +++ b/debian/control @@ -13,7 +13,6 @@ Build-Depends: cmake, graphviz, chrpath, bash-completion, - libarmadillo-dev, libcurl-ssl-dev, libdeflate-dev, libexpat1-dev, @@ -22,8 +21,6 @@ Build-Depends: cmake, libhdf5-dev (>= 1.8.8), libjpeg-dev, libjson-c-dev, - libkml-dev (>= 1.3.0~rc0-3), - liblz4-dev, liblzma-dev, libopenjp2-7-dev, libpcre2-dev, @@ -86,7 +83,6 @@ Architecture: any Section: libdevel Depends: libgdal35 (= ${binary:Version}), libc6-dev, - libarmadillo-dev, libcurl-ssl-dev, libdeflate-dev, libexpat1-dev, @@ -95,9 +91,7 @@ Depends: libgdal35 (= ${binary:Version}), libhdf5-dev, libjpeg-dev, libjson-c-dev, - libkml-dev, libltdl-dev, - liblz4-dev, liblzma-dev, libopenjp2-7-dev, libpcre2-dev, diff --git a/debian/rules b/debian/rules index 033b82fa65bf..09ad18a022bc 100755 --- a/debian/rules +++ b/debian/rules @@ -59,7 +59,8 @@ override_dh_auto_configure: -DGDAL_HIDE_INTERNAL_SYMBOLS=OFF \ -DRENAME_INTERNAL_TIFF_SYMBOLS=OFF \ -DRENAME_INTERNAL_GEOTIFF_SYMBOLS=OFF \ - -DGDAL_USE_ARMADILLO=ON \ + -DGDAL_USE_ARMADILLO=OFF \ + -DGDAL_USE_AEC=OFF \ -DGDAL_USE_BLOSC=OFF \ -DGDAL_USE_CFITSIO=OFF \ -DGDAL_USE_CURL=ON \ @@ -76,9 +77,9 @@ override_dh_auto_configure: -DGDAL_USE_HEIF=OFF \ -DGDAL_USE_JSONC=ON \ -DGDAL_USE_LERC_INTERNAL=ON \ - -DGDAL_USE_LIBKML=ON \ + -DGDAL_USE_LIBKML=OFF \ -DGDAL_USE_LIBLZMA=ON \ - -DGDAL_USE_LZ4=ON \ + -DGDAL_USE_LZ4=OFF \ -DGDAL_USE_MRSID=OFF \ -DGDAL_USE_MYSQL=OFF \ -DGDAL_USE_NETCDF=OFF \