Commit graph

66885 commits

Author SHA1 Message Date
Nicolas Goaziou
7607ace509
gnu: emacs-rudel: Update to 0.3.2.
* gnu/packages/emacs-xyz.scm (emacs-rudel): Update to 0.3.2.
2020-09-30 21:27:50 +02:00
Guillaume Le Vaillant
510278134b
gnu: bitcoin-unlimited: Update to 1.9.0.1.
* gnu/packages/finance.scm (bitcoin-unlimited): Update to 1.9.0.1.
  [arguments]: Add "--disable-static" to 'configure-flags. Remove 'fix-build'
  and 'make-qt-deterministic' phases. Enable "txvalidationcache" test.
2020-09-30 19:47:27 +02:00
Julien Lepiller
db194f714a
gnu: ocaml4.07-sqlite3: Fix build.
* gnu/packages/ocaml.scm (ocaml4.07-sqlite3): Use dune for OCaml 4.07.
2020-09-30 14:38:51 +02:00
Jan (janneke) Nieuwenhuizen
04a459a069
services: hurd-vm: Add childhurd user to kvm group.
This is a follow-up to commit d692ebf980.

* gnu/services/virtualization.scm (%hurd-vm-accounts)[supplementary-groups]:
Add ’kvm’.
* gnu/services/virtualization.scm (hurd-vm-shepherd-service): Use #:group
"kvm"
2020-09-30 12:30:28 +02:00
Mathieu Othacehe
f2b8abc2a1
news: Add entry for 'image-type' option.
* etc/news.scm: Add a new entry.
2020-09-30 11:38:12 +02:00
Mathieu Othacehe
313f492657
scripts: system: Add support for image-type.
* 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-30 10:47:59 +02:00
Mathieu Othacehe
10b135cef5
system: image: Add image-type support.
* 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-30 10:47:59 +02:00
Mathieu Othacehe
99d036ce84
image: Add image-type support.
* 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-30 10:47:59 +02:00
Mathieu Othacehe
2f1f7b6667
services: virtualization: Use a compressed qcow2 hurd disk-image.
* gnu/services/virtualization.scm (hurd-vm-disk-image): Use 'compressed-qcow2
format.
2020-09-30 10:47:58 +02:00
André Batista
df5d1c8393
gnu: Add rust-multi-default-trait-impl-0.1.
* 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-30 11:25:05 +03:00
Pierre Neidhardt
23611680c8
gnu: sbcl-kmrcl: Update to 1.111.
* gnu/packages/lisp-xyz.scm (sbcl-kmrcl): Update to 1.111.
2020-09-30 09:46:55 +02:00
Efraim Flashner
97750c2004
gnu: newsboat: Fix inputs.
This is a follow-up to 51b46fa28c.

