gnu: mia: Fix build.

* gnu/packages/patches/mia-gcc11.patch: New file.
* gnu/packages/patches/mia-openexr3.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/image-processing.scm (mia) [patches]: Apply them.
[inputs]: Replace hdf5 with hdf5-1.10.  Add lapack.  Replace openxr-2 with
openxr.  Move doxygen to...
[native-inputs]: ... here.

Fixes: bug#47561
Reported-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I337df14370a589c7c15d15bcc69b948b43c2e61b
This commit is contained in:
Maxim Cournoyer 2025-04-23 21:52:07 +09:00
parent 89de2cb1ef
commit d9831cd439
No known key found for this signature in database
GPG key ID: 1260E46482E63562
4 changed files with 143 additions and 5 deletions

View file

@ -19,7 +19,7 @@
;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022, 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
;;; Copyright © 2023 Cairn <cairn@pm.me>
@ -219,6 +219,8 @@ licences similar to the Modified BSD licence."))))
(base32
"0qpcd3n26q52dpyibm11f5l6cgscdr54p2jish39gc3p1f5h3ws1"))
(patches (search-patches "mia-fix-boost-headers.patch"
"mia-gcc11.patch"
"mia-openexr3.patch"
"mia-vtk9.patch"
"mia-vtk92.patch"
"mia-vtk-version.patch"))))
@ -230,14 +232,14 @@ licences similar to the Modified BSD licence."))))
(inputs
(list boost
dcmtk
doxygen
eigen
fftw
fftwf
gsl
gts
hdf5
hdf5-1.10
itpp
lapack
libjpeg-turbo
libpng
libtiff
@ -246,11 +248,12 @@ licences similar to the Modified BSD licence."))))
maxflow
niftilib
nlopt
openexr-2
openexr
python-lxml
vtk))
(native-inputs
(list pkg-config
(list doxygen
pkg-config
python-wrapper))
(home-page "https://mia.sourceforge.net")
(synopsis "Toolkit for gray scale medical image analysis")