jackhill/guix/guix.git
7 years agognu: asciidoc: Use local docbook-xml package.
Kei Kebreau [Thu, 16 Mar 2017 05:37:42 +0000 (01:37 -0400)]
gnu: asciidoc: Use local docbook-xml package.

* gnu/packages/documentation.scm (asciidoc)[inputs]: Add docbook-xml.
[arguments]: Add 'make-local-docbook-xml' phase.

7 years agognu: Add knot.
Tobias Geerinckx-Rice [Thu, 16 Mar 2017 14:30:15 +0000 (15:30 +0100)]
gnu: Add knot.

* gnu/packages/dns.scm (knot): New variable.

7 years agognu: Add liburcu.
Tobias Geerinckx-Rice [Sun, 30 Oct 2016 15:32:22 +0000 (16:32 +0100)]
gnu: Add liburcu.

* gnu/packages/datastructures.scm (liburcu): New variable.

7 years agognu: dns: Fix typo and use @dfn in descriptions.
Tobias Geerinckx-Rice [Thu, 16 Mar 2017 15:08:42 +0000 (16:08 +0100)]
gnu: dns: Fix typo and use @dfn in descriptions.

* gnu/packages/dns.scm (bind)[description]: Use @dfn to expand acronyms.
(yadifa)[description]: Likewise, and fix a typo.

7 years agognu: linux-libre: Update to 4.10.3.
Leo Famulari [Thu, 16 Mar 2017 22:26:39 +0000 (18:26 -0400)]
gnu: linux-libre: Update to 4.10.3.

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

7 years agognu: linux-libre@4.4: Update to 4.4.54.
Leo Famulari [Thu, 16 Mar 2017 22:25:55 +0000 (18:25 -0400)]
gnu: linux-libre@4.4: Update to 4.4.54.

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

7 years agognu: linux-libre@4.9: Update to 4.9.15.
Leo Famulari [Thu, 16 Mar 2017 22:24:51 +0000 (18:24 -0400)]
gnu: linux-libre@4.9: Update to 4.9.15.

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

7 years agognu: qemu: Fix CVE-2017-{2620,2630}.
Leo Famulari [Thu, 16 Mar 2017 18:58:13 +0000 (14:58 -0400)]
gnu: qemu: Fix CVE-2017-{2620,2630}.

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

7 years agognu: virglrenderer: Fix CVE-2017-6386.
Leo Famulari [Thu, 16 Mar 2017 18:13:08 +0000 (14:13 -0400)]
gnu: virglrenderer: Fix CVE-2017-6386.

* gnu/packages/patches/virglrenderer-CVE-2017-6386.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/spice.scm (virglrenderer)[source]: Use it.

7 years agodoc: Reorganize categories.
Ludovic Courtès [Thu, 16 Mar 2017 22:03:40 +0000 (23:03 +0100)]
doc: Reorganize categories.

* doc/guix.texi: Move "guix build" to the "Software Development"
category; add "guix pack".

7 years agodoc: Mention 'guix pack' reproducibility.
Ludovic Courtès [Thu, 16 Mar 2017 21:59:33 +0000 (22:59 +0100)]
doc: Mention 'guix pack' reproducibility.

* doc/guix.texi (Invoking guix pack): Mention reproducibility.

7 years agopack: Allow for "-S /opt/foo=".
Ludovic Courtès [Thu, 16 Mar 2017 21:46:43 +0000 (22:46 +0100)]
pack: Allow for "-S /opt/foo=".

Reported by Andy Wingo.

* guix/scripts/pack.scm (%options): Use 'string-split' instead of
'string-tokenize'.

7 years agopack: Honor symlinks in the Docker back-end.
Ludovic Courtès [Thu, 16 Mar 2017 21:40:06 +0000 (22:40 +0100)]
pack: Honor symlinks in the Docker back-end.

* guix/docker.scm (symlink-source, topmost-component): New procedures.
(build-docker-image): Add #:symlinks parameter and honor it.  Remove
hard-coded /bin symlink.
* guix/scripts/pack.scm (docker-image): Pass #:symlinks to
'build-docker-image'.

7 years agodocker: Build images in a reproducible fashion.
Ludovic Courtès [Thu, 16 Mar 2017 20:56:10 +0000 (21:56 +0100)]
docker: Build images in a reproducible fashion.

* guix/docker.scm (%tar-determinism-options): New variable.
(build-docker-image): Use it on the two 'tar' invocations.