* gnu/packages/syndication.scm (newsboat)[arguments]: Replace
rust-once-cell-1.2 with rust-once-cell-1.
2020-09-30 09:39:32 +03:00
Efraim Flashner
1628d57bb5
gnu: Fix package references.
* 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-30 09:28:26 +03:00
Efraim Flashner
1537587e46
gnu: rust-instant-0.1: Update to 0.1.4.
* 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-30 09:28:26 +03:00
Efraim Flashner
c9b101f119
gnu: rust-serde-1: Update to 1.0.113.
* 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-30 09:28:25 +03:00
Efraim Flashner
51b46fa28c
gnu: rust-once-cell-1.2: Replace with rust-once-cell-1.
* 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-30 09:28:25 +03:00
Efraim Flashner
cca7cbe932
gnu: Add rust-once-cell-1.
* gnu/packages/crates-io.scm (rust-once-cell-1): New variable.
(rust-once-cell-1.2): Inherit from rust-once-cell-1.
2020-09-30 09:28:25 +03:00
Tobias Geerinckx-Rice
7158dc2d49
gnu: escpr: Update to 1.7.7.
* gnu/packages/cups.scm (escpr): Update to 1.7.7.
[arguments]: Add a ‘patch-autotools-version-requirement’ phase.
2020-09-29 23:32:26 +02:00
Tobias Geerinckx-Rice
276144a99f
gnu: escpr: Install PPDs where CUPS can find them.
* gnu/packages/cups.scm (escpr)[arguments]: Fix ‘--with-cupsppddir=’.
2020-09-29 23:32:26 +02:00
Brendan Tildesley
d94be771fc
gnu: wev: Use version tag instead of commit.
* 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-29 22:53:36 +02:00
Lars-Dominik Braun
680b80e374
openpgp: Fix argument order of 'fxbit-set?'.
* 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-29 22:53:36 +02:00
Tobias Geerinckx-Rice
c99845c0d8
gnu: claws-mail: Update to 3.17.7.
* gnu/packages/mail.scm (claws-mail): Update to 3.17.7.
2020-09-29 22:08:32 +02:00
Ludovic Courtès
c11c19bd4d
services: hurd-vm: Add system test.
* gnu/tests/virtualization.scm (%childhurd-os): New variable.
(run-childhurd-test): New procedure.
(%test-childhurd): New variable.
2020-09-29 21:56:28 +02:00
Ludovic Courtès
d5366500ec
secret-service: Add proper logging procedure and log to syslog.
* 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-29 21:56:27 +02:00
Ludovic Courtès
59261a22f9
services: secret-service: Add initial client/server handshake.
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-29 21:56:27 +02:00
Ludovic Courtès
e352706ad3
services: secret-service: Move instance last in the list of services.
* gnu/services/virtualization.scm (secret-service-operating-system): Add
the SECRET-SERVICE-TYPE instance to the end of the list.
2020-09-29 21:56:27 +02:00
Ludovic Courtès
f9090015c5
secret-service: Fix file port leak in 'secret-service-send-secrets'.
* gnu/build/secret-service.scm (secret-service-send-secrets): Use
'call-with-input-file' instead of 'open-input-file'.
2020-09-29 21:56:27 +02:00
Ludovic Courtès
4d047853da
secret-service: Add a timeout when waiting for a client.
* 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-29 21:56:27 +02:00
Ludovic Courtès
1edb7c7eec
services: hurd-vm: Pass "-no-reboot" when spawning the Hurd VM.
* gnu/services/virtualization.scm (hurd-vm-shepherd-service)[vm-command]:
Add "--no-reboot".
2020-09-29 21:56:27 +02:00
Ludovic Courtès
37283f9f3e
services: hurd-vm: Initialize the guest's SSH/Guix keys at activation time.
* 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-29 21:56:27 +02:00
Ludovic Courtès
d367a7f3d0
services: guix: Generate key pair if needed during activation.
* 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-29 21:56:27 +02:00
Ludovic Courtès
8ac318068b
services: hurd-vm: Check whether /dev/kvm exists at run time.
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-29 21:56:26 +02:00
Ludovic Courtès
118b6dbb46
secret-service: Clarify the origin of messages.
* gnu/build/secret-service.scm (secret-service-send-secrets)
(secret-service-receive-secrets): Prefix messages by "secret service".
2020-09-29 21:56:26 +02:00
Ludovic Courtès
dabb00ffee
services: childhurd: Tweak description.
* gnu/services/virtualization.scm (hurd-vm-service-type)[description]:
Mention "childhurd".
2020-09-29 21:56:26 +02:00
Ludovic Courtès
d692ebf980
services: hurd-vm: Run QEMU as an unprivileged user.
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-29 21:56:26 +02:00
Julien Lepiller
ac324be105
nls: Fix copyright and bug address in pot files.
* po/guix/Makevars: Fix COPYRIGHT_HOLDER and MSGID_BUGS_ADDRESS.
* po/packages/Makevars: idem.
2020-09-29 15:40:25 +02:00
Julien Lepiller
c69156fc89
nls: Fix documentation pot generation.
* po/doc/local.mk: Fix POT_OPTIONS to properly assign copyright and
define the proper license.
2020-09-29 15:33:20 +02:00
Julien Lepiller
e75443d4f2
guix build: Add a hint for unspecified value.
* guix/scripts/build.scm (options->things-to-build): Add a hint when we
cannot build something.
2020-09-29 15:15:25 +02:00
Nicolas Goaziou
088347300b
gnu: snap: Update to 6.2.1.
* gnu/packages/education.scm (snap): Update to 6.2.1.
2020-09-29 14:06:25 +02:00
Nicolas Goaziou
07c3c3ba53
gnu: giac: Update to 1.6.0-23.
* 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-29 13:57:38 +02:00
Nicolas Goaziou
7806e568f6
gnu: micropython: Update to 1.13.
* gnu/packages/python.scm (micropython): Update to 1.13.
2020-09-29 12:16:20 +02:00
Efraim Flashner
5257618bf8
gnu: obs: Enable tests.
* gnu/packages/video.scm (obs)[arguments]: Enable tests. Add
configure-flag to enable unit tests.
[native-inputs]: Add cmocka.
2020-09-29 13:03:18 +03:00
Efraim Flashner
cbbdf047d4
gnu: obs: Enable building on all architectures.
* gnu/packages/video.scm (obs)[supported-systems]: Remove field.
2020-09-29 13:03:18 +03:00
Efraim Flashner
676c866b45
gnu: obs: Build with speexdsp.
* gnu/packages/video.scm (obs)[inputs]: Replace speex with speexdsp.
2020-09-29 13:03:18 +03:00
Michael Rohleder
1c8a63b18b
gnu: obs: Update to 26.0.0.
* gnu/packages/video.scm (obs): Update to 26.0.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 13:03:18 +03:00
Mathieu Othacehe
3d0e875026
ci: Build hurd-barebones-qcow2-image.
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-29 11:42:53 +02:00
Mathieu Othacehe
644cdc819f
images: hurd: Add hurd-barebones-qcow2-image.
* gnu/system/images/hurd.scm (hurd-barebones-qcow2-image): New variable.
2020-09-29 11:42:52 +02:00
Mathieu Othacehe
f441e3e8b5
image: Add support for compressed-qcow2 format.
* 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-29 11:42:52 +02:00
Nicolas Goaziou
c4d3eb569c
gnu: fet: Update to 5.47.0.
* gnu/packages/education.scm (fet): Update to 5.47.0.
2020-09-29 11:31:57 +02:00
Efraim Flashner
7592ddfee7
gnu: vim: Update to 8.2.1770.
* gnu/packages/vim.scm (vim): Update to 8.2.1770.
2020-09-29 11:38:49 +03:00