summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2023-10-01tests: hurd-vm: Remove custom disk image configuration.Ludovic Courtès
This was added in 18e76f89055f25f015fadb7c999b410f38a88cc6. 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-01services: hurd-vm: ‘image’ field has to be an <image> record.Ludovic Courtès
* 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-01services: childhurd: Authorize the childhurd’s key on the host.Ludovic Courtès
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-01services: guix: Support declarative offloading setup.Ludovic Courtès
* 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-01services: guix: Use the right locale package on GNU/Hurd.Ludovic Courtès
Fixes a bug introduced in 0dd293b4d9095137c9952e16ca951f887b7e7018 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-01gnu: glibc-utf8-locales: Reintroduce input labels.Ludovic Courtès
Since 2f73ea3487b3bf6eb055c08aae7c53713d61a4d7, ‘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-01services: hurd-vm: Use the default SSH port number.Ludovic Courtès
* 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-01secret-service: Increase default handshake timeout.Ludovic Courtès
* gnu/build/secret-service.scm (secret-service-send-secrets): Increase #:handshake-timeout.
2023-10-01system: vm: Remove unused variable.Ludovic Courtès
This is a followup to 05a9d1f378e2e13e8f759be926ea368358afc27c, which removed its sole user. * gnu/system/vm.scm (%linux-vm-file-systems): Remove. (mapping->file-system): Add comment about “cache=loose”.
2023-10-01image: Product hybrid qcow2 images.Mathieu Othacehe
This is a follow-up of e5ed1712da049b1c3dcf01e0a7e02e48a8aff012. Restore the behaviour before d57cab764122af69d52d8cc9c843456044e5d7bc and produce hybrid, BIOS and UEFI capable qcow2 images. * gnu/system/image.scm (qcow2-image-type): Inherit from mbr-hybrid-disk-image.
2023-10-01gnu: poetry: Fix build.Danny Milosavljevic
Follow-up to 21d6985a8b3c6e53aab648275dc27b72c7453437. * 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-01Revert "gnu: poetry: Update to 1.1.12."Danny Milosavljevic
This reverts commit d477018b57d5b4c13b4dd35aa1c4ee1a00ca76e2.
2023-10-01hurd-boot: Setup/dev/hdX, /dev/hdXsY IDE device node translators.Janneke Nieuwenhuizen
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-01gnu: xfig: Update to 3.2.9.Bruno Victal
* 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-01gnu: Add fig2dev.Bruno Victal
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 <https://gitlab.inria.fr/latex-utils/latex-make/-/commit/1dcc04aaa860b123924ae83fc30a47d6f7179f7a>. * 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-01gnu: xfig: Use G-Expressions.Bruno Victal
* 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-01gnu: desmume: Update to 0.9.13.Hendursaga
* 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-09-30gnu: Add python-openturns.Vinicius Monego
* gnu/packages/statistics.scm (python-openturns): New variable.
2023-09-30gnu: Add python-chaospy.Vinicius Monego
* gnu/packages/statistics.scm (python-chaospy): New variable.
2023-09-30gnu: Add python-numpoly.Vinicius Monego
* gnu/packages/python-science.scm (python-numpoly): New variable.
2023-09-30gnu: ceres: Propagate eigen and gflags.Vinicius Monego
* gnu/packages/maths.scm (ceres)[inputs]: Move eigen and gflags to ... [propagated-inputs]: ... here.
2023-09-30gnu: Add spectra.Vinicius Monego
* gnu/packages/algebra.scm (spectra): New variable.
2023-09-30gnu: Add pagmo.Vinicius Monego
* gnu/packages/maths.scm (pagmo): New variable.
2023-09-30gnu: Add bonmin.Vinicius Monego
* gnu/packages/maths.scm (bonmin): New variable.
2023-09-30gnu: Add cminpack.Vinicius Monego
* gnu/packages/maths.scm (cminpack): New variable.
2023-09-30gnu: Add primesieve.Vinicius Monego
* gnu/packages/maths.scm (primesieve): New variable.
2023-09-30gnu: Add hmat.Vinicius Monego
* gnu/packages/maths.scm (hmat): New variable.
2023-09-30gnu: sdcc: Update to 4.3.0.Simon South
* 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-30gnu: sdcc: Embed absolute reference to μCsim.Simon South
* 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-30gnu: sdcc: Adjust format.Simon South
* 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-30gnu: sdcc: Update package style.Simon South
* gnu/packages/embedded.scm (sdcc)[source]<snippet>: Use gexp; drop trailing #t. [arguments]: Use gexps. <#:phases>: Drop trailing #t from phase. Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30gnu: utfcpp: Update to 3.2.5.Hilton Chain
* gnu/packages/textutils.scm (utfcpp): Update to 3.2.5. Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30gnu: libglvnd: Update to 1.7.0.Hilton Chain
* gnu/packages/gl.scm (libglvnd): Update to 1.7.0. Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30gnu: picard: Update to 2.9.2.Hilton Chain
* gnu/packages/music.scm (picard): Update to 2.9.2. Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30gnu: font-sarasa-gothic: Update to 0.42.0.Hilton Chain
* gnu/packages/fonts.scm (font-sarasa-gothic): Update to 0.42.0. Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30gnu: hdf-eos5: Update to 2.0.David Elsing
* gnu/packages/maths.scm (hdf-eos5): Update to 2.0. [source]: Change URL and add snippet to remove generated files. [native-inputs]: Add autoconf, automake and libtool. [inputs]: Replace hdf5-1.8 with hdf5-1.14. [arguments]: Do not use quasiquote and add the phases remove-single-module-flag and fix-parallel-tests. Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-24gnu: psautohint: Disable flaky tests.Hilton Chain
* gnu/packages/fontutils.scm (psautohint)[arguments]: Disable tests test_hashmap_no_version and test_hashmap_old_version. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-09-24gnu: phantomsocks: Update to 0.0.0-20230829023258-013a0002abe2.Hilton Chain
* gnu/packages/networking.scm (phantomsocks): Update to 0.0.0-20230829023258-013a0002abe2. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-09-24gnu: xsel: Document clipboard functionality.Rostislav Svoboda
* gnu/packages/xdisorg.scm (xsel)[synopsis, description]: Note the X clipboard as an option. Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr> Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-09-24gnu: Remove emacs-buttercup-1.25.Hilton Chain
* gnu/packages/emacs-xyz.scm (emacs-buttercup-1.25): Delete variable. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-09-24gnu: emacs-lua-mode: Build with newer emacs-buttercup.Hilton Chain
* gnu/packages/emacs-xyz (emacs-lua-mode)[native-inputs]: Replace emacs-buttercup-1.25 with emacs-buttercup. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-09-24gnu: libvpx: Graft to fix CVE-2023-5217.Tobias Geerinckx-Rice
* gnu/packages/video.scm (libvpx)[replacement]: New field, set to… (libvpx/fixed): …this new variable. * gnu/packages/patches/libvpx-CVE-2023-5217.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
2023-09-24gnu: qbittorrent-enhanced: Update to 4.5.5.10.Hilton Chain via Guix-patches via
* gnu/packages/bittorrent.scm (qbittorrent-enhanced): Update to 4.5.5.10. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-09-24gnu: qbittorrent-nox: Rename to qbittorrent-no-x.Tobias Geerinckx-Rice
* gnu/packages/bittorrent.scm (qbittorrent-no-x): New variable, renamed from… (qbittorrent-nox): …this package, now redefined as a DEPRECATED-PACKAGE.
2023-09-24gnu: qbittorrent: Update to 4.5.5.Hilton Chain
* gnu/packages/bittorrent.scm (qbittorrent): Update to 4.5.5. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-09-29gnu: guix: Fix cross-compilation.Ludovic Courtès
Fixes a regression introduced in 59587e2fda76c19b424fda9a987ff90d52ef217e where ./configure would fail when cross-compiling with “Git is missing”. Reported by gabber on #guix. * gnu/packages/package-management.scm (guix)[arguments]: Add ‘ac_cv_path_GIT’ to #:configure-flags.
2023-09-24gnu: xen: Build reproduciblyTobias Geerinckx-Rice
* gnu/packages/virtualization.scm (xen)[source]: Add patches. [arguments]: Add a new 'remove-cruft phase. * gnu/packages/patches/xen-docs-use-predictable-ordering.patch, * gnu/packages/patches/xen-remove-config.gz-timestamp.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them both.
2023-09-24gnu: xen: Build in parallel.Tobias Geerinckx-Rice
I was unable to trigger any additional irreproducibility. If you can, please disable PARRALLEL-BUILD? instead. * gnu/packages/virtualization.scm (xen)[arguments]: Remove hard-coded ‘-j 1’ from the #:make-flags. Honour PARALLEL-BUILD? in the 'build phase.
2023-09-24gnu: xen: Update package style.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (xen) [arguments]: Rewrite as G-expressions. Use SEARCH-INPUT-FILE whenever possible. Put SUBSTITUTE* features to use. [native-inputs, inputs]: Remove input labels.
2023-09-24gnu: xen: Update to 4.14.6.Tobias Geerinckx-Rice
* gnu/packages/virtualization.scm (xen): Update to 4.14.6. [arguments]: Remove obsolete quoting work-around for old bug. Don't explicitly return #t from phases.