jackhill/guix/guix.git
7 years agognu: libevent@2.0: Add fix from upstream.
Mark H Weaver [Sat, 18 Mar 2017 06:29:12 +0000 (02:29 -0400)]
gnu: libevent@2.0: Add fix from upstream.

This fix was cherry-picked by Mozilla from upstream libevent-2.1 to its
bundled copy of libevent-2.0.21 in mozilla-esr45.

* gnu/packages/patches/libevent-2.0-evbuffer-add-use-last-with-datap.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/libevent.scm (libevent-2.0)[source][patches]: Add it.

7 years agoservices: file-system-shepherd-service: Make it find the fsck programs.
Danny Milosavljevic [Sat, 18 Mar 2017 14:06:32 +0000 (15:06 +0100)]
services: file-system-shepherd-service: Make it find the fsck programs.

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

* gnu/services/base.scm (file-system-shepherd-service): Use
file-system-packages.

7 years agognu: guile-commonmark: Default to Guile 2.2.
Ludovic Courtès [Sun, 19 Mar 2017 17:07:36 +0000 (18:07 +0100)]
gnu: guile-commonmark: Default to Guile 2.2.

* gnu/packages/guile.scm (guile-commonmark)[inputs]: Replace GUILE-2.0
with GUILE-2.2.
(guile2.0-commonmark): New variable.
(guile2.2-commonmark): Mark as deprecated.
(haunt)[propagated-inputs]: Use GUILE-COMMONMARK.

7 years agognu: guile-reader: Default to Guile 2.2.
Ludovic Courtès [Sun, 19 Mar 2017 17:04:37 +0000 (18:04 +0100)]
gnu: guile-reader: Default to Guile 2.2.

* gnu/packages/guile.scm (guile-reader)[inputs]: Change GUILE-2.0 to
GUILE-2.2.
(guile2.0-reader): New variable.
(guile2.2-reader): Mark as deprecated.
(haunt)[propagated-inputs]: Use GUILE-READER instead of
GUILE2.2-READER.

7 years agognu: haunt: Default to Guile 2.2.
Ludovic Courtès [Sun, 19 Mar 2017 17:00:43 +0000 (18:00 +0100)]
gnu: haunt: Default to Guile 2.2.

* gnu/packages/guile.scm (haunt)[inputs]: Replace GUILE-2.0 with
GUILE-2.2.
[propagated-inputs]: Replace GUILE-READER and GUILE-COMMONMARK with
their 2.2 variant.
(guile2.0-haunt): New variable.
(guile2.2-haunt): Mark as deprecated.

7 years agognu: Add 'package-for-guile-2.0'.
Ludovic Courtès [Sun, 19 Mar 2017 16:37:49 +0000 (17:37 +0100)]
gnu: Add 'package-for-guile-2.0'.

* gnu/packages/guile.scm (guile-2.2-package-name): Rename to...
(guile-variant-package-name): ... this.  Change to return a lambda.
(package-for-guile-2.2): Adjust accordingly.
(package-for-guile-2.0): New procedure.

7 years agognu: Rename "guile-next" to "guile".
Ludovic Courtès [Sun, 19 Mar 2017 16:30:44 +0000 (17:30 +0100)]
gnu: Rename "guile-next" to "guile".

* gnu/packages/guile.scm (guile-next): Rename to...
(guile-2.2): ... this.  Update users.
[name]: Change to "guile".
[synopsis]: Remove.
[properties]: Remove 'upstream-name', 'ftp-server', and
'ftp-directory'.
* gnu/packages/bioinformatics.scm (rcas-web): Update accordingly.
* gnu/packages/tls.scm (gnutls/guile-2.2): Likewise.
* tests/guix-build.sh: Use 'guile@2.2' instead of 'guile-next'.
* doc/guix.texi (Package Transformation Options): Update examples that
referred to "guile-next".

7 years agognu: Add GNU Mach.
Manolis Ragkousis [Thu, 16 Mar 2017 15:29:55 +0000 (09:29 -0600)]
gnu: Add GNU Mach.

* gnu/packages/hurd.scm (gnumach): New variable.

Co-authored-by: Rene Saavedra <rennes@openmailbox.org>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: niftilib: Simplify build phases.
Ricardo Wurmus [Sun, 19 Mar 2017 13:24:27 +0000 (14:24 +0100)]
gnu: niftilib: Simplify build phases.

