jackhill/guix/guix.git
6 years agognu: libsoup: Update to 2.60.2.
Kei Kebreau [Mon, 13 Nov 2017 02:19:05 +0000 (21:19 -0500)]
gnu: libsoup: Update to 2.60.2.

* gnu/packages/gnome.scm (libsoup): Update to 2.60.2.

6 years agolist-runtime-roots: Ignore PIDs we cannot access.
Ludovic Courtès [Sun, 12 Nov 2017 22:52:18 +0000 (23:52 +0100)]
list-runtime-roots: Ignore PIDs we cannot access.

This allows running as non-root.
Fixes a regression introduced in b8f59cdc20e9d83ce63523ef917e95fcee07f134.

* nix/scripts/list-runtime-roots.in (referenced-files): Handle EACCES in
addition to ENOENT.

6 years agodownload: Use HTTPS for the first ImageMagick mirror.
Leo Famulari [Sun, 12 Nov 2017 22:47:53 +0000 (17:47 -0500)]
download: Use HTTPS for the first ImageMagick mirror.

* guix/download.scm (%mirrors)[imagemagick]: Use HTTPS for <sunsite.icm.edu.pl>.

6 years agodownload: Try FTP servers last.
Leo Famulari [Sun, 12 Nov 2017 22:40:52 +0000 (17:40 -0500)]
download: Try FTP servers last.

* guix/download.scm (%mirrors)[savannah, kernel.org, apache, xorg, imagemagick]:
Re-arrange so that FTP is last.

6 years agognu: imagemagick: Update to 6.9.9-23.
Leo Famulari [Sun, 12 Nov 2017 22:05:19 +0000 (17:05 -0500)]
gnu: imagemagick: Update to 6.9.9-23.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.9-23.

6 years agolist-runtime-roots: Canonicalize store items.
Ludovic Courtès [Sun, 12 Nov 2017 21:16:28 +0000 (22:16 +0100)]
list-runtime-roots: Canonicalize store items.

Looking at 'addAdditionalRoots' in libstore/gc.cc, it looks like it
should always have been this way.  In practice it probably doesn't make
much of a difference.

* nix/scripts/list-runtime-roots.in (canonicalize-store-item): New
procedure.
<top level>: Use it.

6 years agolist-runtime-roots: Do not use 'lsof'.
Ludovic Courtès [Sun, 12 Nov 2017 21:02:22 +0000 (22:02 +0100)]
list-runtime-roots: Do not use 'lsof'.

This makes things a bit faster (0.8s instead of 1.4s on my laptop).

* nix/scripts/list-runtime-roots.in (lsof-roots): Remove.
(proc-fd-roots): Return the empty list when 'scandir' returns #f.
(referenced-files): New procedure.
Use it at the top level.

6 years agodoc: Better explain GC roots.
Ludovic Courtès [Sun, 12 Nov 2017 20:41:34 +0000 (21:41 +0100)]
doc: Better explain GC roots.

Fixes <https://bugs.gnu.org/24194>.
Reported by J. Eppler <j.eppler@openmailbox.org>.

* doc/guix.texi (Invoking guix-daemon): Add index entries for GC roots.
Add xref to "Invoking guix gc".
(Invoking guix gc): Add the string "GC roots"; mention /var/guix/gcroots.
(Additional Build Options): Add index entries.  Better explain --root.
(Invoking guix environment): Add xref to "Invoking guix gc".

6 years agognu: Remove unrar.
Leo Famulari [Tue, 24 Oct 2017 18:49:26 +0000 (14:49 -0400)]
gnu: Remove unrar.

This package is abandoned upstream and contains serious bugs:

http://seclists.org/oss-sec/2017/q3/329
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14120
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14121
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14122

* gnu/packages/compression.scm (unrar): Remove variable.

6 years agognu: linux-libre: Change URL to HTTPS.
Rutger Helling [Mon, 30 Oct 2017 07:02:10 +0000 (08:02 +0100)]
gnu: linux-libre: Change URL to HTTPS.

* gnu/packages/linux.scm (linux-libre): Change URL to HTTPS.

Signed-off-by: Leo Famulari <leo@famulari.name>
6 years agognu: mupdf: Unbundle mujs.
Efraim Flashner [Sun, 12 Nov 2017 16:42:34 +0000 (18:42 +0200)]
gnu: mupdf: Unbundle mujs.

* gnu/packages/pdf.scm (mupdf)[source]: Remove bundled mujs.
[inputs]: Add mujs.

6 years agognu: Add mujs.
Efraim Flashner [Sun, 12 Nov 2017 16:43:20 +0000 (18:43 +0200)]
gnu: Add mujs.

