jackhill/guix/guix.git
5 years agognu: js-mathjax: Avoid "Too many open files" error while building.
Ludovic Courtès [Thu, 16 May 2019 15:06:18 +0000 (17:06 +0200)]
gnu: js-mathjax: Avoid "Too many open files" error while building.

* gnu/packages/javascript.scm (js-mathjax)[arguments]: Add call to
'close-pipe'.  Previously builds would sometimes fail with EMFILE (this
was non-deterministic as it depends on GC activity.)

5 years agovm-image: Remove ModemManager.
Ludovic Courtès [Thu, 16 May 2019 12:42:40 +0000 (14:42 +0200)]
vm-image: Remove ModemManager.

This is a followup to 36f5d78d4af02ad23c33bfb46702d92086bf2796.

* gnu/system/examples/vm-image.tmpl (services): Remove
MODEM-MANAGER-SERVICE-TYPE.

5 years agovm-image: Remove 'network-manager-applet' from system profile.
Ludovic Courtès [Thu, 16 May 2019 12:37:23 +0000 (14:37 +0200)]
vm-image: Remove 'network-manager-applet' from system profile.

This is a followup to 05d907ac6fc6e139389a91ab5540c0dc573a8ce7.

* gnu/system/examples/vm-image.tmpl (services): Remove
'network-manager-applet'.

5 years agognu: custom-gcc: Unhide resulting package.
Ricardo Wurmus [Thu, 16 May 2019 11:42:37 +0000 (13:42 +0200)]
gnu: custom-gcc: Unhide resulting package.

This is a follow-up to commit d78010b81ee6ef4fd8803082e2f401b9e55b44db.  While
the plain "gcc" packages should be hidden by default, gcc-derived packages
like "gfortran" should not.

* gnu/packages/gcc.scm (custom-gcc)[properties]: Remove the 'hidden? property.

5 years agognu: star: Update to 2.7.1a.
Ricardo Wurmus [Thu, 16 May 2019 11:41:32 +0000 (13:41 +0200)]
gnu: star: Update to 2.7.1a.

* gnu/packages/bioinformatics.scm (star): Update to 2.7.1a.

5 years agognu: network-manager-applet: Patch libnma for modem support.
Florian Pelz [Wed, 15 May 2019 21:41:44 +0000 (23:41 +0200)]
gnu: network-manager-applet: Patch libnma for modem support.

* gnu/packages/gnome.scm (network-manager-applet): Patch libnma to load
iso-codes and mobile-broadband-provider-info from the store and not require
them in the profile.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agoguix system: Type-check the file or expression.
Ludovic Courtès [Wed, 15 May 2019 20:36:46 +0000 (22:36 +0200)]
guix system: Type-check the file or expression.

Previously, users would get a wrong-type-arg exception down the road
with an intimidating backtrace.

* guix/scripts/system.scm (process-action)[ensure-operating-system]: New
procedure.
Use it.

5 years agognu: grammalecte: Update to 1.1.
Nicolas Goaziou [Thu, 16 May 2019 08:37:04 +0000 (10:37 +0200)]
gnu: grammalecte: Update to 1.1.

* gnu/packages/dictionaries.scm (grammalecte): Update to 1.1.

5 years agognu: loksh: Update to 6.5.
Tobias Geerinckx-Rice [Thu, 16 May 2019 00:39:24 +0000 (02:39 +0200)]
gnu: loksh: Update to 6.5.

* gnu/packages/shells.scm (loksh): Update to 6.5.

5 years agognu: cssc: Update to 1.4.1.
Tobias Geerinckx-Rice [Thu, 16 May 2019 00:14:26 +0000 (02:14 +0200)]
gnu: cssc: Update to 1.4.1.

* gnu/packages/version-control.scm (cssc): Update to 1.4.1.

5 years agognu: git-lfs: Update to 2.7.2.
Tobias Geerinckx-Rice [Wed, 15 May 2019 22:25:08 +0000 (00:25 +0200)]
gnu: git-lfs: Update to 2.7.2.

* gnu/packages/version-control.scm (git-lfs): Update to 2.7.2.

5 years agognu: ndctl: Update to 65.
Tobias Geerinckx-Rice [Wed, 15 May 2019 22:21:20 +0000 (00:21 +0200)]
gnu: ndctl: Update to 65.

* gnu/packages/disk.scm (ndctl): Update to 65.

5 years agognu: linux-libre: Update to 5.1.2.
Mark H Weaver [Wed, 15 May 2019 22:57:11 +0000 (18:57 -0400)]
gnu: linux-libre: Update to 5.1.2.

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

