1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 13:40:36 +02:00
Commit Graph

251 Commits

Author SHA1 Message Date
Danny Milosavljevic
efe29ca757 gnu: scantailor-advanced: Add Wayland.
* gnu/packages/image-processing.scm (scantailor-advanced)[inputs]: Add
qtwayland-5.

Change-Id: I0437a8678de8eb2fff0b160e4db0d123bd5ea090
2026-01-12 02:39:05 +01:00
Nicolas Graves
b5159db2ce gnu: python-pims: Fix build.
* gnu/packages/image-processing.scm (python-pims)
[arguments]<#:phases>: Add phase 'relax-requirements.
[native-inputs]: Remove python-wheel.

Change-Id: Icec0ee0744cd326f1bbd2f320b63fa067cea7e8b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-12-31 12:24:11 +00:00
Vinicius Monego
04adde463e gnu: gmic: Update to 3.6.5.
* gnu/packages/image-processing.scm (gmic): Update to 3.6.5.

Change-Id: I195bd513e7681e3f4273c67a3a032c01401d755f
2025-12-24 19:40:41 -03:00
Jake Forster
5356a7eeb9 gnu: cimg: Update to 3.6.5.
* gnu/packages/image-processing.scm (cimg): Update to 3.6.5.

Change-Id: Ic1672327a3c53e08d685d54ee0d65d810bb51e93
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-12-19 18:04:10 +01:00
Roman Scherer
1cc99c8565 gnu: opencv: Skip failing test on aarch64.
* gnu/packages/image-processing.scm (opencv)[arguments]: Disable
ReferenceAccuracy test due to floating-point precision differences
with ARM NEON.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-12-16 20:28:09 +01:00
Jake Forster
ff5eb0811f gnu: dcmtk: Update to 3.6.9.
* gnu/packages/image-processing.scm (dcmtk): Update to 3.6.9.
[source]: Switch to git-fetch.

Change-Id: I1316f86bb739caf1119d875bcaafebf200664b3a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-27 14:22:24 +01:00
dan
db59a6ea3c gnu: opencolorio: Disable a failing test case on ARM and RISC-V.
* gnu/packages/image-processing.scm (opencolorio): Disable a failing test
case on ARM and RISC-V.

Change-Id: If7ef40f72b0d42be47a3771a18e18c7c97b202ea
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-11-22 10:17:43 +01:00
Nicolas Graves
b3bad9431d gnu: insight-toolkit: Extend with (pyproject-guile-json).
* gnu/packages/image-processing.scm (insight-toolkit)[arguments]
<#:phases>: Extend with (pyproject-guile-json).

Change-Id: I49eb6f6b97872e0742b002c354db660bde2fd211
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-11-20 01:06:35 +00:00
Sharlatan Hellseher
e283facef9 gnu: labelme: Fix build.
* gnu/packages/image-processing.scm (labelme)[propagated-inputs]: Add
python-pyqt.
[native-inputs]: Remove python-wheel; add python-setuptools.

Change-Id: I393631cd00a262c7f06bd103008c93e1937ba9f0
2025-10-23 13:29:25 +01:00
Andreas Enge
85a44ae636 gnu: paraview: Build with Qt6.
* gnu/packages/image-processing.scm (paraview)[inputs]: Remove qtbase-5,
qtdeclarative-5, qtmultimedia-5, qtsvg-5, qttools-5, qtwebchannel-5,
qtwebengine-5, qtx11extras, and qtxmlpatterns-5; add libxslt, qt5compat,
qtdeclarative, qtmultimedia, qtsvg, qttools, qtwebchannel, and qtwebengine.

Change-Id: Ie59132a7809763bd6cc1721373998ac8fddc94af
2025-10-23 12:45:13 +02:00
Jake Forster
ccf72a920a gnu: insight-toolkit: Fix build.
* gnu/packages/image-processing.scm (insight-toolkit)
[inputs]: Remove mesa-opencl; add opencl-headers and opencl-icd-loader.

