Commit graph

117275 commits

Author SHA1 Message Date
Tobias Geerinckx-Rice
24d2c2bcda
gnu: aspell-dict-nb: Correct to 0.50-2.
* gnu/packages/aspell.scm (aspell-dict-nb): Fix version number.
No hash change.
2023-07-09 02:00:10 +02:00
Tobias Geerinckx-Rice
6d552a1426
gnu: Use aquamaniac.de/ as home page for its projects.
* gnu/packages/gnucash.scm (gwenhywfar, aqbanking)[home-page]:
Use top-level directory as done upstream.
2023-07-09 02:00:09 +02:00
Tobias Geerinckx-Rice
67fb8efdf7
gnu: ghostscript: Fix CVE-2023-36664.
* gnu/packages/ghostscript.scm (ghostscript/fixed): New variable.
(ghostscript)[replacement]: Assign it to new field.
* gnu/packages/patches/ghostscript-CVE-2023-36664.patch,
gnu/packages/patches/ghostscript-CVE-2023-36664-fixup.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2023-07-09 02:00:04 +02:00
Tobias Geerinckx-Rice
b29bd4d35e
gnu: antiword: Use Web Archive URLs.
* gnu/packages/textutils.scm (antiword)[source, home-page]:
Use copies archived by the Wayback Machine.
2023-07-09 02:00:03 +02:00
Tobias Geerinckx-Rice
5cbb60562d
gnu: anthy: Mark up description.
* gnu/packages/anthy.scm (anthy)[description]: Use @file{}.
2023-07-09 02:00:03 +02:00
Tobias Geerinckx-Rice
b0e5576702
gnu: anthy: Add source mirror URL.
* gnu/packages/anthy.scm (anthy)[source]: Add a Japanese Gentoo
distfiles mirror.
2023-07-09 02:00:03 +02:00
Tobias Geerinckx-Rice
5799552739
gnu: altermime: Cross-compile.
* gnu/packages/mail.scm (altermime)[arguments]: Use CC-FOR-TARGET.
Add a new 'do-not-strip phase.
2023-07-09 02:00:03 +02:00
Tobias Geerinckx-Rice
bce8c88f42
gnu: altermime: Use G-expressions.
* gnu/packages/mail.scm (altermime)[arguments]:
Rewrite as G-expressions.  Don't explicitly return #t from phases.
2023-07-09 02:00:02 +02:00
Tobias Geerinckx-Rice
1d7e1fbc38
gnu: altermime: Download over HTTPS.
* gnu/packages/mail.scm (altermime)[source]: Use HTTPS.
2023-07-09 02:00:02 +02:00
Tobias Geerinckx-Rice
11ae5491f9
gnu: alpine: Download over HTTPS.
* gnu/packages/mail.scm (alpine)[source]: Use HTTPS.
2023-07-09 02:00:02 +02:00
Tobias Geerinckx-Rice
75c7f790b0
download: Remove obsolete Savannah subdirectory.
* guix/download.scm (%mirrors): Remove ‘releases-noredirect’ URL.
2023-07-09 02:00:02 +02:00
Tobias Geerinckx-Rice
d3fa3e7313
gnu: aiger: Use HTTPS source & home page.
* gnu/packages/maths.scm (aiger)[source, home-page]: Use HTTPS.
2023-07-09 02:00:01 +02:00
Tobias Geerinckx-Rice
24e5db1bc2
gnu: borg: Update to 1.2.4.
* gnu/packages/backup.scm (borg): Update to 1.2.4.
2023-07-09 02:00:01 +02:00
Christopher Baines
5f7c714c63
gnu: rumpkernel: Don't error for non x86 systems.
As the lack of handling other systems, say aarch64-linux here seemed to cause
problems with guix pull on these systems.  This should work around #64609.

* gnu/packages/hurd.scm (rumpkernel)[arguments]: Don't error for any system.
2023-07-14 11:54:02 +01:00
Christopher Baines
a041bbb4bf
Revert "gnu: mig: Update to 1.8+git20230520."
As noted in the comment, I think using git-fetch caused problems computing
derivaations for i586-linux (Guix would just use more and more memory).