5 years agognu: linux-libre@4.19: Update to 4.19.43.
Mark H Weaver [Wed, 15 May 2019 22:56:17 +0000 (18:56 -0400)]
gnu: linux-libre@4.19: Update to 4.19.43.

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

5 years agognu: linux-libre@4.14: Update to 4.14.119.
Mark H Weaver [Wed, 15 May 2019 22:55:33 +0000 (18:55 -0400)]
gnu: linux-libre@4.14: Update to 4.14.119.

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

5 years agognu: linux-libre@4.9: Update to 4.9.176.
Mark H Weaver [Wed, 15 May 2019 22:54:44 +0000 (18:54 -0400)]
gnu: linux-libre@4.9: Update to 4.9.176.

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

5 years agognu: python-jedi: Update to 0.13.3.
Maxim Cournoyer [Wed, 15 May 2019 19:13:58 +0000 (15:13 -0400)]
gnu: python-jedi: Update to 0.13.3.

* gnu/packages/python-xyz.scm (python-jedi): Update to 0.13.3.
(python2-jedi): Enable tests.

5 years agognu: elixir: Update to 1.8.2.
Tobias Geerinckx-Rice [Wed, 15 May 2019 19:23:27 +0000 (21:23 +0200)]
gnu: elixir: Update to 1.8.2.

* gnu/packages/elixir.scm (elixir): Update to 1.8.2.

5 years agognu: perl-data-page: Update to 2.03.
Tobias Geerinckx-Rice [Wed, 15 May 2019 19:23:23 +0000 (21:23 +0200)]
gnu: perl-data-page: Update to 2.03.

* gnu/packages/perl.scm (perl-data-page): Update to 2.03.

5 years agognu: perl-text-csv: Update to 2.00.
Tobias Geerinckx-Rice [Wed, 15 May 2019 19:15:01 +0000 (21:15 +0200)]
gnu: perl-text-csv: Update to 2.00.

* gnu/packages/perl.scm (perl-text-csv): Update to 2.00.

5 years agognu: ubridge: Don't use unstable tarball.
Tobias Geerinckx-Rice [Wed, 15 May 2019 18:53:27 +0000 (20:53 +0200)]
gnu: ubridge: Don't use unstable tarball.

* gnu/packages/networking.scm (ubridge)[source]: Use GIT-FETCH and
GIT-FILE-NAME.

5 years agognu: ubridge: Update to 0.9.15.
Tobias Geerinckx-Rice [Wed, 15 May 2019 18:40:49 +0000 (20:40 +0200)]
gnu: ubridge: Update to 0.9.15.

* gnu/packages/networking.scm (ubridge): Update to 0.9.15.

5 years agognu: perl-time-duration: Update to 1.21.
Tobias Geerinckx-Rice [Wed, 15 May 2019 18:31:39 +0000 (20:31 +0200)]
gnu: perl-time-duration: Update to 1.21.

* gnu/packages/perl.scm (perl-time-duration): Update to 1.21.

5 years agognu: python-django-rq: Update to 1.3.1.
Tobias Geerinckx-Rice [Tue, 14 May 2019 23:08:51 +0000 (01:08 +0200)]
gnu: python-django-rq: Update to 1.3.1.

* gnu/packages/django.scm (python-django-rq): Update to 1.3.1.

5 years agovm: 'system-docker-image' provides an entry point.
Ludovic Courtès [Sun, 12 May 2019 10:21:48 +0000 (12:21 +0200)]
vm: 'system-docker-image' provides an entry point.

This simplifies use of images created with 'guix system docker-image'.

* gnu/system/vm.scm (system-docker-image)[boot-program]: New variable.
[os]: Add it to the GC roots.
[build]: Pass #:entry-point to 'build-docker-image'.
* gnu/tests/docker.scm (run-docker-system-test): New procedure.
(%test-docker-system): New variable.
* doc/guix.texi (Invoking guix system): Remove GUIX_NEW_SYSTEM hack and
'--entrypoint' from the example.  Mention 'docker create', 'docker
start', and 'docker exec'.

5 years agodocker: 'build-docker-image' accepts an optional #:entry-point.
Ludovic Courtès [Fri, 10 May 2019 20:32:10 +0000 (22:32 +0200)]
docker: 'build-docker-image' accepts an optional #:entry-point.

* guix/docker.scm (config): Add #:entry-point and honor it.
(build-docker-image): Likewise.

5 years agosystem: Add 'operating-system-with-gc-roots'.
Ludovic Courtès [Fri, 10 May 2019 20:29:10 +0000 (22:29 +0200)]
system: Add 'operating-system-with-gc-roots'.

