Commit graph

72988 commits

Author SHA1 Message Date
Maxim Cournoyer 93a628c4e4
build: test-driver.scm: Add a new '--errors-only' option.
* build-aux/test-driver.scm (show-help): Add the help text for the
new '--errors-only' option.
(%options): Add the errors-only option.
(test-runner-gnu): Add the errors-only? parameter and update doc.  Move the
logging of the test data after the test has completed, so a choice can be made
whether to keep it or discard it based on the value of the test result.
(main): Pass the errors-only? option to the driver.
* doc/guix.texi (Running the Test Suite): Document the new option.
2021-01-31 22:28:46 -05:00
Maxim Cournoyer a1ea2acb37
build: test-driver.scm: Add test cases filtering options.
* build-aux/test-driver.scm (show-help): Add help text for the new --select
and --exclude options.
(%options): Add the new select and exclude options.
(test-runner-gnu): Pass them to the test runner.  Update doc.
(test-match-name*, test-match-name*/negated, %test-match-all): New variables.
(main): Compute the test specifier based on the values of the new options and
apply it to the current test runner when running the test file.
* doc/guix.texi (Running the Test Suite): Document the new options.
2021-01-31 22:28:37 -05:00
Maxim Cournoyer 346210b1b2
build: test-driver.scm: Enable colored test results by default.
The Automake parallel test harness does its own smart detection of the
terminal color capability and always provides the --color-tests argument to
the driver.  This change defaults the --color-tests argument to true when the
test driver is run on its own (not via Automake).

* build-aux/test-driver.scm (main): Set the default value of the --color-tests
argument to true when it's not explicitly provided.
2021-01-31 22:23:41 -05:00
Maxim Cournoyer 13f299b2c9
build: test-driver.scm: Make output redirection optional.
This makes it easier (and less surprising) for users to experiment with the
custom Scheme test driver directly.  The behavior is unchanged from Automake's
point of view.

* build-aux/test-driver.scm (main): Make the --log-file and --trs-file
arguments optional and update doc.  Only open, redirect and close a port to a log file when
the --log-file option is provided.  Only open and close a port to a trs file
when the --trs-file option is provided.
(test-runner-gnu): Set OUT-PORT parameter default value to the current output
port.  Set the TRS-PORT parameter default value to a void port.  Update doc.
2021-01-31 22:23:41 -05:00
Leo Famulari 85243d0d63
gnu: dump: Update to 0.4b47.
* gnu/packages/backup.scm (dump): Update to 0.4b47.
[inputs]: Replace OPENSSL-1.0 with OPENSSL.
2021-01-31 16:31:30 -05:00
zimoun 60947257ae
scripts: import: json: Fix error handling.
Fixes partially <https://bugs.gnu.org/44115>.

* guix/scripts/import/json.scm (guix-import-json): Handle error.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-31 21:49:59 +01:00
zimoun 460e7d8bc9
import: gnu: Mention package name upon failure.
* guix/import/gnu.scm (gnu->guix-package): Use 'formatted-message' and
mention the package name in error messages.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-31 21:49:59 +01:00
zimoun be84fc600e
gnu-maintenance: Fix error handling.
Fixes partially <https://bugs.gnu.org/44115>.

* guix/gnu-maintenance.scm (latest-release): Handle 'ftp-error'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-31 21:49:58 +01:00
Morgan Smith 8d2465fcfe
gnu: emacs: Make strip-double-wrap more robust
* gnu/packages/emacs.scm (emacs) [strip-double-wrap]:
Use regex to find emacs executable. This works even when the version is
changed by package transformations (ex: version=git.master)

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-31 21:49:58 +01:00
Ludovic Courtès 13a7d2a538
database: Validate #:nar-size and #:time when registering store items.
* guix/store/database.scm (assert-integer): New procedure.
(update-or-insert): Use it to validate NAR-SIZE and TIME.
* tests/store-database.scm ("sqlite-register with incorrect size"): New
test.
2021-01-31 21:49:58 +01:00
Ludovic Courtès 9c4869fe9c
database: Remove workarounds unnecessary with guile-sqlite3 0.1.2.
* guix/store/database.scm (sqlite-exec, sqlite-finalize): Remove.
2021-01-31 21:49:58 +01:00
Ludovic Courtès a0b6a7ee2e
gnu: autoconf: Update to 2.71.
* gnu/packages/autotools.scm (autoconf-2.70): Rename to...
(autoconf-2.71): ... this.  Update to 2.71.
2021-01-31 21:49:58 +01:00
Ludovic Courtès 246c0c60da
ci: Add missing imports.
This is a followup to 041a9466ea.

