Skip to content

Commit

Permalink
Slim build by removing some drivers we don't use
Browse files Browse the repository at this point in the history
  • Loading branch information
craigds committed Jul 1, 2024
1 parent 1a17d2f commit 95249de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 34 deletions.
26 changes: 1 addition & 25 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,17 @@ Build-Depends: cmake,
chrpath,
bash-completion,
libarmadillo-dev,
libblosc-dev,
libcfitsio-dev,
libcurl-ssl-dev,
libdeflate-dev,
libexpat1-dev,
libfreexl-dev (>= 1.0.0),
libfyba-dev,
libgeos-dev,
libgif-dev,
libhdf4-alt-dev,
libhdf5-dev (>= 1.8.8),
libheif-dev,
libjpeg-dev,
libjson-c-dev,
libkml-dev (>= 1.3.0~rc0-3),
liblz4-dev,
liblzma-dev,
default-libmysqlclient-dev,
libnetcdf-dev (>= 1:4.0.0),
libogdi-dev,
libopenjp2-7-dev,
libpcre2-dev,
libpng-dev,
Expand All @@ -42,12 +33,10 @@ Build-Depends: cmake,
libproj-dev (>= 9.2.0),
libqhull-dev,
libsqlite3-dev,
liburiparser-dev,
libwebp-dev,
libxerces-c-dev,
liburiparser-dev,
libxml2-dev,
libzstd-dev,
netcdf-bin,
patch,
pkg-config,
pkg-kde-tools,
Expand All @@ -56,7 +45,6 @@ Build-Depends: cmake,
python3-distutils,
python3-setuptools,
swig,
unixodbc-dev (>= 2.2.11),
zlib1g-dev,
libssl-dev,
libkea1.5
Expand Down Expand Up @@ -99,41 +87,29 @@ Section: libdevel
Depends: libgdal34 (= ${binary:Version}),
libc6-dev,
libarmadillo-dev,
libblosc-dev,
libcfitsio-dev,
libcurl-ssl-dev,
libdeflate-dev,
libexpat1-dev,
libfreexl-dev,
libfyba-dev,
libgeos-dev,
libgif-dev,
libhdf4-alt-dev,
libhdf5-dev,
libheif-dev,
libjpeg-dev,
libjson-c-dev,
libkml-dev,
libltdl-dev,
liblz4-dev,
liblzma-dev,
default-libmysqlclient-dev,
libnetcdf-dev,
libogdi-dev,
libopenjp2-7-dev,
libpcre2-dev,
libpng-dev,
libpoppler-private-dev,
libpq-dev,
libproj-dev (>= 9.2.0),
libqhull-dev,
libsqlite3-dev,
liburiparser-dev,
libwebp-dev,
libxerces-c-dev,
libxml2-dev,
libzstd-dev,
unixodbc-dev,
libssl-dev,
libkea1.5,
${misc:Depends}
Expand Down
20 changes: 11 additions & 9 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -60,28 +60,30 @@ override_dh_auto_configure:
-DRENAME_INTERNAL_TIFF_SYMBOLS=OFF \
-DRENAME_INTERNAL_GEOTIFF_SYMBOLS=OFF \
-DGDAL_USE_ARMADILLO=ON \
-DGDAL_USE_BLOSC=ON \
-DGDAL_USE_CFITSIO=ON \
-DGDAL_USE_BLOSC=OFF \
-DGDAL_USE_CFITSIO=OFF \
-DGDAL_USE_CURL=ON \
-DGDAL_USE_DEFLATE=ON \
-DGDAL_USE_ECW=OFF \
-DGDAL_USE_EXPAT=ON \
-DGDAL_USE_FREEXL=ON \
-DGDAL_USE_FYBA=ON \
-DGDAL_USE_FYBA=OFF \
-DGDAL_USE_GEOS=ON \
-DGDAL_USE_GIF=OFF \
-DGDAL_USE_GEOTIFF_INTERNAL=ON \
-DGDAL_USE_HDF4=OFF \
-DGDAL_USE_HDF5=ON \
-DGDAL_USE_HEIF=ON \
-DGDAL_USE_HEIF=OFF \
-DGDAL_USE_JSONC=ON \
-DGDAL_USE_LERC_INTERNAL=ON \
-DGDAL_USE_LIBKML=ON \
-DGDAL_USE_LIBLZMA=ON \
-DGDAL_USE_LZ4=ON \
-DGDAL_USE_MRSID=OFF \
-DGDAL_USE_MYSQL=ON \
-DGDAL_USE_NETCDF=ON \
-DGDAL_USE_ODBC=ON \
-DGDAL_USE_OGDI=ON \
-DGDAL_USE_MYSQL=OFF \
-DGDAL_USE_NETCDF=OFF \
-DGDAL_USE_ODBC=OFF \
-DGDAL_USE_OGDI=OFF \
-DGDAL_USE_OPENCAD_INTERNAL=ON \
-DGDAL_USE_OPENJPEG=ON \
-DGDAL_USE_PCRE2=ON \
Expand All @@ -92,7 +94,7 @@ override_dh_auto_configure:
-DGDAL_USE_SQLITE3=ON \
-DGDAL_USE_TIFF_INTERNAL=ON \
-DGDAL_USE_WEBP=ON \
-DGDAL_USE_XERCESC=ON \
-DGDAL_USE_XERCESC=OFF \
-DGDAL_USE_ZSTD=ON \
-DGDAL_USE_KEA=ON \
; \
Expand Down

0 comments on commit 95249de

Please sign in to comment.