* gnu/tests/install.scm (operating-system-with-gc-roots): Move to...
* gnu/system.scm (operating-system-with-gc-roots): ... here.  New
procedure.

5 years agolinux-container: Compute essential services for THIS-OPERATING-SYSTEM.
Ludovic Courtès [Fri, 10 May 2019 20:07:55 +0000 (22:07 +0200)]
linux-container: Compute essential services for THIS-OPERATING-SYSTEM.

Previously, the 'essential-services' would correspond to the initial,
non-containerized OS.  Thus, all the file systems removed in
'container-essential-services' would actually still be there because the
essential services would be computed on the non-containerized OS.

This is a followup to 69cae3d3356a69b7fe69481338f760545995485e.

* gnu/system/linux-container.scm (container-essential-services): Call
'operating-system-default-essential-services' to get the baseline
services.
(containerized-operating-system): Pass THIS-OPERATING-SYSTEM, not OS, to
'container-essential-services'.
Add a dummy root file system to 'file-systems'.
(container-script)[mountable-file-system?]: New procedure.
Use it.

5 years agolinux-container: Do not add %CONTAINER-FILE-SYSTEMS to Docker image OSes.
Ludovic Courtès [Fri, 10 May 2019 16:16:45 +0000 (18:16 +0200)]
linux-container: Do not add %CONTAINER-FILE-SYSTEMS to Docker image OSes.

Previously, 'guix system docker-image' would end up providing an OS that
would try to mount all of %CONTAINER-FILE-SYSTEMS as well as /gnu/store,
which is bound to fail in unprivileged Docker.

This patch makes it so that 'guix system container' still gets those
file systems, but 'guix system docker-image' doesn't.

* gnu/system/linux-container.scm (containerized-operating-system): Add
 #:extra-file-systems parameter and honor it.  Do not include
 %STORE-MAPPING and SHARED-NETWORK-FILE-MAPPINGS.
(container-script): Add %STORE-MAPPING and optionally NETWORK-MAPPINGS
to MAPPINGS and pass #:extra-file-systems.

5 years agonls: Update 'zh_CN' translation.
Ludovic Courtès [Wed, 15 May 2019 13:26:00 +0000 (15:26 +0200)]
nls: Update 'zh_CN' translation.

5 years agodoc: Mention ModemManager.
Florian Pelz [Mon, 13 May 2019 20:51:28 +0000 (22:51 +0200)]
doc: Mention ModemManager.

* doc/guix.texi (Desktop Services): Mention ModemManager here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agoinstaller: Rename 'auto-partition' to 'auto-partition!'.
Ludovic Courtès [Wed, 15 May 2019 12:33:23 +0000 (14:33 +0200)]
installer: Rename 'auto-partition' to 'auto-partition!'.

This is a followup to 7d567af46b4e10ffafb1d0f76b524f5781460598.

* gnu/installer/parted.scm (create-adjacent-partitions): Rename to...
(create-adjacent-partitions!): ... this.  Make private.
(auto-partition): Rename to...
(auto-partition!): ... this.
* gnu/installer/newt/partition.scm (run-partioning-page): Adjust
accordingly.

5 years agognu: Add python-pylzma.
Danny Milosavljevic [Wed, 15 May 2019 13:12:13 +0000 (15:12 +0200)]
gnu: Add python-pylzma.

* gnu/packages/python-xyz.scm (python-pylzma): New variable.
(python2-pylzma): New variable.

5 years agotests: Skip unreliable "herd invalidate nscd" test.
Ludovic Courtès [Wed, 15 May 2019 10:14:58 +0000 (12:14 +0200)]
tests: Skip unreliable "herd invalidate nscd" test.

