Commit graph

142335 commits

Author SHA1 Message Date
Adam Faiz
9ea5ec1b8c
gnu: Add backward-cpp.
* gnu/packages/debug.scm (backward-cpp): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:04:42 +02:00
Ludovic Courtès
b8327cb311
news: Add entry for ‘core-updates’ merge.
* etc/news.scm: Add entry.

Change-Id: Iac303170e69f8d3e34e224f3f0cfcf56ee1c555d
2024-08-31 14:28:55 +02:00
Christopher Baines
eadb8cdc9b
gnu: ungoogled-chromium-snippet: Include zstd in PATH.
As this seems to be required for compressing the result.

* gnu/packages/chromium.scm (ungoogled-chromium-snippet): Include zstd in the
PATH.

Change-Id: If74243a4e65f4f70cab889b655f8cb53f609d5e0
2024-08-31 10:45:49 +02:00
Ada Stevenson
6a68c61676
gnu: texlive-digestif: Fix build.
* gnu/packages/tex.scm (texlive-digestif):
[arguments]: <#:phases>: Add 'fix-data-path phase.
This hardcodes the path for 'digestif.zip', which was not being found
previously.

Change-Id: I2884185d0daa8919dd72e8b9055eb3988eb40f5d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:45:49 +02:00
André Batista
de96a26096
gnu: grub; ipxe-qemu: Fix build on 32-bit x86.
* gnu/packages/bootloaders.scm (grub) [native-inputs] <binutils-i386>:
binutils' #configure-flags is a gexp instead of a simple list, so use
gexp handling procedures when setting flags.
* gnu/packages/bootloaders.scm (ipxe-qemu) [native-inputs]
  <binutils-64-bit-bfd>: Likewise.

Change-Id: If93b0a972570d75c7e26647b154be8afc76cf6e0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:45:48 +02:00
Ricardo Wurmus
1fd059a14a
gnu: libcamera: Do not pass empty string to meson.
* gnu/packages/networking.scm (libcamera)[arguments]: Use list for extra
arguments to meson to avoid passing an empty string.

Change-Id: I5e494eb10f06b4fe9e65e3b0f0f32dd99947b250
2024-08-31 10:45:48 +02:00
Zheng Junjie
c42707fcc3
gnu: kcontacts: Fix building.
* gnu/packages/kde-frameworks.scm (kcontacts)[arguments]<#:phases>: Exclude
kcontacts-addresstest test.

Change-Id: I6c9b8a26588bf2db3bddec4f528fe8c9b3862a02
2024-08-31 10:45:48 +02:00
André Batista
2bfa848a41
gnu: ffmpeg: Fix build on i686 with binutils 2.41.
* gnu/packages/video.scm (ffmpeg): Add 'bypass-openal-check phase
which breaks configure phase on i686. Unconditionally set openal
configure check to true.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Iddba489690a42a5e9f9a40f9a238c658ddac6e20
2024-08-31 10:45:48 +02:00
Roman Scherer
cbfa5ed392
gnu: libcamera: Disable failing file test on aarch64.
* gnu/packages/networking.scm (libcamera): Disable failing file test on aarch64.

Change-Id: Ie3b98a3610df78def46196c05fa823f0cd878926
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:45:48 +02:00
Ludovic Courtès
2c51202a2a
gnu: make-bootstrap: Ensure libm.a provides ‘fmod’ on i686.
Fixes <https://issues.guix.gnu.org/72725>.

* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap)[arguments]: Add
‘apply-libm-patch’ on i686.
* gnu/packages/patches/glibc-2.39-fmod-libm-a.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Reported-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Iaffba0a9f424d8d80a8a5611df2d285d7d632d99
2024-08-31 10:45:48 +02:00
Ludovic Courtès
7cedba3248
maint: Do not check obsolete cross-compilation targets.
This is a followup to e99c838d4f, which
removed them from (gnu ci).

* etc/release-manifest.scm (%cross-manifest): Remove more triplets.

Change-Id: I32677fd3876a13277e5b074b973de71895ab9dca
2024-08-31 10:45:48 +02:00
Kaelyn Takata
a4319550a0
gnu: inkscape: Skip failing tests on i686-linux.
* gnu/packages/inkscape.scm (inkscape/stable)[arguments]: Add
‘fix-32bit-size_t-format’ phase on i686.  In ‘check’ phase, list
additional failing tests on i686.
(inkscape)[arguments]: Do not restore ‘check’ phase on i686.