* gnu/packages/javascript.scm (mujs): New variable.

6 years agognu: mupdf: Use https.
Efraim Flashner [Sun, 12 Nov 2017 16:41:48 +0000 (18:41 +0200)]
gnu: mupdf: Use https.

* gnu/packages/pdf.scm (mupdf)[source]: Use https.
[home-page]: Same.

6 years agognu: pdf.scm: Arrange modules alphabetically.
Efraim Flashner [Sun, 12 Nov 2017 13:29:03 +0000 (15:29 +0200)]
gnu: pdf.scm: Arrange modules alphabetically.

* gnu/packages/pdf.scm: Arrange modules alphabetically.

6 years agognu: lash: Don't build static libraries.
Efraim Flashner [Sun, 12 Nov 2017 09:56:57 +0000 (11:56 +0200)]
gnu: lash: Don't build static libraries.

* gnu/packages/audio.scm (lash)[arguments]: Add configure-flag to
disable static libraries.

6 years agognu: lash: Don't build lashd.
Efraim Flashner [Sun, 12 Nov 2017 09:55:56 +0000 (11:55 +0200)]
gnu: lash: Don't build lashd.

This fixes bug#28174.

* gnu/packages/audio.scm (lash)[arguments]: Add phase to skip building lashd.

6 years agognu: glib-networking: Update to 2.54.1.
Kei Kebreau [Thu, 9 Nov 2017 18:14:33 +0000 (13:14 -0500)]
gnu: glib-networking: Update to 2.54.1.

* gnu/packages/gnome.scm (glib-networking): Update to 2.54.1.

6 years agognu: ffmpeg: Reduce the size of the closure.
Efraim Flashner [Sat, 11 Nov 2017 21:10:46 +0000 (23:10 +0200)]
gnu: ffmpeg: Reduce the size of the closure.

* gnu/packages/video.scm (ffmpeg)[arguments]: Add new configure flags to
disable the html man pages and the static libraries.

6 years agognu: mupdf: Use Texinfo for the description.
Efraim Flashner [Sat, 11 Nov 2017 21:05:07 +0000 (23:05 +0200)]
gnu: mupdf: Use Texinfo for the description.

* gnu/packages/pdf.scm (mupdf)[description]: Use Texinfo to mark up the
description.

6 years agognu: w3m: Find an editor in the environment.
Leo Famulari [Sun, 12 Nov 2017 03:57:55 +0000 (22:57 -0500)]
gnu: w3m: Find an editor in the environment.

* gnu/packages/w3m.scm (w3m)[arguments]: Pass an empty value for --with-editor
in #:configure-flags.
[source]: Use git-file-name.

6 years agognu: mupdf: Actually fix CVE-2017-15587.
Leo Famulari [Sun, 12 Nov 2017 03:29:44 +0000 (22:29 -0500)]
gnu: mupdf: Actually fix CVE-2017-15587.

The original fix could be removed by an optimizing compiler.

* gnu/packages/patches/mupdf-CVE-2017-15587.patch: Revise patch.

6 years agognu: libusb-compat: Use the same home page as libusb.
Tobias Geerinckx-Rice [Sat, 11 Nov 2017 19:53:05 +0000 (20:53 +0100)]
gnu: libusb-compat: Use the same home page as libusb.

* gnu/packages/libusb.scm (libusb-compat)[home-page]: Update.

6 years agognu: fcgi: Fix typo in description.
Tobias Geerinckx-Rice [Sat, 11 Nov 2017 20:09:49 +0000 (21:09 +0100)]
gnu: fcgi: Fix typo in description.

* gnu/packages/web.scm (fcgi)[description]: Fix typo.

6 years agognu: fcgi: Use archived home page fork.
Tobias Geerinckx-Rice [Sat, 11 Nov 2017 20:09:10 +0000 (21:09 +0100)]
gnu: fcgi: Use archived home page fork.

* gnu/packages/web.scm (fcgi)[home-page]: Use archived version.

6 years agognu: lynx: Use new home page.
Tobias Geerinckx-Rice [Sat, 11 Nov 2017 19:27:43 +0000 (20:27 +0100)]
gnu: lynx: Use new home page.

* gnu/packages/web-browsers.scm (lynx)[home-page]: Update.

6 years agognu: perl-mime-types: Update to 2.14.
Tobias Geerinckx-Rice [Sat, 11 Nov 2017 18:59:19 +0000 (19:59 +0100)]
gnu: perl-mime-types: Update to 2.14.

