Commit Graph

27586 Commits

Author SHA1 Message Date
Ludovic Courtès 17c3eea760
gnu: libgnome: Adjust for latest GLib.
* gnu/packages/patches/libgnome-encoding.patch: New file.
* gnu/packages/gnome.scm (libgnome)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-01-13 00:09:23 +01:00
Ludovic Courtès 0dcf675c56
ssh: Switch back to 'get-bytevector-some'.
This mostly reverts 17af5d51de.
Suggested by Andy Wingo <wingo@igalia.com>.

* guix/ssh.scm (remote-daemon-channel)[redirect]: Remove 'read!' FFI
hack.  Use buffered ports.
2018-01-12 23:41:15 +01:00
Ludovic Courtès 4eb0f9ae05
offload: 'test' reports Guile and module errors more nicely.
Fixes <https://bugs.gnu.org/26008>.
Reported by Myles English <mylesenglish@gmail.com>.

* guix/ssh.scm (retrieve-files*): Move error reporting to...
(report-guile-error, report-module-error): ... here.  New procedures.
* guix/scripts/offload.scm (assert-node-repl): Use 'report-guile-error'.
(assert-node-has-guix): Explicitly check for 'use-modules' first.  Use
'report-module-error'.
2018-01-12 23:41:15 +01:00
Ludovic Courtès 5a5e34e358
offload: 'test' gracefully handles 'node-repl-error'.
Fixes <https://bugs.gnu.org/28057>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* guix/scripts/offload.scm (assert-node-has-guix): Catch
'node-repl-error' and call 'leave'.
2018-01-12 23:41:15 +01:00
Ludovic Courtès 0e3c8528af
ssh: 'retrieve-files' now only retrieves what's missing.
* guix/ssh.scm (retrieve-files): Remove the subset of FILES that is
valid in LOCAL.
(store-export-channel): Add comment.
2018-01-12 23:41:15 +01:00
Ludovic Courtès d06d54e338
offload: Fix regression in file retrieval.
This fixes a regression in 'retrieve-files*' introduced in
896fec476f, whereby (guix scripts offload)
would not read the initial sexp now sent by the remote host via
'store-export-channel'.  This would effectively prevent file retrieval
entirely when offloading.

* guix/ssh.scm (retrieve-files*): New procedure, like former
'retrieve-files' but with an extra #:import parameter.
(retrieve-files): Rewrite in terms of 'retrieve-files*'.
(file-retrieval-port): Make private.
* guix/scripts/offload.scm (transfer-and-offload): Pass #:import to
'retrieve-files*'.
(retrieve-files*): Remove.
2018-01-12 23:41:15 +01:00
Leo Famulari 6b433caed2
gnu: transmission: Fix a DNS rebinding vulnerability that allows RCE.
* gnu/packages/patches/transmission-fix-dns-rebinding-vuln.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bittorrent.scm (transmission)[source]: Use it.
2018-01-12 10:11:47 -08:00
Tobias Geerinckx-Rice d95bb2957d
gnu: dtc: Update to 1.4.6.
* gnu/packages/bootloaders.scm (dtc): Update to 1.4.6.
[source]: Remove both patches.
* gnu/packages/patches/dtc-format-modifier.patch: Delete file.
* gnu/packages/patches/dtc-32-bits-check.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Remove both.
2018-01-12 16:43:51 +01:00
Tobias Geerinckx-Rice b09c6b55ad
gnu: harminv: Update to 1.4.1.
* gnu/packages/engineering.scm (harminv): Update to 1.4.1.
[source, home-page]: Switch to new host.
2018-01-12 15:06:43 +01:00
Tobias Geerinckx-Rice a0bb98c322
gnu: gphoto2: Update to 2.5.15.
* gnu/packages/photo.scm (gphoto2): Update to 2.5.15.
2018-01-12 15:06:43 +01:00
Tobias Geerinckx-Rice 84f5e43779
gnu: libgphoto2: Update to 2.5.16.
* gnu/packages/photo.scm (libgphoto2): Update to 2.5.16.
2018-01-12 15:04:38 +01:00
Tobias Geerinckx-Rice 58e3603e7f
gnu: colordiff: Update to 1.0.18.
Also add the non-archive URL, which was probably the intention of commit
8d479d27ca.  Better late than never.

