Commit Graph

27586 Commits

Author SHA1 Message Date
Ludovic Courtès 1e63ecee0b
import: crate: Gracefully deal with missing license info.
Reported by Fis Trivial <ybbs.daans@hotmail.com>.
Fixes <https://bugs.gnu.org/28987>.

* guix/import/crate.scm (crate-fetch): Check whether the "license" info
is present.
2018-01-08 11:45:35 +01:00
Ludovic Courtès f4596f7630
services: guix: Add 'log-compression' option.
* gnu/services/base.scm (<guix-configuration>)[log-compression]: New
field.
(guix-shepherd-service): Use 'match-record' instead of 'match'.  Honor
'log-compression'.
* doc/guix.texi (Base Services): Document 'log-compression'.
2018-01-08 10:40:17 +01:00
Stefan Reichör 767d24e83b
gnu: Add html-xml-utils.
* gnu/packages/xml.scm (html-xml-utils): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-01-08 10:40:17 +01:00
Fis Trivial 4b3070f76d
gnu: Add rtags.
* gnu/packages/code.scm (rtags): New public variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2018-01-08 10:40:17 +01:00
Ludovic Courtès 2b778b27c9
gnu: guix: Update snapshot to c04ffad.
* gnu/packages/package-management.scm (guix): Update to c04ffad.
2018-01-08 10:40:16 +01:00
Tobias Geerinckx-Rice 50b97d1a80
gnu: youtube-dl: Update to 2018.01.07.
* gnu/packages/video.scm (youtube-dl): Update to 2018.01.07.
2018-01-08 08:21:00 +01:00
Tobias Geerinckx-Rice aba7d8e7e1
gnu: nano: Update to 2.9.2.
* gnu/packages/nano.scm (nano): Update to 2.9.2.
2018-01-08 08:16:59 +01:00
Tobias Geerinckx-Rice 19278d8da9
gnu: borg: Unbundle libb2.
* gnu/packages/backup.scm (borg)[source]: Remove bundled libb2 in snippet.
[inputs]: Add libb2.
[arguments]: Use it.
2018-01-08 07:58:31 +01:00
Tobias Geerinckx-Rice c6220b1301
gnu: Add libb2.
* gnu/packages/crypto.scm (libb2): New public variable.
2018-01-08 07:58:27 +01:00
Kei Kebreau 9268a3c4df
gnu: Add missing copyright line.
* gnu/packages/check.scm: Add copyright line for 18a4d6d.
2018-01-07 22:05:03 -05:00
Fis Trivial 18a4d6df24
gnu: Add python-pyhamcrest.
* gnu/packages/check.scm (python-pyhamcrest, python2-pyhamcrest): New
variables.

Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
2018-01-07 20:20:26 -05:00
Ludovic Courtès c04ffadbed
publish: Publish build logs.
* guix/scripts/publish.scm (render-log-file): New procedure.
(make-request-handler): Add "log" case.
* tests/publish.scm ("/log/NAME")
("/log/NAME not found"): New tests.
* doc/guix.texi (Invoking guix publish): Document /log URLs.
2018-01-07 23:51:46 +01:00
Ludovic Courtès 152b7beeac
publish: Use 'x-raw-file' internal response header.
This adjusts the workaround for <http://bugs.gnu.org/21093> so that it's
not limited to a single content-type.

* guix/scripts/publish.scm (render-nar/cached): Add the 'x-raw-file'
header on the response.
(render-content-addressed-file): Likewise.
(with-content-length): Remove the 'x-raw-file' header.
(http-write): Instead of dispatching on 'application/octet-stream',
check whether 'x-raw-file' is set to determine whether to spawn a
thread.
2018-01-07 23:47:22 +01:00
Ludovic Courtès 06e3a5181e
doc: Mark zlib as mandatory, libbz2 as optional.
* doc/guix.texi (Requirements): Move zlib to mandatory and libbz2 to
optional.
* README: Ditto.
2018-01-07 23:47:22 +01:00
Ludovic Courtès f997137d0e
daemon: Make libbz2 an optional dependency.
* config-daemon.ac: Don't bail out when libbz2 is missing.  Define
'HAVE_LIBBZ2' Automake conditional.
* nix/libstore/build.cc: Wrap relevant bits in '#if HAVE_BZLIB_H'.
* nix/libstore/globals.cc (Settings::Settings): 'logCompression'
defaults to COMPRESSION_GZIP when HAVE_BZLIB_H is false.
* nix/libstore/globals.hh (CompressionType): Make 'COMPRESSION_BZIP2'
conditional on HAVE_BZLIB_H.
* nix/local.mk (guix_register_LDADD, guix_daemon_LDADD): Add -lbz2 only
when HAVE_LIBBZ2.
* nix/nix-daemon/guix-daemon.cc (parse_opt): Ignore "bzip2" when not
HAVE_BZLIB_H.
2018-01-07 23:47:22 +01:00
Ludovic Courtès 29a6866886
daemon: Add gzip log compression.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_LOG_COMPRESSION): New macro.
(options): Mark "disable-log-compression" as hidden and add
"log-compression".
(parse_opt): Handle GUIX_OPT_LOG_COMPRESSION.
* nix/libstore/build.cc (DerivationGoal): Add 'gzLogFile'.
(openLogFile): Initialize it when 'logCompression' is COMPRESSION_GZIP.
(closeLogFile, handleChildOutput): Honor 'gzLogFile'.
* nix/libstore/globals.hh (Settings)[compressLog]: Remove.
[logCompression]: New field.
(CompressionType): New enum.
* nix/libstore/globals.cc (Settings::Settings): Initialize it.
(update): Remove '_get' call for 'compressLog'.
* nix/local.mk (guix_daemon_LDADD, guix_register_LDADD): Add -lz.
* guix/store.scm (log-file): Handle '.gz' log files.
* tests/guix-daemon.sh: Add test with '--log-compression=gzip'.
* doc/guix.texi (Invoking guix-daemon): Adjust accordingly.
* config-daemon.ac: Check for libz and zlib.h.
2018-01-07 23:47:22 +01:00
Ludovic Courtès 896fec476f
ssh: Improve error reporting when retrieving files.
'guix copy --from' now reports messages much more useful than "failed to
retrieve files".

