Commit Graph

27294 Commits

Author SHA1 Message Date
Ludovic Courtès 88554b5d05
services: guix: Add 'chroot-directories' field.
* gnu/services/base.scm (<guix-configuration>)[chroot-directories]: New
field.
(guix-shepherd-service): Honor it.
(references-file): New procedure.
(guix-service-type)[compose, extend]: New fields.
2018-01-11 14:30:00 +01:00
Ludovic Courtès 6738c29fbf
services: Add qemu-binfmt.
* gnu/services/virtualization.scm (<qemu-platform>): New record type.
(bv): New macro.
(%i386, %i486, %alpha, %arm, %armeb, %sparc, %sparc32plus)
(%ppc, %ppc64, %ppc64le, %m68k, %mips, %mipsel, %mipsn32el)
(%mips64, %mips64el, %sh4, %sh4eb, %s390x, %aarch64, %hppa)
(%qemu-platforms): New variables.
(lookup-qemu-platforms): New procedure.
(<qemu-binfmt-configuration>): New record type.
(qemu-platform->binfmt): New procedures.
(%binfmt-mount-point, %binfmt-register-file, %binfmt-file-system)
(qemu-binfmt-service-type): New variables.
(qemu-binfmt-shepherd-services): New procedures.
* doc/guix.texi (Virtualization Services): Add "Transparent Emulation
with QEMU" heading.

binfmt fixlet
2018-01-11 14:29:49 +01:00
amirouche 4f85f7f7ef
gnu: guile-bytestructures: Update to 1.0.1.
* gnu/package/guile.scm (guile-bytestructures): Update to 1.0.1.
[source]: Use tarball from github instead of git.
[build-system]: Use GNU-BUILD-SYSTEM.
[arguments]: Remove.
[navitve-inputs]: Add PKG-CONFIG.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-11 14:07:30 +01:00
Ludovic Courtès 73244e634c
gnu: guix: Update snapshot to 3c5dbd2.
* gnu/packages/package-management.scm (guix): Update to 3c5dbd2.
2018-01-11 11:20:00 +01:00
nee 3c5dbd2bee
gnu: Add sound-juicer.
* gnu/packages/gnome.scm (sound-juicer): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-11 10:32:05 +01:00
nee 1ea29aa042
gnu: Add libmusicbrainz.
* gnu/packages/music.scm (libmusicbrainz): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-11 10:30:33 +01:00
nee 6b445c574b
gnu: Add libdiscid.
* gnu/packages/music.scm (libdiscid): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-11 10:27:16 +01:00
Ludovic Courtès 7bf2a70a4f
daemon: Always try to execute the builder regardless of the platform.
* nix/libstore/build.cc (runChild): Move platform check after 'execve'
call.  Check specifically for ENOEXEC.
2018-01-11 10:25:06 +01:00
Tobias Geerinckx-Rice 50dc3b8b2f
gnu: inkscape: Use HTTPS for home page.
* gnu/packages/inkscape.scm (inkscape)[home-page]: Use HTTPS.
2018-01-11 03:16:01 +01:00
Tobias Geerinckx-Rice 2b7eda61cb
gnu: inkscape: Update to 0.92.2.
* gnu/packages/inkscape.scm (inkscape): Update to 0.92.2.
2018-01-11 03:16:01 +01:00
Tobias Geerinckx-Rice f26fa354f1
gnu: newsbeuter: Deprecate in favour of newsboat.
* gnu/packages/syndication.scm (newsbeuter): Redefine using
‘deprecated-package’.
* gnu/packages/patches/newsbeuter-CVE-2017-12904.patch: Delete file.
* gnu/packages/patches/newsbeuter-CVE-2017-14500.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Remove both.
2018-01-11 03:16:00 +01:00
Ludovic Courtès e21888dd0d
derivations: Fix typo in docstring.
* guix/derivations.scm (derivation-prerequisites): Fix typo in docstring.
2018-01-11 00:00:03 +01:00
Ludovic Courtès 55f40fdbcd
ssh: Pass an empty "exceptfds" set to 'select'.
Previously the redirect code could end up exiting prematurely because of
an uninteresting "exceptional condition" on the socket (info "(libc)
Waiting for I/O").

* guix/ssh.scm (remote-daemon-channel): Pass the empty list as the third
argument to 'select'.  It was a mistake to pass a non-empty list there
in the first place.
2018-01-11 00:00:03 +01:00
Ludovic Courtès 158eadefc8
doc: Fix typo in 'guix environment' example.
* doc/guix.texi (Invoking guix environment): Add missing @ in example.
2018-01-11 00:00:03 +01:00
Ludovic Courtès 39d1e9654c
store: Fix potential over-reads in 'import-paths'.
Previously 'process-stderr' would always pass a bytevector of MAX-LEN to
then daemon in the %stderr-read case (i.e., 'import-paths'), instead of
LEN (where LEN <= MAX-LEN).

In practice the extra bytes didn't cause a protocol violation or
anything because they happen at the end of the stream, which typically
contains the canonical sexp of the signature, and the extra zeros were
just ignored.

* guix/serialization.scm (write-bytevector): Add optional 'l' parameter
and honor it.
* guix/store.scm (process-stderr): Pass LEN to 'write-bytevector'.
2018-01-11 00:00:02 +01:00
Ludovic Courtès 17af5d51de
ssh: Work around 'get-bytevector-some' bug.
This works around <https://bugs.gnu.org/30066> and noticeably improves
performance when using GUIX_DAEMON_SOCKET=ssh://HOST (the redirect code
was transferring data to guix-daemon one byte at a time!).