* gnu/packages/image.scm (niftilib)[arguments]: Use make-flags instead of
replacing "configure" phase; simplify "install" phase.

7 years agognu: apl: Update to 1.7.
Efraim Flashner [Sat, 18 Mar 2017 19:28:20 +0000 (21:28 +0200)]
gnu: apl: Update to 1.7.

* gnu/packages/apl.scm (apl): Update to 1.7.
[home-page]: Use https.

7 years agognu: guile-8sync: Update to 0.4.2.
Christopher Allan Webber [Sat, 18 Mar 2017 17:15:28 +0000 (12:15 -0500)]
gnu: guile-8sync: Update to 0.4.2.

* gnu/packages/guile.scm (guile-8sync): Update to 0.4.2.

7 years agognu: guix: Don't ignore user's GUILE_LOAD_COMPILED_PATH.
Taylan Ulrich Bayırlı/Kammer [Sat, 18 Mar 2017 17:21:00 +0000 (18:21 +0100)]
gnu: guix: Don't ignore user's GUILE_LOAD_COMPILED_PATH.

* gnu/packages/package-management.scm (guix-0.12.0): Guile skips invalid .go
  files since 2.0.12 so we don't need to override GUILE_LOAD_COMPILED_PATH to
  prevent problems anymore.

7 years agognu: wine: Update to 2.4.
Danny Milosavljevic [Sat, 18 Mar 2017 16:13:08 +0000 (17:13 +0100)]
gnu: wine: Update to 2.4.

* gnu/packages/wine.scm (wine): Update to 2.4.

7 years agognu: Add niftilib.
John Darrington [Tue, 7 Mar 2017 06:59:21 +0000 (07:59 +0100)]
gnu: Add niftilib.

* gnu/packages/image.scm (niftilib): New variable.

7 years agodoc: Clarify reference.
Hartmut Goebel [Fri, 17 Mar 2017 21:05:33 +0000 (22:05 +0100)]
doc: Clarify reference.

* doc/guix.texi (Invoking guix environment): Explicitly name
  "guix environment".

7 years agodoc: Fix examples.
Hartmut Goebel [Fri, 17 Mar 2017 21:03:36 +0000 (22:03 +0100)]
doc: Fix examples.

To "spawns a Guile REPL", --ad-hoc is required.

* doc/guix.texi (Invoking guix environment): Add "--ad-hoc" to
  container examples.

7 years agobug#26152: [PATCH] gnu: limnoria: Update to 20170110.
ng0 [Sat, 18 Mar 2017 10:39:21 +0000 (10:39 +0000)]
bug#26152: [PATCH] gnu: limnoria: Update to 20170110.

* gnu/packages/irc.scm (limnoria): Update to 20170110.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
7 years agofile-systems: Factorize file-system-packages.
Danny Milosavljevic [Sat, 18 Mar 2017 09:38:51 +0000 (10:38 +0100)]
file-systems: Factorize file-system-packages.

* gnu/system/linux-initrd.scm (base-initrd): Move helper-packages body to ...
* gnu/system/file-systems.scm (file-system-packages): ... here.  New variable.
Also export it.

7 years agognu: rustc: Fix process test.
Danny Milosavljevic [Sat, 18 Mar 2017 09:31:26 +0000 (10:31 +0100)]
gnu: rustc: Fix process test.

* gnu/packages/rust.scm (rustc)[arguments]: Rename 'patch-lockfile-test
to 'patch-tests.  Add another substitution.

7 years agognu: Add maxflow.
John Darrington [Wed, 8 Mar 2017 18:24:31 +0000 (19:24 +0100)]
gnu: Add maxflow.

* gnu/packages/maths.scm (maxflow): New variable.

7 years agognu: Add itpp.
John Darrington [Tue, 7 Mar 2017 06:51:51 +0000 (07:51 +0100)]
gnu: Add itpp.

* gnu/packages/maths.scm (itpp): New variable.

7 years agognu: emacs-slime: Update to 2.19.
Tobias Geerinckx-Rice [Fri, 17 Mar 2017 23:43:01 +0000 (00:43 +0100)]
gnu: emacs-slime: Update to 2.19.

* gnu/packages/emacs.scm (emacs-slime): Update to 2.19.

7 years agognu: ocaml-qtest: Update to 2.5.
Ben Woodcroft [Fri, 17 Mar 2017 23:41:00 +0000 (09:41 +1000)]
gnu: ocaml-qtest: Update to 2.5.