* guix/ssh.scm (store-export-channel)[export]: Wrap 'use-modules' in
'catch' and 'with-store' in 'guard'.  Check for invalid items.  Write a
status sexp on stdout.
(raise-error): New macro.
(retrieve-files): Read the initial status sexp and report errors
accordingly.
2018-01-07 23:46:39 +01:00
Ludovic Courtès 4a8d536ffe
ui: Display hints that come along with '&message' conditions.
* guix/ui.scm (call-with-error-handling): Add case for message and
fix-hint?.
2018-01-07 23:46:39 +01:00
Ricardo Wurmus b94f250e5a
gnu: rosegarden: Use jack-1.
* gnu/packages/music.scm (rosegarden)[inputs]: Replace jack-2 with jack-1.
2018-01-07 15:42:29 +01:00
Ricardo Wurmus 0e78801abc
gnu: dssi: Use jack-1.
* gnu/packages/music.scm (dssi)[inputs]: Replace jack-2 with jack-1.
2018-01-07 15:42:28 +01:00
Ricardo Wurmus 43188faf2e
gnu: Add muse-sequencer.
* gnu/packages/music.scm (muse-sequencer): New variable.
2018-01-07 15:42:28 +01:00
Ludovic Courtès 61b94b8c32
vm: 'vm-image' images refer to the root file system by UUID.
This avoids the hard-coded "/dev/sda1", which only made sense when the
image is run with "qemu-system-x86_64 -hda", not when it's passed to
Xen, etc.

Reported by Andreas Enge <andreas@enge.fr>.

* gnu/system/vm.scm (system-qemu-image): Define 'root-uuid', use it as
the 'device' field for "/", and pass it to 'qemu-image'.
2018-01-07 15:09:05 +01:00
Efraim Flashner beb7e659f2
gnu: mes: Generalize logic for native-inputs.
* gnu/packages/mes.scm (mes)[native-inputs]: On all architectures except
i686-linux use cross compiler packages.
2018-01-07 10:10:34 +02:00
Mark H Weaver 56804398a9
gnu: webkitgtk: Disable SharedArrayBuffers to mitigate Spectre.
* gnu/packages/patches/webkitgtk-mitigate-spectre.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/webkit.scm (webkitgtk)[source]: Add patch.
2018-01-07 01:14:49 -05:00
Mark H Weaver c23243fccd
gnu: icecat: Add more fixes, including Spectre mitigation.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add more fixes from the
upstream mozilla-esr52 repository, plus a backported mitigation for
Spectre from Firefox 57.0.4.
* gnu/packages/patches/icecat-bug-1427870-spectre-mitigation.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-01-06 15:04:10 -05:00
Ludovic Courtès a4258dfa62
gnu: potrace: Relax unit tests.
* gnu/packages/patches/potrace-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/fontutils.scm (potrace)[source]: Use it.
2018-01-06 20:59:01 +01:00
Leo Famulari 5ae8c77ade
gnu: irssi: Update to 1.0.6 [fixes CVE-2017-{5205,5206,5207,5208}].
* gnu/packages/irc.scm (irssi): Update to 1.0.6.
2018-01-06 13:00:54 -05:00
Rutger Helling 3853f86fdf
doc: Describe Wayland status.
* doc/guix.texi (Desktop Services): Add a paragraph about the current status of
Wayland in Guix.
2018-01-06 18:15:05 +01:00
Rutger Helling 0438f1d84d
gnu: gdm: Update to 3.26.2.1.
* gnu/packages/gnome.scm (gdm): Update to 3.26.2.1.
2018-01-06 16:55:55 +01:00
Tobias Geerinckx-Rice ae8e71ee48
gnu: gnome-online-accounts: Update to 3.26.2.
This removes telepathy support, which is actively discouraged upstream:
<https://git.gnome.org/browse/gnome-online-accounts/commit/?id=a65ebfe1069>.

