Commit Graph

39945 Commits

Author SHA1 Message Date
Ludovic Courtès 06fff484ce
git: Add a 'recursive?' field to <git-checkout> records.
* guix/git.scm (<git-checkout>)[recursive?]: New field.
(latest-repository-commit*): Add #:recursive? and honor it.
(git-checkout-compiler): Honor the 'recursive?' field of CHECKOUT.
2019-02-08 10:41:13 +01:00
Ludovic Courtès 60cbc6a8df
git: Support recursive updates of submodules.
* guix/git.scm: Autoload (git submodule).
(url-cache-directory): Add #:recursive? and honor it.
(call-with-repository): New procedure.
(with-repository): New macro.
(update-submodules): New procedure.
(update-cached-checkout): Add #:recursive? and #:log-port and honor
them.
(latest-repository-commit): Add #:recursive? and honor it.
[dot-git?]: Recognize ".git" regular files when RECURSIVE? is true.
2019-02-08 10:41:13 +01:00
Ricardo Wurmus d41f63942b
gnu: python-2.7: Rebuild bytecode.
Fixes <https://bugs.gnu.org/22010>.

* gnu/packages/python.scm (python-2.7)[arguments]: Add phase
"rebuild-bytecode".
(python-3.7)[arguments]: Replace "rebuild-bytecode" phase; remove outdated
comment.
2019-02-08 10:26:53 +01:00
Ricardo Wurmus 0fb9a8df42
guix: Add wrap-script.
* guix/build/utils.scm (wrap-script): New procedure.
(&wrap-error): New condition.
(wrap-error?, wrap-error-program, wrap-error-type): New procedures.
* tests/build-utils.scm ("wrap-script, simple case", "wrap-script, with
encoding declaration", "wrap-script, raises condition"): New tests.
2019-02-08 10:26:53 +01:00
Eric Bavier 92becc3f15
build: clean-go: Do not warn about *.go files in "test-tmp".
* Makefile.am (clean-go): Ignore "test-tmp" directory.
2019-02-07 21:21:13 -06:00
Eric Bavier 7b84610e21
gnu: hdf5: Upgrade to 1.8.21.
* gnu/packages/maths.scm (hdf5): Upgrade to 1.8.21.
[source]: Make version manipulations more readable using match.
2019-02-07 21:20:47 -06:00
Eric Bavier 7fedc3fdfb
gnu: hdf5: Remove use of deprecated MPI1 symbols.
* gnu/packages/patches/hdf5-1.8-mpi-deprecations.patch,
  gnu/packages/patches/hdf5-mpi-deprecations.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/maths.scm (hdf5, hdf5-1.10)[source]: Use them.
2019-02-07 21:20:47 -06:00
Eric Bavier 2bdf26f1c8
gnu: superlu-dist: Remove use of deprecated MPI1 symbols.
* gnu/packages/patches/superlu-dist-fix-mpi-deprecations.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/maths.scm (superlu-dist)[source]: Use it.
2019-02-07 21:20:23 -06:00
Pierre Neidhardt 674d180cfa
gnu: emacs-fish-completion: Update to 1.0.
* gnu/packages/emacs-xyz.scm (emacs-fish-completion): Update to 1.0.
2019-02-07 23:10:05 +01:00
Tim Stahel 6f8ade6ee6
gnu: Add gpx.
* gnu/packages/engineering.scm (gpx): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-02-07 22:36:01 +01:00
Ricardo Wurmus 242dbd8e5d
gnu: Add dune-geometry.
* gnu/packages/maths.scm (dune-geometry): New variable.
2019-02-07 22:36:01 +01:00
Ricardo Wurmus 3847d1f22f
gnu: Add dune-common.
* gnu/packages/maths.scm (dune-common): New variable.
2019-02-07 22:36:01 +01:00
Dan Frumin 7d60df330a
gnu: Add coq-autosubst
* gnu/packages/coq.scm (coq-autosubst): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2019-02-07 22:30:32 +01:00
Marius Bakke df2bf40eec
gnu: libxslt: Update to 1.1.33.
* gnu/packages/xml.scm (libxslt): Update to 1.1.33.
2019-02-07 22:10:18 +01:00
Marius Bakke 723c356d80
gnu: libxml2: Update to 2.9.9.
* gnu/packages/xml.scm (libxml2): Update to 2.9.9.
2019-02-07 22:10:18 +01:00
Marius Bakke 85559eb88b
gnu: openssl: Update to 1.0.2q.
* gnu/packages/tls.scm (openssl): Update to 1.0.2q.
2019-02-07 22:10:17 +01:00
Marius Bakke 28ae145ba6
gnu: python: Update to 3.7.2.
* gnu/packages/python.scm (python-3.7): Update to 3.7.2.
2019-02-07 22:10:17 +01:00
Marius Bakke d9464ca53a
gnu: pcre2: Update to 10.32.
* gnu/packages/pcre.scm (pcre2): Update to 10.32.
2019-02-07 22:10:17 +01:00
Marius Bakke 596c54c967
gnu: mit-krb5: Update to 1.17.
* gnu/packages/kerberos.scm (mit-krb5): Update to 1.17.
2019-02-07 22:10:17 +01:00
Marius Bakke 28a873f208
gnu: libpng: Update to 1.6.36.
* gnu/packages/image.scm (libpng): Update to 1.6.36.
2019-02-07 22:10:17 +01:00
Marius Bakke dfc941a943
gnu: binutils: Update to 2.32.
* gnu/packages/base.scm (binutils): Update to 2.32.
2019-02-07 22:10:17 +01:00
Marius Bakke e34ae70788
gnu: mpfr: Update to 4.0.2.
* gnu/packages/multiprecision.scm (mpfr): Update to 4.0.2.
2019-02-07 22:10:17 +01:00
Marius Bakke 4ee5482a08
gnu: bison: Update to 3.3.2.
* gnu/packages/bison.scm (bison): Update to 3.3.2.
2019-02-07 22:10:17 +01:00
Marius Bakke a5be549e39
gnu: libarchive: Remove graft for 3.3.3.
* gnu/packages/patches/libarchive-CVE-2017-14166.patch,
gnu/packages/patches/libarchive-CVE-2017-14502.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/backup.scm (libarchive): Update to 3.3.3.
[source](patches): Adjust for 3.3.3.
[replacement]: Remove field.
(libarchive-3.3.3): Remove variable.
2019-02-07 22:10:17 +01:00
Marius Bakke 027250f1a6
gnu: python2: Incorporate grafted changes.
* gnu/packages/python.scm (python-2.7)[source](patches): Add
python2-CVE-2018-14647.patch and python2-CVE-2018-1000802.patch.
[replacement]: Remove field.
(python-2/fixed): Remove variable.
2019-02-07 22:10:16 +01:00
Marius Bakke 0293b353bd
gnu: sqlite: Remove graft for 3.26.0.
* gnu/packages/sqlite.scm (sqlite): Update to 3.26.0.
[replacement]: Remove.
(sqlite-3.26.0): Remove variable.
2019-02-07 22:10:16 +01:00
Marius Bakke cc43d807c0
gnu: file: Incorporate grafted changes.
* gnu/packages/file.scm (file)[replacement]: Remove.
[source](patches): New field.
(file/fixed): Remove variable.
2019-02-07 22:10:16 +01:00
Mark H Weaver d5240bc09d
gnu: linux-libre: Update to 4.20.7.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.20.7.
(%linux-libre-hash): Update hash.
2019-02-07 13:56:44 -05:00
Mark H Weaver 43194fbe3c
gnu: linux-libre@4.19: Update to 4.19.20.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.20.
(%linux-libre-4.19-hash): Update hash.
2019-02-07 13:55:42 -05:00
Mark H Weaver 848e28aab5
gnu: linux-libre@4.14: Update to 4.14.98.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.98.
(%linux-libre-4.14-hash): Update hash.
2019-02-07 13:54:19 -05:00
Mark H Weaver 4888c21543
gnu: linux-libre@4.9: Update to 4.9.155.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.155.
2019-02-07 13:53:27 -05:00
Mark H Weaver 2b06fcdcd7
gnu: linux-libre@4.4: Update to 4.4.173.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.173.
2019-02-07 13:52:01 -05:00
Pierre Neidhardt 285bf324f0
gnu: Add emacs-redshank.
* gnu/packages/emacs-xyz.scm (emacs-redshank): New variable.
2019-02-07 19:29:49 +01:00
Ludovic Courtès 024d5275c5
status: Do not systematically erase the previous line.
After a successful download, we'd erase the download-progress line, and
the end result would be two empty lines following the "downloading …"
line.

Reported by Ricardo Wurmus <rekado@elephly.net> at
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33470#27>.

* guix/status.scm (print-build-event)[erase-current-line*]: Set to a
no-op when PRINT-LOG? is true.
Move calls to 'erase-current-line*' to the 'build-succeeded' and
'build-failed' events.
2019-02-07 15:46:45 +01:00
Ludovic Courtès 9c6124f829
doc: Mention flag to get an ISO image.
* doc/guix.texi (Building the Installation Image): Add
'--file-system-type=iso9660'.
2019-02-07 15:46:45 +01:00
Ludovic Courtès b07712bfb1
gnu: openmpi: Add dependency on SLURM.
This allows users to run Open MPI programs with 'srun'.

* gnu/packages/mpi.scm (openmpi)[inputs]: Add SLURM.
[arguments]: Add "--with-pmi" to #:configure-flags.
2019-02-07 15:46:45 +01:00
Ludovic Courtès 487cbb0164
profiles: Raise an error for unmatched patterns.
Previously, "guix package -r something-not-installed" would silently
complete.  Now an error is raised.

* guix/profiles.scm (&unmatched-pattern-error): New condition type.
(manifest-matching-entries): Rewrite to raise an error when one of
PATTERNS is not matched.
* guix/ui.scm (call-with-error-handling): Handle 'unmatched-pattern-error?'.
* tests/guix-package.sh: Add test.
* tests/profiles.scm ("manifest-matching-entries"): Don't try to remove
unmatched pattern.
("manifest-matching-entries, no match"): New test.
("manifest-transaction-effects"): Remove 'remove' field.
2019-02-07 15:46:45 +01:00
Rutger Helling 89ea6252b6
gnu: flatpak: Update to 1.2.0.
* gnu/packages/package-management.scm (flatpak): Update to 1.2.0.
2019-02-07 14:45:54 +01:00
Brett Gilio a9ba0a3154
gnu: python2-rope: Update to 0.11.0
From 1e6322de0c3227827176fb460a11da21a6bba08d Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@posteo.net>
Date: Wed, 6 Feb 2019 15:23:56 -0600
Subject: [PATCH] gnu: python2-rope: Update to 0.11.0

* gnu/packages/python-xyz.scm (python2-rope): Update to 0.11.0
2019-02-07 08:51:45 +01:00
Vagrant Cascadian 86ae491f37
gnu: python-configargparse: Update to 0.14.0.
* gnu/packages/python-xyz.scm
  (python-configargparse): Update to 0.14.0.
2019-02-07 08:39:34 +01:00
Vagrant Cascadian 746c074bbe
gnu: python-wheel: Update to 0.32.2.
* gnu/packages/python-xyz.scm (python-wheel): Update to 0.32.2.
2019-02-07 08:39:34 +01:00
Marius Bakke 69fb26d4f5
gnu: mariadb: Add comments about failing tests.
* gnu/packages/databases.scm (mariadb): Add comments.
2019-02-06 23:30:34 +01:00
Kyle Meyer 3ef29c00ed
gnu: Add datefudge.
* gnu/packages/time.scm (datefudge): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-02-06 23:06:18 +01:00
Ludovic Courtès 6732171924
gnu: iproute2: Update to 4.20.0.
* gnu/packages/linux.scm (iproute): Update to 4.20.0.
2019-02-06 23:06:18 +01:00
Ludovic Courtès 8245bb74fc
monads, gexp: Prevent redefinition of syntax parameters.
Fixes <https://bugs.gnu.org/27476>.

This fixes multi-threaded compilation of this code where syntax
parameters could end up being redefined and where a race condition could
lead a thread to see the "wrong" value of the syntax parameter.

* guix/monads.scm (define-syntax-parameter-once): New macro.
(>>=, return): Use it.
* guix/gexp.scm (define-syntax-parameter-once): New macro.
(current-imported-modules, current-imported-extensions): Use it.
2019-02-06 23:06:18 +01:00
Ludovic Courtès d591242808
daemon: Emit a 'build-succeeded' event in check mode.
Until now, something like "guix build sed -v1 --check" would not get a
'build-succeeded' event, which in turn meant that the spinner would not
be erased upon build completion.

* nix/libstore/build.cc (DerivationGoal::registerOutputs): When
'buildMode' is bmCheck and 'settings.printBuildTrace' emit a
"@ build-succeeded" trace upon success.
* tests/store.scm ("build-succeeded trace in check mode"): New test.
2019-02-06 23:06:18 +01:00
Kei Kebreau 25945666e3
gnu: abcde: Update to 2.9.3.
* gnu/packages/cdrom.scm (abcde): Update to 2.9.3.
[source]: Update snippet.
2019-02-06 16:49:12 -05:00
Ricardo Wurmus 6df215f8c8
gnu: star: Update to 2.7.0b.
* gnu/packages/bioinformatics.scm (star): Update to 2.7.0b.
[arguments]: Add "add-missing-header" build phase.
2019-02-06 21:32:16 +01:00
Kei Kebreau d11840b43e
gnu: wxmaxima: Update to 19.01.3.
* gnu/packages/maths.scm (wxmaxima): Update to 19.01.3.
2019-02-06 12:52:27 -05:00
Kei Kebreau a4362fba0e
gnu: maxima: Update to 5.42.2.
* gnu/packages/maths.scm (maxima): Update to 5.42.2.
2019-02-06 12:52:27 -05:00