* gnu/packages/perl.scm (perl-mime-types): Update to 2.14.

6 years agognu: mailutils: Update to 3.4.
Ludovic Courtès [Sat, 11 Nov 2017 22:16:11 +0000 (23:16 +0100)]
gnu: mailutils: Update to 3.4.

* gnu/packages/mail.scm (mailutils): Update to 3.4.

6 years agognu: emacs-emms: Update to 4.4.
Ludovic Courtès [Sat, 11 Nov 2017 22:15:47 +0000 (23:15 +0100)]
gnu: emacs-emms: Update to 4.4.

* gnu/packages/emacs.scm (emms): Update to 4.4.

6 years agognu: nyacc: Update to 0.82.4.
Jan Nieuwenhuizen [Sat, 11 Nov 2017 22:09:00 +0000 (23:09 +0100)]
gnu: nyacc: Update to 0.82.4.

* gnu/packages/mes.scm (nyacc): Update to 0.82.4.

6 years agogit: Check whether 'clone-init-options' is defined.
Ludovic Courtès [Sat, 11 Nov 2017 17:38:27 +0000 (18:38 +0100)]
git: Check whether 'clone-init-options' is defined.

This is a followup to 195f0d05c3f64e17e84b2683a7045a14ec578d61.

* guix/git.scm (clone*): Check whether 'clone-init-options' is defined
before using it.

6 years agognu: nvi: Build with support for Unicode text.
Leo Famulari [Fri, 10 Nov 2017 18:22:16 +0000 (13:22 -0500)]
gnu: nvi: Build with support for Unicode text.

* gnu/packages/nvi.scm (nvi)[arguments]: Pass '--enable-widechar'
to #:configure-flags.

6 years agotests: Adjust to new unbound-variable error message.
Ludovic Courtès [Sat, 11 Nov 2017 14:33:47 +0000 (15:33 +0100)]
tests: Adjust to new unbound-variable error message.

This is a followup to dc856223f5eab57d8a4881782ec0f50abd12afa3.

* tests/guix-package.sh: Adjust unbound-variable message regexp.

6 years agotests: Refer to "time@1.8".
Ludovic Courtès [Sat, 11 Nov 2017 14:33:04 +0000 (15:33 +0100)]
tests: Refer to "time@1.8".

This is a followup to dd00e0919fcecd895ff4e5a646cf068f46ff8d12.

* tests/guix-build.sh: Refer to "time@1.8".

6 years agodownload: Work around more bogus HTTP handling in Guile 2.2 <= 2.2.2.
Ludovic Courtès [Sat, 11 Nov 2017 14:17:52 +0000 (15:17 +0100)]
download: Work around more bogus HTTP handling in Guile 2.2 <= 2.2.2.

Reported by Mark H Weaver <mhw@netris.org>
at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00190.html>.

* guix/build/download.scm (guile-2.2) [write-request-line]: Backport
Guile commit 6ad28ae3bc6a6d9e95ab7d70510d12c97673a143.

6 years agognu: lvm2: Update to 2.02.176.
Marius Bakke [Sat, 11 Nov 2017 06:40:55 +0000 (07:40 +0100)]
gnu: lvm2: Update to 2.02.176.

* gnu/packages/linux.scm (lvm2): Update to 2.02.176.

6 years agognu: libstaroffice: Update to 0.0.5.
Marius Bakke [Sat, 11 Nov 2017 06:18:34 +0000 (07:18 +0100)]
gnu: libstaroffice: Update to 0.0.5.

* gnu/packages/libreoffice.scm (libstaroffice): Update to 0.0.5.

6 years agognu: libvisio: Update to 0.1.6.
Marius Bakke [Sat, 11 Nov 2017 06:15:39 +0000 (07:15 +0100)]
gnu: libvisio: Update to 0.1.6.

* gnu/packages/libreoffice.scm (libvisio): Update to 0.1.6.
[source](patches): Remove.
* gnu/packages/patches/libvisio-fix-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

6 years agognu: libetonyek: Update to 0.1.7.
Marius Bakke [Sat, 11 Nov 2017 06:11:09 +0000 (07:11 +0100)]
gnu: libetonyek: Update to 0.1.7.

* gnu/packages/libreoffice.scm (libetonyek): Update to 0.1.7.
[source](patches): Remove.
[arguments]<#:phases>: Remove.
[native-inputs]: Remove AUTOCONF and AUTOMAKE.
* gnu/packages/patches/libetonyek-build-with-mdds-1.2.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