* guix/ci.scm: Add missing imports.
* guix/channels.scm: Remove (guix ci) import.
2021-01-31 21:49:58 +01:00
Greg Hogan 4ea5767d3a
gnu: python-sympy: Update to 1.7.1.
* gnu/packages/python-xyz.scm (python-sympy): Update to 1.7.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-01-31 22:26:15 +02:00
Michael Rohleder a6250b6774
gnu: mousepad: Update to 0.5.2.
* gnu/packages/xfce.scm (mousepad): Update to 0.5.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-01-31 22:26:14 +02:00
Robert Karszniewicz f936f078bc
gnu: utox: Update to 0.18.1.
* gnu/packages/messaging.scm (utox): Update to 0.18.1.
[inputs]: Remove libsodium.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-01-31 22:26:14 +02:00
Tobias Geerinckx-Rice 8574c822f6
gnu: privoxy: Update to 3.0.31 [fixes OVE-20210130-0001, OVE-20210128-0001].
* gnu/packages/tor.scm (privoxy): Update to 3.0.31.
2021-01-31 21:17:46 +01:00
Brice Waegeneire 9c8156507a
gnu: opendoas: Update to 6.8.1 [fixes CVE-2019-25016].
* gnu/packages/admin.scm (opendoas): Update to 6.8.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-01-31 15:05:24 -05:00
Mathieu Othacehe 041a9466ea
guix: channels: Introduce "channel-with-substitutes-available".
* guix/channels.scm (find-latest-commit-with-substitutes,
channel-with-substitutes-available): New procedures.
* guix/scripts/pull.scm (guix-pull): Move "channel-list" call inside the
%current-system parameter scope.
* doc/guix.texi (Channels with substitutes): New section.
2021-01-31 18:36:42 +01:00
Jonathan Brielmaier 63c237d044
gnu: libchewing: Disable parallel tests.
Some tests fail constant when building with multiple threads.

* gnu/packages/language.scm (libchewing)[arguments]: Set
`parallel-tests` to false.
2021-01-31 18:00:22 +01:00
Nicolas Goaziou f43a652d4c
gnu: sshpass: Update to 1.09.
* gnu/packages/ssh.scm (sshpass): Update to 1.09.  Re-order fields.
2021-01-31 17:53:56 +01:00
Evgeny Pisemsky 3eb84a488e
gnu: emacs-adaptive-wrap: Update source URI.
* gnu/packages/emacs-xyz.scm (emacs-adaptive-wrap)[source]: Update URI.

This fixes a "download failed" error when building the package.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-01-31 17:51:03 +01:00
Tobias Geerinckx-Rice d09831fe52
installer: Edit desktop selection prompt.
* gnu/installer/newt/services.scm (run-desktop-environments-cbt-page):
Fix and clarify the #:info-text.
2021-01-31 17:08:17 +01:00
Tanguy Le Carrour 232a10f006
gnu: Add licenseheaders.
* gnu/packages/license.scm (licenseheaders): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-01-31 17:00:29 +01:00
Lars-Dominik Braun d6f79bc64d
gnu: teeworlds: Fix audio.
* gnu/packages/games.scm (teeworlds)[source]: Enable recursive cloning.
[build-system]: Switch to cmake-build-system.
[arguments]: Remove custom phases build and install.
[inputs]: Add openssl.
[native-inputs]: Remove bam.
[license]: Add map/language data license.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-01-31 16:57:25 +01:00
Efraim Flashner 3d72867e10
gnu: Add python-threadpoolctl.
* gnu/packages/machine-learning.scm (python-threadpoolctl): New variable.
2021-01-31 16:31:32 +02:00
Mathieu Othacehe 5c111882de
ci: Remove the package version from the job name.
Match Hydra behaviour where the job_name is <package_name>.<system>. This
allows to operate on several builds of the same package in the CI, regardless
of their version.

* gnu/ci.scm (job-name): Remove package version from the job name.
2021-01-31 15:14:15 +01:00
Ryan Prior 9953c4fa94
gnu: esbuild: Update to 0.8.37.
* gnu/packages/web.scm (esbuild): Update to 0.8.37.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-01-31 13:05:33 +02:00
Nicolas Goaziou 639ef1ac79
gnu: wireshark: Update to 3.4.3.
* gnu/packages/networking.scm (wireshark): Update to 3.4.3.
2021-01-31 11:55:14 +01:00
Nicolas Goaziou dcfe2712a1
gnu: python-pikepdf: Update to 2.5.1.
* gnu/packages/python-xyz.scm (python-pikepdf): Update to 2.5.1.
2021-01-31 11:53:34 +01:00
Nicolas Goaziou b4fdbdf967
gnu: emacs-tramp: Update to 2.5.0.1.
* gnu/packages/emacs-xyz.scm (emacs-tramp): Update to 2.5.0.1.
2021-01-31 11:52:58 +01:00
Sharlatan Hellseher ae416e852a
gnu: Add indi.
* gnu/packages/astronomy.scm (indi): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-31 11:42:36 +01:00
Sharlatan Hellseher f8d8109369
gnu: sbcl-deploy: Update to 1.0.0-2.9b20e64.
* gnu/packages/lisp-xyz.scm (sbcl-deploy): Update to 1.0.0-2.9b20e64.
  [arguments]: Add 'test-asd-file' and 'asd-files' parameters.
  [native-inputs]: Add cl-mpg123 and cl-out123.
  [inputs]: Add trivial-features.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-31 10:27:37 +01:00