* gnu/packages/ocaml.scm (ocaml-qtest): Update to 2.5.

7 years agodoc: Make "Application Setup" slightly more visible.
Ludovic Courtès [Fri, 17 Mar 2017 22:52:06 +0000 (23:52 +0100)]
doc: Make "Application Setup" slightly more visible.

Suggested by Arne Babenhauserheide.

* doc/guix.texi (Binary Installation): Make the "Application Setup"
reference an 8th item in the list.

7 years agohttp-client: Avoid name clash with 'open-connection-for-uri' in 2.2.0.
Ludovic Courtès [Fri, 17 Mar 2017 22:41:37 +0000 (23:41 +0100)]
http-client: Avoid name clash with 'open-connection-for-uri' in 2.2.0.

* guix/build/download.scm (open-connection-for-uri): Add note about
same-named binding in Guile 2.2.0.
* guix/http-client.scm: Use 'guix:open-connection-for-uri' for the
procedure coming from (guix build download).
* guix/scripts/lint.scm: Likewise.
* guix/scripts/substitute.scm: Likewise.

7 years agobuild: Require Guile >= 2.0.9.
Ludovic Courtès [Fri, 17 Mar 2017 22:07:01 +0000 (23:07 +0100)]
build: Require Guile >= 2.0.9.

* configure.ac: Bump requirement to 2.0.9.
* doc/guix.texi (Requirements): Adjust accordingly.
* README (Requirements): Likewise.
* build-aux/download.scm: Remove workaround for <http://bugs.gnu.org/13095>.
* guix/build/download.scm: Likewise.
(http-fetch)[post-2.0.7?]: Remove.  Remove conditional code for not
POST-2.0.7?.
* guix/http-client.scm:  Remove workaround for <http://bugs.gnu.org/13095>.
(http-fetch)[post-2.0.7?]: Remove.  Remove conditional code for not
POST-2.0.7?.
* guix/serialization.scm (read-latin1-string): Remove mention of 2.0.9.
* tests/nar.scm: Use (ice-9 control).
(let/ec): Remove.

7 years agopack: Add '--target'.
Ludovic Courtès [Fri, 17 Mar 2017 21:45:32 +0000 (22:45 +0100)]
pack: Add '--target'.

* guix/scripts/pack.scm (self-contained-tarball): Add #:target.
(docker-image): Add #:target.
[build]: Pass it to 'build-docker-image'.
(%options, show-help): Add '--target'.
(guix-pack): Pass TARGET to 'profile-derivation' and to 'build-image'.
* guix/docker.scm (build-docker-image): Add #:system parameter and honor it.
* doc/guix.texi (Invoking guix pack): Document '--target'.
(Additional Build Options): Refer to the Autoconf manual instead of the
obsolete 'configure.info' for cross-compilation.

7 years agoprofiles: Packages in a profile can be cross-compiled.
Ludovic Courtès [Fri, 17 Mar 2017 20:48:40 +0000 (21:48 +0100)]
profiles: Packages in a profile can be cross-compiled.

* guix/profiles.scm (profile-derivation): Add #:target parameter; pass
it to 'gexp->derivation'.
* tests/profiles.scm ("profile-derivation, cross-compilation"): New test.

7 years agopack: Move absolute file name to <compressor>.
Ludovic Courtès [Fri, 17 Mar 2017 16:37:00 +0000 (17:37 +0100)]
pack: Move absolute file name to <compressor>.

* guix/scripts/pack.scm (<compressor>)[package]: Remove.
[command]: Document as being a gexp with an absolute file name.
(%compressors): Adjust accordingly.
(self-contained-tarball): Simplify PATH expression.  Move 'string-join'
for the compressor command on the build side.
(docker-image): Simplify PATH expression.
* tests/pack.scm (%gzip-compressor): Adjust accordingly.

7 years agognu: libbluray: Update to 1.0.0.
Marius Bakke [Fri, 17 Mar 2017 19:34:48 +0000 (20:34 +0100)]
gnu: libbluray: Update to 1.0.0.

* gnu/packages/video.scm (libbluray): Update to 1.0.0.

7 years agognu: libx264: Update to 20170316-2245.
Marius Bakke [Fri, 17 Mar 2017 19:28:36 +0000 (20:28 +0100)]
gnu: libx264: Update to 20170316-2245.