6 years agognu: libreoffice: Update to 5.3.7.2 and enable GTK3.
Rutger Helling [Fri, 10 Nov 2017 18:38:50 +0000 (19:38 +0100)]
gnu: libreoffice: Update to 5.3.7.2 and enable GTK3.

* gnu/packages/libreoffice.scm (libreoffice): Update to 5.3.7.2
[source]: Change URL to HTTPS.
[inputs]: Add gtk+.
[configure-flags]: Remove "--disable-gtk3".

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
6 years agognu: python2-rpython: Update to 0.2.1.
Alex Vong [Fri, 10 Nov 2017 12:17:49 +0000 (20:17 +0800)]
gnu: python2-rpython: Update to 0.2.1.

* gnu/packages/python.scm (python2-rpython): Update to 0.2.1.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
6 years agognu: python-sympy: Update to 1.1.1.
Alex Vong [Wed, 8 Nov 2017 14:49:53 +0000 (22:49 +0800)]
gnu: python-sympy: Update to 1.1.1.

* gnu/packages/python.scm (python-sympy, python2-sympy): Update to 1.1.1.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
6 years agognu: python-sqlparse: Fix syntax error.
Marius Bakke [Sat, 11 Nov 2017 05:40:50 +0000 (06:40 +0100)]
gnu: python-sqlparse: Fix syntax error.

This is a follow-up to commit 8d688cd27f267f4d143d0f20ed3c352188151302.

* gnu/packages/python.scm (python-sqlparse)[arguments]: Add missing lambda.

6 years agognu: python-sqlparse: Update to 0.2.4.
Tobias Geerinckx-Rice [Fri, 10 Nov 2017 19:13:46 +0000 (20:13 +0100)]
gnu: python-sqlparse: Update to 0.2.4.

* gnu/packages/python.scm (python-sqlparse, python2-sqlparse): Update to
0.2.4.
[arguments]: Don't invoke ‘2to3’.

6 years agoinstall: Fix typo.
Tobias Geerinckx-Rice [Fri, 10 Nov 2017 19:36:15 +0000 (20:36 +0100)]
install: Fix typo.

* gnu/system/install.scm (installation-os): Fix typo in comment.

6 years agognu: cyrus-sasl: Use new home page.
Tobias Geerinckx-Rice [Fri, 10 Nov 2017 18:30:13 +0000 (19:30 +0100)]
gnu: cyrus-sasl: Use new home page.

* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[home-page]: Update.

6 years agognu: methylkit: Use new home page.
Tobias Geerinckx-Rice [Fri, 10 Nov 2017 18:19:05 +0000 (19:19 +0100)]
gnu: methylkit: Use new home page.

* gnu/packages/bioinformatics.scm (methylkit)[home-page]: Update.

6 years agognu: vsearch: Update to 2.6.0.
Ben Woodcroft [Fri, 10 Nov 2017 23:33:08 +0000 (09:33 +1000)]
gnu: vsearch: Update to 2.6.0.

* gnu/packages/bioinformatics.scm (vsearch): Update to 2.6.0.

6 years agodownload: Work around bogus HTTP handling in Guile 2.2 <= 2.2.2.
Ludovic Courtès [Fri, 10 Nov 2017 22:07:49 +0000 (23:07 +0100)]
download: Work around bogus HTTP handling in Guile 2.2 <= 2.2.2.

Reported by Konrad Hinsen <konrad.hinsen@fastmail.net>
at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00070.html>.

* guix/build/download.scm (write-request-line) [guile-2.2]: New
procedure.

6 years agognu: webkitgtk: Update to 2.18.3 [fixes CVE-2017-{13788,13798,13803}].
Leo Famulari [Fri, 10 Nov 2017 17:43:25 +0000 (12:43 -0500)]
gnu: webkitgtk: Update to 2.18.3 [fixes CVE-2017-{13788,13798,13803}].

* gnu/packages/webkit.scm (webkitgtk): Update to 2.18.3.

6 years agognu: qemu: Fix CVE-2017-{15038,15268,15289}.
Leo Famulari [Thu, 9 Nov 2017 02:04:33 +0000 (21:04 -0500)]
gnu: qemu: Fix CVE-2017-{15038,15268,15289}.

* gnu/packages/patches/qemu-CVE-2017-15038.patch,
gnu/packages/patches/qemu-CVE-2017-15268.patch,
gnu/packages/patches/qemu-CVE-2017-15289.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/virtualization.scm (qemu)[source]: Use them.

6 years agognu: Fix hunspell-dict-en-* dictionary installation.
Kei Kebreau [Thu, 9 Nov 2017 22:49:02 +0000 (17:49 -0500)]
gnu: Fix hunspell-dict-en-* dictionary installation.