Change-Id: I922dda07d3695ecec79a7207dce7ab71fd061c71
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-01 20:12:02 +01:00
Sergey Trofimov
8c44fbca7f gnu: vips: Remove unused libxml2 dependency.
* gnu/packages/image-processing.scm (vips)[inputs]: Remove unused
libxml2.

Change-Id: I38a0e1ad6ce2653cfffc853126208bceeb38801d
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2025-09-30 21:47:28 +09:00
John Kehayias
58c345f56c gnu: libxml2: Update to 2.14.6; deprecate python-libxml2.
Python bindings for libxml2 are now built as part of libxml2; remove all
python-libxml2 inputs for libxml2 (nearly all already had libxml2) and
deprecate the package.  This was done manually using

git grep python-libxml2 gnu/packages

to find affected packages and then check all their input fields.

With the update to libxml2, we can remove all the libxml2-next* variants.
This change was automated with:

git grep -rl libxml2-next | xargs sed -i 's/\(libxml2-next\|libxml2-next-for-grafting\)/libxml2/g'

* gnu/packages/xml.scm (libxml2): Update to 2.14.6.
[arguments]<#:phases>: Add configure-python phase (from python-libxml2).
[native-inputs]: Add pkg-config and python-minimal.
(libxml2-next, libxml2-next/fixed, libxml2-next-for-grafting): Remove.
(python-libxml2): Deprecate in favor of libxml2.

Change-Id: I2976f2fde086e9bc345d661edbdc125abbb7a753
2025-09-30 16:48:20 +09:00
Jake Forster
7eeab5ffa7 gnu: simpleitk: Fix 'pip install'.
* gnu/packages/image-processing.scm: Import (gnu packages nss).
(simpleitk) [native-inputs]: Add nss-certs-for-test.

Change-Id: If8c1e75b8813f44384fe0c4a5396fce46441d077
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-09-29 15:12:20 +02:00
Maxim Cournoyer
10482f731e Reapply "Update Maxim's email address."
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:

grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
  --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
  xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18 13:44:12 +09:00
Maxim Cournoyer
a7db92d9b3 Revert "Update Maxim's email address."
This reverts commit d0d87a744d. Oops! This
caused a world rebuild.

Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18 12:07:31 +09:00
Maxim Cournoyer
d0d87a744d Update Maxim's email address.
The change was automated via:

  git grep -l maxim.cournoyer@gmail.com |
    xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

* .mailmap: New entry.

Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-09-18 08:05:19 +09:00
Nicolas Graves
5bd5624982 gnu: packages: Avoid libxml2@2.9 propagation.
libxml2@2.9 has CVEs, we don't want it in user profiles.

* gnu/packages/augeas.scm (augeas)
* gnu/packages/bioinformatics.scm (libsbml)
* gnu/packages/elf.scm (libabigail)
* gnu/packages/freedesktop.scm (telepathy-logger)
* gnu/packages/glib.scm (libaccounts-glib)
* gnu/packages/gtk.scm (gtksourceview)
* gnu/packages/image-processing.scm (vips)
* gnu/packages/mate.scm (libmateweather)
* gnu/packages/messaging.scm (libgnt)
* gnu/packages/virtualization.scm (libvirt-glib)
* gnu/packages/vpn.scm (openconnect)
* gnu/packages/xml.scm (xmlsec)
[propagated-inputs]: Replace libxml2 by libxml2-next.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-09-04 11:13:05 +02:00
Jake Forster
f30c8b53ea gnu: paraview: Update to 6.0.0.
* gnu/packages/image-processing.scm (paraview): Update to 6.0.0.
[source]<snippet>: Update list of bundled VTK libraries in comments.  glew is
no longer bundled so do not remove it.
[arguments]<#:configure-flags>: Use a relative directory in
"CMAKE_INSTALL_DOCDIR" and
"PARAVIEW_GENERATED_DOCUMENTATION_OUTPUT_DIRECTORY".  Remove
"-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON".
[inputs]: Replace fmt with fmt-11.  Remove glew.
* gnu/packages/simulation.scm (openfoam-org)[native-inputs]: Replace fmt with
fmt-11.  Remove glew.