7 years agopack: Use a fixed timestamp in Docker images.
Ludovic Courtès [Thu, 16 Mar 2017 20:41:38 +0000 (21:41 +0100)]
pack: Use a fixed timestamp in Docker images.

* guix/docker.scm (build-docker-image): Add #:creation-time parameter.
Use SRFI-19 'date->string' instead of 'strftime' et al.
* guix/scripts/pack.scm (docker-image)[build]: Pass #:creation-time to
'build-docker-image'.

7 years agopack: Add '--format' option and Docker output support.
Ludovic Courtès [Thu, 16 Mar 2017 17:02:59 +0000 (18:02 +0100)]
pack: Add '--format' option and Docker output support.

* guix/docker.scm: Remove dependency on (guix store) and (guix utils).
Use (guix build store-copy).  Load (json) lazily.
(build-docker-image): Remove #:system.  Add #:closure, #:compressor, and
'image' parameters.  Use 'uname' to determine the architecture.  Remove
use of 'call-with-temporary-directory'.  Use 'read-reference-graph' to
compute ITEMS.  Honor #:compressor.
* guix/scripts/pack.scm (docker-image): New procedure.
(%default-options): Add 'format'.
(%formats): New variable.
(%options, show-help): Add '--format'.
(guix-pack): Honor '--format'.
* guix/scripts/archive.scm: Remove '--format' option.  This reverts
commits 1545a012cb7cd78e25ed99ecee26df457be590e9,
01445711db6771cea6122859c3f717f130359f55, and
03476a23ff2d4175b7d3c808726178f764359bec.
* doc/guix.texi (Invoking guix pack): Document '--format'.
(Invoking guix archive): Remove documentation of '--format'.

7 years agopack: Honor command-line options related to the store.
Ludovic Courtès [Thu, 16 Mar 2017 16:31:10 +0000 (17:31 +0100)]
pack: Honor command-line options related to the store.

* guix/scripts/pack.scm (guix-pack): Call
'set-build-options-from-command-line'.

7 years agomemoization: Micro-optimize code produced by 'define-cache-procedure'.
Ludovic Courtès [Thu, 16 Mar 2017 12:41:51 +0000 (13:41 +0100)]
memoization: Micro-optimize code produced by 'define-cache-procedure'.

* guix/memoization.scm (%nothing): Remove.
(define-cache-procedure): Make '%nothing' a local variable, with a
literal list.

7 years agoservices: connman: Rework service.
Mathieu Othacehe [Mon, 20 Feb 2017 15:25:44 +0000 (16:25 +0100)]
services: connman: Rework service.

* gnu/services/networking.scm (connman-service): Remove.
(<connman-configuration>): New record specifying the package
to be used (connman) and whether vpn plugin shall be
disabled (disable-vpn?).
(connman-configuration): New exported variable.
(connman-configuration?): New exported variable.
(connman-service-type): Export it.

* doc/guix.texi (Networking Services): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agogexp: Add '=>' syntax to import computed modules.
Ludovic Courtès [Wed, 15 Mar 2017 21:14:36 +0000 (22:14 +0100)]
gexp: Add '=>' syntax to import computed modules.

* guix/gexp.scm (imported-files)[file-pair]: Add case for pairs where
the cdr is not a string.
(imported-modules): Support '=>' syntax in MODULES.
* tests/gexp.scm ("imported-files with file-like objects")
("gexp->derivation & with-imported-module & computed module"): New tests.
* doc/guix.texi (G-Expressions): Document '=>' syntax for
'with-imported-modules'.

7 years agoutils: Move base16 procedures to (guix base16).
Ludovic Courtès [Wed, 15 Mar 2017 20:54:34 +0000 (21:54 +0100)]
utils: Move base16 procedures to (guix base16).

* guix/utils.scm (bytevector->base16-string, base16-string->bytevector):
Move to...
* guix/base16.scm: ... here.  New file.
* tests/utils.scm ("bytevector->base16-string->bytevector"): Move to...
* tests/base16.scm: ... here.  New file.
* Makefile.am (MODULES): Add guix/base16.scm.
(SCM_TESTS): Add tests/base16.scm.
* build-aux/download.scm, guix/derivations.scm,
guix/docker.scm, guix/import/snix.scm, guix/pk-crypto.scm,
guix/scripts/authenticate.scm, guix/scripts/download.scm,
guix/scripts/hash.scm, guix/store.scm, tests/hash.scm,
tests/pk-crypto.scm: Adjust imports accordingly.