* gnu/packages/gnome.scm (gnome-online-accounts): Update to 3.26.2.
[inputs]: Remove telepathy-glib.
2018-01-06 15:54:18 +01:00
nee a6542e964d
gnu: crawl, craw-titles: Update to 0.21.0.
* gnu/packages/games.scm (crawl, crawl-tiles): Update to 0.21.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2018-01-06 22:10:39 +08:00
Ludovic Courtès 142182514b
build: Detect broken 'equal?' in Guile 2.2.1.
Fixes <https://bugs.gnu.org/29903>.
Reported by Mathieu Lirzin <mthl@gnu.org>.

* m4/guix.m4 (GUIX_ASSERT_SYNTAX_OBJECT_EQUAL): New macro.
* configure.ac: Use it.
2018-01-06 14:45:01 +01:00
Ludovic Courtès f396611776
publish: Save bandwidth on narinfo 404s.
This saves 18 bytes on each 404 narinfo response.

* guix/scripts/publish.scm (render-narinfo): Pass #:phrase to
'not-found'.
(render-narinfo/cached): Likewise.
2018-01-06 14:43:45 +01:00
Mark H Weaver af3f7f22f4
gnu: linux-libre: Update to 4.14.12.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.14.12.
(%linux-libre-hash): Update hash.
2018-01-06 00:39:07 -05:00
Mark H Weaver f2462bc366
gnu: linux-libre@4.9: Update to 4.9.75.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.75.
2018-01-06 00:38:27 -05:00
Mark H Weaver 630437d94e
gnu: linux-libre@4.4: Update to 4.4.110.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.110.
2018-01-06 00:37:31 -05:00
Kei Kebreau 6885745dc1
gnu: stellarium: Update to 0.17.0.
* gnu/packages/astronomy.scm (stellarium): Update to 0.17.0.
[source]: Use new upstream URL.
[arguments]: Adjust #:test-target; add #:configure-flags to locate the
qtserialport header files and enable the building of tests; remove
'patch-tests' phase.
2018-01-05 21:24:01 -05:00
Leo Famulari 20c295f9f3
gnu: python2-subprocess32: Skip the tests.
* gnu/packages/python.scm (python2-subprocess32)[arguments]: Skip the
tests.
2018-01-05 17:48:44 -05:00
Ricardo Wurmus c0c5feda4c
gnu: qjackctl: Add support for ALSA MIDI sequencer.
* gnu/packages/audio.scm (qjackctl)[inputs]: Add alsa-lib.
2018-01-05 23:32:02 +01:00
Ricardo Wurmus 54ea2d86dc
gnu: qjackctl: Update to 0.5.0.
* gnu/packages/audio.scm (qjackctl): Update to 0.5.0.
2018-01-05 23:26:51 +01:00
Ricardo Wurmus 0fe1752848
gnu: qsynth: Update to 0.5.0.
* gnu/packages/audio.scm (qsynth): Update to 0.5.0.
2018-01-05 23:25:08 +01:00
Ricardo Wurmus 2702e12e2d
gnu: Add padthv1.
* gnu/packages/music.scm (padthv1): New variable.
2018-01-05 22:30:52 +01:00
Ricardo Wurmus 23f45dd390
gnu: fluidsynth: Update to 1.1.9.
* gnu/packages/audio.scm (fluidsynth): Update to 1.1.9.
2018-01-05 22:30:52 +01:00
Ricardo Wurmus 49e41cd34b
gnu: synthv1: Update to 0.8.6.
* gnu/packages/music.scm (synthv1): Update to 0.8.6.
2018-01-05 22:30:52 +01:00
Ricardo Wurmus 4a5c398622
gnu: drumkv1: Update to 0.8.6.
* gnu/packages/music.scm (drumkv1): Update to 0.8.6.
2018-01-05 22:30:52 +01:00
Ricardo Wurmus e749ef2da5
gnu: samplv1: Update to 0.8.6.
* gnu/packages/music.scm (samplv1): Update to 0.8.6.
2018-01-05 22:30:52 +01:00
Konrad Hinsen f250a868d8
gnu: Add nmoldyn.
* gnu/packages/chemistry.scm (nmoldyn): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-01-05 16:19:09 -05:00
Konrad Hinsen 73114e30cb
gnu: Add domainfinder.
* gnu/packages/chemistry.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-01-05 16:19:09 -05:00
Leo Famulari 4d6ed794dd
gnu: Remove python-numpy-next.
This package was effectively superseded when NumPy was updated to 1.13.3.

This is a followup to commit 6801450279.

* gnu/packages/python.scm (python-numpy-next, python2-numpy-next):
Remove variables.
2018-01-05 16:03:21 -05:00
Tobias Geerinckx-Rice a7a8590bdc
gnu: btrfs-progs: Update to 4.14.1.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.14.1.
2018-01-05 21:10:06 +01:00