This reverts commit 999a6ac0cf.
2023-07-14 11:53:12 +01:00
Efraim Flashner
ddbfef2e95
gnu: zig-0.9: Fix building on riscv64-linux.
* gnu/packages/zig.scm (zig-0.9)[source]: Add patch.
[arguments]: Skip tests when building for riscv64-linux. When building
for riscv64-linux add a phase to adjust the tests.
* gnu/packages/patches/zig-0.9-riscv-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-07-14 09:20:01 +03:00
Leo Famulari
92d18dc568
gnu: linux-libre: Update to 6.3.13.
* gnu/packages/linux.scm (linux-libre-6.3-version): Update to 6.3.13.
(linux-libre-6.3-pristine-source): Update hash.
2023-07-13 22:17:27 -04:00
Ricardo Wurmus
ea81a0417a
gnu: Add python-plotnine.
* gnu/packages/python-science.scm (python-plotnine): New variable.
2023-07-13 22:29:24 +02:00
Ricardo Wurmus
f7c6d31e33
gnu: python-mizani: Fix embedded version string.
* gnu/packages/python-xyz.scm (python-mizani)[native-inputs]: Add
python-setuptools-scm to correct embedded version form 0.0.0 to 0.9.2.
2023-07-13 22:29:24 +02:00
Josselin Poiret
d17879cd0d
guix: platform: Use srfi-34's raise instead of raise-exception.
* guix/platform.scm (lookup-platform-by-system)
(lookup-platform-by-target)
(lookup-platform-by-target-or-system): Use srfi-34's raise instead of
raise-exception.
2023-07-13 19:00:14 +02:00
Janneke Nieuwenhuizen
b4fe82bd8a
gnu: gnumach: Disable builtin networking.
See also

    https://logs.guix.gnu.org/hurd/2023-05-25.log#163610

* gnu/packages/hurd.scm (gnumach)[arguments]: Add --disable-net-group,
--disable-pcmcia-group, and --disable-wireless-group.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 19:00:09 +02:00
Janneke Nieuwenhuizen
9c1957921a
services: static-networking: Support netdde for the Hurd.
As suggested by Sergey Bugaev on bug-hurd

    https://lists.gnu.org/archive/html/bug-hurd/2023-05//msg00455.html

* gnu/services/base.scm (static-networking->hurd-pfinet-options): Use
/DEV/ethX.  Use long options for settrans.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 19:00:05 +02:00
Janneke Nieuwenhuizen
cefcf0fb04
system: hurd: Add netdde to %base-packages/hurd.
* gnu/system/hurd.scm (%base-packages/hurd): Add netdde.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 19:00:02 +02:00
Janneke Nieuwenhuizen
030b15d466
hurd-boot: Cater for netdde.
* gnu/build/hurd-boot.scm (set-hurd-device-translators): Setup translators for
netdde, eth{0,1}.  Create /servers/socket/{inet,inet6} symlinks.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:59:57 +02:00
Janneke Nieuwenhuizen
37256c02a2
gnu: netdde: Resurrect and update to 2.6.32.65-2-e67c284ac1.
* gnu/packages/patches/netdde-build-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (netdde)[source]: Update to
e67c284ac113d939b10b4578334f27dab29d5b08 and use it.
[inputs]: Add zlib:static.
[arguments]: Remove #true from build phases.  In 'build' phase, remove
obsolete CFLAGS, and also build static version.  In 'install' phase,
install them in <out>/hurd.  There is no check target, so set #:tests?
to #false.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:59:22 +02:00
Janneke Nieuwenhuizen
bbfb41ed9d
gnu: gnumach: Support "noide" argument.
* gnu/packages/patches/gnumach-support-noide.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/hurd.scm (gnumach-headers): Use it.
* doc/guix.texi (Bootloader Configuration): Document it.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:59:17 +02:00
Janneke Nieuwenhuizen
c22c29b0c4
bootloader: grub: Use rumpdisk-style root when booting with "noide".
* gnu/bootloader/grub.scm (make-grub-configuration): When "noide" is in
arguments, use device name "wd0" rather than "hd0".

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:59:13 +02:00
Janneke Nieuwenhuizen
7f86dad611
system: hurd: Boot with pci.arbiter and rumpdisk.
* gnu/system.scm (hurd-multiboot-modules): Add commands for pci.arbiter and
rumpdisk.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:59:06 +02:00
Janneke Nieuwenhuizen
09657f3ee7
services: childhurd: Bump default qemu memory to 2048MB.
When booting with pci-arbiter and rumpdisk and using 1024MB of memory for
qemu, booting hangs, or seems to hang, at the end of the rumpdisk boot
messages.  At least 1200MB is required, currently.