7 years agognu: password-store: Fix compatibility with GnuPG 2.1.19.
Clément Lassieur [Wed, 15 Mar 2017 22:49:32 +0000 (23:49 +0100)]
gnu: password-store: Fix compatibility with GnuPG 2.1.19.

* gnu/packages/patches/password-store-gnupg-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/password-utils.scm (password-store)[source]: Use it.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
7 years agognu: Add r-seurat.
Raoul Jean Pierre Bonnal [Thu, 19 Jan 2017 18:55:30 +0000 (19:55 +0100)]
gnu: Add r-seurat.

* gnu/packages/bioinformatics.scm (r-seurat): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
7 years agognu: sra-tools: Update to 2.8.2-1.
Ricardo Wurmus [Thu, 16 Mar 2017 12:40:36 +0000 (13:40 +0100)]
gnu: sra-tools: Update to 2.8.2-1.

* gnu/packages/bioinformatics.scm (sra-tools): Update to 2.8.2-1.
[arguments]: Add DEFAULT_CRT and DEFAULT_KFG to make flags.

7 years agognu: ncbi-vdb: Install configuration files.
Ricardo Wurmus [Thu, 16 Mar 2017 12:39:53 +0000 (13:39 +0100)]
gnu: ncbi-vdb: Install configuration files.

* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Add phase
"install-configuration-files".

7 years agognu: ncbi-vdb: Override search path for java-ngs.
Ricardo Wurmus [Thu, 16 Mar 2017 12:38:39 +0000 (13:38 +0100)]
gnu: ncbi-vdb: Override search path for java-ngs.

* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Patch "package.prl"
to ensure that java-ngs is found by the configure script; remove configure
flag "--with-ngs-java-prefix".

7 years agognu: ncbi-vdb: Use modify-phases syntax.
Ricardo Wurmus [Thu, 16 Mar 2017 09:20:56 +0000 (10:20 +0100)]
gnu: ncbi-vdb: Use modify-phases syntax.

* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Use modify-phases
syntax.

7 years agognu: ncbi-vdb: Update to 2.8.2.
Ricardo Wurmus [Thu, 16 Mar 2017 09:19:25 +0000 (10:19 +0100)]
gnu: ncbi-vdb: Update to 2.8.2.

* gnu/packages/bioinformatics.scm (ncbi-vdb): Update to 2.8.2.

7 years agognu: ngs-sdk: Update to 1.3.0.
Ricardo Wurmus [Thu, 16 Mar 2017 09:18:48 +0000 (10:18 +0100)]
gnu: ngs-sdk: Update to 1.3.0.

* gnu/packages/bioinformatics.scm (ngs-sdk): Update to 1.3.0.

7 years agognu: Add pzstd.
Tobias Geerinckx-Rice [Mon, 20 Feb 2017 21:31:35 +0000 (22:31 +0100)]
gnu: Add pzstd.

* gnu/packages/compression.scm (pzstd): New variable.

7 years agognu: Add zstd.
Tobias Geerinckx-Rice [Sat, 5 Nov 2016 14:45:53 +0000 (15:45 +0100)]
gnu: Add zstd.

* gnu/packages/compression.scm (zstd): New variable.

7 years agognu: python-publicsuffix2: Update to 2.20160818.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 22:39:27 +0000 (23:39 +0100)]
gnu: python-publicsuffix2: Update to 2.20160818.

* gnu/packages/python.scm (python-publicsuffix2): Update to 2.20160818.

7 years agognu: awscli: Update to 1.11.63.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 22:38:24 +0000 (23:38 +0100)]
gnu: awscli: Update to 1.11.63.

* gnu/packages/python.scm (awscli): Update to 1.11.63.

7 years agognu: python-botocore: Update to 1.5.26.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 22:37:35 +0000 (23:37 +0100)]
gnu: python-botocore: Update to 1.5.26.

* gnu/packages/python.scm (python-botocore): Update to 1.5.26.

7 years agognu: python-ptyprocess: Update to 0.5.1.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 22:36:57 +0000 (23:36 +0100)]
gnu: python-ptyprocess: Update to 0.5.1.

* gnu/packages/python.scm (python-ptyprocess): Update to 0.5.1.

7 years agognu: Add prboom-plus.
Kei Kebreau [Thu, 16 Mar 2017 03:14:42 +0000 (23:14 -0400)]
gnu: Add prboom-plus.

* gnu/packages/games.scm (prboom-plus): New variable.

7 years agognu: Add tftp-hpa.
Gábor Boskovits [Wed, 15 Mar 2017 22:14:43 +0000 (18:14 -0400)]
gnu: Add tftp-hpa.

