GNU bug report logs -
#56370
[PATCH] gnu: gdal: Use cmake-build-system.
Previous Next
Reported by: Felix Gruber <felgru <at> posteo.net>
Date: Sun, 3 Jul 2022 19:59:01 UTC
Severity: normal
Tags: patch
Done: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56370 in the body.
You can then email your comments to 56370 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#56370
; Package
guix-patches
.
(Sun, 03 Jul 2022 19:59:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Felix Gruber <felgru <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 03 Jul 2022 19:59:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Gdal declared its configure script as deprecated with the release of
version 3.5 and is planning to deprecate it with release 3.6 which is
scheduled for November 2022.
* gnu/packages/geo.scm (gdal)[build-system]: Use cmake-build-system.
[arguments]: Remove configure flags for library search paths;
they are found automatically by cmake now. Add
-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL and
-DGDAL_USE_JPEG12_INTERNAL=OFF to get approximately the same results
as with the old configure script.
[inputs]: Remove pcre. Add pcre2 and qhull.
---
gnu/packages/geo.scm | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index d8e642f349..c934ee9e27 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -969,29 +969,12 @@ development.")
"frmts/gtiff/libgeotiff"
"frmts/zlib"
"ogr/ogrsf_frmts/geojson/libjson"))))))
- (build-system gnu-build-system)
+ (build-system cmake-build-system)
(arguments
`(#:tests? #f
#:configure-flags
- (let-syntax ((with (syntax-rules ()
- ((_ option input)
- (string-append option "="
- (assoc-ref %build-inputs input))))))
- (list
- ;; TODO: --with-pcidsk, --with-pcraster
- (with "--with-expat" "expat")
- (with "--with-freexl" "freexl")
- (with "--with-geotiff" "libgeotiff")
- (with "--with-gif" "giflib")
- (with "--with-jpeg" "libjpeg-turbo")
- (with "--with-libjson-c" "json-c")
- (with "--with-libtiff" "libtiff")
- (with "--with-libz" "zlib")
- (with "--with-png" "libpng")
- (with "--with-sqlite3" "sqlite")
- (with "--with-webp" "libwebp")
- "--without-jpeg12"
- "--with-pcre"))))
+ (list "-DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL"
+ "-DGDAL_USE_JPEG12_INTERNAL=OFF")))
(inputs
(list curl
expat
@@ -1006,9 +989,10 @@ development.")
libwebp
netcdf
openssl
- pcre
+ pcre2
postgresql ; libpq
proj
+ qhull
sqlite
zlib))
(native-inputs
--
2.30.2
Reply sent
to
Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
:
You have taken responsibility.
(Fri, 08 Jul 2022 15:15:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Felix Gruber <felgru <at> posteo.net>
:
bug acknowledged by developer.
(Fri, 08 Jul 2022 15:15:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 56370-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, 3 Jul 2022 19:57:26 +0000
Felix Gruber <felgru <at> posteo.net> wrote:
> Gdal declared its configure script as deprecated with the release of
> version 3.5 and is planning to deprecate it with release 3.6 which is
> scheduled for November 2022.
>
> * gnu/packages/geo.scm (gdal)[build-system]: Use cmake-build-system.
LGTM.
I built it and checked that gdalinfo xxx.tif still works.
Pushed as
6f909b37fa12ebf2002c609944b56e0feb77e841
Thanks.
Björn
[Message part 2 (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 06 Aug 2022 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.