Commit graph

142348 commits

Author SHA1 Message Date
Ludovic Courtès
9af235335e
gnu: guix: Remove unnecessary dependencies.
This reverts 0fda048652, instead moving
the dependencies needed for ‘make dist’ to ‘manifest.scm’.

Removing this extra dependencies make it simpler to build the ‘guix’
package in particular on less-capable systems like i586-gnu.

* gnu/packages/package-management.scm (guix)[native-inputs]: Remove
IMAGEMAGICK and PERL.  Use GRAPHVIZ-MINIMAL instead of GRAPHVIZ.
* manifest.scm: Use the full-blown ‘graphviz’ package; add ‘imagemagick’
and ‘perl’.

Reported-by: Janneke Nieuwenhuizen <janneke@gnu.org>
Change-Id: Ia9d05c699e3cc2f9a9235a67f8ec840c26b66a82
2024-08-31 19:06:37 +02:00
Ludovic Courtès
1003d62790
gnu: libfabric: Depend on PSM2 only on supported systems.
Fixes a regression introduced in
2a6ea3895b, that would make ‘libfabric’
unsupported on non-x86_64 systems.

* gnu/packages/linux.scm (libfabric)[inputs]: Define ‘if-supported’.
Use it for ‘psm’ and ‘psm2, and remove labels.
[arguments]: Remove ‘--enable-psm2’, which is unnecessary.

Change-Id: I2a52ce6feb52b8773779a401088743491c3ad30b
2024-08-31 19:06:37 +02:00
Ludovic Courtès
6dac85c092
gnu: guile2.0-git: Deprecate.
* gnu/packages/guile.scm (guile2.0-git): Mark as deprecated.

Change-Id: I62bae292fae5a6487c232e6c92bef68d376aeeda
2024-08-31 19:06:37 +02:00
Ludovic Courtès
7a1b715d55
gnu: perf: Properly detect libtraceevent.
* gnu/packages/linux.scm (perf)[arguments]: In ‘configure’ phase, modify
‘Makefile.config’ to leave ‘PKG_CONFIG_PATH’ unchanged.

Change-Id: I7b6017200ed9b28c367182b252ef694f6b2ce73b
2024-08-31 19:06:37 +02:00
Dariqq
19e0b93785
gnu: pidgin: Use python3.
* gnu/packages/messaging.scm (pidgin)[inputs]: Replace python-2 with
python-wrapper, and python2-dbus with python-dbus.

Change-Id: Ia4b7b1e47da09e9648d10fae419cd473b3d6586e
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:26:54 +02:00
Dariqq
6ab90024f1
gnu: libgnt: Build without python2.
* gnu/packages/messaging.scm (libgnt)[#:configure-flags]: Disable python2.
[propagated-inputs]: Remove python2.

Change-Id: I247089a02473c526d7facd8e7b7b6133426535a2
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:26:54 +02:00
Dariqq
e3d6dc74ac
gnu: pidgin: Use system ssl certs.
* gnu/packages/messaging.scm (pidgin) [inputs]: Add nss-certs.
[#:configure-flags]: Add “--with-system-ssl-certs”.

Change-Id: I14ec36002b31b4de52871f065bd18c9d30eca275
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:26:41 +02:00
Dariqq
cfa918ce15
gnu: pidgin: Propagate libgnt.
* gnu/packages/messaging.scm (pidgin)[inputs]: Move libgnt from here…
[propagated-inputs]: … to here.

Change-Id: I8e37b441a6069675b93342ccc35c7caf976ad6ce
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:04:42 +02:00
Dariqq
43fce37bdf
gnu: pidgin: Remove input labels.
* gnu/packages/messaging.scm (pidgin)[inputs, native-inputs]: Remove labels.

Change-Id: I5b139e46179ede89404aa4bba1505a107dbe6156
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:04:42 +02:00
Dariqq
0334e9bbc9
gnu: pidgin: Update to 2.14.13 [security fixes].
* gnu/packages/messaging.scm (pidgin): Update to 2.14.13.
[source]: Switch to bz2 compression.

Change-Id: I02227f13478bbc07d53941b0d92d20dd3a6cc8ed
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Fixes: Redirect to malicious server via DNS spoofing (CVE-2022-26491).
2024-08-31 15:04:42 +02:00
Adam Faiz
16ba3aceec
gnu: openclonk: Use gexps and new input style.
* gnu/packages/games.scm (openclonk)[arguments]: Use gexps.
[source]: Reindent.
[inputs, native-inputs]: Drop labels.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:04:42 +02:00
Adam Faiz
b2235ef7d6
gnu: openclonk: Fix build.
* gnu/packages/games.scm (openclonk): Fix build.
[source]<snippet>: Unbundle dependencies and include the <limits> header where
necessary to fix the build.
[arguments]<#:phases>: Remove workarounds for bundled backward-cpp.
[inputs]: Remove dependencies for bundled backward-cpp. Add libb2, pcg-cpp,
and c-template-sort.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:04:42 +02:00
Adam Faiz
c48ae8acfc
gnu: Add c-template-sort.
* gnu/packages/c.scm (c-template-sort): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-08-31 15:04:42 +02:00
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