Commit graph

117338 commits

Author SHA1 Message Date
John Kehayias
51de28452a
gnu: Add python-makefun.
* gnu/packages/python-xyz.scm (python-makefun): New variable.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-07-14 12:16:37 -04:00
John Kehayias
66f0304e1d
gnu: python-fido2: Update to 1.1.1.
* gnu/packages/security-tokens.scm (python-fido2): Update to 1.1.1.
[build-system]: Switch to pyproject-build-system.
[arguments]: Enable tests.  Use gexps in phases.
[propagated-inputs]: Remove python-six.  Add python-pyscard.
[native-inputs]: Remove python-mock and python-pyfakefs.  Add
python-poetry-core and python-pytest.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-07-14 12:16:31 -04:00
John Kehayias
221806905b
gnu: python-pyscard: Update to 2.0.7.
* gnu/packages/security-token.scm (python-pyscard): Update to 2.0.7.
[arguments]{phases}: Use search-input-directory.  Remove trailing #t.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-07-14 12:13:34 -04:00
John Kehayias
09e73683a2
gnu: godot: Update to 4.1. Rename godot@3 to godot-lts.
* gnu/packages/game-development.scm (godot): Update to 4.1.
[source]: Update snippet: remove embree and enet; add amd-fsr, astcenc,
basis_universal, brotli, linuxbsd_headers, etcpak, meshoptimizer, msdfgen,
noise, openxr, rvo2, spirv-reflect, thorvg, volk, vulkan.
[arguments]: Remove #:scons.  Update #:scons-flags to unbundle more
libraries.
[phases]: Remove 'build-headless phase (headless is no longer has a separate
build).  Add 'fix-dl-open-paths and 'unbundle-xkbcommon phases.  In 'install
phase, remove headless output.  Update 'wrap phase to remove eudev.
[outputs]: Remove headless.
[inputs]: Add dbus, embree, enet, fontconfig, glslang, libpng, harfbuzz,
icu4c, libxkbcommon, openxr, speech-dispatcher, vulkan-loader, zlib.  Remove
bullet.  Rename freetype to freetype-with-brotli.
(godot-lts): New variable.  godot@3 is the LTS release.
* gnu/packages/games.scm (superstarfighter)[native-inputs]: Use it.
[inputs]: Use it.
2023-07-14 11:08:31 -04:00
John Kehayias
49b0a5ee5f
gnu: Add freetype-with-brotli.
* gnu/packages/fontutils.scm (freetype-with-brotli): New variable.
2023-07-14 10:53:19 -04:00
Ludovic Courtès
a33a335c89
doc: Mention gexps in the "Scheme Crash Course".
* doc/guix-cookbook.texi (A Scheme Crash Course): Add note on gexps.
2023-07-14 16:16:25 +02:00
Philip McGrath
ff4f5a725e
gnu: racket: Update to 8.9.
* gnu/packages/chez.scm (chez-scheme-for-racket): Update to
9.9.9-pre-release.16.
* gnu/packages/racket.scm (%racket-version): Update to 8.9.
(racket)[inputs]<deinprogramm, draw, drracket, future-visualizer, gui>
<htdp, macro-debugger, math, pict, plot, rackunit, redex, scribble>
<slideshow, snip, typed-racket, srfi, swindle, syntax-color>
<web-server>: Update checksums.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-07-14 16:16:25 +02:00
Ludovic Courtès
084f2c08ed
doc: Fix invalid use of @deftypevar.
* doc/guix.texi (Virtualization Services): Replace invalid use of
@deftypevar with @deftypevr.
2023-07-14 16:16:25 +02:00
Tobias Geerinckx-Rice
bdd359526e
gnu: avfs: Use HTTPS home page.
* gnu/packages/file-systems.scm (avfs)[home-page]: Use HTTPS.
2023-07-09 02:00:11 +02:00
Tobias Geerinckx-Rice
158a218dea
download: Remove obsolete kernel.org mirrors.
* guix/download.scm (%mirrors): Remove kernel.osuosl.org and
mirror.linux.org.au.
2023-07-09 02:00:11 +02:00
Tobias Geerinckx-Rice
2be1a6795f
gnu: 4ti2: Update home page.
* gnu/packages/maths.scm (4ti2)[home-page]: Update.
2023-07-09 02:00:11 +02:00
Tobias Geerinckx-Rice
8a9a7ae36e
gnu: aumix: Use Web Archive URLs.
* gnu/packages/linux.scm (aumix)[source, home-page]:
Use copies archived by the Wayback Machine.
2023-07-09 02:00:10 +02:00
Tobias Geerinckx-Rice
0f766e8439
gnu: armadillo: Update to 12.4.1.
* gnu/packages/maths.scm (armadillo): Update to 12.4.1.
2023-07-09 02:00:10 +02:00
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