Change-Id: Ifa005f33dd04c0119008726c11f3b32efba28b0d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-08-25 12:17:02 +02:00
Jake Forster
e676c0d990 gnu: paraview: Fix build with gcc-14.
* gnu/packages/image-processing.scm: Import (gnu packages engineering).
(paraview): Use Guix's CGNS when building bundled VTK.
[source]: Remove ".git" suffix from URL.  Adjust snippet to also remove
bundled VTK library cgns.
[arguments]<#:configure-flags>: Add "-DVTK_MODULE_USE_EXTERNAL_VTK_cgns=ON".
[inputs]: Add cgns.

Change-Id: Id8e11fd772a05a3833446233de301b13263f76a3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-08-25 12:17:02 +02:00
Ghislain Vaillant
bd1fd8cb1f gnu: insight-toolkit: Build with ITKAdaptiveDenoising remote module.
* gnu/packages/image-processing.scm (insight-toolkit)[native-inputs]:
Add origin for ITKAdaptiveDenoising remote module.
[arguments]<#:phases>{prepare-remote-modules}: Prepare module source.
<#:configure-flags>: Set the Module_AdaptiveDenoising CMake flag.

Change-Id: Ie9d0ad5c63031ff702e47b41b82574334d776eff
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-22 20:43:30 +02:00
Ghislain Vaillant
b964ac17dd gnu: insight-toolkit: Build with ITKReview module.
* gnu/packages/image-processing.scm (insight-toolkit)[arguments]
<#:configure-flags>: Set the Module_ITKReview CMake flag.

Change-Id: If3ab92b166d2fb78336a86846208773a23bc8eed
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-22 20:43:20 +02:00
Andreas Enge
8bd415b065 gnu: charls: Update to 2.4.2.
* gnu/packages/image-processing.scm (charls): Update to 2.4.2.

Fixes: guix/guix#2156
Change-Id: I9f3180552faf4adeddd29719476859910529d579
2025-08-21 13:04:40 +02:00
Jake Forster
2fd581fba1 gnu: Add simpleitk.
* gnu/packages/image-processing.scm (simpleitk): New variable.

