Commit Graph

27392 Commits

Author SHA1 Message Date
Ludovic Courtès 6b26f9152c
gnu: clang-runtime: Fix build issues against glibc 2.26.
* gnu/packages/patches/clang-runtime-asan-build-fixes.patch,
gnu/packages/patches/clang-runtime-esan-build-fixes.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/llvm.scm (clang-runtime-from-llvm): Add 'patches'
parameter and honor it.
(clang-runtime): Pass patch list.
(clang-runtime-3.9.1, clang-runtime-3.7, clang-runtime-3.6)
(clang-runtime-3.5): Likewise.
2018-01-18 00:09:11 +01:00
Ludovic Courtès 59377c9e12
gnu: fontforge: Fix typo in comment.
* gnu/packages/fontutils.scm (fontforge): Fix comment.
2018-01-17 15:48:01 +01:00
Leo Famulari e112efcaaa
gnu: perl-moosex-getopt: Update to 0.71.
* gnu/packages/perl.scm (perl-moosex-getopt): Update to 0.71.
2018-01-16 16:18:12 -08:00
Leo Famulari dce2ad6953
gnu: python-graphql-relay: Skip the test phase.
* gnu/packages/python.scm (python-graphql-relay,
python2-graphql-relay)[arguments]: Set #:tests? #f
2018-01-16 16:18:11 -08:00
Leo Famulari aebd91bb9f
gnu: python-consul: Skip the test phase.
* gnu/packages/python.scm (python-consul, python2-consul)[arguments]:
Set #:tests? #f.
2018-01-16 16:18:11 -08:00
Leo Famulari a4f393b71f
gnu: opencascade-oce: Fix build with glibc 2.26.
* gnu/packages/patches/opencascade-oce-glibc-2.26.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/maths.scm (opencascade-oce)[source]: Use it.
2018-01-16 15:24:49 -08:00
Ludovic Courtès ae785e5e55
gnu: ghc@7: Link against the right libncursesw.so.
Fixes <https://bugs.gnu.org/30100>.
Regression introduced in 667082d591.
Reported by Leo Famulari <leo@famulari.name>.

* gnu/packages/haskell.scm (ghc)[arguments] <configure-bin>: Adjust to
correctly determine the extension of "libncursesw.so.X.Y".
2018-01-16 23:42:05 +01:00
Ludovic Courtès 07457c30ef
gnu: fontforge: Skip failing test.
* gnu/packages/fontutils.scm (fontforge)[arguments]: Add #:make-flags.
2018-01-16 23:42:05 +01:00
Ludovic Courtès ed4263fc16
gnu: xmlsec: Update to 1.2.25.
* gnu/packages/xml.scm (xmlsec): Update to 1.2.25.
2018-01-16 23:42:05 +01:00
Leo Famulari a25cdef64a
gnu: lightdm: Update to 1.24.0.
* gnu/packages/display-managers.scm (lightdm): Update to 1.24.0.
2018-01-16 14:25:02 -08:00
Leo Famulari 8fa1872aba
gnu: libgnomeui: Fix build with Python 3.6.
* gnu/packages/patches/libgnomeui-utf8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (libgnomeui)[source]: Use it.
2018-01-16 14:02:09 -08:00
Gábor Boskovits ae307724de
gnu: java-classpathx-servletapi: Update to 3.0.1.
* gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0.1.
[arguments]: Switch to a java8 compiler, remove comment about not working with java8.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2018-01-15 23:58:13 -08:00
Ludovic Courtès 403f2dccfc
cuirass: Properly convert list of <license> objects.
Fixes a bug whereby we would 'write' raw <license> objects when they
were in a list.

* build-aux/cuirass/gnu-system.scm (entry->sexp-entry): Add recursive
case when O is a list.
2018-01-15 15:18:03 +01:00
Leo Famulari 6d49ca16be
gnu: elogind: Fix compilation against glibc 2.26.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Add a 'patch-locale-header'
phase.
2018-01-14 08:36:48 -08:00
Ludovic Courtès 1b321229f4
gnu: icecat: Fix compilation against glibc 2.26.
* gnu/packages/patches/icecat-glibc-2.26.patch: New file.
* gnu/packages/gnuzilla.scm (icecat)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-01-13 23:22:40 +01:00
Ludovic Courtès 7342edf390
gnu: livemedia-utils: Update to 2017.10.28.
* gnu/packages/video.scm (livemedia-utils): Update to 2017.10.28.
2018-01-13 22:42:28 +01:00
Ludovic Courtès 156c14c1cc
gnu: livemedia-utils: Fix compilation against glibc 2.26.
* gnu/packages/video.scm (livemedia-utils)[source](snippet, modules):
New fields.
2018-01-13 22:42:09 +01:00
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 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