Change-Id: Id4b11ac7aa725a8a55d04bca221319201e488940
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:45:48 +02:00
Ludovic Courtès
25f4fd8542
gnu: lib2geom: Skip failing tests on i686-linux.
* gnu/packages/graphics.scm (lib2geom)[arguments]: Skip 3 more failing
tests on i686-linux.

Change-Id: Ied70ec568f87d0dc77511bfda1d4a3c493a4aba4
2024-08-31 10:45:47 +02:00
Kaelyn Takata
77e99a79eb
gnu: webrtc-audio-processing: Fix build on i686 and powerpc64le.
* gnu/packages/audio.scm (webrtc-audio-processing)[arguments]: New field.
* gnu/packages/patches/webrtc-audio-processing-byte-order-pointer-size.patch,
gnu/packages/patches/webrtc-audio-processing-x86-no-sse.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.

Change-Id: I3a95e5e2794df0d51e005672b5d3e2d98f27b767
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:45:47 +02:00
Tobias Geerinckx-Rice
2ad3b0187b
gnu: cups-minimal: Update to 2.4.9 [fixes CVE-2024-35235].
* gnu/packages/cups.scm (cups-minimal): Update to 2.4.9.

Change-Id: I153a75bccd1950c29d4ef6111321be262494208d
2024-08-31 10:45:47 +02:00
Ricardo Wurmus
2648f59e09
gnu: gupnp-1.4: Patch for meson compatibility.
* gnu/packages/gnome.scm (gupnp-1.4)[arguments]: Add phase
'meson-compatibility to patch section name.

Change-Id: Ic33d283b4b8bca36527f17e93be78af216bd05cd
2024-08-31 10:45:47 +02:00
Nikola
20abe2a27f
gnu: at-spi2-core: Remove unnecessary test timeout.
Guix provides its own superior-quality time-outs.

* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Remove the
‘timeout’ argument from the test invocation.

Change-Id: Ic324c5992d48cafa4b6b9856b381d461083d8de2
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2024-08-31 10:45:47 +02:00
Ludovic Courtès
a4f64b30b0
gnu: ghc-basement: Fix compilation on 32-bit platforms.
* gnu/packages/patches/ghc-basement-fix-32-bit.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/haskell-xyz.scm (ghc-basement)[arguments]: New field.

Change-Id: I4d462754cad3daf8328e7d3c95c184a9e12a45cd
2024-08-31 10:45:47 +02:00
Ludovic Courtès
5d6c55d364
gnu: cross-base: Adjust ‘cross-libc’ for use as non-native input.
When ‘cross-libc’ is used in a context where it’s not a native input, as
is the case with ‘package-with-relocatable-glibc’ when cross-compiling,
the target objdump is to be found in the native inputs.

* gnu/packages/cross-base.scm (cross-libc*): In
‘add-cross-binutils-to-PATH’ phase, look for TARGET’s objdump in
NATIVE-INPUTS in addition to INPUTS.

Change-Id: Ic0e9ee720cf4211edc95be59903b4bd1d94b1e3f
2024-08-31 10:45:47 +02:00
Ludovic Courtès
cbcc06b1d7
gnu: commencement: Simplify ‘grep-final’ definition.
* gnu/packages/commencement.scm (grep-final): Remove unneeded
‘substitute-keyword-arguments’.

Change-Id: I4076c4e6d51bd408f6c68a2eb508855698330972
2024-08-31 10:45:46 +02:00
Ludovic Courtès
02e43504b3
gnu: grep: Use gexps.
* gnu/packages/base.scm (grep)[arguments]: Use gexps.

Change-Id: I7311667b8b929161d1e7290ddfe37c0e875364b2
2024-08-31 10:45:46 +02:00
Ludovic Courtès
391ce2ea75
gnu: grep: Skip Gnulib’s ‘test-year2038’ on i586-gnu.
* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags.

Change-Id: I262b6e677a40c37c14807a6189bd18c792099cae
2024-08-31 10:45:46 +02:00
Ludovic Courtès
461df5574f
gnu: gsl: Use gexps.
* gnu/packages/maths.scm (gsl)[arguments]: Use gexps.