* gnu/services/virtualization.scm (<hurd-vm-configuration>)[memory-size]: Bump
to 2048.
* gnu/system/examples/bare-hurd.tmpl: Suggest using 2048 here too.  Update
example `guix system image' and "qemu" command lines too.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:59:02 +02:00
Janneke Nieuwenhuizen
fe873fb417
hurd-boot: Setup pci-arbiter and rumpdisk translators.
* gnu/build/hurd-boot.scm (make-hurd-device-nodes): Create "servers/bus/pci.
(set-hurd-device-translators): Create transators for pci-arbiter, rumpdisk,
and /dev/wd0..3s1..4.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:58:58 +02:00
Janneke Nieuwenhuizen
5981e99f0a
gnu: hurd: Add rumpkernel.
* gnu/packages/patches/hurd-fix-rumpdisk-build.patch,
gnu/packages/patches/hurd-rumpdisk-no-hd.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/hurd.scm (hurd): Use them.
(hurd)[inputs]: Replace util-linux with util-linux:static, add parted,
rumpkernel.
[arguments]: Rename `prepare-dde' phase to 'prepare-addons'.  Add "rumpdisk"
directory.  Add --enable-static-progs=... option to #:configure-flags, and
remove --without-parted.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:58:53 +02:00
Janneke Nieuwenhuizen
451b2db3df
gnu: parted: Support building for the Hurd.
* gnu/packages/disk.scm (parted)[inputs]: Remove lvm2, add hurd-minimal
when building for the Hurd.
[arguments]: Add configure-flag '--disable-device-mapper' when building for
the Hurd.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:58:47 +02:00
Janneke Nieuwenhuizen
c8799fafa4
gnu: hurd-minimal: Include libshouldbeinlibc and libstore.
* gnu/packages/hurd.scm (hurd-minimal)[inputs]: Add gnumach-headers.
[arguments]: Rewrite to include libshouldbeinlibc and libstore.
* gnu/packages/cross-base.scm (cross-kernel-headers*): Update xhurd-minimal
accordingly: Add xgnumach-headers, add them to cpath, use gexps for
modify-phases, add delete-shared-target phase.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:58:43 +02:00
Janneke Nieuwenhuizen
f86de02dde
gnu: Add rumpkernel.
This uses the Debian Salsa rumpkernel package git as upstream as that is where
delopment happens.  Once things have stabalized upstream may change to the
NetBSD git from where Debian takes their snapshots.

* gnu/packages/hurd.scm (rumpkernel): New variable.
(hurd-headers)[native-inputs]: Use cross-mig directly.
(gnumach)[native-inputs]: Likewise.
(hurd)[native-inputs]: Likewise.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:58:39 +02:00
Janneke Nieuwenhuizen
18757f1a25
gnu: hurd: Update libpciaccess to 0.17.
As suggested by youpi on IRC

    https://logs.guix.gnu.org/hurd/2023-05-17.log#132259

libpciaccess-0.16 is too old for the Hurd and would need Hurd-specific patches
while libpciaccess-0.17 works out of the box.

* gnu/packages/hurd.scm (hurd)[inputs]: Use libpciaccess-0.17.
(netdde)[inputs]: Likewise.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:58:34 +02:00
Janneke Nieuwenhuizen
5ffdcb3aa1
gnu: Add libpciaccess-0.17.
* gnu/packages/xorg.scm (libpciaccess-0.17): New variable.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-07-13 18:58:06 +02:00
Josselin Poiret
1f19387ca7
gnu: hurd: Update to v0.9.git20230216.
* gnu/packages/hurd.scm (hurd-headers): Update to v0.9.git20230216.
2023-07-13 18:20:07 +02:00
Josselin Poiret
999a6ac0cf
gnu: mig: Update to 1.8+git20230520.
* gnu/packages/hurd.scm (mig)[source]: Update to 1.8+git20230520.
* gnu/packages/patches/gnumach-add-missing-const_mach_port_name_array_t-type.patch:
Drop patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
2023-07-13 18:20:06 +02:00
Josselin Poiret
2edd67d34b
gnu: gnumach: Update to 1.8+git20221224.
* gnu/packages/hurd.scm (gnumach-headers): Update to 1.8+git20221224.
2023-07-13 18:20:06 +02:00
Josselin Poiret
0dd293b4d9
gnu: Add libc-for-target and glibc/hurd.
* gnu/packages/patches/glibc-2.37-hurd-clock_t_centiseconds.patch
* gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch
* gnu/packages/patches/glibc-2.37-versioned-locpath.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.

* gnu/packages/base.scm (glibc/hurd, libc-for-target): New variables.
(glibc/hurd-headers): Use glibc/hurd.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[outputs,
source, arguments]
(glibc-final)[source]: Use libc-for-target instead of glibc.
* gnu/packages/cross-base.scm (cross-libc/deprecated, cross-libc*): Use
libc-for-target.

This part fixes

    https://issues.guix.gnu.org/63641#25