Change-Id: I96b270097fb54ee4566c278b87014bf893282894
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-13 19:41:04 +02:00
Jake Forster
7f2fb067f2 gnu: insight-toolkit: Include remote modules for SimpleITK.
In preparation to add SimpleITK, enable the remote modules
'SimpleITKFilters' and 'GenericLabelInterpolator' in the
insight-toolkit (ITK) build.  The SimpleITKFilters module provides
additional filters used by SimpleITK and is required by its Python
extension module (<https://github.com/SimpleITK/SimpleITK/issues/2347>).
The GenericLabelInterpolator module is required for one of its
interpolation methods for resampling label images.

* gnu/packages/image-processing.scm (insight-toolkit)[arguments]
<#:configure-flags>: Add flags.
<#:phases>{prepare-remote-modules}: Include remote modules.
[native-inputs]: Add origins for them.

Change-Id: Ia70b33bb08d6f3e1ad81b42f2619cb6db69c69e8
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-13 19:40:57 +02:00
Jake Forster
b5a3db7c47 gnu: insight-toolkit: Fix Python module and add a test for it.
Insight Toolkit (ITK) Python module fails to import due to:
  AttributeError: module 'numpy' has no attribute 'bool'
Implement the fix from here:
<https://github.com/InsightSoftwareConsortium/ITK/pull/5402>

While ITK's test suite is disabled for good reason, we can test that the
Python module imports successfully.  Importing the Python module requires
NumPy.  It is added as a native-input instead of a propagated-input because
the "out" output is unrelated to Python.

* gnu/packages/image-processing.scm (insight-toolkit)[arguments]: Remove
'#tests? #f'.  Add #:imported-modules and #:modules.
<#:phases>: Delete 'check.  Add 'fix-numpy-bool and 'python-sanity-check.
[native-inputs]: Add python-numpy.
(insight-toolkit-legacy)[arguments]: Remove inherited phase
'python-sanity-check.
[native-inputs]: Remove inherited python-numpy.

Change-Id: Ia6d14c22cbea9cd9877da36f8f72e2e34ff8a8a6
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-11 18:57:23 +02:00
Andy Tai
32cda2f495 gnu: opencv: Update to 4.12.0.
* gnu/packages/image-processing.scm (opencv): Update to 4.12.0.
[source](snippet): Adjust to change of "3rdparty" directories changes.

Change-Id: I3314182f7c3d550794f29c24022c2cfa24e6b467
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2025-08-04 12:01:15 +02:00
Greg Hogan
a13adb9cfa gnu: opencolorio: Fix build.
* gnu/packages/image-processing.scm (opencolorio)[arguments]<:#phases>
('fix-OpenColorIOConfig): Delete phase.
('fix-broken-test): Add phase.

Change-Id: I1b07e782e650f669e41dca549737b0f1571b8eaa
2025-08-04 04:11:35 +00:00
Greg Hogan
6590eb1f60 gnu: vxl: Fix builds.
* gnu/packages/image-processing.scm (vxl)[arguments]<#:test-exclude>:
Add nonexistent test.
(vxl-1)[arguments]: Inherit from base package.

Change-Id: Ic89293a8dcba0f420f28e4945f9e68706c701af2
2025-08-04 04:11:30 +00:00
Greg Hogan
50c3fd729a gnu: Remove BUILD_TESTING configuration flag.
* gnu/packages/assembly.scm (cpu-features),
* gnu/packages/astronomy.scm (casacore),
* gnu/packages/bioinformatics.scm (morpheus),
* gnu/packages/code.scm (rtags),
* gnu/packages/education.scm (gcompris-qt),
* gnu/packages/game-development.scm (libccd),
* gnu/packages/geo.scm (cloudcompare),
* gnu/packages/glib.scm (dbus-cxx),
* gnu/packages/graph.scm (faiss),
* gnu/packages/graphics.scm (f3d, mmg),
* gnu/packages/i2p.scm (i2pd),
* gnu/packages/image-processing.scm (vtk),
* gnu/packages/image.scm (openjpeg),
* gnu/packages/irc.scm (quassel),
* gnu/packages/jami.scm (jami),
* gnu/packages/kde.scm (kapptemplate, kdeconnect, kdenlive, krita),
* gnu/packages/kde-frameworks.scm (purpose, purpose-5),
* gnu/packages/kde-office.scm (calligra, ghostwriter),
* gnu/packages/linux.scm (bpftrace),
* gnu/packages/maths.scm (blitz, double-conversion, hpcombi, lapack,
vc),
* gnu/packages/messaging.scm (libsignal-protocol-c),
* gnu/packages/mold.scm (mold),
* gnu/packages/music.scm (sonivox),
* gnu/packages/networking.scm (dhtnet),
* gnu/packages/opencl.scm (opencl-clhpp),
* gnu/packages/openpgp.scm (rnp),
* gnu/packages/photo.scm (darktable),
* gnu/packages/popt.scm (gflags),
* gnu/packages/rdesktop.scm (freerdp),
* gnu/packages/security-token.scm (cppcodec),
* gnu/packages/terminals.scm (libtsm),
* gnu/packages/text-editors.scm (jucipp),
* gnu/packages/xdisorg.scm (xsettingsd)
[arguments]<#:configure-flags>: Remove BUILD_TESTING.

* gnu/packages/jupyter.scm (xeus)
[arguments]: Disable tests.
<#:configure-flags>: Remove BUILD_TESTING.

Change-Id: I6870720cdd2b10c7afacf0c6e7400cd1d73a1209
2025-08-04 04:11:23 +00:00
Greg Hogan
6d40d0b795 gnu: Disable parallel tests.
* gnu/packages/aidc.scm (zint),
* gnu/packages/calendar.scm (libical),
* gnu/packages/compression.scm (c-blosc2, minizip-ng),
* gnu/packages/cpp.scm (cpp-httplib),
* gnu/packages/engineering.scm (libmedfile),
* gnu/packages/gnome.scm (evolution-data-server),
* gnu/packages/image-processing.scm (opencv),
* gnu/packages/kde-frameworks.scm (kservice),
* gnu/packages/maths.scm (scotch),
* gnu/packages/networking.scm (restbed, restinio, srt),
* gnu/packages/tbb.scm (tbb),
* gnu/packages/tls.scm (mbedtls-lts),
* gnu/packages/vulkan.scm (vulkan-loader),
* gnu/packages/web.scm (websocketpp)
[arguments]<#:parallel-tests?>: Disable.

Change-Id: I88334deb4afc29ab84b279e9d1759a777ddd49dd
2025-08-04 04:10:26 +00:00
Jake Forster
62cd39ff0d gnu: Add cimg.
* gnu/packages/image-processing.scm (cimg): New variable.

Change-Id: I443dcc71864b237b6573360e27deb7a6adda8b49
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-02 19:38:50 +02:00
Andreas Enge
8ebe8857fa gnu: Remove insight-toolkit-4.
* gnu/packages/image-processing.scm (insight-toolkit-4): Delete variable.

Change-Id: I248603846b7f704aba4120817a64dc4896e51020
2025-08-01 17:58:16 +02:00
Andreas Enge
92a110ba83 gnu: Remove insight-toolkit-4.12.
* gnu/packages/image-processing.scm (insight-toolkit-4.12): Delete variable.

Change-Id: Ibb2e195d8f882b3da9ef3a7291008cc0dad88220
2025-08-01 17:57:00 +02:00
Andreas Enge
1ad0405a8f gnu: Remove vtk-7.
* gnu/packages/image-processing.scm (vtk-7): Delete variable.

Change-Id: I9b70e5923333fb15672f194b3e6c28f1d7b17a5c
2025-08-01 17:56:12 +02:00
Jake Forster
6a6e8673a9 gnu: itk-snap: Update to 4.2.2-0.6525125.
* gnu/packages/image-processing: Import (gnu packages ssh).
(itk-snap): Update to 4.2.2-0.6525125.
[source]: Fetch from the new official home on GitHub.  Remove
itk-snap-alt-glibc-compat.patch.
[arguments]: Use gexps.
<#:configure-flags>: Remove "-DSNAP_VERSION_GIT_SHA1=release",
"-DSNAP_VERSION_GIT_TIMESTAMP=0", "-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
"-DCMAKE_CXX_STANDARD=14".
<#:phases>{disable-gui-tests}: Disable more GUI tests.
{prepare-submodules}: Remove substitution in c3d checkout.  Add digestible
submodule.
{fix-includes}: Delete phase.
{remove-bundled-jsoncpp}: New phase.
{wrap-executable}: Use gexp.
[inputs]: Replace insight-toolkit-4.12 with insight-toolkit-legacy.  Replace
vtk-7 with vtk. Replace qtbase-5 with qtbase.  Replace qtdeclarative-5 with
qtdeclarative.  Add freetype, glew, jsoncpp and libssh.  Remove bash-minimal,
fftw, fftwf, hdf5, vxl-1 and zlib.
[native-inputs]: Use new style.  Update c3d and greedy checkouts.  Add
digestible checkout.  Remove googletest, qttools-5 and pkg-config.
* gnu/local.mk: Deregister itk-snap-alt-glibc-compat.patch.
* gnu/packages/patches/itk-snap-alt-glibc-compat.patch: Remove file.

Change-Id: I6a90a590fa773e838946d773e9b0a743129ee1f3
2025-08-01 17:45:10 +02:00
Andreas Enge
108b7d5381 gnu: opencolorio: Fix build.
The build was broken after an update to minizip-ng in commit
37b1aa7efa .

* gnu/packages/image-processing.scm (opencolorio)[inputs]:
Remove minizip-ng; add minizip-ng-4.0.9.

Change-Id: I7cf3f57e5a3685ffaa790c536e74129c016d56ff
2025-08-01 16:02:38 +02:00
Jake Forster
969d58090b gnu: Add insight-toolkit-legacy.
This is a hidden variant of insight-toolkit needed for itk-snap.

* gnu/packages/image-processing.scm (insight-toolkit-legacy): New variable.

Change-Id: Ief18c1b4241241881b5b632121fc463db5b3c286
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-31 21:18:34 +02:00
Jake Forster
61a1741f38 gnu: insight-toolkit: Include remote module for ITK-SNAP.
* gnu/packages/image-processing.scm (insight-toolkit)[arguments]
<#:configure-flags>: Add "-DModule_MorphologicalContourInterpolation=ON".
<#:phases>: Add phase 'prepare-remote-modules.
[native-inputs]: Add origin for MorphologicalContourInterpolation checkout.

Change-Id: I441f250d42f5ac1077c72a3c15281dd327264f3b
Co-authored-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-31 21:18:25 +02:00
Andreas Enge
6b7470d29d gnu: opencolorio: Update to 2.4.2.
* gnu/packages/image-processing.scm (opencolorio): Update to 2.4.2.

Change-Id: I2fcb15b40ae26f6a3aa63733b1b911e7b044a4df
2025-07-31 13:55:50 +02:00
Andreas Enge
a21e9ffd00 gnu: opencolorio: Fix build with gcc-14.
* gnu/packages/image-processing.scm (opencolorio)[arguments]<#:phases>
{disable-test}: New phase disabling two tests (of which one failed).

Change-Id: Ia98c46c3c01ebe4a3fbab636e54e84eb29439e3a
2025-07-30 23:45:39 +02:00
Jake Forster
d24625aeb4 gnu: vtk: Update to 9.3.1 and enable GUISupportQt component.
GUISupportQt component is required by ITK-SNAP version 4.2.2.

* gnu/packages/image-processing.scm (vtk): Update to 9.3.1.
[arguments]<#:configure-flags>: Add
"-DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES".
[inputs]: Add qtbase.

Change-Id: I7466456668ecbddf9d2c6d28f8ec70505ebf5eb9
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-30 10:36:29 +02:00
Jake Forster
55ef7ba13d gnu: insight-toolkit: Use gcc@13 to fix build.
ITK with Python wrapping fails to build with gcc@14: constexpr function's
return type '__castxml_Float32' (aka '__castxml_Float32_s') is not a literal
type

* gnu/packages/image-processing.scm (insight-toolkit)[native-inputs]: Add
gcc-13.

Change-Id: I9d7286a26840ede45a9543b4dbf195548cb59245
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 14:07:37 +01:00
宋文武
c31c4522ad gnu: qtxmlpatterns: Rename to qtxmlpatterns-5.
* gnu/packages/qt.scm (qtxmlpatterns): Rename to qtxmlpatterns-5.
(qtspeech-5) [native-inputs]: Adjust accordingly.
(python-pyqt) [inputs]: Likewise.
(python-shiboken-2) [inputs]: Likewise.
(python-pyside-2) [inputs]: Likewise.
* gnu/packages/animation.scm (pencil2d) [inputs]: Likewise.
* gnu/packages/education.scm (openboard) [inputs]: Likewise.
(ktouch) [inputs]: Likewise.
* gnu/packages/engineering.scm (freecad) [inputs]: Likewise.
* gnu/packages/finance.scm (monero-gui) [inputs]: Likewise.
* gnu/packages/geo.scm (gplates) [inputs]: Likewise.
* gnu/packages/image-processing.scm (paraview) [inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (ktexteditor-5) [inputs]: Likewise.
(ksyntaxhighlighting-5) [native-inputs]: Likewise.
* gnu/packages/messaging.scm (kaidan) [inputs]: Likewise.
* gnu/packages/music.scm (hydrogen) [inputs]: Likewise.
* gnu/packages/simulation.scm (openfoam-org) [inputs]: Likewise.

Change-Id: Ic260988913600dee261bd138efc6a830bc45d057
Signed-off-by: Zheng Junjie <z572@z572.online>
2025-07-21 19:41:24 +08:00
Jake Forster
11473f37c1 gnu: hdf5: Do not propagate libaec and zlib dependencies.
The patch 'hdf5-config-dependencies.patch' added 'find_dependency' calls for
libaec and zlib in hdf5-config.cmake.  As a result, packages that use
find_package(HDF5) in CMake Config mode must have libaec and zlib in the build
environment.  The patch appears to be unnecessary; it should be sufficient to
add libaec and zlib as inputs to packages that need them.

Related discussion in: <https://codeberg.org/guix/guix/pulls/953>.

* gnu/packages/maths.scm (hdf5): Do not propagate dependencies.
[source]<patches>: Remove hdf5-config-dependencies.patch.
* gnu/packages/image-processing.scm (insight-toolkit) [inputs]: Remove
libaec.
* gnu/packages/patches/hdf5-config-dependencies.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Deregister hdf5-config-dependencies.patch.

Change-Id: Idef61308cd146e898d1a4a8f1a97db23d36fc649
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-17 16:41:28 +02:00
Anderson Torres
22bda41fbf gnu: vips: Update to 8.17.0.
* gnu/packages/image-processing.scm (vips): Update to 8.17.0.

Change-Id: I8ffdca949cb19735928dcbdb7d43e2c626aea7a4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-30 13:35:55 +01:00
Anderson Torres
ac139ed47f gnu: vips: Stylistic rewrite.
* gnu/packages/image-processing.scm (vips): Stylistic rewrite.
[native-inputs]: Reorder and write in column.
[inputs]: Reorder and write in column.

Change-Id: I04cc93e9d989c3f7fa6f0d07c76f073c615e3f4c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-30 13:35:10 +01:00
Jake Forster
aa2f243ab7 gnu: insight-toolkit: Update to 5.4.4.
* gnu/packages/image-processing (insight-toolkit): Update to 5.4.4.
[source] Switch to git-fetch; apply patch.
[arguments]<#:configure-flags>: Add -DITK_USE_SYSTEM_SWIG=ON,
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON, -DITK_USE_PYTHON_LIMITED_API=OFF and
-DBUILD_TESTING=OFF.  Add -DHDF5_DIR set to HDF5's lib/cmake.
[inputs]: Add libaec.
[native-inputs]: Add git-minimal; replace swig with swig-next.
* gnu/packages/patches/insight-toolkit-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: Ifbf73709e773649fb00c2d46848d3418daaf98c1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:40 +02:00
Jake Forster
cd8f7f8d89 gnu: insight-toolkit: Build shared libraries.
* gnu/packages/image-processing (insight-toolkit) [arguments]
<#:configure-flags>: Replace "-DITK_BUILD_SHARED=ON" with
"-DBUILD_SHARED_LIBS=ON" to build shared libraries.

Change-Id: I0ee891a4ca0eaf969c55905202f04c2ea60ee7e1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:40 +02:00
Jake Forster
d6b106b5b4 gnu: insight-toolkit: Exclude gtest target.
Fixes: guix/guix#776

This new phase makes it possible to configure projects that use
insight-toolkit.  I think this is what the configure flag '-DGTEST_ROOT=gtest'
was intended to do, but it does not.  In addition, the configure flag
'-DITK_USE_SYSTEM_GOOGLETEST=ON' and native input googletest are no longer
required to placate the configure phase.

* gnu/packages/image-processing (insight-toolkit) [arguments]
<#:configure-flags>: Remove -DITK_USE_SYSTEM_GOOGLETEST=ON and
-DGTEST_ROOT=gtest.
<#:phases>: Add phase 'exclude-gtest-target.
[native-inputs]: Remove googletest.

Change-Id: I9c2e051ac9cfc3439ea53e1a4f3207fbb2f3337b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:40 +02:00