* guix/ssh.scm (remote-daemon-channel)[redirect]: Define 'read!' and use
it instead of 'get-bytevector-some'.
2018-01-11 00:00:02 +01:00
Tobias Geerinckx-Rice 74a2355254
gnu: rrdtool: Update to 1.7.0.
* gnu/packages/rrdtool.scm (rrdtool): Update to 1.7.0.
[native-inputs]: Add bc, perl, and tzdata.
[arguments]: Remove obsolete substitution in ‘pre-configure’ phase.
Set TZDIR for tests in new ‘prepare-test-environment’ phase.
Add ‘remove-native-input-references’ phase for example scripts.
2018-01-10 23:40:36 +01:00
Tobias Geerinckx-Rice cd661a4175
gnu: fio: Update to 3.3.
* gnu/packages/benchmark.scm (fio): Update to 3.3.
2018-01-10 23:40:36 +01:00
Tobias Geerinckx-Rice 9998c55132
gnu: perl-list-moreutils: Update to 0.428.
* gnu/packages/perl.scm (perl-list-moreutils): Update to 0.428.
2018-01-10 23:40:35 +01:00
Tobias Geerinckx-Rice 721bdea50b
gnu: libmtp: Update to 1.1.14.
* gnu/packages/libusb.scm (libmtp): Update to 1.1.14.
2018-01-10 23:40:35 +01:00
Tobias Geerinckx-Rice 0ee12dc9f1
gnu: python-idna: Update to 2.6.
* gnu/packages/python.scm (python-idna): Update to 2.6.
2018-01-10 23:40:34 +01:00
Tobias Geerinckx-Rice c959a77451
gnu: ocaml-zed: Update to 1.6.
* gnu/packages/ocaml.scm (ocaml-zed): Update to 1.6.
2018-01-10 23:40:34 +01:00
Tobias Geerinckx-Rice 86f0d00c2b
gnu: rrdtool: Re-order imports.
* gnu/packages/rrdtool.scm: Order imports alphabetically.
2018-01-10 23:40:34 +01:00
Tobias Geerinckx-Rice 570623d569
gnu: rrdtool: Use HTTPS for home page.
* gnu/packages/rrdtool.scm (rrdtool)[home-page]: Use HTTPS.
2018-01-10 23:40:33 +01:00
Efraim Flashner cac274aa80
gnu: wine: Remove duplicate supported-systems field.
* gnu/packages/wine.scm (wine)[supported-systems]: Remove duplicate
field.
2018-01-10 23:03:28 +02:00
Mark H Weaver f8b135b25f
gnu: linux-libre: Update to 4.14.13.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.14.13.
(%linux-libre-hash): Update hash.
2018-01-10 15:54:21 -05:00
Mark H Weaver fc2a5fa3f9
gnu: linux-libre@4.9: Update to 4.9.76.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.76.
2018-01-10 15:53:42 -05:00
Mark H Weaver 7e0ae2bc6c
gnu: linux-libre@4.4: Update to 4.4.111.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.111.
2018-01-10 15:52:55 -05:00
Efraim Flashner db34d4bbed
gnu: grub-hybrid: Don't try to install files that already exist.
* gnu/packages/bootloaders.scm (grub-hybrid)[arguments]: Check if a file
already exists in the destination directory before installing it.
2018-01-10 21:06:39 +02:00
Efraim Flashner 7ba2a1af5c
gnu: wine: Limit supported architectures to ones that can build our wine.
* gnu/packages/wine.scm (wine)[supported systems]: New field, limit to
architectures which can build for their selected '#:system'.
2018-01-10 19:55:29 +02:00
ng0 6b86af5a09
gnu: stagit: Update to 0.7.2.
* gnu/packages/version-control.scm (stagit): Update to 0.7.2.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-01-10 09:48:30 -08:00
Ben Sturmfels b438d7cfa8
gnu: pelican: Enable Markdown support.
* gnu/packages/python.scm (pelican)[propagated-inputs]: Add python-markdown to
support Markdown as mentioned in the package description.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-01-10 09:48:30 -08:00
Tobias Geerinckx-Rice 8286215326
gnu: Use one spelling for ‘copyright’.
* gnu/packages/gtk.scm: Standardise on ‘copyright’ spelling in
file headers.
* gnu/packages/pdf.scm: Likewise.
* gnu/packages/perl-check.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* guix/import/gem.scm: Likewise.
* guix/import/hackage.scm: Likewise.
2018-01-10 18:21:20 +01:00
Tobias Geerinckx-Rice 3be65cde75
gnu: gtkspell3: Update to 3.0.9.
* gnu/packages/gtk.scm (gtkspell3): Update to 3.0.9.
2018-01-10 17:52:20 +01:00
Tobias Geerinckx-Rice 871d1074e1
gnu: whois: Remove misleading comment.
See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30037>.

