Commit Graph

27063 Commits

Author SHA1 Message Date
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
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
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
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
Ricardo Wurmus 78357403fb
gnu: qjackrcd: Update to 1.2.2.
* gnu/packages/audio.scm (qjackrcd): Update to 1.2.2.
[source]: Fetch sources from git.
2018-01-05 20:39:13 +01:00
Leo Famulari 8cbbea150d
gnu: python-click-log: Update to 0.2.1.
* gnu/packages/python.scm (python-click-log): Update to 0.2.1.
2018-01-05 13:39:33 -05:00
Leo Famulari 8f25c2e438
gnu: python-click-threading: Update to 0.4.4.
* gnu/packages/python.scm (python-click-threading): Update to 0.4.4.
2018-01-05 13:39:30 -05:00
Tobias Geerinckx-Rice bc6ca5237a
gnu: log4cpp: Update to 1.1.3.
* gnu/packages/logging.scm (log4cpp): Update to 1.1.3.
2018-01-05 14:50:23 +01:00
Tobias Geerinckx-Rice d08be77afc
gnu: hdparm: Update to 9.53.
* gnu/packages/linux.scm (hdparm): Update to 9.53.
[description]: Fix @dfn{}.
2018-01-05 14:14:01 +01:00
Tobias Geerinckx-Rice e285bc899e
gnu: filezilla: Update to 3.29.0.
* gnu/packages/ftp.scm (filezilla): Update to 3.29.0.
2018-01-05 14:00:37 +01:00
Tobias Geerinckx-Rice 7cace18624
gnu: libfilezilla: Expand description.
In theory, this isn't just an FTP client library. In practice, it is.

* gnu/packages/ftp.scm (libfilezilla)[description]: Illustrate features.
2018-01-05 13:08:04 +01:00
Tobias Geerinckx-Rice 0943ec4f7f
gnu: libfileziila: Update to 0.11.2.
* gnu/packages/ftp.scm (libfilezilla): Update to 0.11.2.
2018-01-05 13:06:31 +01:00
Konrad Hinsen 42d6bffc2f
gnu: Add python2-mmtk.
* gnu/packages/python.scm (python2-mmtk): New public variable.
2018-01-05 10:29:51 +01:00
Eric Bavier 007c75f56f
gnu: ao-cad: Update and fix for aarch64.
* gnu/packages/patches/ao-cad-aarch64-support.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/engineering.scm (ao-cad)[source]: Use it.  Update snapshot to
fb288c9.  Use VCS helpers for version and file-name.
[arguments]: Add 'remove-native-compilation' phase.
2018-01-04 15:34:52 -06:00
Eric Bavier 17e1e21603
gnu: glog: Disable signal-handler unit tests.
* gnu/packages/logging.scm (glog)[arguments]: Add 'disable-signal-tests' phase.
2018-01-04 15:34:47 -06:00
Mark Meyer 72687ca5d2
gnu: surfraw: Point to the correct Perl executable.
* gnu/packages/web.scm (surfraw)[arguments]: Hardcode the path to Perl
in a 'patch-perl' phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-01-04 13:34:58 -05:00
Leo Famulari ab2a4f8884
gnu: GNU Unifont: Update to 10.0.07.
* gnu/packages/fonts.scm (font-gnu-unifont): Update to 10.0.07.
2018-01-04 13:16:19 -05:00
Konrad Hinsen 49aebf9613
gnu: Add python2-scientific.
* gnu/packages/python.scm (python2-scientific): New public variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-01-04 12:44:03 -05:00