* gnu/tests/base.scm (run-basic-test)["nscd invalidate action, wrong
table"]: Skip unconditionally.

5 years agotests: 'getlogin' test creates its file atomically.
Ludovic Courtès [Wed, 15 May 2019 10:09:48 +0000 (12:09 +0200)]
tests: 'getlogin' test creates its file atomically.

Previously we could end up reading an empty /root/login-id file.

* gnu/tests/base.scm (run-basic-test)["getlogin on tty1"]: Create
/root/login-id atomically.

5 years agomarionette: Add braces to the keystrokes.
Ludovic Courtès [Wed, 15 May 2019 10:06:34 +0000 (12:06 +0200)]
marionette: Add braces to the keystrokes.

* gnu/build/marionette.scm (%qwerty-us-keystrokes): Add braces.

5 years agoinstaller: Mount ESP once only.
Ludovic Courtès [Tue, 14 May 2019 22:47:18 +0000 (00:47 +0200)]
installer: Mount ESP once only.

Fixes <https://bugs.gnu.org/35731>.

* gnu/installer/newt/partition.scm (run-partioning-page)[run-page]:
Introduce 'initial-partitions' variable.  Previously we'd call
'disk-partitions' after 'auto-partition' had done its job of creating
new partitions, and thus its result would contain the just-created
partitions.  Consequently, 'create-special-user-partitions' would return
the ESP partition we just created, and thus it would appear twice in the
list.

5 years agoservices: Include ModemManager in %desktop-services.
Florian Pelz [Mon, 13 May 2019 20:51:28 +0000 (22:51 +0200)]
services: Include ModemManager in %desktop-services.

* gnu/services/desktop.scm (%desktop-services): Add modem-manager-service-type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agoimport: github: Sort releases before picking the latest one.
Arun Isaac [Tue, 14 May 2019 10:16:19 +0000 (15:46 +0530)]
import: github: Sort releases before picking the latest one.

* guix/import/github.scm (latest-released-version): Sort releases before
picking the first one as the latest.

5 years agoimport: github: Improve readability.
Arun Isaac [Tue, 14 May 2019 10:14:46 +0000 (15:44 +0530)]
import: github: Improve readability.

* guix/import/github.scm (latest-released-version)[release->version]: Separate
out release->version as a new function.

5 years agognu: Update copyright line.
Gábor Boskovits [Wed, 15 May 2019 07:52:17 +0000 (09:52 +0200)]
gnu: Update copyright line.

* gnu/services/monitoring.scm: Update copyright line.

5 years agoinstaller: Increase backtrace verbosity.
Mathieu Othacehe [Tue, 14 May 2019 12:05:36 +0000 (14:05 +0200)]
installer: Increase backtrace verbosity.

* gnu/installer.scm (installer-program): Set terminal-width to 200 to
make guile backtraces more verbose.

5 years agognu: Remove python2-httpretty.
Marius Bakke [Tue, 14 May 2019 14:07:20 +0000 (16:07 +0200)]
gnu: Remove python2-httpretty.

This package is severely out of date compared to its Python 3 counterpart and
difficult to upgrade.  Since it has no dependents in Guix and Python 2 is
officially deprecated by the end of this year, just remove it.

* gnu/packages/web.scm (python2-httpretty): Remove variable.

5 years agognu: vigra, notmuch: Use the Python3 Sphinx variant.
Marius Bakke [Tue, 14 May 2019 14:06:25 +0000 (16:06 +0200)]
gnu: vigra, notmuch: Use the Python3 Sphinx variant.

* gnu/packages/image.scm (vigra)[native-inputs]: Change PYTHON2-SPHINX to
PYTHON-SPHINX.
* gnu/packages/mail.scm (notmuch)[native-inputs]: Likewise.

5 years agognu: tbb: Add a source file name.
Marius Bakke [Tue, 14 May 2019 13:44:18 +0000 (15:44 +0200)]
gnu: tbb: Add a source file name.

* gnu/packages/tbb.scm (tbb)[source](file-name): New field.

5 years agognu: tbb: Update to 2019_U6.
Marius Bakke [Tue, 14 May 2019 13:43:44 +0000 (15:43 +0200)]
gnu: tbb: Update to 2019_U6.

* gnu/packages/tbb.scm (tbb): Update to 2019_U6.

5 years agognu: samba: Update to 4.10.3.
Marius Bakke [Tue, 14 May 2019 13:39:14 +0000 (15:39 +0200)]
gnu: samba: Update to 4.10.3.

* gnu/packages/samba.scm (samba): Update to 4.10.3.

5 years agognu: oniguruma: Update to 6.9.2.
Marius Bakke [Tue, 14 May 2019 13:37:05 +0000 (15:37 +0200)]
gnu: oniguruma: Update to 6.9.2.

* gnu/packages/textutils.scm (oniguruma): Update to 6.9.2.

5 years agognu: Add ocaml-odoc.
gabrielhdt [Sat, 4 May 2019 12:53:58 +0000 (14:53 +0200)]
gnu: Add ocaml-odoc.

* gnu/packages/ocaml.scm (ocaml-odoc): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-bisect-ppx.
gabrielhdt [Sat, 4 May 2019 12:48:38 +0000 (14:48 +0200)]
gnu: Add ocaml-bisect-ppx.

* gnu/packages/ocaml.scm (ocaml-bisect-ppx): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-tyxml.
gabrielhdt [Sat, 4 May 2019 12:47:13 +0000 (14:47 +0200)]
gnu: Add ocaml-tyxml.

* gnu/packages/ocaml.scm (ocaml-tyxml): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: Add ocaml-markup.
gabrielhdt [Sat, 4 May 2019 12:34:05 +0000 (14:34 +0200)]
gnu: Add ocaml-markup.

* gnu/packages/ocaml.scm (ocaml-markup): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
5 years agognu: python-requests-oauthlib: Fix building.
Julien Lepiller [Tue, 14 May 2019 19:18:53 +0000 (21:18 +0200)]
gnu: python-requests-oauthlib: Fix building.

* gnu/packages/python-web.scm (python-requests-oauthlib)[native-inputs]:
Add python-pyjwt for tests.

5 years agognu: certbot, python-acme: Update to 0.34.2.
Leo Famulari [Tue, 14 May 2019 19:02:17 +0000 (15:02 -0400)]
gnu: certbot, python-acme: Update to 0.34.2.

* gnu/packages/tls.scm (certbot, python-acme): Update to 0.34.2.

5 years agognu: ocaml-base64: Update to 3.2.0.
Julien Lepiller [Tue, 14 May 2019 19:02:23 +0000 (21:02 +0200)]
gnu: ocaml-base64: Update to 3.2.0.

* gnu/packages/ocaml.scm (ocaml-base64): Update to 3.2.0.
[origin]: Use git-fetch.
(ocaml-piqilib)[origin]: Add a patch to fix building with new
versions of ocaml-base64.
* gnu/packages/patches/ocaml-piqilib-Update-base64.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

5 years agognu: ocaml-tsdl: Update to 0.9.6.
Julien Lepiller [Tue, 14 May 2019 18:39:53 +0000 (20:39 +0200)]
gnu: ocaml-tsdl: Update to 0.9.6.

* gnu/packages/ocaml.scm (ocaml-tsdl): Update to 0.9.6.

5 years agognu: ocaml-ocb-stubblr: Fix build failures using it.
Julien Lepiller [Tue, 14 May 2019 18:37:05 +0000 (20:37 +0200)]
gnu: ocaml-ocb-stubblr: Fix build failures using it.

* gnu/packages/ocaml.scm (ocaml-ocb-stubblr)[arguments]: Add a phase to
fix guix-specific issues.

5 years agognu: ocaml-sqlite3: Update to 4.4.1.
Julien Lepiller [Tue, 14 May 2019 18:27:53 +0000 (20:27 +0200)]
gnu: ocaml-sqlite3: Update to 4.4.1.

* gnu/packages/ocaml.scm (ocaml-sqlite3): Update to 4.4.1.
[origin]: Use git-fetch.

5 years agognu: dune: Update to 1.9.3.
Julien Lepiller [Tue, 14 May 2019 17:35:11 +0000 (19:35 +0200)]
gnu: dune: Update to 1.9.3.

* gnu/packages/ocaml.scm (dune): Update to 1.9.3.

5 years agoinstaller: Add fat16.
Danny Milosavljevic [Tue, 14 May 2019 15:46:45 +0000 (17:46 +0200)]
installer: Add fat16.

* gnu/installer/newt/partition.scm (run-fs-type-page): Add fat16.

5 years agoinstaller: Add btrfs-progs to PATH.
Danny Milosavljevic [Tue, 14 May 2019 15:31:09 +0000 (17:31 +0200)]
installer: Add btrfs-progs to PATH.

* gnu/installer.scm (installer-program): Add btrfs-progs to PATH.

5 years agoinstaller: Reflow run-file-textbox-page text.
Mathieu Othacehe [Sat, 4 May 2019 09:43:28 +0000 (11:43 +0200)]
installer: Reflow run-file-textbox-page text.

* gnu/installer/newt/page.scm (run-file-textbox-page): Reflow text.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
5 years agoinstaller: Fix docstring.
Danny Milosavljevic [Tue, 14 May 2019 15:11:23 +0000 (17:11 +0200)]
installer: Fix docstring.

* gnu/installer/parted.scm (create-fat32-file-system): Fix docstring.

5 years agoinstaller: Add fat16.
Danny Milosavljevic [Mon, 13 May 2019 23:29:30 +0000 (01:29 +0200)]
installer: Add fat16.

* gnu/installer/parted.scm (user-fs-type-name): Add fat16.
(user-fs-type->mount-type): Add fat16.
(create-fat16-file-system): New procedure.
(format-user-partitions): Use it.

5 years agognu: Add ataqv.
Ricardo Wurmus [Tue, 14 May 2019 14:13:26 +0000 (16:13 +0200)]
gnu: Add ataqv.

* gnu/packages/bioinformatics.scm (ataqv): New variable.

5 years agognu: burp: Update to 2.3.6.
Björn Höfling [Tue, 14 May 2019 12:19:19 +0000 (14:19 +0200)]
gnu: burp: Update to 2.3.6.

* gnu/packages/backup.scm (burp):  Update to 2.3.6.

5 years agognu: anthy: Update source URI.
Björn Höfling [Tue, 14 May 2019 11:30:13 +0000 (13:30 +0200)]
gnu: anthy: Update source URI.

* gnu/packages/anthy (anthy)[source]: Update URI.

5 years agognu: jnettop: Use archived source and homepage.
Björn Höfling [Tue, 14 May 2019 10:34:57 +0000 (12:34 +0200)]
gnu: jnettop: Use archived source and homepage.

* gnu/packages/admin.scm (jnettop)[source,home-page]:
Use archive.org mirror.

5 years agognu: xdot: Update to 1.1.
Björn Höfling [Tue, 14 May 2019 10:24:34 +0000 (12:24 +0200)]
gnu: xdot: Update to 1.1.

* gnu/packages/graphviz.scm (xdot): Update to 1.1.

5 years agognu: font-hermit: Download as 'url-fetch/tarbomb'.
Efraim Flashner [Tue, 14 May 2019 11:47:44 +0000 (14:47 +0300)]
gnu: font-hermit: Download as 'url-fetch/tarbomb'.

* gnu/packages/fonts.scm (font-hermit)[source]: Use 'url-fetch/tarbomb'
method.
[arguments]: Remove custom phases.

5 years agoguix build: Gracefully handle invalid '--with-git-url' specs.
Ludovic Courtès [Tue, 14 May 2019 10:08:03 +0000 (12:08 +0200)]
guix build: Gracefully handle invalid '--with-git-url' specs.

* guix/scripts/build.scm (transform-package-source-git-url): Add case
for when 'string-split' does not return exactly two elements.

5 years agognu: Add emacs-evil-cleverparens
LaFreniere, Joseph [Sun, 12 May 2019 15:46:40 +0000 (10:46 -0500)]
gnu: Add emacs-evil-cleverparens

* gnu/packages/emacs-xyz.scm (emacs-evil-cleverparens): New
  variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agoinstaller: Allow for arbitrary long passphrases and passwords.
Ludovic Courtès [Tue, 14 May 2019 09:57:55 +0000 (11:57 +0200)]
installer: Allow for arbitrary long passphrases and passwords.

Fixes <https://bugs.gnu.org/35716>.
Reported by sirmacik <sirmacik@wioo.waw.pl>.

* gnu/installer/newt/page.scm (run-input-page): Add FLAG-SCROLL to
INPUT-FLAGS*.
* gnu/installer/newt/user.scm (run-user-add-page): Add FLAG-SCROLL to
ENTRY-PASSWORD.

5 years agognu: Add font-hermit
Zzull [Sun, 12 May 2019 22:37:39 +0000 (00:37 +0200)]
gnu: Add font-hermit

* gnu/packages/fonts.scm (font-hermit): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
5 years agognu: munge: Pass '--localstatedir=/var'.
Ludovic Courtès [Tue, 14 May 2019 09:42:17 +0000 (11:42 +0200)]
gnu: munge: Pass '--localstatedir=/var'.

Previously, Munge users such as Slurm would fail with:

  squeue: error: Munge encode failed: Failed to access "/gnu/store/…-munge-0.5.13/var/run/munge/munge.socket.2": No such file or directory
  squeue: error: authentication: Socket communication error

* gnu/packages/admin.scm (munge)[source](modules, snippet): New fields.
[arguments]: New field.

5 years agoservices: Add 'network-manager-applet' to %DESKTOP-SERVICES.
Ludovic Courtès [Tue, 14 May 2019 08:36:49 +0000 (10:36 +0200)]
services: Add 'network-manager-applet' to %DESKTOP-SERVICES.

Fixes <https://bugs.gnu.org/35554>.
Reported by Calle Kabo <calle@kabo.nu>.

* gnu/services/desktop.scm (%desktop-services): Add
'network-manager-applet' service.

5 years agognu: hdf5: Add dependency on Perl.
Ludovic Courtès [Fri, 10 May 2019 09:28:15 +0000 (11:28 +0200)]
gnu: hdf5: Add dependency on Perl.

* gnu/packages/maths.scm (hdf5)[native-inputs]: Add PERL.

5 years agognu: hdf5: Build a thread-safe library.
Ludovic Courtès [Fri, 10 May 2019 09:19:44 +0000 (11:19 +0200)]
gnu: hdf5: Build a thread-safe library.

* gnu/packages/maths.scm (hdf5)[arguments]: Pass "--enable-threadsafe
--with-pthread --enable-unsupported".

5 years agognu: uncrustify: Update to 0.69.0.
Pierre Neidhardt [Tue, 14 May 2019 09:47:08 +0000 (11:47 +0200)]
gnu: uncrustify: Update to 0.69.0.

* gnu/packages/code.scm (uncrustify): Update to 0.69.0.

5 years agovm: Auto-detect if inputs should be registered.
Maxim Cournoyer [Tue, 16 Apr 2019 21:15:02 +0000 (17:15 -0400)]
vm: Auto-detect if inputs should be registered.

The default value of the argument REGISTER-CLOSURE? of the ISO9660-IMAGE,
QEMU-IMAGE and SYSTEM-DOCKER-IMAGE procedures can be computed automatically,
since the operating-system definition is available in its context.  When the
operating-system definition does not contain the GUIX-SERVICE-TYPE, do not
register the closure in the database of Guix, as it takes time and doesn't
serve a purpose.

* gnu/system/vm.scm (has-guix-service-type): Add predicate.
(iso9660-image)[register-closures?]: Use it to compute the argument's default
value.
(qemu-image)[register-closures?]: Likewise, and update docstring.
(system-docker-image)[register-closures?]: Likewise.
(system-disk-image): Do not explicit a value for the REGISTER-CLOSURES?
argument of the ISO9660-IMAGE and QEMU-IMAGE procedure calls, so that its
default value is used instead.
* guix/scripts/system.scm (system-derivation-for-action): Do not explicit a
value for the REGISTER-CLOSURES? argument of the SYSTEM-DOCKER-IMAGE
procedure call, so that its default value is used instead.

5 years agognu: cqfd: Update to 5.1.0.
Maxim Cournoyer [Tue, 14 May 2019 01:49:15 +0000 (21:49 -0400)]
gnu: cqfd: Update to 5.1.0.

* gnu/packages/docker.scm (cqfd): Update to 5.1.0.
[description]: Fix typo.

5 years agoinstaller: Create btrfs file system.
Danny Milosavljevic [Thu, 9 May 2019 17:45:37 +0000 (19:45 +0200)]
installer: Create btrfs file system.

Fixes <https://bugs.gnu.org/35655>.

* gnu/installer/parted.scm (create-btrfs-file-system): New procedure.
(format-user-partitions): Use it.

5 years agoSet 'LC_ALL=en_US.utf8' in systemd '.service' files.
Ludovic Courtès [Mon, 13 May 2019 21:42:09 +0000 (23:42 +0200)]
Set 'LC_ALL=en_US.utf8' in systemd '.service' files.

Fixes <https://bugs.gnu.org/35671>.

* etc/guix-daemon.service.in (Environment): Quote the 'GUIX_LOCPATH'
value; add 'LC_ALL'.
* etc/guix-publish.service.in (Environment): Likewise.

5 years agoinstaller: Use 'glibc-supported-locales'.
Ludovic Courtès [Mon, 13 May 2019 21:30:51 +0000 (23:30 +0200)]
installer: Use 'glibc-supported-locales'.

The list of locales supported by glibc is now built from source.

* gnu/installer/locale.scm (locale-string->locale): Add optional
'codeset' parameter and honor it.
(supported-locales->locales): Rewrite to 'read' from SUPPORTED-LOCALES.
* gnu/installer.scm (compute-locale-step): Pass the result of
'glibc-supported-locales' instead of the "aux-files/SUPPORTED" file.
* gnu/installer/aux-files/SUPPORTED: Remove.
* gnu/local.mk (dist_installer_DATA): Remove it.

5 years agolocale: Add 'glibc-supported-locales'.
Ludovic Courtès [Mon, 13 May 2019 21:28:32 +0000 (23:28 +0200)]
locale: Add 'glibc-supported-locales'.

* gnu/system/locale.scm (glibc-supported-locales): New procedure.

5 years agolinux-container: Support container network sharing.
Arun Isaac [Fri, 10 May 2019 11:26:16 +0000 (16:56 +0530)]
linux-container: Support container network sharing.

* gnu/system/linux-container.scm (container-essential-services): If network is
to be shared with the host, remove network configuration files from etc
service.
(containerized-operating-system): If network is to be shared with the host,
remove nscd service and map host's /var/run/nscd if it exists.
(container-script): If network is to be shared with the host, do not create
network namespace.
* guix/scripts/system.scm (system-derivation-for-action): Add
#:container-shared-network? argument.
(perform-action): Add #:container-shared-network? argument.
(show-help): Add "-N, --network" help information.
(%options): Add network option.
(process-action): Call perform-action with #container-shared-network? argument.
* doc/guix.texi (Invoking guix system): Document the "-N, --network" option.

Co-authored-by: Christopher Baines <mail@cbaines.net>
5 years agognu: Add harmonist.
Julien Lepiller [Mon, 13 May 2019 21:11:11 +0000 (23:11 +0200)]
gnu: Add harmonist.

gnu/packages/games.scm (harmonist): New variable.

5 years agognu: go-github.com-nsf-termbox-go: Update to 0.0.0-1.288510b.
Julien Lepiller [Mon, 13 May 2019 21:06:19 +0000 (23:06 +0200)]
gnu: go-github.com-nsf-termbox-go: Update to 0.0.0-1.288510b.

* gnu/packages/terminals.scm (go-github.com-nsf-termbox-go): Update to
0.0.0-1.288510b.

5 years agonls: Update 'fr' translation.
Julien Lepiller [Mon, 13 May 2019 20:44:22 +0000 (22:44 +0200)]
nls: Update 'fr' translation.

5 years agotests: Fix guix-package.sh.
Maxim Cournoyer [Mon, 13 May 2019 14:54:13 +0000 (10:54 -0400)]
tests: Fix guix-package.sh.

GCC is now a hidden package, so cannot be installed.

* tests/guix-package.sh: Replace 'gcc' by 'zile' in a test that install
multiple packages.

5 years agodownload: Support 'https_proxy'.
宋文武 [Fri, 10 May 2019 13:27:40 +0000 (21:27 +0800)]
download: Support 'https_proxy'.

* guix/build/download.scm (setup-http-tunnel): New procedure.
(open-connection-for-uri): Honor the 'https_proxy' environment variable.

5 years agoservices: prometheus-node-exporter add default.
Gábor Boskovits [Mon, 13 May 2019 12:53:51 +0000 (14:53 +0200)]
services: prometheus-node-exporter add default.

* gnu/services/monitoring.scm (prometheus-node-exporter-service-type):
Add default-value with default configuration.

5 years agognu: exiv2: Use HTTPS URLs.
Marius Bakke [Mon, 13 May 2019 11:59:51 +0000 (13:59 +0200)]
gnu: exiv2: Use HTTPS URLs.

* gnu/packages/image.scm (exiv2)[source, home-page]: Use HTTPS.

5 years agognu: gpscorrelate: Update home page.
Marius Bakke [Mon, 13 May 2019 11:58:43 +0000 (13:58 +0200)]
gnu: gpscorrelate: Update home page.

* gnu/packages/gps.scm (gpscorrelate)[source, home-page]: Update for new
maintainer, as noted on <https://github.com/freefoote/gpscorrelate>.

5 years agognu: hugin: Update to 2019.0.0.
Marius Bakke [Mon, 13 May 2019 11:58:05 +0000 (13:58 +0200)]
gnu: hugin: Update to 2019.0.0.

* gnu/packages/photo.scm (hugin): Update to 2019.0.0.

5 years agognu: Remove 'gcc-glibc-2.27' and 'gcc-glibc-2.26'.
Ludovic Courtès [Mon, 13 May 2019 09:36:11 +0000 (11:36 +0200)]
gnu: Remove 'gcc-glibc-2.27' and 'gcc-glibc-2.26'.

These top-level references to GCC could cause problems, such as:

  $ guix build -e '(@ (gnu packages gcc) gcc)' -n
  guix build: error: failed to evaluate expression '(@ (gnu packages gcc) gcc)':
  In procedure module-lookup: Unbound variable: gcc

Regression introduced in 3ed497d42a5af8756bd95c64f9f9bed4de5f6d3c.

* gnu/packages/base.scm (gcc-glibc-2.27, gcc-glibc-2.26): Remove.

5 years agonls: Update es translation.
Ludovic Courtès [Mon, 13 May 2019 08:55:35 +0000 (10:55 +0200)]
nls: Update es translation.

5 years agonls: Update de translation.
Ludovic Courtès [Mon, 13 May 2019 08:53:06 +0000 (10:53 +0200)]
nls: Update de translation.

5 years agoinstall: Add node name in Russian.
Ludovic Courtès [Mon, 13 May 2019 08:50:27 +0000 (10:50 +0200)]
install: Add node name in Russian.

* gnu/system/install.scm (%installation-node-names): Add "ru".

5 years agodoc: Mention the Russian translation.
Ludovic Courtès [Mon, 13 May 2019 08:47:52 +0000 (10:47 +0200)]
doc: Mention the Russian translation.

* doc/guix.texi (Top): Mention the Russian translation.