* gnu/packages/video.scm (libx264): Update to 20170316-2245.

7 years agognu: libwebp: Update to 0.6.0.
Marius Bakke [Fri, 17 Mar 2017 19:10:12 +0000 (20:10 +0100)]
gnu: libwebp: Update to 0.6.0.

* gnu/packages/image.scm (libwebp): Update to 0.6.0.
[source]: Remove patch.
* gnu/packages/patches/libwebp-CVE-2016-9085.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

7 years agognu: ninja: Update to 1.7.2.
Marius Bakke [Fri, 17 Mar 2017 10:15:01 +0000 (11:15 +0100)]
gnu: ninja: Update to 1.7.2.

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

7 years agognu: btrfs-progs: Use @dfn in description.
Tobias Geerinckx-Rice [Fri, 17 Mar 2017 18:33:22 +0000 (19:33 +0100)]
gnu: btrfs-progs: Use @dfn in description.

* gnu/packages/linux.scm (btrfs-progs)[description]: Use @dfn.

7 years agognu: btrfs-progs: Update to 4.10.1.
Tobias Geerinckx-Rice [Fri, 17 Mar 2017 18:32:15 +0000 (19:32 +0100)]
gnu: btrfs-progs: Update to 4.10.1.

* gnu/packages/linux.scm (btrfs-progs): Update to 4.10.1.

7 years agobuild/cargo-build-system: Make cargo-build-system install working packages.
Danny Milosavljevic [Fri, 3 Mar 2017 19:50:47 +0000 (20:50 +0100)]
build/cargo-build-system: Make cargo-build-system install working packages.

* guix/build/cargo-build-system.scm (configure): Remove proprietary
dependencies. Add rust dependencies and configure Cargo to find them.
(build): Also build libraries, not just applications.
(file-sha256): New variable.
(generate-checksums): New variable. Export it.
(touch): New variable.
(install): Generate checksums so Cargo accepts the package.

7 years agobuild-system/cargo (cargo-build): Add cargo-build-flags, remove configure-flags.
Danny Milosavljevic [Fri, 3 Mar 2017 17:17:28 +0000 (18:17 +0100)]
build-system/cargo (cargo-build): Add cargo-build-flags, remove configure-flags.

* guix/build-system/cargo.scm (cargo-build): Add cargo-build-flags,
remove configure-flags.

7 years agognu: cargo: Use upstream cargo.
Danny Milosavljevic [Fri, 3 Mar 2017 00:29:13 +0000 (01:29 +0100)]
gnu: cargo: Use upstream cargo.

* gnu/packages/rust.scm (cargo): Use upstream cargo.

7 years agognu: rust: Update to 1.15.0.
Danny Milosavljevic [Fri, 3 Mar 2017 00:29:12 +0000 (01:29 +0100)]
gnu: rust: Update to 1.15.0.

* gnu/packages/rust.scm (%rust-bootstrap-binaries-version): Update to 1.14.0.
(%rust-bootstrap-binaries): Update to 1.14.0.
(rustc): Update to 1.15.0.
[arguments]: Pass "--disable-rustbuild" to configure.

7 years agognu: libpng-apng: Remove unnecessary call to libtool.
Kei Kebreau [Fri, 17 Mar 2017 15:33:04 +0000 (11:33 -0400)]
gnu: libpng-apng: Remove unnecessary call to libtool.

* gnu/packages/image.scm (libpng-apng)[phases]: Remove it.

7 years agognu: Add libpng-apng.
ng0 [Tue, 10 Jan 2017 20:49:30 +0000 (20:49 +0000)]
gnu: Add libpng-apng.

* gnu/packages/image.scm (libpng-apng): New variable.

Co-authored-by: Kei Kebreau <kei@openmailbox.org>
7 years agognu: Add ocaml-mcl.
Ben Woodcroft [Fri, 17 Mar 2017 11:24:13 +0000 (21:24 +1000)]
gnu: Add ocaml-mcl.

* gnu/packages/machine-learning.scm (ocaml-mcl): New variable.

7 years agognu: Add ocaml-gsl.
Ben Woodcroft [Fri, 17 Mar 2017 11:23:21 +0000 (21:23 +1000)]
gnu: Add ocaml-gsl.

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

7 years agognu: Add ocaml-csv.
Ben Woodcroft [Fri, 17 Mar 2017 11:19:55 +0000 (21:19 +1000)]
gnu: Add ocaml-csv.

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