* gnu/packages/aspell.scm (aspell-word-list)[arguments]: Install the .dic file
for all hunspell dictionaries.

6 years agognu: cutadapt: Update to 1.14.
Ricardo Wurmus [Fri, 10 Nov 2017 14:32:42 +0000 (15:32 +0100)]
gnu: cutadapt: Update to 1.14.

* gnu/packages/bioinformatics.scm (cutadapt): Update to 1.14.

6 years agognu: synergy: Fix minor problems with the package definitions.
Ricardo Wurmus [Fri, 10 Nov 2017 14:16:54 +0000 (15:16 +0100)]
gnu: synergy: Fix minor problems with the package definitions.

* gnu/packages/synergy.scm (synergy)[source]: Return #t in the snippet.
[arguments]: Let build phases return #t; fix typo in comment.
[home-page]: Change to redirection target.
[description]: Fix typo.

6 years agognu: password-store: Install passmenu script.
Jelle Licht [Fri, 10 Nov 2017 13:22:28 +0000 (14:22 +0100)]
gnu: password-store: Install passmenu script.

* gnu/packages/password-utils (password-store)
  [inputs]: Add dmenu and xdotool.
  [arguments]<#:phases>['patch-passmenu-path']: New phase.
  [arguments]<#:phases>['install-passmenu']: New phase.

6 years agognu: Add Epson escpr printer driver.
Diego Nicola Barbato [Wed, 1 Nov 2017 01:48:14 +0000 (02:48 +0100)]
gnu: Add Epson escpr printer driver.

* gnu/packages/cups.scm (escpr): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agogit: Work around wrong default argument of 'clone'.
Ludovic Courtès [Fri, 10 Nov 2017 11:59:55 +0000 (12:59 +0100)]
git: Work around wrong default argument of 'clone'.

Fixes <https://bugs.gnu.org/29238>.
Reported by Benjamin Andresen <benny@in-ulm.de>.

* guix/git.scm (clone*): Pass second argument to 'clone'.

6 years agognu: postgresql@9.6: Update to 9.6.6 [security fixes].
Efraim Flashner [Fri, 10 Nov 2017 08:16:56 +0000 (10:16 +0200)]
gnu: postgresql@9.6: Update to 9.6.6 [security fixes].

This fixes CVE-2017-12172, CVE-2017-15098, CVE-2017-15099.

* gnu/packages/databases.scm (postgresql@9.6): Update to 9.6.6.

6 years agognu: linux-libre: Update to 4.13.12.
Mark H Weaver [Fri, 10 Nov 2017 02:11:00 +0000 (21:11 -0500)]
gnu: linux-libre: Update to 4.13.12.

* gnu/packages/linux.scm (%linux-libre-version): Update to 4.13.12.
(%linux-libre-hash): Update hash.

6 years agognu: linux-libre@4.9: Update to 4.9.61.
Mark H Weaver [Fri, 10 Nov 2017 02:10:14 +0000 (21:10 -0500)]
gnu: linux-libre@4.9: Update to 4.9.61.

* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.61.

6 years agognu: linux-libre@4.4: Update to 4.4.97.
Mark H Weaver [Fri, 10 Nov 2017 02:09:34 +0000 (21:09 -0500)]
gnu: linux-libre@4.4: Update to 4.4.97.

* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.97.

6 years agognu: linux-libre@4.1: Update to 4.1.46.
Mark H Weaver [Fri, 10 Nov 2017 02:08:51 +0000 (21:08 -0500)]
gnu: linux-libre@4.1: Update to 4.1.46.

* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.46.

6 years agognu: libpsl: Update to 0.19.1.
Tobias Geerinckx-Rice [Thu, 9 Nov 2017 12:33:42 +0000 (13:33 +0100)]
gnu: libpsl: Update to 0.19.1.

* gnu/packages/web.scm (libpsl): Update to 0.19.1.

6 years agognu: postgresql: Update to 10.1 [security fixes].
Rutger Helling [Thu, 9 Nov 2017 15:38:27 +0000 (16:38 +0100)]
gnu: postgresql: Update to 10.1 [security fixes].

Fixes CVE-2017-12172, CVE-2017-15098 and CVE-2017-15099.

* gnu/packages/databases.scm (postgresql): Update to 10.1.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
6 years agotests: Adjust to unbound-variable exception printer.
Ludovic Courtès [Thu, 9 Nov 2017 23:02:30 +0000 (00:02 +0100)]
tests: Adjust to unbound-variable exception printer.