Sharlatan Hellseher b41d8a702d
gnu: Add cl-mpg123.
* gnu/packages/lisp-xyz.scm (cl-mpg123, ecl-cl-mpg123, sbcl-cl-mpg123): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-31 10:27:37 +01:00
Sharlatan Hellseher 67793f33ec
gnu: Add cl-verbose.
* gnu/packages/lisp-xyz.scm (cl-verbose, ecl-verbose, sbcl-verbose): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-31 10:27:37 +01:00
Sharlatan Hellseher f7174a2889
gnu: Add cl-piping.
* gnu/packages/lisp-xyz.scm (cl-piping, ecl-piping, sbcl-piping): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-31 10:27:36 +01:00
Sharlatan Hellseher e05a36a823
gnu: sbcl-puri: Update to 1.5.7-2.4bbab89.
* gnu/packages/lisp-xyz.scm (sbcl-puri): Update to 1.5.7-2.4bbab89.
  [home-page]: Fix URL.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-31 10:27:36 +01:00
Sharlatan Hellseher e11055f012
gnu: sbcl-cl-online-learning: Update to 0.5-1.87fbef8.
* gnu/packages/lisp-xyz.scm (sbcl-cl-online-learning): Update to
  0.5-1.87fbef8.
  [arguments]: Add 'test-asd-file' and 'asd-systems' parameters. Activate
  tests.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-01-31 10:27:36 +01:00
Nicolas Goaziou 3e10f0eef0
gnu: alacritty: Update to 0.7.1.
* gnu/packages/terminals.scm (alacritty): Update to 0.7.1.
[origin]: Remove snippet.
[arguments]: Remove failing test. Remove unneeded phase and some replacements.
2021-01-31 09:50:47 +01:00
Nicolas Goaziou a45d8cffff
gnu: rust-libloading-0.6: Do not enable unstable features.
* gnu/packages/crates-io.scm (rust-libloading-0.6)[origin]: Remove snippet.

The snippet would make alacritty build fail.
2021-01-31 09:50:47 +01:00
Nicolas Goaziou 63ef731ebd
gnu: Add rust-alacritty-terminal-0.12.
* gnu/packages/crates-io.scm (rust-alacritty-terminal-0.12): New variable.
2021-01-31 09:50:47 +01:00
Nicolas Goaziou 6ee85bc499
gnu: Add rust-alacritty-config-derive-0.1.
* gnu/packages/crates-io.scm (rust-alacritty-config-derive-0.1): New variable.
2021-01-31 09:50:46 +01:00
Nicolas Goaziou d8bfc899ce
gnu: Add rust-vte-0.10.
* gnu/packages/crates-io.scm (rust-vte-0.10): New variable.
(rust-vte-0.3): Inherit from above.
2021-01-31 09:50:46 +01:00
Nicolas Goaziou 0c4aa2c9cd
gnu: Add rust-vte-generate-state-changes-0.1.
* gnu/packages/crates-io.scm (rust-vte-generate-state-changes-0.1): New variable.
2021-01-31 09:50:46 +01:00
Nicolas Goaziou dd94c3d340
gnu: Add rust-cocoa-0.24.
* gnu/packages/crates-io.scm (rust-cocoa-0.24): New variable.
(rust-cocoa-0.23): Inherit from above.
2021-01-31 09:50:45 +01:00
Nicolas Goaziou d7d8fe36f9
gnu: Add rust-core-graphics-0.22.
* gnu/packages/crates-graphics.scm (rust-core-graphics-0.22): New variable.
(rust-core-graphics-0.21): Inherit from above.
2021-01-31 09:50:45 +01:00
Nicolas Goaziou 36e8952f08
gnu: Add rust-copypasta-0.7.
* gnu/packages/crates-io.scm (rust-copypasta-0.7): New variable.
2021-01-31 09:50:45 +01:00
Nicolas Goaziou ecd46aeafc
gnu: Add rust-clipboard-win-3.
* gnu/packages/crates-io.scm (rust-clipboard-win-3): New variable.
(rust-clipboard-win-2.1): Inherit from above.
2021-01-31 09:50:44 +01:00
Nicolas Goaziou b619e9ba57
gnu: Add rust-lazy-bytes-cast-5.
* gnu/packages/crates-io.scm (rust-lazy-bytes-cast-5): New variable.
2021-01-31 09:50:44 +01:00
Nicolas Goaziou 48792feff9
gnu: Add rust-smithay-clipboard-0.6.
* gnu/packages/crates-graphics.scm (rust-smithay-clipboard-0.6): New variable.
(rust-smithay-clipboard-0.3): Inherit from above.
2021-01-31 09:50:44 +01:00