[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64201] [PATCH 01/20] gnu: sextractor: Update to 2.28.0, fix build.
From: |
Sharlatan Hellseher |
Subject: |
[bug#64201] [PATCH 01/20] gnu: sextractor: Update to 2.28.0, fix build. |
Date: |
Wed, 21 Jun 2023 07:33:40 +0100 |
* gnu/packages/astronomy.scm (sextractor): Update to 2.28.0, fix build.
[arguments]: Use G-expressions, add configure flags for CFitsio
detection.
[inputs]: Remove labels. Add cfitsio.
---
gnu/packages/astronomy.scm | 34 +++++++++++++++++++---------------
1 file changed, 19 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index cdb6750f09..787ca01491 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -747,7 +747,7 @@ (define-public phd2
(define-public sextractor
(package
(name "sextractor")
- (version "2.25.0")
+ (version "2.28.0")
(source
(origin
(method git-fetch)
@@ -756,29 +756,33 @@ (define-public sextractor
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0q69n3nyal57h3ik2xirwzrxzljrwy9ivwraxzv9566vi3n4z5mw"))))
+ (base32 "15v7brjiraj2rdyxiidcgb58b3dqzdd363j31cjrfqhd1wc8ii5j"))))
(build-system gnu-build-system)
;; NOTE: (Sharlatan-20210124T103117+0000): Building with `atlas' is failing
;; due to missing shared library which required on configure phase. Switch
;; build to use `openblas' instead. It requires FFTW with single precision
;; `fftwf'.
(arguments
- `(#:configure-flags
- (list
- "--enable-openblas"
- (string-append
- "--with-openblas-libdir=" (assoc-ref %build-inputs "openblas") "/lib")
- (string-append
- "--with-openblas-incdir=" (assoc-ref %build-inputs "openblas")
"/include")
- (string-append
- "--with-fftw-libdir=" (assoc-ref %build-inputs "fftw") "/lib")
- (string-append
- "--with-fftw-incdir=" (assoc-ref %build-inputs "fftw") "/include"))))
+ (list
+ #:configure-flags
+ #~(list
+ "--enable-openblas"
+ (string-append "--with-cfitsio-incdir="
+ #$(this-package-input "cfitsio") "/include")
+ (string-append "--with-cfitsio-libdir="
+ #$(this-package-input "cfitsio") "/lib")
+ (string-append "--with-fftw-incdir="
+ #$(this-package-input "fftwf") "/include")
+ (string-append "--with-fftw-libdir="
+ #$(this-package-input "fftwf") "/lib")
+ (string-append "--with-openblas-incdir="
+ #$(this-package-input "openblas") "/include")
+ (string-append "--with-openblas-libdir="
+ #$(this-package-input "openblas") "/lib"))))
(native-inputs
(list autoconf automake libtool))
(inputs
- `(("openblas" ,openblas)
- ("fftw" ,fftwf)))
+ (list cfitsio fftwf openblas))
(home-page "https://www.astromatic.net/software/sextractor")
(synopsis "Extract catalogs of sources from astronomical images")
(description
--
2.40.1
- [bug#64201] [PATCH 00/19] gnu: monthly astronomy packages update, Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 02/20] gnu: python-photutils: Update to 1.8.0., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 12/20] gnu: python-fitsio: Enable tests., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 15/20] gnu: python-reproject: Update to 0.11.0., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 07/20] gnu: python-astropy: Update to 5.3., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 01/20] gnu: sextractor: Update to 2.28.0, fix build.,
Sharlatan Hellseher <=
- [bug#64201] [PATCH 19/20] gnu: python-synphot: Update to 1.2.1., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 04/20] gnu: calcmysky: Update to 0.3.1., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 18/20] gnu: python-sunpy: Update to 5.0.0., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 08/20] gnu: python-ccdproc: Update to 2.4.1., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 05/20] gnu: libxisf: Update to 0.2.8., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 10/20] gnu: python-drms: Update to 0.6.4., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 17/20] gnu: python-stdatamodels: Update to 1.6.0., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 11/20] gnu: python-fitsio: Update to 1.1.9., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 20/20] gnu: python-astroalign: Fix build., Sharlatan Hellseher, 2023/06/21
- [bug#64201] [PATCH 06/20] gnu: splash: Update to 3.8.2., Sharlatan Hellseher, 2023/06/21