* tests/guix-system.sh: Adjust unbound-variable test for commit
dc856223f5eab57d8a4881782ec0f50abd12afa3.

6 years agognu: Add r-directlabels.
Kyle Meyer [Tue, 31 Oct 2017 18:09:28 +0000 (14:09 -0400)]
gnu: Add r-directlabels.

* gnu/packages/statistics.scm (r-directlabels): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: emacs-ahungry-theme: Update to 1.8.0.
Alex Vong [Wed, 8 Nov 2017 14:48:16 +0000 (22:48 +0800)]
gnu: emacs-ahungry-theme: Update to 1.8.0.

* gnu/packages/emacs.scm (emacs-ahungry-theme): Update to 1.8.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agognu: Add nxbelld.
Marek Benc [Thu, 9 Nov 2017 19:36:31 +0000 (20:36 +0100)]
gnu: Add nxbelld.

* gnu/packages/xdisorg.scm (nxbelld): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
6 years agoui: Add an 'unbound-variable' exception printer.
Ludovic Courtès [Thu, 9 Nov 2017 22:31:18 +0000 (23:31 +0100)]
ui: Add an 'unbound-variable' exception printer.

* guix/ui.scm (print-unbound-variable-error): New variable.
Use it as the 'unbound-variable' printer.

6 years agoui: Provide hints for unbound-variable errors.
Ludovic Courtès [Thu, 9 Nov 2017 22:29:39 +0000 (23:29 +0100)]
ui: Provide hints for unbound-variable errors.

* guix/ui.scm (known-variable-definition): New procedure.
(report-load-error): Handle 'unbound-variable'.

6 years agoui: Add 'display-hint'.
Ludovic Courtès [Thu, 9 Nov 2017 22:27:56 +0000 (23:27 +0100)]
ui: Add 'display-hint'.

* guix/ui.scm (known-variable-definition): New procedure.
(report-load-error): Use it.

6 years agognu: %intel-compatible-systems: Re-add variable.
Efraim Flashner [Thu, 9 Nov 2017 20:25:38 +0000 (22:25 +0200)]
gnu: %intel-compatible-systems: Re-add variable.

This is a follow-up to cfbe7b7f4ccdb61534b47d91fe8e43db2ee1737d.

* gnu/packages/linux.scm (%intel-compatible-systems): New variable.

6 years agognu: linux: Add linux-libre arm kernel.
Mathieu Othacehe [Tue, 7 Nov 2017 17:01:37 +0000 (18:01 +0100)]
gnu: linux: Add linux-libre arm kernel.

* Makefile.am (AUX_FILES): Add arm config file.
* gnu/packages/aux-files/linux-libre/4.13-arm.conf: New file.
* gnu/packages/linux.scm (%intel-compatible-systems): Rename to
  %linux-compatible-systems and add "armhf-linux".
  (linux-libre): Adapt consequently.

The config file for arm is taken from debian armmp kernel. It's a generic
firmware for ARMv7 multiplatform compatible SoCs.

6 years agognu: chromaprint: Update to 1.4.2.
Leo Famulari [Thu, 9 Nov 2017 18:23:22 +0000 (13:23 -0500)]
gnu: chromaprint: Update to 1.4.2.

* gnu/packages/mp3.scm (chromaprint): Update to 1.4.2.

6 years agognu: libwnck: Update to 3.24.1.
Kei Kebreau [Thu, 9 Nov 2017 17:17:37 +0000 (12:17 -0500)]
gnu: libwnck: Update to 3.24.1.

* gnu/packages/gnome.scm (libwnck): Update to 3.24.1.

6 years agosystem: Do not set 'TZ'.
Ludovic Courtès [Thu, 9 Nov 2017 08:58:33 +0000 (09:58 +0100)]
system: Do not set 'TZ'.

Fixes <https://bugs.gnu.org/29212>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.

* gnu/system.scm (operating-system-environment-variables): Remove "TZ".

6 years agognu: roary: Update to 3.11.0.
Ben Woodcroft [Thu, 9 Nov 2017 08:12:23 +0000 (18:12 +1000)]
gnu: roary: Update to 3.11.0.

* gnu/packages/bioinformatics.scm (roary): Update to 3.11.0.
[inputs]: Add perl-digest-md5-file.

6 years agognu: totem: Enable parallel build.
Kei Kebreau [Thu, 9 Nov 2017 01:42:20 +0000 (20:42 -0500)]
gnu: totem: Enable parallel build.

* gnu/packages/gnome.scm (totem)[arguments]: Set #:parallel-build? to #t
implicitly.