7 years agognu: Add ocaml-sqlite3.
Ben Woodcroft [Fri, 6 Jan 2017 11:01:05 +0000 (21:01 +1000)]
gnu: Add ocaml-sqlite3.

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

7 years agognu: snakemake: Update to 3.11.2.
Ricardo Wurmus [Fri, 17 Mar 2017 09:11:25 +0000 (10:11 +0100)]
gnu: snakemake: Update to 3.11.2.

* gnu/packages/python.scm (snakemake): Update to 3.11.2.

7 years agognu: r-minimal: Fix remaining reproducibility problems.
Ricardo Wurmus [Sat, 11 Mar 2017 23:23:24 +0000 (00:23 +0100)]
gnu: r-minimal: Fix remaining reproducibility problems.

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

* gnu/packages/statistics.scm (r-minimal)[arguments]: Add remaining
reproducibility fixes to "build-reproducibly" phase.

7 years agognu: r: Rename to r-minimal.
Ricardo Wurmus [Fri, 17 Mar 2017 08:42:22 +0000 (09:42 +0100)]
gnu: r: Rename to r-minimal.

* gnu/packages/statistics.scm (r): Rename to...
(r-minimal): ...this new variable.
(r-with-recommended-packages): Rename to...
(r): ...this.
* guix/build-system/r.scm (default-r): Reference r-minimal.
* gnu/packages/emacs.scm (emacs-ess)[inputs],
gnu/packages/machine-learning.scm (shogun)[inputs],
gnu/packages/python.scm (python-rpy2)[inputs],
gnu/packages/bioinformatics.scm (ribotaper)[inputs],
(couger)[propagated-inputs],
(roary)[inputs],
(rsem)[inputs],
(rcas-web)[inputs]: Change "r" to "r-minimal".

7 years agognu: Add r-with-recommended-packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:22:57 +0000 (00:22 +0100)]
gnu: Add r-with-recommended-packages.

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

7 years agognu: r: Do not build recommended packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:21:39 +0000 (00:21 +0100)]
gnu: r: Do not build recommended packages.

* gnu/packages/statistics.scm (r)[arguments]: Rename phase
"build-recommended-packages-reproducibly" to "build-reproducibly"; add
configure flag "--without-recommended-packages".
* guix/import/cran.scm (default-r-packages): Remove recommended packages.
* gnu/packages/python.scm (python-rpy2)[inputs]: Add r-survival.
* gnu/packages/bioinformatics.scm (r-ape)[propagated-inputs]: Add r-lattice
and r-nlme.
(r-vegan)[propagated-inputs]: Add r-mass.
(r-genefilter)[propagated-inputs]: Add r-survival.
(r-grohmm)[propagated-inputs]: Add r-mass.
(r-bioccheck)[propagated-inputs]: Add r-codetools.
(r-summarizedexperiment)[propagated-inputs]: Add r-matrix.
(r-topgo)[propagated-inputs]: Add r-lattice.
(r-sva)[propagated-inputs]: Add r-mgcv.
(r-raremetals2)[propagated-inputs]: Add r-mass.
(r-vsn)[propagated-inputs]: Add r-lattice.
(r-pcamethods)[propagated-inputs]: Add r-mass.
* gnu/packages/bioinformatics.scm (r-ggplot2)[propagated-inputs]: Add r-mass.
(r-locfit)[propagated-inputs]: Add r-lattice.
(r-coda)[propagated-inputs]: Add r-lattice.
(r-irlba)[propagated-inputs]: Add r-matrix.
(r-glmnet)[propagated-inputs]: Add r-matrix.
(r-e1071)[propagated-inputs]: Add r-class.
(r-spams)[propagated-inputs]: Add r-lattice and r-matrix.
(r-hmisc)[propagated-inputs]: Add r-cluster, r-foreign, r-lattice, r-nnet, and
r-rpart.
(r-zoo)[propagated-inputs]: Add r-lattice.
(r-mixtools)[propagated-inputs]: Add r-boot and r-mass.
(r-flexmix)[propagated-inputs]: Add r-lattice and r-nnet.
(r-prabclus)[propagated-inputs]: Add r-mass.
(r-fpc)[propagated-inputs]: Add r-class, r-cluster, and r-mass.
(r-rcppeigen)[propagated-inputs]: Add r-matrix.
(r-matrixmodels)[propagated-inputs]: Add r-matrix.
(r-lme4)[propagated-inputs]: Add r-mass and r-nlme.
(r-pbkrtest)[propagated-inputs]: Add r-mass and r-matrix.
(r-car)[propagated-inputs]: Add r-mass, r-mgcv, and r-nnet.
(r-tclust)[propagated-inputs]: Add r-cluster.