Change-Id: Ic81576c61a237ff41d6ed767dcf58e38ca96e9ca
2024-08-31 10:45:46 +02:00
Ludovic Courtès
4d8382ab84
gnu: gsl: Fix test failures on i686-linux by building with -O2.
* gnu/packages/maths.scm (gsl)[arguments]: Pass #:make-flags '() on
i686-linux.  Remove modification of ‘linalg/test.c’ in
‘disable-failing-tests’ phase for i686-linux.

Change-Id: I615d4e0d71253ca294bc5c5c7a278e3046c186cc
2024-08-31 10:45:46 +02:00
Ludovic Courtès
4f55c361f4
gnu: commencement: Build ‘perl-boot0’ without stack protector on the Hurd.
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Pass “-A
ccflags=-fno-stack-protector” on GNU/Hurd.

Change-Id: I04d4e276cdcc1bbf589273791a3f64e5a17c4152
2024-08-31 10:45:46 +02:00
Ludovic Courtès
1fce094bfb
gnu: perl-boot0: Use gexps.
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Use gexps.

Change-Id: I5c6358ce09a42bfb702d91325efa3ca81fe5494a
2024-08-31 10:45:46 +02:00
Ludovic Courtès
bd2406d9d5
gnu: glibc-bootstrap: Update i586-gnu variant.
‘glibc-stripped-2.39-i586-pc-gnu.tar.xz’ was built from x86_64-linux
from the previous commit with:

  ./pre-inst-env guix build --target=i586-pc-gnu \
     -e '((@@ (gnu packages make-bootstrap) %glibc-bootstrap-tarball))'

This updated variant is necessary to match newer GNU Mach headers, which
are themselves necessary for the newer Hurd.

Fixes <https://issues.guix.gnu.org/72315>.

* gnu/packages/bootstrap.scm (%bootstrap-glibc): Update i586-gnu
variant.

Change-Id: I2d770e8001896059e1f27e50f7a4ddf15e4b5812
2024-08-31 10:45:45 +02:00
Ludovic Courtès
df38aacc02
gnu: make-bootstrap: Include libdl.a and libutil.a in ‘glibc-stripped’.
As of glibc 2.39, libdl.so and libutil.so are gone (they are part of
libc proper since 2.34), but empty .a files are provided for backward
compatibility with code using -ldl and -lutil.  Keep them.

* guix/build/make-bootstrap.scm (make-stripped-libc)[%libc-object-files-rx]:
Mach libdl.a and libutil.a.

Change-Id: I967c6f34a443366224293362b8a2302fe86fd5a0
2024-08-31 10:45:45 +02:00
Ludovic Courtès
8b6f33a4d9
gnu: make-bootstrap: Adjust ‘%glibc-stripped’ for glibc@2.39 on the Hurd.
Previously the second ‘copy-recursively’ call would fail with EEXIST
since glibc@2.39 already provides $includedir/include/mach.

* guix/build/make-bootstrap.scm (make-stripped-libc)[copy-mach-headers]:
Pass #:select? to ‘copy-recursively’ to exclude files already present
under INCDIR.

Change-Id: I7e5a93e46eefa18299c231468c720072468fdb10
2024-08-31 10:45:45 +02:00
Ludovic Courtès
e8a1b10c27
gnu: make-bootstrap: Fix cross-compilation of ‘%glibc-stripped’.
Previously, ‘guix build bootstrap-tarballs --target=aarch64-linux-gnu’
or similar would construct a cross-libc where ‘%current-target-system’
is set.  This would lead to a failure in the
‘add-cross-binutils-to-PATH’ phase, which assumes that
‘%current-target-system’ is #f; indeed, ‘cross-libc’ already returns a
cross libc and so ‘%current-target-system’ must be set to #f.

* gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]: Move libc to…
[native-inputs]: … here.

Change-Id: Ifbf5e519ba3198940f4de4a36075d5302e923172
2024-08-31 10:45:45 +02:00
Ludovic Courtès
cfd67d36b5
gnu: make-bootstrap: Fix statically-linked ‘grep’ compilation.
The ‘%static-inputs’ list is used by ‘bootstrap-tarballs’ for systems
other than x86_64-linux and i686-linux.

* gnu/packages/make-bootstrap.scm (%static-inputs): Pass
‘--disable-perl-regexp’ and remove ‘--enable-perl-regexp’ for grep.