* gnu/packages/networking.scm (tftp-hpa): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: guile-next: Update to 2.2.0.
Andy Wingo [Wed, 15 Mar 2017 21:58:35 +0000 (22:58 +0100)]
gnu: guile-next: Update to 2.2.0.

* gnu/packages/guile.scm (guile-next): Update to 2.2.0.

7 years agognu: profanity: Make the source URL version-agnostic.
Leo Famulari [Wed, 15 Mar 2017 21:18:47 +0000 (17:18 -0400)]
gnu: profanity: Make the source URL version-agnostic.

* gnu/packages/messaging.scm (profanity)[source]: Use (version) in the source
URL.

7 years agognu: units: Update to 2.14.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 20:58:59 +0000 (21:58 +0100)]
gnu: units: Update to 2.14.

* gnu/packages/maths.scm (units): Update to 2.14.

7 years agognu: no-more-secrets: Update to 0.3.2.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 20:09:19 +0000 (21:09 +0100)]
gnu: no-more-secrets: Update to 0.3.2.

* gnu/packages/games.scm (no-more-secrets): Update to 0.3.2.

7 years agognu: mailutils: Update to 3.2.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 20:57:58 +0000 (21:57 +0100)]
gnu: mailutils: Update to 3.2.

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

7 years agognu: Use INSTALL-FILE where appropriate.
Tobias Geerinckx-Rice [Mon, 13 Mar 2017 15:19:06 +0000 (16:19 +0100)]
gnu: Use INSTALL-FILE where appropriate.

* gnu/packages/admin.scm (wpa-supplicant-minimal): Substitute the simpler
INSTALL-FILE for COPY-FILE when invoked with redundant arguments.
* gnu/packages/bioinformatics.scm (couger, aragorn, express-beta-diversity,
edirect, fasttree, rsem, samtools-0.1): Likewise.
* gnu/packages/code.scm (withershins): Likewise.
* gnu/packages/conky.scm (conky): Likewise.
* gnu/packages/debug.scm (delta, american-fuzzy-lop): Likewise.
* gnu/packages/emacs.scm (emacs-mit-scheme-doc): Likewise.
* gnu/packages/engineering.scm (librecad): Likewise.

7 years agognu: cryptsetup: Update to 1.7.4.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 18:50:40 +0000 (19:50 +0100)]
gnu: cryptsetup: Update to 1.7.4.

* gnu/packages/cryptsetup.scm (cryptsetup): Update to 1.7.4.

7 years agognu: man-pages: Update to 4.10.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 15:04:06 +0000 (16:04 +0100)]
gnu: man-pages: Update to 4.10.

* gnu/packages/man.scm (man-pages): Update to 4.10.
[home-page]: Use HTTPS.

7 years agognu: Add profanity.
Mekeor Melire [Thu, 2 Mar 2017 22:31:50 +0000 (23:31 +0100)]
gnu: Add profanity.

* gnu/packages/messaging.scm (profanity): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add libstrophe.
Mekeor Melire [Thu, 2 Mar 2017 22:31:09 +0000 (23:31 +0100)]
gnu: Add libstrophe.

* gnu/packages/messaging.scm (libstrophe): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add libmesode.
Mekeor Melire [Thu, 2 Mar 2017 22:30:18 +0000 (23:30 +0100)]
gnu: Add libmesode.

* gnu/packages/messaging.scm (libmesode): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: bitcoin-core: Update to 0.14.0.
Leo Famulari [Wed, 15 Mar 2017 02:09:33 +0000 (22:09 -0400)]
gnu: bitcoin-core: Update to 0.14.0.

* gnu/packages/finance.scm (bitcoin-core): Update to 0.14.0.

7 years agobuild: Prefer Guile 2.2 over 2.0.
Ludovic Courtès [Wed, 15 Mar 2017 14:18:39 +0000 (15:18 +0100)]
build: Prefer Guile 2.2 over 2.0.

* configure.ac: In 'GUILE_PKG', prefer 2.2 over 2.0.  Remove warning
about 2.2 not being fully supported.
* doc/guix.texi (Requirements): Mention Guile 2.2.x.

7 years agotests: Expect less accurate location info in 2.2.0.
Ludovic Courtès [Wed, 15 Mar 2017 14:08:39 +0000 (15:08 +0100)]
tests: Expect less accurate location info in 2.2.0.

* tests/guix-system.sh: Work around inaccurate location info in 2.2.0.

