Commit graph

118975 commits

Author SHA1 Message Date
Janneke Nieuwenhuizen
825a7be431
gnu: pango: Support build for the Hurd.
* gnu/packages/gtk.scm (pango)[native-inputs]: Do not include
gobject-introspection when building for the Hurd.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
dd3f9a7a49
gnu: harfbuzz: Support build for the Hurd.
* gnu/packages/gtk.scm (harfbuzz)[native-inputs]: Do not include
gobject-introspection when building for the Hurd.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
03f35ff390
gnu: ghostscript: Fix build for the Hurd.
* gnu/packages/patches/ghostscript-leptonica-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: When building for the
Hurd, add phase 'patch-leptonica' and use it.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
e65647119e
gnu: glib: Disable hanging and failing tests for the Hurd.
* gnu/packages/glib.scm (glib)[arguments]: When building for the Hurd,
in phase `disable-failing-tests', neutralize 20 hanging tests, and 37 more
failing tests.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
c5a189d2ab
gnu: guile-git: Skip http proxy test on the Hurd.
* gnu/packages/guile.scm (guile-git)[arguments]: When building natively on the
Hurd, add phase 'skip-tests/hurd'.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
72fa5eb020
gnu: graphite2: Skip test on the Hurd.
* gnu/packages/fontutils.scm (graphite2)[arguments]: When building natively on
the Hurd, replace phase 'check' to set make-flags to skip "awamicmp3" test.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
d3a1684c8a
gnu: doxygen: Fix build for the Hurd.
* gnu/packages/patches/doxygen-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/documentation.scm (doxygen)[arguments]: When building for the
Hurd, add new phase 'apply-patch' and use it.
2023-07-20 10:11:36 +02:00
Janneke Nieuwenhuizen
6f15b4204f
gnu: cmake-minimal: Skip tests on the Hurd.
* gnu/packages/cmake.scm (cmake-minimal)[arguments]: When building natively on
the Hurd, add %common-disabled-tests/hurd to skipped tests in phase 'check'.
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
07eff96a86
gnu: cmake-bootstrap: Fix build for the Hurd.
* gnu/packages/cmake.scm (%common-disabled-tests/hurd): New variable.
(cmake-bootstrap) [inputs]: Include libuv for the Hurd too.
[arguments]: Add %common-disabled-tests/hurd to #:make-flags for the Hurd.
Also add a 'patch-hurd' phase to fix the build.
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
d408d47933
gnu: zstd: Skip tests when building for the Hurd.
* gnu/packages/compression.scm(zstd)[arguments]: When building for the Hurd,
set #:tests? to #false.
:
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
8236ed2218
gnu: swig: Skip tests when building for the Hurd.
* gnu/packages/swig.scm (swig)[arguments]: When building for the Hurd,
set #:tests? to #false.
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
d04db1249c
gnu: tcsh: Skip substitution tests on the Hurd.
* gnu/packages/shells.scm (tcsh)[arguments]: When building natively on the
Hurd, add phase 'skip-tests'.
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
7ab9c0f99b
gnu: ruby-2.6: Skip test on the Hurd.
* gnu/packages/ruby.scm (ruby-2.7)[arguments]: When building natively on the
Hurd, add phase 'skip-tests'.
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
fb6f94864d
gnu: openssl-1.1: Fix shared build for the Hurd.
* gnu/packages/tls.scm (openssl-1.1)[arguments]: When building for the Hurd,
add phase 'patch-configure'.
(openssl)[arguments]: And delete it again.
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
69142dbea4
gnu: cairo: Support building for the Hurd.
Gobject-introspection and libdrm does not build for the Hurd.  Poppler depends
on nss, which does not build for the Hurd.

* gnu/packages/gtk.scm (cairo)[native-inputs]: When building for the Hurd, do
not include gobject-introspection.
[inputs]: Likewise, do not include libdrm, poppler.
2023-07-20 10:11:34 +02:00
Janneke Nieuwenhuizen
784610d6d6
gnu: libpaper: Disable tests for the Hurd.
* gnu/packages/ghostscript.scm (libpaper)[arguments]: When building for the
Hurd, set #:tests? to #false.
2023-07-20 10:11:34 +02:00
Janneke Nieuwenhuizen
f1a68cbb72
gnu: parted: Disable tests for the Hurd.
* gnu/packages/disk.scm (parted)[argument]: Set #:tests? to #false when
building for the Hurd.
2023-07-20 10:11:34 +02:00
Janneke Nieuwenhuizen
760a80bf9b
gnu: e2fsprogs: Skip failing tests on the Hurd.
* gnu/packages/linux.scm (e2fsprogs)[arguments]: When building natively on the
Hurd, add phase 'skip-tests'.
2023-07-20 10:11:34 +02:00
Janneke Nieuwenhuizen
7591fb0924
gnu: procps: Skip linux-version test for the Hurd.
* gnu/packages/linux.scm (procps)[arguments]: When building natively on the
Hurd, add stage 'skip-tests'.
2023-07-20 10:11:34 +02:00
Janneke Nieuwenhuizen
6da096879c
gnu: git: Skip failing test on the Hurd.
* gnu/packages/version-control.scm (git)[arguments]: When building natively on
the Hurd, add stage 'delete-tests/hurd'.
2023-07-20 10:11:34 +02:00
Janneke Nieuwenhuizen
e52743b458
gnu: curl: Skip failing test on the Hurd.
* gnu/packages/curl.scm (curl)[arguments]: When building natively on the Hurd,
add phase 'skip-tests'.
2023-07-20 10:11:34 +02:00
Janneke Nieuwenhuizen
a4367fae49
gnu: tcl: Remove failing tests on the Hurd..
* gnu/packages/tcl.scm (tcl)[arguments]: When building natively on the Hurd,
add phase 'delete-tests'.
2023-07-20 10:11:34 +02:00
Janneke Nieuwenhuizen
ebc35c6096
gnu: libgcrypt: Skip hanging benchmark tests on the Hurd.
* gnu/packages/gnupg.scm (libgcrypt)[arguments]: When building natively on the
Hurd, add phase 'setenv' to set "GCRYPT_NO_BENCHMARKS".
2023-07-20 10:11:33 +02:00
Janneke Nieuwenhuizen
c5991dfb92
gnu: libgpg-error: Skip failing test on the Hurd.
* gnu/packages/gnupg.scm (libgpg-error)[arguments]: When building natively on
the Hurd, add phase 'skip-tests'.
2023-07-20 10:11:33 +02:00
Janneke Nieuwenhuizen
bfcfe53c72
gnu: c-ares: Skip failing tests on the Hurd.
* gnu/packages/adns.scm (c-ares)[arguments: When building natively on the
Hurd, add phases 'skip-tests' and 'filter-hurd-tests'.
2023-07-20 10:11:33 +02:00
Janneke Nieuwenhuizen
ee870c6abc
gnu: libbsd: Skip failing test on the Hurd.
* gnu/packages/libbsd.scm (libbsd)[arguments]: When building natively on the
Hurd, add stage 'skip-tests'.
2023-07-20 10:11:33 +02:00
Janneke Nieuwenhuizen
8b74e7d521
gnu: elfutils: Skip failing tests on the Hurd.
* gnu/packages/elf.scm (elfutils)[arguments]:  When building natively on the Hurd,
add phase 'skip-tests'.
2023-07-20 10:11:33 +02:00
Janneke Nieuwenhuizen
eb89957ba4
gnu: mpfr: Skip failing test on the Hurd.
* gnu/packages/multiprecision.scm (mpfr)[arguments]: When building natively on
the Hurd, add 'skip-tests' phase to skip "tsprintf".
2023-07-20 10:11:33 +02:00
Janneke Nieuwenhuizen
60b1a23065
gnu: python: Support native build on the Hurd.
Running "test_concurrent_futures" and "test_venv" freeze the Hurd.  Tests
"test_multiprocessing_forkserver" and "test_multiprocessing_spawn" run over
10mins. Debian simply skips all tests on the Hurd.

* gnu/packages/python.scm (python-3.10)[arguments]: When building for the
Hurd, add hanging and failing to #:make-flags's --exclude flag.  Also, add
'disable-multi-processing' phase to avoid compileall.py hang during install.
2023-07-20 10:11:33 +02:00
Janneke Nieuwenhuizen
378766dd2e
gnu: openssl: Build fix for the Hurd.
* gnu/packages/tls.scm (openssl-3.0)[arguments]: When building on the Hurd,
add "hurd-x86" to #:configure-flags.
2023-07-20 10:11:33 +02:00
Janneke Nieuwenhuizen
da9e4fd434
gnu: m4: Skip gnulib stack-overflow tests for the Hurd.
* gnu/packages/m4.scm (m4)[arguments]: When building for the Hurd, add stage
'skip-stack-overflow-tests'.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
399c43d9ed
gnu: gettext-minimal: Remove XFAIL_TESTS for the Hurd.
* gnu/packages/gettext.scm (gettext-minimal)[arguments]: When building for the
Hurd, remove XTESTS_FAIL from, as "test-perror2" now passes.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
97677bbda0
gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd.
* gnu/packages/base.scm (diffutils)[arguments]: When building natively on the
Hurd, Move "large-subopt" test from #:make-flags' XFAIL_TESTS to a new
'skip-tests' phase.  Remove #:make-flags for the Hurd, as "test-perror2" now
passes.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
bc8c6e2368
gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd.
* gnu/packages/base.scm (findutils)[arguments]: When building natively on the
Hurd, remove #:make-flags as "test-strerror_r" fails non-deterministically.
Instead, add 'skip-test' phase and skip it.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
3cc72873d3
Revert "gnu: sed: Skip failing test on GNU/Hurd."
This reverts commit 7797570479, as
the gnulib "tests-perror2" test now passes.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
f719a4086c
gnu: grep: Update hanging and failing tests on the Hurd.
* gnu/packages/base.scm (grep)[arguments]: When building natively on the Hurd,
remove Rename phase 'skip-triple-backref-test' to 'skip-tests'.  Remove
"tests/triple-backref" as it now passes.  Add the hanging
"tests/hash-collision-perf" test, and the failing "tests/file" test.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
e4721f7472
gnu: coreutils: Skip hanging and failing test on the Hurd.
* gnu/packages/base.scm (coreutils)[arguments]: When building natively on the
Hurd, remove "test/df/unreadable.sh" and "test-perror2" from #:make-flags's
XFAIL_TESTS as they now pass.  Move failing script tests from XFAIL_TESTS to
'remove-tests' phase.  In phase 'remove-tests' rewrite substitute* to skip
tests instead of removing them.  Add hanging and failing tests.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
360c8873ff
gnu: guile: Skip hanging and failing pipe tests on the Hurd.
* gnu/packages/guile.scm (guile-3.0)[arguments]: When building on the Hurd,
add stage 'disable-popen.test-open-pipe' to avoid running the
open-input-pipe test (hangs) and open-output-pipe test (fails.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
d4306847bf
Revert "gnu: libunistring: Fix make check for the Hurd."
This reverts commit 12e6a59238, which used
XFAIL_TESTS to have 'make check' pass with failing tests "test-perror2"
"test-strerror_r" that now pass with glibc-2.37 and libc-for-target in
commencement.
2023-07-20 10:11:26 +02:00
Maxim Cournoyer
cf1216d876
gnu: patman: Add python-u-boot-pylib to inputs.
* gnu/packages/bootloaders.scm (patman) [inputs]: Add python-u-boot-pylib.
[phases]: Remove 'sanity-check.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-07-19 22:54:44 -07:00
Maxim Cournoyer
ffbcc113df
gnu: Add python-u-boot-pylib.
* gnu/packages/bootloaders.scm (python-u-boot-pylib): New variable.
* gnu/packages/patches/u-boot-fix-u-boot-lib-build.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2023-07-19 22:54:34 -07:00
Vagrant Cascadian
ed5dc3a25d
gnu: u-boot: Add crust firmware to pinebook, pine64_plus and pine64-lts.
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Take argument
for System Control Processor (SCP) firmware.
[native-inputs]: Add SCP firmware.
[phases]: Adjust 'set-environment to also set SCP variable.
(u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Pass appropriate
crust firmware as the SCP firmware.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-19 22:54:20 -07:00
Vagrant Cascadian
b0d47d9e18
gnu: u-boot: Update to 2023.07.02.
* gnu/packages/patches/u-boot-infodocs-target.patch: Delete file.
* gnu/packages/patches/u-boot-patman-guix-integration.patch: Delete file.
* gnu/local.mk: De-register patches.
* gnu/packages/patches/u-boot-allow-disabling-openssl.patch: Refresh.
* gnu/packages/patches/u-boot-sifive-prevent-reloc-initrd-fdt.patch: Refresh.
* gnu/packages/bootloaders.scm (u-boot): Update to 2023.07.02.
[native-inputs]: Add python-pyelftools.
[source]: Remove patches.
(u-boot-tools)[phases]: Update substitution for python3-coverage.
Adjust 'patch to catch more openssl incompatibilities.
Split lines in 'patch phase.
[native-inputs]: Add python-filelock and python-pytest-xdist.
(make-u-boot-sunxi64-package): Set SCP environment variable.
(u-boot-sifive-unleashed): Update to use opensbi.
(u-boot-puma-rk3399)[inputs]: Add arm-trusted-firmware-rk3399 to
package-inputs instead of native-inputs.
(u-boot-rockpro64-rk3399): Disable CONFIG_SPL_FIT_SIGNATURE in config.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-19 22:54:08 -07:00
Vagrant Cascadian
d6a5384993
gnu: arm-trusted-firmware: Update to 2.9.
* gnu/packages/firmware.scm (make-arm-trusted-firmware): Update to 2.9.
(arm-trusted-firmware-imx8mq): Keep at version 2.8.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-19 22:53:25 -07:00
Tobias Geerinckx-Rice
283969d0c5
gnu: perl-mail-dkim: Mark up description.
* gnu/packages/authentication.scm (perl-mail-dkim)[description]:
Use @acronym{}.  Drop ‘new’.
2023-07-16 02:00:03 +02:00
Tobias Geerinckx-Rice
807fbccb25
gnu: perl-mail-dkim: Update to 1.20230630.
* gnu/packages/mail.scm (perl-mail-dkim): Update to 1.20230630.
[propagated-inputs]: Add perl-cryptx.
2023-07-16 02:00:03 +02:00
Tobias Geerinckx-Rice
288a5294d7
gnu: Add perl-cryptx.
* gnu/packages/perl.scm (perl-cryptx): New public variable.
2023-07-16 02:00:03 +02:00
Tobias Geerinckx-Rice
40f9e720a2
gnu: tome4: Remove obsolete snippet.
* gnu/packages/games.scm (tome4)[source]: Remove snippet.
2023-07-16 02:00:02 +02:00
Tobias Geerinckx-Rice
d32dc2fe78
gnu: qtractor: Update to 0.9.31.
* gnu/packages/music.scm (qtractor): Update to 0.9.31.
2023-07-16 02:00:02 +02:00
Tobias Geerinckx-Rice
a5049e6292
gnu: padthv1: Update to 0.9.31.
* gnu/packages/music.scm (padthv1): Update to 0.9.31.
2023-07-16 02:00:02 +02:00