* gnu/packages/patchutils.scm (colordiff): Update to 1.0.18.
2018-01-12 13:08:13 +01:00
Ludovic Courtès ad51430398
gnu: lua-lgi: Update to 0.9.2.
* gnu/packages/lua.scm (lua-lgi): Update to 0.9.2.
[native-inputs]: Add DBUS.
2018-01-12 09:44:58 +01:00
Gábor Boskovits e5a96113ca
gnu: java-commons-lang: Disable failing test.
* gnu/packages/java.scm (java-commons-lang)[arguments]: Modify #:test-exclude
to disable randomly failing tests.

The testsuite include tests about distribution of random inputs,
meaning that they can randomly fail. Disable them to avoid build failures.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2018-01-11 23:17:05 -08:00
Leo Famulari e6ebc7b132
gnu: libvorbis: Integrate grafted patches.
* gnu/packages/xiph.scm (libvorbis)[replacement]: Remove field.
[source]: Add patches from libvorbis/fixed.
(libvorbis/fixed): Remove variable.
2018-01-11 14:22:58 -08:00
Leo Famulari 4adb40bffc
Merge branch 'master' into core-updates 2018-01-11 14:22:50 -08:00
Leo Famulari 138c08899b
gnu: libvorbis: Fix CVE-2017-{14632,14633}.
* gnu/packages/patches/libvorbis-CVE-2017-14632.patch,
gnu/packages/patches/libvorbis-CVE-2017-14633.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/xiph.scm (libvorbis)[replacement]: New field.
(libvorbis/fixed): New variable.
2018-01-11 14:13:17 -08:00
Fis Trivial ce577655a3
gnu: Add selene.
* gnu/packages/lua.scm (selene): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-11 22:49:15 +01:00
Ludovic Courtès 20bf5fce7d
gnu: grep: Add dependency on PCRE.
Suggested by Oleg Pykhalov <go.wigust@gmail.com>
and Roel Janssen <roel@gnu.org>.

* gnu/packages/base.scm (grep)[inputs]: New field.
* gnu/packages/commencement.scm (grep-final)[inputs]: New field.
2018-01-11 22:49:15 +01:00
Maxim Cournoyer 33ca12f3e4
gnu: emacs-sr-speedbar: Update to 20161025.
* gnu/packages/emacs.scm (emacs-sr-speedbar): Update to 20161025.
[version]: Use git-version.
[source]: Download sources via git-fetch and use git-file-name.

Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
2018-01-11 12:53:50 -05:00
Kei Kebreau 6342ebd5e7
gnu: libcdio-paranoia: Update to 10.2+0.94.2.
* gnu/packages/cdrom.scm (libcdio-paranoia): Update to 10.2+0.94.2.
2018-01-11 12:28:07 -05:00
Kei Kebreau 49e23afa79
gnu: libcdio: Update to 2.0.0.
* gnu/packages/cdrom.scm (libcdio): Update to 2.0.0.
2018-01-11 12:27:55 -05:00
Ludovic Courtès 71b98b9de9
services: qemu-binfmt: Extend guix-daemon with extra chroot directories.
Fixes <https://bugs.gnu.org/20239>.

* gnu/services/virtualization.scm (<qemu-binfmt-configuration>)[guix-support?]:
New field.
(qemu-binfmt-guix-chroot): New procedure.
(qemu-binfmt-service-type)[extensions]: Add GUIX-SERVICE-TYPE.
* doc/guix.texi (Virtualization Services): Document 'guix-support?'.
(Additional Build Options): Mention binfmt_misc and offloading under
'--system'.
2018-01-11 14:42:31 +01:00
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