7 years agostore: Adjust UTF-8 test to Guile 2.2.
Ludovic Courtès [Wed, 15 Mar 2017 12:54:29 +0000 (13:54 +0100)]
store: Adjust UTF-8 test to Guile 2.2.

* tests/store.scm ("current-build-output-port, UTF-8 + garbage"): On
Guile 2.2, expect REPLACEMENT CHARACTER instead of '?'.

7 years agosyscalls: Adjust 'clone' to Guile 2.2.
Ludovic Courtès [Wed, 15 Mar 2017 12:41:18 +0000 (13:41 +0100)]
syscalls: Adjust 'clone' to Guile 2.2.

Before that, something like:

  (call-with-container
    (lambda ()
      (match (primitive-fork)
        …)))

would hang in 'primitive-fork' as the child process (the one started in
the container) would try to pthread_join the finalization thread in
'stop_finalization_thread' in libguile, not knowing that this thread is
nonexistent.

* guix/build/syscalls.scm (%set-automatic-finalization-enabled?!): New
procedure.
(without-automatic-finalization): New macro.
(clone): Wrap PROC call in 'without-automatic-finalization'.

7 years agozlib: Don't rely on EBADF being ignored by 'fport_close'.
Ludovic Courtès [Wed, 15 Mar 2017 09:40:51 +0000 (10:40 +0100)]
zlib: Don't rely on EBADF being ignored by 'fport_close'.

In 2.2, 'fport_close' no longer swallows EBADF and instead raises a
'system-error' for this.  This commit adjusts for 2.2.

* guix/zlib.scm (close-procedure): Remove.
(make-gzip-input-port): Use 'port->fdes' instead of 'fileno'.
Use 'gzclose' instead of 'close-procedure'.
(make-gzip-output-port): Likewise.
* tests/zlib.scm ("compression/decompression pipe"): Don't check whether
PARENT is closed using 'port-closed?'.  Instead, use 'seek' on the
underlying FD and check for EBADF.

7 years agomaint: Mention guix-patches@gnu.org in 'HACKING'.
Ludovic Courtès [Wed, 15 Mar 2017 08:27:34 +0000 (09:27 +0100)]
maint: Mention guix-patches@gnu.org in 'HACKING'.

Fixes <http://bugs.gnu.org/25899>.

* HACKING: Mention guix-patches@gnu.org.

7 years agognu: mariadb: Update to 10.1.22 [fixes CVE-2017-3302 and CVE-2017-3313].
Marius Bakke [Wed, 15 Mar 2017 14:04:07 +0000 (15:04 +0100)]
gnu: mariadb: Update to 10.1.22 [fixes CVE-2017-3302 and CVE-2017-3313].

* gnu/packages/databases.scm (mariadb): Update to 10.1.22.

7 years agognu: python-waf: Update to 1.9.8.
Efraim Flashner [Tue, 14 Mar 2017 19:55:58 +0000 (21:55 +0200)]
gnu: python-waf: Update to 1.9.8.

* gnu/packages/python.scm (python-waf, python2-waf): Update to 1.9.8.
[home-page]: Use https.

7 years agognu: direnv: Update to 2.11.3.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 02:30:17 +0000 (03:30 +0100)]
gnu: direnv: Update to 2.11.3.

* gnu/packages/shellutils.scm (direnv): Update to 2.11.3.

7 years agognu: conky: Update to 1.10.6.
Tobias Geerinckx-Rice [Wed, 15 Mar 2017 02:29:19 +0000 (03:29 +0100)]
gnu: conky: Update to 1.10.6.

* gnu/packages/conky.scm (conky): Update to 1.10.6.

7 years agognu: obs: Update to 18.0.1.
Tobias Geerinckx-Rice [Tue, 14 Mar 2017 21:27:30 +0000 (22:27 +0100)]
gnu: obs: Update to 18.0.1.

* gnu/packages/video.scm (obs): Update to 18.0.1.

7 years agognu: youtube-dl: Update to 2017.03.15.
Tobias Geerinckx-Rice [Tue, 14 Mar 2017 21:10:03 +0000 (22:10 +0100)]
gnu: youtube-dl: Update to 2017.03.15.

* gnu/packages/video.scm (youtube-dl): Update to 2017.03.15.

7 years agognu: stress-make: Fix description.
Tobias Geerinckx-Rice [Tue, 14 Mar 2017 21:09:06 +0000 (22:09 +0100)]
gnu: stress-make: Fix description.

* gnu/packages/debug.scm (stress-make)[description]: Fix typo.
Avoid ambiguous use of ‘in order’.

