Commit graph

66859 commits

Author SHA1 Message Date
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
Nicolas Goaziou f7e9054617
gnu: scintilla: Update to 4.4.5.
* gnu/packages/text-editors.scm (scintilla): Update to 4.4.5.
2020-09-29 10:36:08 +02:00
Gabriel Arazas d556028f5b
gnu: Add rust-stfu8-0.2.
* gnu/packages/crates-io.scm (rust-stfu8-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 09:43:56 +03:00
Gabriel Arazas a3911b4e6c
gnu: Add rust-proptest-0.3.
* gnu/packages/crates-io.scm (rust-proptest-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 09:42:58 +03:00
Gabriel Arazas a24a02f61a
gnu: Add rust-pretty-assertions-0.4.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 09:41:53 +03:00
Gabriel Arazas dfcfb4f490
gnu: Add rust-ansi-term-0.9.
* gnu/packages/crates-io.scm (rust-ansi-term-0.9): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 09:41:49 +03:00
Gabriel Arazas 463f41e62d
gnu: Add rust-bit-set-0.4.
* gnu/packages/crates-io.scm (rust-bit-set-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 09:41:46 +03:00
Gabriel Arazas cdf0e84c34
gnu: Add rust-bit-vec-0.4.
* gnu/packages/crates-io.scm (rust-bit-vec-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 09:41:39 +03:00
Vinicius Monego 58d743942c
gnu: python-httpx: Update to 0.15.4.
* gnu/packages/python-web.scm (python-httpx): Update to 0.15.4.
[home-page]: Change from public repository to project's webpage.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 09:33:03 +03:00
Florian Pelz fbc15e5485
news: Fix typo in ‘fr’ translation.
* etc/news.scm: Update ‘fr’ translation.
2020-09-29 06:29:57 +00:00
Efraim Flashner e86e049305
gnu: quaternion: Add debug output.
* gnu/packages/messaging.scm (quaternion)[outputs]: Add debug output.
2020-09-29 09:25:20 +03:00
Efraim Flashner 5323d59c6a
gnu: dino: Add debug output.
* gnu/packages/messaging.scm (dino)[outputs]: Add debug output.
2020-09-29 08:55:49 +03:00
Leo Prikler e7cacc91e6
gnu: ppsspp: Update to 1.10.3.
* gnu/packages/emulators.scm (ppsspp): Update to 1.10.3.
[snippet]: Update the snippet, that strips glslang from build.
[inputs]: Update lang.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 08:19:54 +03:00
Leo Prikler 3cbf359f70
gnu: komikku: Update to 0.21.1.
* gnu/packages/gnome.scm (komikku): Update to 0.21.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-29 08:13:29 +03:00
Eric Bavier d8934360d2
tests: Simplify shell exit status negation;
* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh,
tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh,
tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh,
tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh,
tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh,
tests/guix-package.sh: Use the shell '!' keyword to negate command exit status
in place of 'if ...; then false; else true; fi'
2020-09-28 21:06:36 -05:00
Nicolas Goaziou 9380b0a075
gnu: Add missing module.
* gnu/packages/emulators.scm: Add missing module.
2020-09-28 23:01:40 +02:00
Nicolas Goaziou 63d69215e4
gnu: scummvm: Update to 2.2.0.
* gnu/packages/emulators.scm (scummvm): Update to 2.2.0.
[arguments]: Remove unnecessary phase.
[inputs]: Add fribidi.
2020-09-28 22:59:59 +02:00
Zhu Zihao 981cdc9011
gnu: icecat: Remove duplicate find-files call.
* gnu/packages/gnuzilla.scm (icecat)[arguments]<phases>: In the
patch-cargo-checksums phase, replace the inner "find-files" call
with the already found file name.

Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:27 -04:00
Zhu Zihao f0648a4b67
gnu: icecat: Use system icu4c.
* gnu/packages/gnuzilla.scm (icecat)[native-inputs]: Add icu4c-67.
[arguments]<configure-flags>: Add "--with-system-icu".

Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:25 -04:00
Jonathan Brielmaier e648533311
gnu: Remove icecat-68 source.
It was necessary for icedove@68 which is now based on icecat@78.

* gnu/packages/gnuzilla.scm (mozilla-68-compare-locales): Remove.
(all-mozilla-68-locales): Remove.
(%icecat-68-version): Remove.
(icecat-68-source): Remove.
* gnu/packages/patches/icecat-68-makeicecat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Modified-By: Mark H Weaver <mhw@netris.org>
Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:23 -04:00
Jonathan Brielmaier 597aa644af
gnu: icedove: Update to 78.3.0.
* gnu/packages/gnuzilla.scm (icedove): Update to 78.3.0.
[source]: Use source from Icecat 78.
[arguments]: Use more flexible approach for generating cargo checksums
from icecat. Update files in 'rename-to-icedove phase. Remove gone
configure flags and rename `--disable-ion` to `--disable-jit`.
[inputs]: Update icu4c to version 67 and nss to 3.56.
[native-inputs]: Use ESR 78 mercurial repo for thunderbird soruces.
Update rust and cargo to 1.41, rust-cbindgen to 0.14 and
node to 10.22.

Tested-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:20 -04:00
Jonathan Brielmaier 1896c0c6ea
gnu: Add nss@3.56.
Icedove 78 requires nss > 3.53. This version is the only one building
out-of-the-box.

* gnu/packages/nss.scm (nss-3.56): New variable.
* gnu/packages/patches/nss-3.56-pkgconfig.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Mark H Weaver <mhw@netris.org>
2020-09-28 14:45:18 -04:00
Mark H Weaver 002c7a4f54
gnu: libpng-apng: Update to 1.6.37.
* gnu/packages/image.scm (libpng-apng): Update to 1.6.37.
(libpng): Add comment: a reminder to keep libpng-apng updated.
2020-09-28 14:45:10 -04:00
Andreas Enge 4c09ec43db
gnu: cm: Update to 0.3.1.
* gnu/packages/algebra.scm (cm): Update to 0.3.1.
2020-09-28 19:39:23 +02:00
Mathieu Othacehe 0221048733
gnu: cuirass: Update to 0.0.1-48.0ffcb80.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-48.0ffcb80.
2020-09-28 18:08:23 +02:00
Roel Janssen 871539f3ad
gnu: r-chippeakanno: Update to 3.22.4.
* gnu/packages/bioconductor.scm (r-chippeakanno): Update to 3.22.4.
2020-09-28 17:06:56 +02:00
Tobias Geerinckx-Rice 4c698cd512
services: Add elogind ‘handle-lid-switch-external-power’.
* gnu/services/desktop.scm <elogind-configuration>: Add an
handle-lid-switch-external-power field, mapping to the
HandleLidSwitchExternalPower logind.conf setting.
* doc/guix.texi (Desktop Services): ‘Document’ it.
2020-09-28 16:00:49 +02:00