6 years agognu: tremc: Update to 0.9.0-1.9755b50.
Leo Famulari [Thu, 9 Nov 2017 00:16:48 +0000 (19:16 -0500)]
gnu: tremc: Update to 0.9.0-1.9755b50.

* gnu/packages/bittorrent.scm (tremc): Update to 0.9.0-1.9755b50.
[version]: Use git-version.
[source]: Use git-file-name.

6 years agognu: slurm: Update to 16.05.11 [fixes CVE-2017-15566].
Leo Famulari [Thu, 9 Nov 2017 00:10:01 +0000 (19:10 -0500)]
gnu: slurm: Update to 16.05.11 [fixes CVE-2017-15566].

* gnu/packages/parallel.scm (slurm): Update to 16.05.11.
[source]: Use the recommended download URL.

6 years agognu: rpm: Update to 4.13.0.2 [fixes CVE-2017-{7500,7501}].
Leo Famulari [Wed, 8 Nov 2017 23:59:37 +0000 (18:59 -0500)]
gnu: rpm: Update to 4.13.0.2 [fixes CVE-2017-{7500,7501}].

* gnu/packages/package-management.scm (rpm): Update to 4.13.0.2.

6 years agognu: python-icalendar: Update to 4.0.0.
Leo Famulari [Wed, 8 Nov 2017 23:23:02 +0000 (18:23 -0500)]
gnu: python-icalendar: Update to 4.0.0.

* gnu/packages/python.scm (python-icalendar): Update to 4.0.0.

6 years agognu: syncthing: Update to 0.14.40.
Leo Famulari [Wed, 8 Nov 2017 21:39:14 +0000 (16:39 -0500)]
gnu: syncthing: Update to 0.14.40.

* gnu/packages/syncthing.scm (syncthing): Update to 0.14.40.
[inputs]: Add go-github-com-zillode-notify.

6 years agognu: Add go-github-com-zillode-notify.
Leo Famulari [Wed, 8 Nov 2017 22:05:37 +0000 (17:05 -0500)]
gnu: Add go-github-com-zillode-notify.

* gnu/packages/syncthing.scm (go-github-com-zillode-notify): New variable.

6 years agognu: go-github-com-audriusbutkevicius-kcp-go: Update to 0.0.0-1.8ae5f52.
Leo Famulari [Wed, 8 Nov 2017 21:47:50 +0000 (16:47 -0500)]
gnu: go-github-com-audriusbutkevicius-kcp-go: Update to 0.0.0-1.8ae5f52.

* gnu/packages/syncthing.scm (go-github-com-audriusbutkevicius-kcp-go):
Update to 0.0.0-1.8ae5f52.
[propagated-inputs]: Add go-github-com-tjfoc-gmsm-sm4.

6 years agognu: Add go-github-com-tjfoc-gmsm-sm4.
Leo Famulari [Wed, 8 Nov 2017 21:57:21 +0000 (16:57 -0500)]
gnu: Add go-github-com-tjfoc-gmsm-sm4.

* gnu/packages/syncthing.scm (go-github-com-tjfoc-gmsm-sm4): New variable.

6 years agognu: Improve error reporting of the use-.*modules macros.
Ludovic Courtès [Wed, 8 Nov 2017 12:33:25 +0000 (13:33 +0100)]
gnu: Improve error reporting of the use-.*modules macros.

Suggested by Julien Lepiller and myglc2
at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00106.html>.

* gnu.scm (%try-use-modules): New procedure.
(package-module-hint, service-module-hint): New procedures.
(try-use-modules): New macro.
(use-package-modules, use-service-modules, use-system-modules): Use it.
* tests/guix-system.sh: Test it.

6 years agoservices: Add 'lookup-service-types'.
Ludovic Courtès [Wed, 8 Nov 2017 12:26:08 +0000 (13:26 +0100)]
services: Add 'lookup-service-types'.

* gnu/services.scm (lookup-service-types): New procedure.
* tests/services.scm ("lookup-service-types"): New test.

6 years agoservices: 'fold-service-types' includes (gnu services).
Ludovic Courtès [Wed, 8 Nov 2017 12:25:04 +0000 (13:25 +0100)]
services: 'fold-service-types' includes (gnu services).

* gnu/services.scm (all-service-modules): New procedure.
(fold-service-types): Use it for the default MODULES value.

6 years agoservices: 'fold-service-types' honors its seed.
Ludovic Courtès [Wed, 8 Nov 2017 12:24:24 +0000 (13:24 +0100)]
services: 'fold-service-types' honors its seed.

* gnu/services.scm (fold-service-types): Use SEED instead of '().