Change-Id: Id9cc8c026eee5031b00c1824624fe6da205d55eb
2024-08-31 10:45:45 +02:00
Ludovic Courtès
9fe0e5b353
gnu: make-bootstrap: Build with GCC 11 instead of GCC 7.
This fixes a glibc-for-bootstrap build issue on aarch64-linux.

* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap)[native-inputs]:
Remove.
(gcc-for-bootstrap, package-with-relocatable-glibc)
(%gcc-static, %gcc-stripped): Depend on ‘gcc’ instead of ‘gcc-7’.

Reported-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Ia7f62f9674873087aa20a9d7da8d25d94b215e5c
2024-08-31 10:45:45 +02:00
Nicolas Goaziou
c1fbcc7489
gnu: texlive-bbold: Fix build.
* gnu/packages/tex.scm (texlive-bbold)[arguments]<#:phases>: Add a phase to
skip building documentation, which fails.
[native-inputs]: Add TEXLIVE-ETOOLBOX.

Change-Id: I32526808c121b6d5ab1eb167fecbde38d40d0979
2024-08-31 10:45:45 +02:00
Nicolas Goaziou
b5e9be788f
gnu: texlive-revtex4-1: Fix build.
* gnu/packages/tex.scm (texlive-revtex4-1)[arguments]<#:phases>: Fix regexp
matching TEXLIVE-REVTEX source name.

Change-Id: Ideea61ed97d4ea544554faa02152fea6d0bd1947
2024-08-31 10:45:44 +02:00
Nicolas Goaziou
db082a527e
gnu: texlive-thucoursework: Fix build.
* gnu/packages/tex.scm (texlive-thucoursework)[native-inputs]: Add
TEXLIVE-XPATCH.

Change-Id: I578c27078e4692051d82596cb1692f21a8d979f6
2024-08-31 10:45:44 +02:00
Nicolas Goaziou
13fd321a49
gnu: texlive-suftesi: Fix build.
* gnu/packages/tex.scm (texlive-suftesi)[native-inputs]: Add
TEXLIVE-MANFNT-FONT and TEXLIVE-REALSCRIPTS.

Change-Id: I43505a5b4c0c6b78886be0c7fa8abb719bbe8b7a
2024-08-31 10:45:44 +02:00
Leo Famulari
0618dda2ab
gnu: python-urwid: Update to 2.6.15.
* gnu/packages/python-xyz.scm (python-urwid): Update to 2.6.15.
[build-system]: Use PYPROJECT-BUILD-SYSTEM.
[arguments]: Skip the test suite.
[propagated-inputs]: Add PYTHON-TYPING-EXTENSIONS and PYTHON-WCWIDTH.
[native-inputs]: Add PYTHON-SETUPTOOLS-SCM.

Change-Id: I13e242c4a1ec8a1ba6fad759e261468eb831eeb3
2024-08-31 10:45:44 +02:00
Ludovic Courtès
dd3b79e7a1
gnu: nss: Use ‘datefudge’ to run tests on 32-bit platforms.
Fixes <https://issues.guix.gnu.org/72239>.

* gnu/packages/nss.scm (nss)[arguments]: In ‘check’ phase, on 32-bit
platforms, modify ‘SOURCE_DIR’ in ‘gtests.sh’ and use ‘datefudge’ rather
than ‘faketime’.
[native-inputs]: On 32-bit platforms, use ‘datefudge’ rather than ‘libfaketime’.

Change-Id: I6b35f4d979897dd2215e189c4375aa0d792530d0
2024-08-31 10:45:44 +02:00
Ludovic Courtès
7aabf2daf2
gnu: commencement: ‘git-fetch-from-tarball’ can use ‘git-download’.
This works around the fact that hash mismatches for the tarball
download would lead to a build failure.

* gnu/packages/commencement.scm (built-in-builders*): New variable.
(git-fetch-from-tarball): Adjust to use the ‘git-download’ builder when
it’s available.  Add comments.

Change-Id: I63502da6c942f85bf012f7c6bf3aa3617f818183
2024-08-31 10:45:44 +02:00
Ricardo Wurmus
540f1c8bfe
gnu: inkscape: Conditionally disable precision tests.
* gnu/packages/inkscape.scm (inkscape/stable)[arguments]: Disable tests on
aarch64, ppc64le, and riscv64 that fail due to precision errors.