7 years agognu: znc: Update to 1.6.5.
Tobias Geerinckx-Rice [Tue, 14 Mar 2017 12:05:44 +0000 (13:05 +0100)]
gnu: znc: Update to 1.6.5.

* gnu/packages/messaging.scm (znc): Update to 1.6.5.

7 years agognu: grue-hunter: Correctly install documentation.
Tobias Geerinckx-Rice [Mon, 13 Mar 2017 16:52:12 +0000 (17:52 +0100)]
gnu: grue-hunter: Correctly install documentation.

* gnu/packages/games.scm (grue-hunter)[arguments]: Install and populate
‘/share/doc/grue-hunter’ as a directory, not a plain file.

7 years agognu: samtools: End installation phases with truth.
Tobias Geerinckx-Rice [Mon, 13 Mar 2017 15:26:40 +0000 (16:26 +0100)]
gnu: samtools: End installation phases with truth.

* gnu/packages/bioinformatics.scm (samtools, samtools-0.1)[arguments]:
Return #T instead of the undefined results of COPY-FILE or INSTALL-FILE.

7 years agognu: w3m: Update to 0.5.3+git20170102 [security fixes].
Leo Famulari [Tue, 14 Mar 2017 22:16:27 +0000 (18:16 -0400)]
gnu: w3m: Update to 0.5.3+git20170102 [security fixes].

See 'NEWS' and 'ChangeLog' in the source distribution for more
information about the security-related bug fixes.

* gnu/packages/w3m.scm (w3m): Update to 0.5.3+git20170102.

7 years agoRevert "gnu: gitolite: Fix shebangs in hooks."
Leo Famulari [Tue, 14 Mar 2017 19:49:36 +0000 (15:49 -0400)]
Revert "gnu: gitolite: Fix shebangs in hooks."

This change embedded store references in the shebangs of scripts that
were meant to be copied out of the store. Those scripts would break when
the interpreters expected by the shebangs were garbage collected.

<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25966#28>

This reverts commit d0c16adb190c7244ee3ef1329cba78a015ae5d10.

7 years agopack: Add unit test.
Ludovic Courtès [Tue, 14 Mar 2017 21:43:10 +0000 (22:43 +0100)]
pack: Add unit test.

* guix/scripts/pack.scm (self-contained-tarball): Add #:tar option.
[build](tar-supports-sort?): New variable.  Use it.
* tests/pack.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

7 years agopack: Use maximum compression; use '-n' for gzip.
Ludovic Courtès [Tue, 14 Mar 2017 20:31:10 +0000 (21:31 +0100)]
pack: Use maximum compression; use '-n' for gzip.

* guix/scripts/pack.scm (<compressor>)[tar-option]: Remove.
[command]: New field.
(%compressors): Provide complete commands.  Use '-9' or equivalent for
each compressor; use '-n' for gzip.
(self-contained-tarball)[build]: Adjust accordingly.

7 years agoRevert "gnu: nss: Use 'modify-phases' syntax."
Marius Bakke [Tue, 14 Mar 2017 21:25:55 +0000 (22:25 +0100)]
Revert "gnu: nss: Use 'modify-phases' syntax."

This reverts commit 87f1c7efc18f8996b0b2817a5f7b84eebe2ddf5a.

7 years agoRevert "gnu: nss, nss-certs: Update to 3.29.3."
Marius Bakke [Tue, 14 Mar 2017 21:25:49 +0000 (22:25 +0100)]
Revert "gnu: nss, nss-certs: Update to 3.29.3."

Hydra failed to build this version. See discussion at
https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00408.html.

This reverts commit 4f3dcdd99ba13ab3bdbf1e014afcd076cd95fac7.

7 years agognu: Add ocaml-ppx-typerep-conv.
Julien Lepiller [Fri, 30 Dec 2016 18:38:28 +0000 (19:38 +0100)]
gnu: Add ocaml-ppx-typerep-conv.

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

7 years agognu: Add ocaml-ppx-let.
Julien Lepiller [Fri, 30 Dec 2016 18:36:47 +0000 (19:36 +0100)]
gnu: Add ocaml-ppx-let.

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

7 years agognu: Add ocaml-ppx-enumerate.
Julien Lepiller [Fri, 30 Dec 2016 18:32:14 +0000 (19:32 +0100)]
gnu: Add ocaml-ppx-enumerate.

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

