~ruther/guix-local

152b7bee — Ludovic Courtès 8 years ago
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.
06e3a518 — Ludovic Courtès 8 years ago
doc: Mark zlib as mandatory, libbz2 as optional.

* doc/guix.texi (Requirements): Move zlib to mandatory and libbz2 to
optional.
* README: Ditto.
f997137d — Ludovic Courtès 8 years ago
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.
29a68668 — Ludovic Courtès 8 years ago
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.
896fec47 — Ludovic Courtès 8 years ago
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.
4a8d536f — Ludovic Courtès 8 years ago
ui: Display hints that come along with '&message' conditions.

* guix/ui.scm (call-with-error-handling): Add case for message and
fix-hint?.
b94f250e — Ricardo Wurmus 8 years ago
gnu: rosegarden: Use jack-1.

* gnu/packages/music.scm (rosegarden)[inputs]: Replace jack-2 with jack-1.
0e78801a — Ricardo Wurmus 8 years ago
gnu: dssi: Use jack-1.

* gnu/packages/music.scm (dssi)[inputs]: Replace jack-2 with jack-1.
43188faf — Ricardo Wurmus 8 years ago
gnu: Add muse-sequencer.

* gnu/packages/music.scm (muse-sequencer): New variable.
61b94b8c — Ludovic Courtès 8 years ago
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'.
beb7e659 — Efraim Flashner 8 years ago
gnu: mes: Generalize logic for native-inputs.

* gnu/packages/mes.scm (mes)[native-inputs]: On all architectures except
i686-linux use cross compiler packages.
56804398 — Mark H Weaver 8 years ago
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.
c23243fc — Mark H Weaver 8 years ago
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.
5ae8c77a — Leo Famulari 8 years ago
gnu: irssi: Update to 1.0.6 [fixes CVE-2017-{5205,5206,5207,5208}].

* gnu/packages/irc.scm (irssi): Update to 1.0.6.
3853f86f — Rutger Helling 8 years ago
doc: Describe Wayland status.

* doc/guix.texi (Desktop Services): Add a paragraph about the current status of
Wayland in Guix.
0438f1d8 — Rutger Helling 8 years ago
gnu: gdm: Update to 3.26.2.1.

* gnu/packages/gnome.scm (gdm): Update to 3.26.2.1.
ae8e71ee — Tobias Geerinckx-Rice 8 years ago
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.
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>
14218251 — Ludovic Courtès 8 years ago
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.
f3966117 — Ludovic Courtès 8 years ago
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.
Next