Change-Id: Ie40100ed4adc4d007211c695b34eb4d648345304
2024-08-31 10:45:44 +02:00
Leo Famulari
fc91a71c77
gnu: LibreOffice: Build with libxcrypt.
Glibc 2.38 no longer includes libcrypt by default, so we provide this
functionality via libxcrypt.

https://sourceware.org/glibc/wiki/Release/2.38#Building_libcrypt_is_disabled_by_default

* gnu/packages/libreoffice.scm (libreoffice)[inputs]: Add libxcrypt.

Change-Id: I3c9e02abb420a710d3a71bf137187dd989eb0398
2024-08-31 10:45:43 +02:00
Leo Famulari
8a20f58420
gnu: Boost: Fix a bug that breaks libetonyek.
This fixes <https://issues.guix.gnu.org/72040>.

* gnu/packages/patches/boost-fix-duplicate-definitions-bug.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/boost.scm (boost)[source]: Use it.
(boost-for-source-highlight): New variable, not using the patch.
* gnu/packages/pretty-print.scm (source-highlight)[inputs]: Replace BOOST with
BOOST-FOR-SOURCE-HIGHLIGHT.

Change-Id: I5fbc9eb5000aefd7d3a14cc7a0482741032b5400
2024-08-31 10:45:43 +02:00
Ricardo Wurmus
1c322552dd
gnu: inkscape: Update conditional patch.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Fix substitution expression
to avoid syntax error.

Change-Id: I00a65848d2b95795a7a59c4c5164b14faefcf2b7
2024-08-31 10:45:43 +02:00
Ricardo Wurmus
f9f49a70f2
gnu: lib2geom: Disable broken test on aarch64.
* gnu/packages/graphics.scm (lib2geom)[arguments]: Conditionally disable
"elliptical-arc-test".

Change-Id: Id6bbcb9c94831daa65c9596f080c194392d08b42
2024-08-31 10:45:43 +02:00
Ricardo Wurmus
95db62d87d
gnu: yt-dlp: Add certificates.
* gnu/packages/video.scm (yt-dlp)[native-inputs]: Add nss-certs-for-test.

Change-Id: I767d7f6fa5ee038cb58c69abfc5f79a681dda308
2024-08-31 10:45:43 +02:00
Zheng Junjie
38e27332d6
gnu: Add nss-certs-for-test.
* gnu/packages/certs.scm (nss-certs-for-test): New variable.
* gnu/packages/python-web.scm (python-requests-next)[native-inputs]: Add it.

Change-Id: Id808e058835556717a6585ecd86dd14d0d2a5039
2024-08-31 10:45:43 +02:00
Ricardo Wurmus
4f13ad4aa4
gnu: epiphany: Fix dbus startup failure.
* gnu/packages/gnome.scm (epiphany)[arguments]: Create a union of all
directories in XDG_DATA_DIRS to avoid overwhelming dbus-daemon.

Change-Id: Iac1084832d0fe82c9d41a409a450bd9f2f0f7b93
2024-08-31 10:45:43 +02:00
Efraim Flashner
e885edc0df
gnu: libclc: Update to 18.1.8.
* gnu/packages/llvm.scm (libclc): Update to 18.1.8.
[native-inputs]: Replace clang-15, llvm-15 with clang-18, llvm-18.

Change-Id: I2f676eb2db9c3a8c808e1c26e3f93b9ed085b675
2024-08-31 10:45:42 +02:00
Efraim Flashner
a69b63cc73
gnu: python-lit: Update to 18.1.8.
* gnu/packages/check.scm (python-lit): Update to 18.1.8.

Change-Id: I7f77079c83c0caa42b3ddfc8e1f12373c13aaca6
2024-08-31 10:45:42 +02:00
Efraim Flashner
d10ab3d397
gnu: mesa: Fix building on aarch64-linux.
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux
use clang-18 and llvm-18 instead of llvm-for-mesa.
[native-inputs]: When building for aarch64-linux add libclc.
[arguments]: Adjust the 'disable-failing-test phase when building for
aarch64-linux to skip a test.
(mesa-opencl)[native-inputs]: When building for aarch64-linux don't add
clang-15.
* gnu/packages/check.scm (python-lit),
* gnu/packages/llvm.scm (libclc),
* gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it
being a dependency for mesa.

Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
2024-08-31 10:45:42 +02:00