7 years agognu: Add ocaml-ppx-assert.
Julien Lepiller [Fri, 30 Dec 2016 18:30:07 +0000 (19:30 +0100)]
gnu: Add ocaml-ppx-assert.

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

7 years agognu: Add ocaml-ppx-here.
Julien Lepiller [Fri, 30 Dec 2016 18:28:31 +0000 (19:28 +0100)]
gnu: Add ocaml-ppx-here.

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

7 years agognu: Add ocaml-ppx-variants-conv.
Julien Lepiller [Fri, 30 Dec 2016 18:27:10 +0000 (19:27 +0100)]
gnu: Add ocaml-ppx-variants-conv.

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

7 years agognu: Add ocaml-ppx-sexp-conv.
Julien Lepiller [Fri, 30 Dec 2016 18:25:45 +0000 (19:25 +0100)]
gnu: Add ocaml-ppx-sexp-conv.

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

7 years agognu: Add ocaml-variantslib.
Julien Lepiller [Fri, 30 Dec 2016 18:23:34 +0000 (19:23 +0100)]
gnu: Add ocaml-variantslib.

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

7 years agognu: Add ocaml-typerep.
Julien Lepiller [Fri, 30 Dec 2016 18:22:46 +0000 (19:22 +0100)]
gnu: Add ocaml-typerep.

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

7 years agognu: Add ocaml-sexplib.
Julien Lepiller [Fri, 30 Dec 2016 18:21:17 +0000 (19:21 +0100)]
gnu: Add ocaml-sexplib.

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

7 years agognu: asciidoc: Add XML and XSLT support.
Kei Kebreau [Sun, 12 Mar 2017 21:46:28 +0000 (17:46 -0400)]
gnu: asciidoc: Add XML and XSLT support.

* gnu/packages/documentation.scm (asciidoc)[arguments]: Add
set-xml-binary-paths phase.
[inputs]: Add libxml2 and libxslt.

7 years agopack: Add '--symlink'.
Ludovic Courtès [Tue, 14 Mar 2017 15:37:17 +0000 (16:37 +0100)]
pack: Add '--symlink'.

* guix/scripts/pack.scm (self-contained-tarball): Add #:symlinks
parameter.
[build](symlink->directives): New procedure
(directives): New variable.
Add call to 'evaluate-populate-directive'.  Pass the directories among
DIRECTIVES to 'tar'.
(%default-options): Add 'symlinks'.
(%options, show-help): Add '--symlink'.
(guix-pack): Honor it.
* gnu/build/install.scm (evaluate-populate-directive): Export.
* doc/guix.texi (Invoking guix pack): Document it.

7 years agonls: Mark (guix scripts pack) as translatable.
Ludovic Courtès [Tue, 14 Mar 2017 14:14:48 +0000 (15:14 +0100)]
nls: Mark (guix scripts pack) as translatable.

* po/guix/POTFILES.in: Add 'guix/scripts/pack.scm'.

7 years agopack: Add '--localstatedir' option.
Ludovic Courtès [Tue, 14 Mar 2017 14:11:03 +0000 (15:11 +0100)]
pack: Add '--localstatedir' option.

* guix/scripts/pack.scm (self-contained-tarball): Add #:localstatedir?
parameter and honor it.
(%options, show-help): Add '--localstatedir'.
(guix-pack): Honor it.
* gnu/build/install.scm (populate-single-profile-directory): Add
 #:register? parameter and honor it.
* doc/guix.texi (Binary Installation): Use '--localstatedir' in
example.
(Invoking guix pack): Document it.

7 years agognu: linux-libre@4.1: Update to 4.1.39.
Leo Famulari [Tue, 14 Mar 2017 16:54:53 +0000 (12:54 -0400)]
gnu: linux-libre@4.1: Update to 4.1.39.

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

7 years agognu: windowmaker: Use modify-phases syntax.
Leo Famulari [Tue, 14 Mar 2017 06:14:32 +0000 (02:14 -0400)]
gnu: windowmaker: Use modify-phases syntax.

* gnu/packages/gnustep.scm (windowmaker)[arguments]: Use modify-phases.

7 years agognu: windowmaker: Update to 0.95.8.
Leo Famulari [Tue, 14 Mar 2017 06:12:53 +0000 (02:12 -0400)]
gnu: windowmaker: Update to 0.95.8.

* gnu/packages/gnustep.scm (windowmaker): Update to 0.95.8.

7 years agognu: aria2: Update to 1.31.0.
Efraim Flashner [Tue, 14 Mar 2017 13:05:27 +0000 (15:05 +0200)]
gnu: aria2: Update to 1.31.0.

