summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-30scripts: system: Add support for image-type.Mathieu Othacehe
* guix/scripts/system.scm (list-image-types): New procedure, (%options): add "image-type" and "list-image-types" options, remove "file-system-type" option, (show-help): adapt accordingly, (%default-options): also adapt, and set the default "image-type" to "raw", (perform-action): add image-type argument and remove file-system-type argument, (process-action): adapt perform-action call, (system-derivation-for-action): remove base-image argument, add image-type argument, and use it to create the image passed to "system-image". * tests/guix-system.sh: Adapt accordingly and add a test for "--list-image-types" command. * doc/guix.texi (Building the Installation Image, Invoking guix system): Adapt accordingly. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-30system: image: Add image-type support.Mathieu Othacehe
* gnu/system/image.scm (image-with-os): New macro. Rename the old "image-with-os" procedure to ... (image-with-os*): ... this new procedure, (system-image): adapt according, (raw-image-type, iso-image-type, uncompressed-iso-image-type %image-types): new variables, (lookup-image-type-by-name): new procedure. (find-image): remove it. * gnu/system/images/hurd.scm (hurd-image-type): New variable, use it to define ... (hurd-disk-image): ... this variable, using "os->image" procedure. * gnu/tests/install.scm (run-install): Rename installation-disk-image-file-system-type parameter to installation-image-type, use os->config instead of find-image to compute the image passed to system-image, (%test-iso-image-installer) adapt accordingly, (guided-installation-test): ditto. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-30image: Add image-type support.Mathieu Othacehe
* gnu/image.scm (<image-type>): New record, (image-type, image-type?, image-type-name, image-type-constructor, os->image): new procedures. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-30services: virtualization: Use a compressed qcow2 hurd disk-image.Mathieu Othacehe
* gnu/services/virtualization.scm (hurd-vm-disk-image): Use 'compressed-qcow2 format.
2020-09-30gnu: Add rust-multi-default-trait-impl-0.1.André Batista
* gnu/packages/crates-io.scm (rust-multi-default-trait-impl-0.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-30gnu: sbcl-kmrcl: Update to 1.111.Pierre Neidhardt
* gnu/packages/lisp-xyz.scm (sbcl-kmrcl): Update to 1.111.
2020-09-30gnu: newsboat: Fix inputs.Efraim Flashner
This is a follow-up to 51b46fa28cd31cf1cc973ef6ccd05fbef3c4b39d. * gnu/packages/syndication.scm (newsboat)[arguments]: Replace rust-once-cell-1.2 with rust-once-cell-1.
2020-09-30gnu: Fix package references.Efraim Flashner
* gnu/packages/algebra.scm (iml)[inputs]: Correctly refer to package inputs. * gnu/packages/astronomy.scm (xplanet), * gnu/packages/audio.scm (redkite, libaudec, lv2lint, lv2toweb), * gnu/packages/bioconductor.scm (r-cummerbund), * gnu/packages/chicken.scm (chicken), * gnu/packages/conky.scm (conky), * gnu/packages/cran.scm (r-latex2exp), * gnu/packages/crates-io.scm (rust-rgb), * gnu/packages/databases.scm (mariadb), * gnu/packages/diffoscope.scm (reprotest), * gnu/packages/file-systems.scm (glusterfs), * gnu/packages/finance.scm (electron-cash), * gnu/packages/games.scm (rinutils, ksudoku, kdiamond, kigo), * gnu/packages/geo.scm (grass), * gnu/packages/gnome.scm (libmediaart, gnome-contacts, geoclue), * gnu/packages/gnucash.scm (aqbanking), * gnu/packages/image.scm (mtpaint), * gnu/packages/kde-internet.scm (kopete, ktorrent), * gnu/packages/kde-utils.scm (kmousetool, kmouth, kronometer), * gnu/packages/linphone.scm (liblinphone), * gnu/packages/maths.scm (ppl), * gnu/packages/mercury.scm (mercury-minimal), * gnu/packages/music.scm (bjumblr, bschaffl, lsp-plugins, spectacle-analyzer, helm, tap-lv2, wolf-shaper, shiru-lv2), * gnu/packages/networking.scm (restinio), * gnu/packages/prolog.scm (swi-prolog), * gnu/packages/python-web.scm (gunicorn), * gnu/packages/python-xyz.scm (python-docusign-esign), * gnu/packages/ruby.scm (ruby-cucumber, ruby_version, ruby-addressable), * gnu/packages/sagemath.scm (python-cypari2), * gnu/packages/skarnet.scm (s6-linux-init), * gnu/packages/vpn.scm (sshuttle), * gnu/packages/web.scm (libcyaml), * gnu/packages/xdisorg.scm (kbdd), * gnu/packages/xorg.scm (xpra): Same.
2020-09-30gnu: rust-instant-0.1: Update to 0.1.4.Efraim Flashner
* gnu/packages/crates-io.scm (rust-instant-0.1): Update to 0.1.4. [arguments]: Don't skip build. Skip tests. Add rust-js-sys-0.3, rust-wasm-bindgen-0.2 to cargo-inputs.
2020-09-30gnu: rust-serde-1: Update to 1.0.113.Efraim Flashner
* gnu/packages/crates-io.scm (rust-serde-1, rust-serde-derive-1, rust-serde-test-1): Update to 1.0.113. [arguments]: Don't skip build.
2020-09-30gnu: rust-once-cell-1.2: Replace with rust-once-cell-1.Efraim Flashner
* gnu/packages/crates-io.scm (rust-once-cell-1.2): Remove variable. (rust-arc-swap-0.4, rust-duct-0.13): Adjust accordingly. * gnu/packages/gnome.scm (librsvg-next): Same.
2020-09-30gnu: Add rust-once-cell-1.Efraim Flashner
* gnu/packages/crates-io.scm (rust-once-cell-1): New variable. (rust-once-cell-1.2): Inherit from rust-once-cell-1.
2020-09-29gnu: escpr: Update to 1.7.7.Tobias Geerinckx-Rice
* gnu/packages/cups.scm (escpr): Update to 1.7.7. [arguments]: Add a ‘patch-autotools-version-requirement’ phase.
2020-09-29gnu: escpr: Install PPDs where CUPS can find them.Tobias Geerinckx-Rice
* gnu/packages/cups.scm (escpr)[arguments]: Fix ‘--with-cupsppddir=’.
2020-09-29gnu: wev: Use version tag instead of commit.Brendan Tildesley
* gnu/packages/freedesktop.scm (wev): Update to the 1.0.0 version tag, which happens to be the same commit anyway. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-29openpgp: Fix argument order of 'fxbit-set?'.Lars-Dominik Braun
* guix/openpgp.scm (fxbit-set?): Change to swap arguments compared to 'bit-set?'. * tests/openpgp.scm (%binary-sample): New test vector. ("port-ascii-armored?, #t"): Add test. ("port-ascii-armored?, #f"): Add another test. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-09-29gnu: claws-mail: Update to 3.17.7.Tobias Geerinckx-Rice
* gnu/packages/mail.scm (claws-mail): Update to 3.17.7.
2020-09-29services: hurd-vm: Add system test.Ludovic Courtès
* gnu/tests/virtualization.scm (%childhurd-os): New variable. (run-childhurd-test): New procedure. (%test-childhurd): New variable.
2020-09-29secret-service: Add proper logging procedure and log to syslog.Ludovic Courtès
* gnu/build/secret-service.scm (log): New macro. (secret-service-send-secrets, secret-service-receive-secrets): Use it instead of raw 'format' calls.
2020-09-29services: secret-service: Add initial client/server handshake.Ludovic Courtès
This allows the client running on the host to know when it's actually connect to the server running in the guest. Failing that, the client would connect right away to QEMU and send secrets even though the server is not running yet in the guest, which is unreliable. * gnu/build/secret-service.scm (secret-service-send-secrets): Add #:handshake-timeout. Read from SOCK an initial message from the server. Return #f on error. (secret-service-receive-secrets): Send 'secret-service-server' message to the client. Close SOCK upon timeout. * gnu/services/virtualization.scm (hurd-vm-shepherd-service): 'start' method returns #f when 'secret-service-send-secrets' returns #f.
2020-09-29services: secret-service: Move instance last in the list of services.Ludovic Courtès
* gnu/services/virtualization.scm (secret-service-operating-system): Add the SECRET-SERVICE-TYPE instance to the end of the list.
2020-09-29secret-service: Fix file port leak in 'secret-service-send-secrets'.Ludovic Courtès
* gnu/build/secret-service.scm (secret-service-send-secrets): Use 'call-with-input-file' instead of 'open-input-file'.
2020-09-29secret-service: Add a timeout when waiting for a client.Ludovic Courtès
* gnu/build/secret-service.scm (secret-service-receive-secrets) [wait-for-client]: Call 'select' with a 60s timeout before 'accept'. Return #f upon timeout. [read-secrets]: Return FILES on success. Adjust caller of 'wait-for-client' to handle #f.
2020-09-29services: hurd-vm: Pass "-no-reboot" when spawning the Hurd VM.Ludovic Courtès
* gnu/services/virtualization.scm (hurd-vm-shepherd-service)[vm-command]: Add "--no-reboot".
2020-09-29services: hurd-vm: Initialize the guest's SSH/Guix keys at activation time.Ludovic Courtès
* gnu/services/virtualization.scm (initialize-hurd-vm-substitutes) (hurd-vm-activation): New procedures. (hurd-vm-service-type)[extensions]: Add ACTIVATION-SERVICE-TYPE extension. * doc/guix.texi (Transparent Emulation with QEMU): Mention GNU/Hurd. (The Hurd in a Virtual Machine): Explain which files are automatically installed and mention offloading.
2020-09-29services: guix: Generate key pair if needed during activation.Ludovic Courtès
* gnu/services/base.scm (guix-activation): Invoke "guix archive --generate-key". * doc/guix.texi (Invoking guix archive) (Invoking guix deploy): Mention that 'guix-service-type' takes care of generating the key pair.
2020-09-29services: hurd-vm: Check whether /dev/kvm exists at run time.Ludovic Courtès
This change allows a childhurd to run within Guix System in a VM. * gnu/services/virtualization.scm (hurd-vm-shepherd-service)[vm-command]: Stage the 'file-exists?' call.
2020-09-29secret-service: Clarify the origin of messages.Ludovic Courtès
* gnu/build/secret-service.scm (secret-service-send-secrets) (secret-service-receive-secrets): Prefix messages by "secret service".
2020-09-29services: childhurd: Tweak description.Ludovic Courtès
* gnu/services/virtualization.scm (hurd-vm-service-type)[description]: Mention "childhurd".
2020-09-29services: hurd-vm: Run QEMU as an unprivileged user.Ludovic Courtès
Until qemu was running as "root", which is unnecessary. * gnu/services/virtualization.scm (%hurd-vm-accounts): New variable. (hurd-vm-service-type)[extensions]: Add ACCOUNT-SERVICE-TYPE extension.
2020-09-29nls: Fix copyright and bug address in pot files.Julien Lepiller
* po/guix/Makevars: Fix COPYRIGHT_HOLDER and MSGID_BUGS_ADDRESS. * po/packages/Makevars: idem.
2020-09-29nls: Fix documentation pot generation.Julien Lepiller
* po/doc/local.mk: Fix POT_OPTIONS to properly assign copyright and define the proper license.
2020-09-29guix build: Add a hint for unspecified value.Julien Lepiller
* guix/scripts/build.scm (options->things-to-build): Add a hint when we cannot build something.
2020-09-29gnu: snap: Update to 6.2.1.Nicolas Goaziou
* gnu/packages/education.scm (snap): Update to 6.2.1.
2020-09-29gnu: giac: Update to 1.6.0-23.Nicolas Goaziou
* gnu/packages/algebra.scm (giac): Update to 1.6.0-23. [arguments]: Fix more hard-coded /bin/cp in Make files. [native-inputs]: Add python-wrapper.
2020-09-29gnu: micropython: Update to 1.13.Nicolas Goaziou
* gnu/packages/python.scm (micropython): Update to 1.13.
2020-09-29gnu: obs: Enable tests.Efraim Flashner
* gnu/packages/video.scm (obs)[arguments]: Enable tests. Add configure-flag to enable unit tests. [native-inputs]: Add cmocka.
2020-09-29gnu: obs: Enable building on all architectures.Efraim Flashner
* gnu/packages/video.scm (obs)[supported-systems]: Remove field.
2020-09-29gnu: obs: Build with speexdsp.Efraim Flashner
* gnu/packages/video.scm (obs)[inputs]: Replace speex with speexdsp.
2020-09-29gnu: obs: Update to 26.0.0.Michael Rohleder
* gnu/packages/video.scm (obs): Update to 26.0.0. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29ci: Build hurd-barebones-qcow2-image.Mathieu Othacehe
Build hurd-barebones-qcow2-image instead of hurd-barebones-disk-image to speed downloads. * gnu/ci.scm (%guix-system-images): Build 'hurd-barebones-qcow2-image instead of 'hurd-barebones-disk-image.
2020-09-29images: hurd: Add hurd-barebones-qcow2-image.Mathieu Othacehe
* gnu/system/images/hurd.scm (hurd-barebones-qcow2-image): New variable.
2020-09-29image: Add support for compressed-qcow2 format.Mathieu Othacehe
* gnu/build/image.scm (convert-disk-image): New procedure. (genimage): Remove target argument. * gnu/system/image.scm (system-disk-image): Add support for 'compressed-qcow2 image format. Call "convert-disk-image" to apply image conversions on the final image. Add "qemu-minimal" to the build inputs. (system-image): Also add support for 'compressed-qcow2.
2020-09-29gnu: fet: Update to 5.47.0.Nicolas Goaziou
* gnu/packages/education.scm (fet): Update to 5.47.0.
2020-09-29gnu: vim: Update to 8.2.1770.Efraim Flashner
* gnu/packages/vim.scm (vim): Update to 8.2.1770.
2020-09-29gnu: scintilla: Update to 4.4.5.Nicolas Goaziou
* gnu/packages/text-editors.scm (scintilla): Update to 4.4.5.
2020-09-29gnu: Add rust-stfu8-0.2.Gabriel Arazas
* gnu/packages/crates-io.scm (rust-stfu8-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29gnu: Add rust-proptest-0.3.Gabriel Arazas
* gnu/packages/crates-io.scm (rust-proptest-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29gnu: Add rust-pretty-assertions-0.4.Gabriel Arazas
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.4): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29gnu: Add rust-ansi-term-0.9.Gabriel Arazas
* gnu/packages/crates-io.scm (rust-ansi-term-0.9): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>