7 years agognu: r-survival: Move to set of recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:20:03 +0000 (00:20 +0100)]
gnu: r-survival: Move to set of recommended R packages.

* gnu/packages/statistics.scm (r-survival): Move up to set of recommended R
packages.

7 years agognu: Add r-spatial.
Ricardo Wurmus [Sat, 11 Mar 2017 23:19:41 +0000 (00:19 +0100)]
gnu: Add r-spatial.

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

7 years agognu: r-rpart: Move to the set of recommended packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:19:00 +0000 (00:19 +0100)]
gnu: r-rpart: Move to the set of recommended packages.

* gnu/packages/statistics.scm (r-rpart): Move up to the set of recommended
packages.

7 years agognu: r-nnet: Move to set of recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:17:55 +0000 (00:17 +0100)]
gnu: r-nnet: Move to set of recommended R packages.

* gnu/packages/machine-learning.scm (r-nnet): Move from here...
* gnu/packages/statistics.scm (r-nnet): ...to here because the other
recommended R packages are here.

7 years agognu: r-mgcv: Move to set of recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:17:13 +0000 (00:17 +0100)]
gnu: r-mgcv: Move to set of recommended R packages.

* gnu/packages/statistics.scm (r-mgcv): Move up to set of recommended R
packages.

7 years agognu: Add r-nlme.
Ricardo Wurmus [Sat, 11 Mar 2017 23:16:44 +0000 (00:16 +0100)]
gnu: Add r-nlme.

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

7 years agognu: r-matrix: Move to set of recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:15:44 +0000 (00:15 +0100)]
gnu: r-matrix: Move to set of recommended R packages.

* gnu/packages/statistics.scm (r-matrix): Move to set of recommended R
packages.

7 years agognu: r-lattice: Move to other recommended R packages.
Ricardo Wurmus [Sat, 11 Mar 2017 23:14:34 +0000 (00:14 +0100)]
gnu: r-lattice: Move to other recommended R packages.

* gnu/packages/statistics.scm (r-lattice): Move to the set of recommended R
packages.

7 years agognu: Add r-kernsmooth.
Ricardo Wurmus [Sat, 11 Mar 2017 23:14:00 +0000 (00:14 +0100)]
gnu: Add r-kernsmooth.

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

7 years agognu: Add r-foreign.
Ricardo Wurmus [Sat, 11 Mar 2017 23:13:43 +0000 (00:13 +0100)]
gnu: Add r-foreign.

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

7 years agognu: Add r-codetools.
Ricardo Wurmus [Sat, 11 Mar 2017 23:13:27 +0000 (00:13 +0100)]
gnu: Add r-codetools.

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

7 years agognu: Add r-cluster.
Ricardo Wurmus [Sat, 11 Mar 2017 23:13:01 +0000 (00:13 +0100)]
gnu: Add r-cluster.

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

7 years agognu: Add r-class.
Ricardo Wurmus [Sat, 11 Mar 2017 23:12:41 +0000 (00:12 +0100)]
gnu: Add r-class.

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

7 years agognu: Add r-mass.
Ricardo Wurmus [Sat, 11 Mar 2017 23:12:18 +0000 (00:12 +0100)]
gnu: Add r-mass.

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

7 years agognu: Add r-boot.
Ricardo Wurmus [Sat, 11 Mar 2017 23:11:56 +0000 (00:11 +0100)]
gnu: Add r-boot.

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

7 years agodoc: Really document 'guix pack --format'.
Ludovic Courtès [Fri, 17 Mar 2017 08:44:08 +0000 (09:44 +0100)]
doc: Really document 'guix pack --format'.

* doc/guix.texi (Invoking guix pack): Properly document --format.

7 years agognu: youtube-dl: Update to 2017.03.16.
Tobias Geerinckx-Rice [Fri, 17 Mar 2017 02:08:45 +0000 (03:08 +0100)]
gnu: youtube-dl: Update to 2017.03.16.

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

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.