6 years agoui: Define and honor '&error-location' and '&fix-hint' conditions.
Ludovic Courtès [Wed, 8 Nov 2017 10:16:25 +0000 (11:16 +0100)]
ui: Define and honor '&error-location' and '&fix-hint' conditions.

* guix/utils.scm (&error-location, &fix-hint): New condition types.
* guix/ui.scm (report-load-error): Handle them.
(call-with-error-handling): Honor '&error-location'.

6 years agoui: Introduce (guix i18n).
Ludovic Courtès [Wed, 8 Nov 2017 09:13:45 +0000 (10:13 +0100)]
ui: Introduce (guix i18n).

* guix/ui.scm (G_, N_, _P, %gettext-domain, %package-text-domain): Move
to...
* guix/i18n.scm: ... here.  New file.

6 years agognu: service: Update comment.
Hartmut Goebel [Fri, 27 Oct 2017 10:15:01 +0000 (12:15 +0200)]
gnu: service: Update comment.

* gnu/services/base.scm (guix-activation): Update comment.

6 years agoinstall: Use overlayfs instead of unionfs.
Hartmut Goebel [Fri, 27 Oct 2017 13:33:38 +0000 (15:33 +0200)]
install: Use overlayfs instead of unionfs.

I dediced to keep adding /tmp as tmpfs since I was not able to trigger bug
while still using unionfs, so I could not verify whether this mount is still
needed with overlayfs.  Mapping /tmp to tmpfs does not harm, so we are on the
save side.

* gnu/system/install.scm (make-cow-store): Mount /gnu/store without additional
  read-only bind-mount, since in overlayfs the "lower" level is always
  read-only. Add work-dir required by overlayfs. No need to sleep anymore
  since now using the mount syscall. [unionfs]: Remove now unused function.
  (%installation-services): Update comment.
  (installation-os)[file-systems]: Update comment.

6 years agobuild: Use overlayfs instead of unionfs.
Hartmut Goebel [Wed, 25 Oct 2017 16:13:15 +0000 (18:13 +0200)]
build: Use overlayfs instead of unionfs.

Overlayfs is part of the kernel, while unionfs needs FUSE.  This also reduces
the size of the initrd by ca. 4.3% (487K).

* gnu/build/linux-boot.scm (mount-root-file-system): Remove optional parameter
  "unionfs"; mount using overlayfs instead of unionfs; new directory layout
  requied by overlayfs; update documentation.
  [mark-as-not-killable]: Remove now unused function

* gnu/system/linux-initrd.scm (file-system-packages): Remove now unused
  packages "unionfs-fuse/static" and thus unused related 'if'.
  (linux-modules): Replace "fuse" by "overlay".

6 years agognu: miso: Use pypi-uri.
Ricardo Wurmus [Wed, 8 Nov 2017 16:41:08 +0000 (17:41 +0100)]
gnu: miso: Use pypi-uri.

* gnu/packages/bioinformatics.scm (miso)[source]: Use pypi-uri.

6 years agognu: Add r-vcd.
Ricardo Wurmus [Wed, 8 Nov 2017 16:34:35 +0000 (17:34 +0100)]
gnu: Add r-vcd.

* gnu/packages/cran.scm (r-vcd): New variable.

6 years agognu: Add r-laeken.
Ricardo Wurmus [Wed, 8 Nov 2017 16:34:11 +0000 (17:34 +0100)]
gnu: Add r-laeken.

* gnu/packages/cran.scm (r-laeken): New variable.

6 years agodoc: Move paragraph about signature verification to the top.
Ricardo Wurmus [Wed, 8 Nov 2017 16:19:45 +0000 (17:19 +0100)]
doc: Move paragraph about signature verification to the top.

* doc/contributing.texi (Submitting Patches): Remind contributors to verify
cryptographic signatures at the very beginning.

6 years agognu: fastcap: Use texlive-tiny.
Ricardo Wurmus [Wed, 8 Nov 2017 16:15:24 +0000 (17:15 +0100)]
gnu: fastcap: Use texlive-tiny.

* gnu/packages/engineering.scm (fastcap)[native-inputs]: Replace texlive with
texlive-tiny.
[arguments]: Fix indentation; set HOME in "make-pdf" phase to avoid font
errors with texlive-tiny.

6 years agognu: librecad: Fix build.
Ricardo Wurmus [Wed, 8 Nov 2017 15:20:42 +0000 (16:20 +0100)]
gnu: librecad: Fix build.

* gnu/packages/engineering.scm (librecad)[arguments]: Add phase
"patch-boost-error".