Commit graph

125195 commits

Author SHA1 Message Date
Leo Famulari
abf7a1e986
gnu: Add linux-libre 6.5.
* gnu/packages/linux.scm (linux-libre-6.5-version, linux-libre-6.5-gnu-revision,
deblob-scripts-6.5, linux-libre-6.5-pristine-source, linux-libre-6.5-source,
linux-libre-headers-6.5, linux-libre-6.5): New variables.
* gnu/packages/aux-files/linux-libre/6.5-arm.conf,
gnu/packages/aux-files/linux-libre/6.5-arm64.conf,
gnu/packages/aux-files/linux-libre/6.5-i686.conf,
gnu/packages/aux-files/linux-libre/6.5-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
2023-07-23 22:26:00 -04:00
Sharlatan Hellseher
9ecc29394e
gnu: Add python-casa-formats-io.
* gnu/packages/astronomy.scm (python-casa-formats-io): New variable.

Co-Authored-By: Iliya Tikhonenko <tikhonenko@mpe.mpg.de>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-10-02 11:20:29 -04:00
Timotej Lazar
673d7501ae
gnu: mupdf: Update to 1.23.3.
* gnu/packages/pdf.scm (mupdf): Update to 1.23.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-02 17:17:07 +02:00
Yovan Naumovski
e990115cd9
gnu: milkytracker: Update to 1.04.00.
* gnu/packages/music.scm (milkytracker): Update to 1.04.00.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-02 17:17:07 +02:00
Ludovic Courtès
e0e85f2b23
services: mcron: Do not #:select ‘%user-log-dir’.
* gnu/services/mcron.scm (mcron-shepherd-services): Do not #:select
‘%user-log-dir’ from (shepherd support) since it’s missing in the
Shepherd 0.8, which is still used on GNU/Hurd.
2023-10-02 17:17:07 +02:00
Nicolas Graves
e45f9b4b12
gnu: emacs-buttercup: Fix native comp tests with emacs-next.
* gnu/packages/emacs-xyz.scm (emacs-buttercup): Add patch emacs-buttercup-fix-native-comp-pretty-test.
* gnu/packages/patches/emacs-buttercup-fix-native-comp-pretty-test.patch: Add
file.
* gnu/local.mk: Add emacs-buttercup-fix-native-comp-pretty-test.patch.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-10-02 16:55:04 +04:00
Ludovic Courtès
3b71b2dca7
gnu: cuirass: Update to 797b26a.
* gnu/packages/ci.scm (cuirass): Update to 797b26a.
* gnu/services/cuirass.scm (cuirass-activation): Create /var/run/cuirass.
2023-10-02 11:07:14 +02:00
Steve George
47d0346553
gnu: rust-rspotify: Update to 0.11.7.
* gnu/packages/crates-io.scm (rust-rspotify): Update to 0.11.7.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George
304da4f1e3
gnu: Add rust-rspotify-http-0.11.
* gnu/packages/crates-io.scm (rust-rspotify-http-0.11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George
a7152f722f
gnu: Add rust-maybe-async-0.2.
* gnu/packages/crates-io.scm (rust-maybe-async-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George
f9f292f123
gnu: Add rust-rspotify-macros-0.11.
* gnu/packages/crates-io.scm (rust-rspotify-macros-0.11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George
f78ecf736c
gnu: Add rust-rspotify-model-0.11.
* gnu/packages/crates-io.scm (rust-rspotify-model-0.11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:12 +03:00
Steve George
248aa76885
gnu: Add rust-enum-dispatch-0.3.
* gnu/packages/crates-io.scm (rust-enum-dispatch-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:11 +03:00
Steve George
15693e8714
gnu: Add rust-enum-derive-0.1.
* gnu/packages/crates-io.scm (rust-enum-derive-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-10-02 11:40:11 +03:00
Janneke Nieuwenhuizen
63dbcec93d
gnu: guix: Update to 1.4.0-12.b9fae146d6.
This brings the "declarative offloading setup" and using "the right locale
package on GNU/Hurd".

* gnu/packages/package-management.scm (guix): Update to 1.4.0-12.b9fae146d6.
2023-10-02 09:28:02 +02:00
Ludovic Courtès
b9fae146d6
news: Add entry for declarative offloading.
* etc/news.scm: Add entry.
2023-10-01 23:01:34 +02:00
Ludovic Courtès
953c65ffdd
services: hurd-vm: Implement zero-configuration offloading.
This allows for zero-configuration offloading to a childhurd.

* gnu/services/virtualization.scm (operating-system-with-offloading-account):
New procedure.
(<hurd-vm-configuration>)[offloading?]: New field.
(hurd-vm-disk-image): Define ‘transform’ and use it.
(hurd-vm-activation): Generate SSH key for user ‘offloading’ and add
authorize it via /etc/childhurd/etc/ssh/authorized_keys.d.
(hurd-vm-configuration-offloading-ssh-key)
(hurd-vm-guix-extension): New procedures.
(hurd-vm-service-type): Add GUIX-SERVICE-TYPE extension.
* gnu/tests/virtualization.scm (run-childhurd-test)[import-module?]: New
procedure.
[os]: Add (gnu build install) and its closure to #:import-modules.
[test]: Add “copy-on-write store” and “offloading” tests.
* doc/guix.texi (Virtualization Services): Document it.
2023-10-01 22:58:20 +02:00
Ludovic Courtès
990d20d4a8
doc: Give an example showing how to add an account in the childhurd.
* doc/guix.texi (Virtualization Services): Give an example showing how
to add an account.
2023-10-01 22:58:20 +02:00
Ludovic Courtès
c3a19cc2ac
services: hurd-vm: Disable password-based authentication for root.
With offloading to a childhurd is enabled, allowing password-less root
login in the childhurd to anyone amounts to providing write access to
the host’s store to anyone.  Thus, disable password-based root logins in
the childhurd.

* gnu/services/virtualization.scm (%hurd-vm-operating-system): Change
‘permit-root-login’ to 'prohibit-password.
* gnu/tests/virtualization.scm (%childhurd-os): Provide a custom ‘os’
field for ‘hurd-vm-configuration’.
* doc/guix.texi (Virtualization Services): Remove mention of
password-less root login.
2023-10-01 22:58:20 +02:00
Ludovic Courtès
100d71f8a1
tests: hurd-vm: Remove custom disk image configuration.
This was added in 18e76f8905.  Presumably,
the problem was that using compressed QCOW2 images makes the childhurd
slower, so it’s eventually marked as failing to start.  By enabling KVM
inside the Guix System VM, we allow the childhurd to run on KVM, which
compensates the slowdown due to the use of a compressed image.

* gnu/tests/virtualization.scm (hurd-vm-disk-image-raw): Remove.
(%childhurd-os): Use default config for ‘hurd-vm-service-type’.
(run-childhurd-test)[test]: Pass “-cpu host” to the run-vm script.
2023-10-01 22:58:19 +02:00
Ludovic Courtès
bab6434f58
services: hurd-vm: ‘image’ field has to be an <image> record.
* gnu/services/virtualization.scm (<hurd-vm-configuration>)[image]:
Document as being an <image> record.
(hurd-vm-disk-image): Remove call to ‘system-image’.
(hurd-vm-shepherd-service): Add call to ‘system-image’.
* gnu/tests/virtualization.scm (hurd-vm-disk-image-raw): Remove call to
‘system-image’.
* doc/guix.texi (Virtualization Services): Adjust accordingly.
2023-10-01 22:58:19 +02:00
Ludovic Courtès
416933cde5
services: childhurd: Authorize the childhurd’s key on the host.
This partly automates setting up a childhurd for offloading purposes.

* gnu/services/virtualization.scm (authorize-guest-substitutes-on-host):
New procedure.
(hurd-vm-activation): Use it.
2023-10-01 22:58:19 +02:00
Ludovic Courtès
aa40b085dc
services: guix: Support declarative offloading setup.
* gnu/services/base.scm (guix-machines-files-installation): New
procedure.
(<guix-configuration>)[build-machines]: New field.
(guix-activation): Call ‘ guix-machines-files-installation’.
(<guix-extension>)[build-machines]: New field.
(guix-extension-merge): Handle it.
(guix-service-type)[extend]: Likewise.
* doc/guix.texi (Daemon Offload Setup): Add note linking to
‘guix-configuration’.
(Base Services): Document ‘build-machines’ field of <guix-configuration>
and of <guix-extension>.
(Virtualization Services): Add ‘hurd-vm’ anchor.
2023-10-01 22:58:19 +02:00
Ludovic Courtès
21deb89e28
services: guix: Use the right locale package on GNU/Hurd.
Fixes a bug introduced in 0dd293b4d9
whereby guix-daemon on GNU/Hurd would have ‘GUIX_LOCPATH’ set to the
“wrong” locale data (2.35 instead of 2.37).

Consequently, it would fail to setlocale(3) and calls to
‘std::stoi’ (when reading the output of ‘guix authenticate’) would
throw, leading to this error message of guix-daemon:

  unexpected build daemon error: stoi

This would manifest when sending store items to a childhurd:

  $ guix copy --to=localhost:10022 sed
  guix copy: sending 1 store item (1 MiB) to 'localhost'...
  guix copy: error: unknown error while sending files over SSH

The “unknown error” is the ‘stoi’ exception.

This commit fixes that, but for the ‘guix-daemon’ service only.

* gnu/services/base.scm (guix-shepherd-service)[locales]: New variable.
Use it instead of ‘glibc-utf8-locales’.
2023-10-01 22:58:19 +02:00
Ludovic Courtès
ae50099c46
gnu: glibc-utf8-locales: Reintroduce input labels.
Since 2f73ea3487,
‘make-glibc-utf8-locales’ couldn’t be passed a package with a name other
than “glibc” (in particular “glibc-hurd”) since the builder expects the
name “glibc” in ‘%build-inputs’.

* gnu/packages/base.scm (make-glibc-utf8-locales): Reintroduce labels in
‘native-inputs’.
2023-10-01 22:58:19 +02:00
Ludovic Courtès
81d46ef989
services: hurd-vm: Use the default SSH port number.
* gnu/services/virtualization.scm (%hurd-vm-operating-system): Remove
‘port-number’ from ‘openssh-configuration’.
(hurd-vm-net-options): Change 2222 to 22 in port forwarding.
2023-10-01 22:58:19 +02:00
Ludovic Courtès
e90a972ce2
secret-service: Increase default handshake timeout.
* gnu/build/secret-service.scm (secret-service-send-secrets):
Increase #:handshake-timeout.
2023-10-01 22:58:19 +02:00
Ludovic Courtès
f5c3f8e59e
system: vm: Remove unused variable.
This is a followup to 05a9d1f378, which
removed its sole user.

* gnu/system/vm.scm (%linux-vm-file-systems): Remove.
(mapping->file-system): Add comment about “cache=loose”.
2023-10-01 22:58:18 +02:00
Mathieu Othacehe
dfaeaae9c7
image: Product hybrid qcow2 images.
This is a follow-up of e5ed1712da. Restore the
behaviour before d57cab7641 and produce
hybrid, BIOS and UEFI capable qcow2 images.

* gnu/system/image.scm (qcow2-image-type): Inherit from mbr-hybrid-disk-image.
2023-10-01 22:18:52 +02:00
Danny Milosavljevic
f4a5d4f0b0
gnu: poetry: Fix build.
Follow-up to 21d6985a8b.

* gnu/packages/python-build.scm (python-poetry-core-1.0): New variable.
* gnu/packages/python-xyz.scm (poetry)[propagated-inputs]: Replace
python-poetry-core by python-poetry-core-1.0.
2023-10-01 22:01:29 +02:00
Danny Milosavljevic
0099214386
Revert "gnu: poetry: Update to 1.1.12."
This reverts commit d477018b57.
2023-10-01 22:00:15 +02:00
Janneke Nieuwenhuizen
0a1af11ff8
hurd-boot: Setup/dev/hdX, /dev/hdXsY IDE device node translators.
The gnumach builtin IDE hd devices are still used, unless booting with
"noide".

* gnu/build/hurd-boot.scm (set-hurd-device-translators): Create /dev/hd{0..3},
/dev/hd{0..3}s{0..3}.
2023-10-01 15:51:23 +02:00
Bruno Victal
337dbf6867
gnu: xfig: Update to 3.2.9.
* gnu/packages/patches/xfig-Enable-error-message-for-missing-libraries.patch:
New file.
* gnu/packages/patches/xfig-Fix-double-free-when-requesting-MediaBox.patch:
Likewise.
* gnu/packages/patches/xfig-Use-pkg-config-to-set-fontconfig-CFLAGS-and-LIBS.patch:
Likewise.
* gnu/local.mk (dist_patch_DATA): Register new patches.
* gnu/packages/xfig.scm (xfig): Update to 3.2.9.
[source]: Use new patches.
[arguments]<#:phases>: Add ‘wrap-program’.
[native-inputs]: Add pkg-config, autoconf, automake and libtool.
Move ghostscript to …
[inputs]: … here.  Add fig2dev, libxaw3d and libxft.
[license]: Update URL.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-01 08:14:56 +02:00
Bruno Victal
dd36ca07f0
gnu: Add fig2dev.
The source used by the transfig package is outdated and its development
was moved into the repository used by fig2dev though the utility
`transfig' is considered obsolete and not built by default in the
fig2dev package.  In practice, this is not a problem since the user is
generally after the `fig2dev' utility which was also provided in the
(now obsolete) transfig package.

Descriptions and comments pointing to the now obsolete packages are
adjusted accordingly.  For texlive-latex-make, this follow upstream at
<1dcc04aaa8>.

* gnu/packages/xfig.scm: Import all of (guix licenses).
(xfig)[license]: Adjust accordingly.
(fig2dev): New variable.
(transfig): Deprecate in favor of fig2dev.
* gnu/packages/patches/transfig-gcc10-fno-common.patch: Removed file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/docbook.scm (dblatex): Update comment.
* gnu/packages/tex.scm (texlive-latex-make)[description]: Update description.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-01 08:14:55 +02:00
Bruno Victal
8c01465142
gnu: xfig: Use G-Expressions.
* gnu/packages/xfig.scm (xfig)[arguments]<#:phases>: Relocate
'strip-bogus-exec-prefix into …
[sources]: … here, as a snippet instead.
[inputs]: Restyle.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-01 08:14:55 +02:00
Hendursaga
b14f447106
gnu: desmume: Update to 0.9.13.
* gnu/packages/emulators.scm (desmume): Update to 0.9.13.
[source]: Switch to git-fetch.  Remove patches.
[build-system]: Switch to meson-build-system.
[arguments]<#:configure-flags>: Replace “--enable-openal” with “-Dopenal=true”.
Remove “--enable-wifi”.
Add “-Dfrontend-cli=true”, “-Dfrontend-gtk=true”, and “-Dgdb-stub=true”.
<#:phases>: Add ‘chdir’.
[native-inputs]: Add glib:bin and gettext-minimal.
[inputs]: Replace sdl with sdl2 and gtk+-2 with gtk+.
Remove glu.
Add agg, alsa-lib, libpcap, openal, and soundtouch.
[home-page]: Use HTTPS.
* gnu/packages/patches/desmume-gcc6-fixes.patch: Removed file.
* gnu/packages/patches/desmume-gcc7-fixes.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-10-01 08:14:55 +02:00
Florian Pelz
8027ee4337
nls: Update translations. 2023-09-30 19:34:32 +02:00
Vinicius Monego
9f41aa021f
gnu: Add python-openturns.
* gnu/packages/statistics.scm (python-openturns): New variable.
2023-09-30 10:37:47 -03:00
Vinicius Monego
9c4e8a868d
gnu: Add python-chaospy.
* gnu/packages/statistics.scm (python-chaospy): New variable.
2023-09-30 10:37:47 -03:00
Vinicius Monego
04b31ce1f8
gnu: Add python-numpoly.
* gnu/packages/python-science.scm (python-numpoly): New variable.
2023-09-30 10:37:47 -03:00
Vinicius Monego
962e246509
gnu: ceres: Propagate eigen and gflags.
* gnu/packages/maths.scm (ceres)[inputs]: Move eigen and gflags to ...
[propagated-inputs]: ... here.
2023-09-30 10:37:47 -03:00
Vinicius Monego
65bcdd807d
gnu: Add spectra.
* gnu/packages/algebra.scm (spectra): New variable.
2023-09-30 10:37:47 -03:00
Vinicius Monego
35a00cf3dc
gnu: Add pagmo.
* gnu/packages/maths.scm (pagmo): New variable.
2023-09-30 10:37:47 -03:00
Vinicius Monego
39eb0d8a94
gnu: Add bonmin.
* gnu/packages/maths.scm (bonmin): New variable.
2023-09-30 10:37:47 -03:00
Vinicius Monego
5cb1766ad8
gnu: Add cminpack.
* gnu/packages/maths.scm (cminpack): New variable.
2023-09-30 10:37:47 -03:00
Vinicius Monego
eb871ffd76
gnu: Add primesieve.
* gnu/packages/maths.scm (primesieve): New variable.
2023-09-30 10:37:47 -03:00
Vinicius Monego
7a53bd61a0
gnu: Add hmat.
* gnu/packages/maths.scm (hmat): New variable.
2023-09-30 10:37:43 -03:00
Simon South
ee5de9cdf2
gnu: sdcc: Update to 4.3.0.
* gnu/packages/embedded.scm (sdcc): Update to 4.3.0.
* gnu/packages/patches/sdcc-disable-non-free-code.patch: Update to match new
version.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30 10:32:01 +01:00
Simon South
a97d032c7b
gnu: sdcc: Embed absolute reference to μCsim.
* gnu/packages/embedded.scm (sdcc)[arguments]<#:phases>: Add
"embed-absolute-ucsim-reference" phase.
[inputs]: Add ucsim.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30 10:32:01 +01:00
Simon South
5605e4db17
gnu: sdcc: Adjust format.
* gnu/packages/embedded.scm (sdcc): Move arguments above inputs; punctuate
comments consistently.
[arguments]<#:configure-flags>: Move comment regarding GPUTILS to associated
flags; add comment for "--disable-ucsim".
[home-page]: Add trailing slash to URL.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30 10:32:01 +01:00