* gnu/packages/bittorrent.scm (aria2): Update to 1.31.0.

7 years agoupstream: Avoid '_' as a pattern variable in 'match'.
Ludovic Courtès [Tue, 14 Mar 2017 10:19:21 +0000 (11:19 +0100)]
upstream: Avoid '_' as a pattern variable in 'match'.

* guix/upstream.scm (lookup-updater): Don't use '_' as a pattern
variable.

7 years agognu: python-parsedatetime: Update to 2.3.
Ludovic Courtès [Tue, 14 Mar 2017 10:14:58 +0000 (11:14 +0100)]
gnu: python-parsedatetime: Update to 2.3.

Version 2.1 was apparently time-sensitive and started failing like this:

  ======================================================================
  FAIL: testFloat (tests.TestDelta.test)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/guix-build-python2-parsedatetime-2.1.drv-0/parsedatetime-2.1/tests/TestDelta.py", line 64, in testFloat
      self.cal.parse('1.4 months ago', self.source), months=-1.4)
    File "/tmp/guix-build-python2-parsedatetime-2.1.drv-0/parsedatetime-2.1/tests/TestDelta.py", line 37, in assertDelta
      self.assertTrue(diff < 0.05, '%s is not less than 0.05' % diff)
  AssertionError: 0.0666666666667 is not less than 0.05

  ----------------------------------------------------------------------

* gnu/packages/python.scm (python-parsedatetime): Update to 2.3.
[native-inputs]: Add PYTHON-PYTEST and PYTHON-PYTEST-RUNNER.
[propagated-inputs]: New field.

7 years agognu: Add dovecot-libsodium-plugin.
ng0 [Tue, 28 Feb 2017 11:11:47 +0000 (11:11 +0000)]
gnu: Add dovecot-libsodium-plugin.

* gnu/packages/mail.scm (dovecot-libsodium-plugin): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: Add dovecot-trees.
ng0 [Tue, 28 Feb 2017 11:11:46 +0000 (11:11 +0000)]
gnu: Add dovecot-trees.

* gnu/packages/mail.scm (dovecot-trees): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
7 years agobuild: On 2.2, build package files with almost no optimizations.
Ludovic Courtès [Tue, 14 Mar 2017 08:57:21 +0000 (09:57 +0100)]
build: On 2.2, build package files with almost no optimizations.

* build-aux/compile-all.scm (%default-optimizations)
(%lightweight-optimizations): New variables.
(optimization-options): New procedure.
(compile-file*): Use it.

7 years agognu: wireless-regdb: Update to 2017.03.07.
Leo Famulari [Tue, 14 Mar 2017 05:54:17 +0000 (01:54 -0400)]
gnu: wireless-regdb: Update to 2017.03.07.

* gnu/packages/linux.scm (wireless-regdb): Update to 2017.03.07.

7 years agognu: guile-cairo: Honor the Guile effective version.
Ludovic Courtès [Mon, 13 Mar 2017 21:26:54 +0000 (22:26 +0100)]
gnu: guile-cairo: Honor the Guile effective version.

* gnu/packages/gtk.scm (guile-cairo)[arguments]: Add #:modules.
Get the effective version of Guile and use that in installation
directory names.

7 years agognu: guile-cairo: Use 'modify-phases'.
Ludovic Courtès [Mon, 13 Mar 2017 21:18:13 +0000 (22:18 +0100)]
gnu: guile-cairo: Use 'modify-phases'.

* gnu/packages/gtk.scm (guile-cairo)[arguments]: Use 'modify-phases'.

7 years agodownload: Export '%x509-certificate-directory'.
Ludovic Courtès [Mon, 13 Mar 2017 20:51:27 +0000 (21:51 +0100)]
download: Export '%x509-certificate-directory'.

* guix/build/download.scm (%x509-certificate-directory): Export, as
expected by (guix scripts pull) since commit
7e81d699de7a2c924a048175516fe1ac3820d8e6.

7 years agognu: Add guile2.2-lib.
Ludovic Courtès [Mon, 13 Mar 2017 20:50:39 +0000 (21:50 +0100)]
gnu: Add guile2.2-lib.

* gnu/packages/guile.scm (guile2.2-lib): New variable.

7 years agognu: Add python-flask-login.
humanitiesNerd [Sun, 12 Mar 2017 20:02:08 +0000 (21:02 +0100)]
gnu: Add python-flask-login.

* gnu/packages/python.scm (python-flask-login, python2-flask-login): New
variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>