* gnu/packages/commencement.scm (%final-inputs): Change to memoized lambda
taking "system".
* gnu/packages/commencement.scm (canonical-package): Likewise, and update
user, passing (%current-system).
(make-gcc-toolchain): Update user, passing (%current-system).
* gnu/packages/base.scm (%final-inputs): Likewise.
* guix/scripts/refresh.scm (options->update-specs): Likewise.
* guix/build-system/gnu.scm (standard-packages): Add optional "system"
parameter.
(lower): Update caller.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org>
2023-07-13 18:20:05 +02:00
Josselin Poiret
0613df90dd
gnu: hurd: Update supported systems.
* gnu/packages/hurd.scm (gnumach-headers, hurd-headers, hurd-minimal,
hurd-core-headers, gnumach): Update supported systems to %hurd-systems.
2023-07-13 18:20:04 +02:00
Josselin Poiret
c2bb342b5f
gnu: gnumach-headers: Cross-build without relying on x86.
* gnu/packages/hurd.scm (gnumach-headers): Remove configure flags where we
say the builder is running x86.
* gnu/packages/cross-base.scm (cross-gnumach-headers): Work around limitation
of build system, by manually changing the target host_cpu without relying on
--host, because we don't have a working cross-compiler yet.
2023-07-13 18:20:04 +02:00
Josselin Poiret
85ebfcf4ff
gnu: glibc/hurd-headers: Properly cross-build.
* gnu/packages/base.scm (glibc/hurd-headers): Rely on cross-mig, and remove
hardcoded configure flag `--host=i586-pc-gnu`.
* gnu/packages/cross-base.scm (cross-kernel-headers*): Add `--host` and
`--build` configure flags.
2023-07-13 18:20:01 +02:00
Ludovic Courtès
ff208b4b62
gnu: arpack-ng: Update to 3.9.0.
* gnu/packages/maths.scm (arpack-ng): Update to 3.9.0.
[source]: Add 'patches'.
[build-system]: Switch to CMAKE-BUILD-SYSTEM.
[native-inputs]: Remove AUTOCONF, AUTOMAKE, and LIBTOOL.
(arpack-ng-openmpi)[inputs]: Use 'modify-inputs'.
[arguments]: Use gexps.
* gnu/packages/patches/arpack-ng-propagate-rng-state.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2023-07-13 17:59:57 +02:00
Timotej Lazar
5594f4c999
gnu: sssd: Update to 2.9.1.
* gnu/packages/sssd.scm (sssd): Update to 2.9.1.
[native-inputs]: Add bc.
* gnu/packages/patches/sssd-system-directories.patch: Adjust for new version.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-07-13 17:58:38 +02:00
Ludovic Courtès
9c51330315
shell: Really take system into account in the cache key.
Fixes <https://issues.guix.gnu.org/63230>.

Previously, when running "guix shell -s X ...", OPTS would contain
something like '((system . "X") ... (system . "DEFAULT")).  Thus, since
'profile-cached-gc-root' would iterate over it in this order, "DEFAULT"
would be passed to 'profile-file-cache-key' and 'profile-spec-cache-key'
instead of "X".

* guix/scripts/shell.scm (profile-cached-gc-root): Reverse OPTS before
entering 'loop'.
2023-07-13 17:20:02 +02:00
Tobias Kortkamp
ae92d98b93
gnu: clang-runtime-15: Fix address sanitizer support
$ guix shell clang-toolchain@15 -- clang -o test -fsanitize=address test.c
ld: cannot find /gnu/store/i429h17s15g48ir9vl1bzp3cv39l5pib-clang-runtime-15.0.7/lib/linux/libclang_rt.asan_static-x86_64.a: No such file or directory
ld: cannot find /gnu/store/i429h17s15g48ir9vl1bzp3cv39l5pib-clang-runtime-15.0.7/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

* gnu/packages/llvm.scm (clang-runtime-15): Fix address sanitizer
support by bringing back the static libraries.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-07-13 17:20:02 +02:00
fanquake
dd4c199210
gnu: libleak: Update to 0.3.6.
* gnu/packages/debug.scm (libleak): Update to 0.3.6.
2023-07-13 10:47:33 +02:00
Ricardo Wurmus
2794caed7c
gnu: Add r-numbat.
* gnu/packages/bioinformatics.scm (r-numbat): New variable.
2023-07-12 21:34:07 +02:00
Ricardo Wurmus
3b524cde71
gnu: Add r-bpcells.
* gnu/packages/bioinformatics.scm (r-bpcells): New variable.
2023-07-12 16:45:42 +02:00