* gnu/packages/networking.scm (whois): Remove comment about mkpasswd.
2018-01-10 16:17:35 +01:00
Tobias Geerinckx-Rice 1cfd7eafb9
gnu: wcslib: Mark up description.
* gnu/packages/astronomy.scm (wcslib)[description]: Define ‘FITS’.  Use @dfn.
2018-01-10 16:00:32 +01:00
Tobias Geerinckx-Rice ed8ac55246
gnu: wcslib: Update to 5.18.
* gnu/packages/astronomy.scm (wcslib): Update to 5.18.
2018-01-10 15:59:48 +01:00
Tobias Geerinckx-Rice 67c23790d3
gnu: xdg-utils: Update to 1.1.2.
* /gnu/packages/freedesktop.scm (xdg-utils): Update to 1.1.2.
2018-01-10 15:59:48 +01:00
Tobias Geerinckx-Rice 62f709f391
gnu: blind: Update to 1.1.
* gnu/packages/suckless.scm (blind): Update to 1.1.
2018-01-10 15:59:47 +01:00
Tobias Geerinckx-Rice 205f4f2858
gnu: xbattmon: Update to 1.1.
* gnu/packages/suckless.scm (xbattmon): Update to 1.1.
2018-01-10 15:59:47 +01:00
Tobias Geerinckx-Rice 6872680c0a
gnu: ding: Update to 1.8.1.
* gnu/packages/dictionaries.scm (ding): Update to 1.8.1.
2018-01-10 15:59:47 +01:00
Tobias Geerinckx-Rice 9358ae8adf
gnu: lsyncd: Update to 2.2.2.
* gnu/packages/sync.scm (lsyncd): Update to 2.2.2.
2018-01-10 15:59:47 +01:00
Tobias Geerinckx-Rice c304543e07
gnu: libzen: Update to 0.4.37.
* gnu/packages/cpp.scm (libzen): Update to 0.4.37.
2018-01-10 15:59:46 +01:00
Tobias Geerinckx-Rice 83be56a818
gnu: iso-codes: Update to 3.77.
* gnu/packages/iso-codes.scm (iso-codes): Update to 3.77.
[license]: Use ‘license:’ #:prefix instead of #:select (gpl2+).
2018-01-10 15:59:46 +01:00
Tobias Geerinckx-Rice a9717a52a2
gnu: ghc-chell-quickcheck: Update to 0.2.5.1.
* gnu/packages/haskell.scm (ghc-chell-quickcheck)
(ghc-chell-quickcheck-bootstrap): Update to 0.2.5.1.
2018-01-10 15:59:46 +01:00
Tobias Geerinckx-Rice 03de26343e
gnu: ghc-quickcheck-unicode: Update to 1.0.1.0.
* gnu/packages/haskell-check.scm (ghc-quickcheck-unicode): Update to
1.0.1.0.
2018-01-10 15:59:45 +01:00
Tobias Geerinckx-Rice 9e8401a539
gnu: python-ply, python2-ply: Update to 3.10.
* gnu/packages/python.scm (python-ply): Update to 3.10.
2018-01-10 15:59:45 +01:00
Tobias Geerinckx-Rice d1308c5ed2
gnu: libsvm: Update to 3.22.
* gnu/packages/machine-learning.scm (libsvm): Update to 3.22.
[source]: Use upstream tarball instead of a git snapshot.
2018-01-10 15:59:45 +01:00
Tobias Geerinckx-Rice 7e71d5666b
gnu: xterm: Download over HTTP by default.
* gnu/packages/xorg.scm (xterm)[source]: Add HTTP mirror URI.
2018-01-10 15:59:44 +01:00
Tobias Geerinckx-Rice f9c84cd495
gnu: utfcpp: Update to 2.3.5.
* gnu/packages/textutils.scm (utfcpp): Update to 2.3.5.
[source]: Download tarball from new location.
[build-system]: Switch to cmake-build-system.
[arguments]: Use it, with custom ‘install’ phase.
[native-inputs]: Remove unzip.
2018-01-10 15:59:44 +01:00