Commit graph

73007 commits

Author SHA1 Message Date
Efraim Flashner
877ab0266c
gnu: vcflib: Fix generated pkg-config file.
* gnu/packages/bioinformatics.scm (vcflib)[arguments]: In custom
generated pkg-config file, link with all needed libraries and
fix linker library.
* gnu/packages/patches/freebayes-devendor-deps.patch: Adjust accordingly.
2021-02-01 19:02:14 +02:00
Ludovic Courtès
15078567c1
news: Add entry for '--export-manifest' and '--export-channels'.
* etc/news.scm: Add entry.
2021-02-01 17:58:05 +01:00
Ludovic Courtès
aedbc5ff32
guix package: Add '--export-channels'.
* guix/channels.scm (sexp->channel): Export.
* guix/describe.scm: Use (guix channels).
(manifest-entry-provenance): New procedure.
* guix/scripts/package.scm (channel=?, export-channels): New
procedures.
(show-help, %options): Add '--export-channels'.
(process-query): Honor it.
* build-aux/build-self.scm (build-program)[select?]: Exclude (guix
channels) to account for the (guix describe) change above.
* doc/guix.texi (Invoking guix package): Document it.
2021-02-01 17:32:35 +01:00
Ludovic Courtès
60d72f5364
channels: Add 'channel->code'.
* guix/channels.scm (channel->code): New procedure, taken from...
* guix/scripts/describe.scm (channel->sexp): ... here.
Adjust callers accordingly.
2021-02-01 17:32:35 +01:00
Ludovic Courtès
1b88b7bad2
guix describe: Use 'manifest-entry-channel'.
* guix/channels.scm (manifest-entry-channel): Export.
* guix/scripts/describe.scm (display-profile-content): Use it.
2021-02-01 17:32:35 +01:00
Ludovic Courtès
a47f16a874
channels: Add the channel name to channel sexps.
* guix/channels.scm (channel-instance->sexp): Add 'name'.
(sexp->channel): Extract the name from SEXP, using the optional argument
as a fallback.
2021-02-01 17:32:35 +01:00
Ludovic Courtès
9272cc700e
channels: Factorize 'manifest-entry-channel' and channel serialization.
* guix/channels.scm (sexp->channel, manifest-entry-channel): New
procedures.
(profile-channels): Replace lambda by 'manifest-entry-channel'.
(channel-instance->sexp): New procedure.
(channel-instances->manifest)[instance->entry]: Use
'channel-instance->sexp' instead of inline code.
2021-02-01 17:32:35 +01:00
Ludovic Courtès
9fd7b050e2
guix package: Add '--export-manifest'.
* guix/scripts/package.scm (export-manifest): New procedure.
(show-help, %options): Add '--export-manifest'.
(process-query): Honor it.
* guix/build/profiles.scm (build-profile): Mention it.
* tests/guix-package.sh: Test it.
* doc/guix.texi (Invoking guix package): Document it.
2021-02-01 17:32:35 +01:00
Ludovic Courtès
579506e272
utils: Add 'version-unique-prefix'.
* guix/utils.scm (version-unique-prefix): New procedure.
* tests/utils.scm ("version-unique-prefix"): New test.
2021-02-01 17:32:34 +01:00
Ludovic Courtès
b41e21488f
profiles: Add 'manifest->code'.
* guix/profiles.scm (manifest->code): New procedure.
* tests/profiles.scm ("manifest->code, simple")
("manifest->code, simple, versions")
("manifest->code, transformations"): New tests.
2021-02-01 17:32:31 +01:00
Ludovic Courtès
73744725dd
tests: Optimize 'fold-available-packages' test.
This test goes from 58s to 10s wall-clock time.

Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* tests/packages.scm ("fold-available-packages with/without cache"):
Remove 'find-duplicates'.  Add 'list->set*' and use it instead of
'find-duplicates', 'delete-duplicates', and 'lset='.
2021-02-01 16:07:18 +01:00
Ludovic Courtès
93af2ac871
gnu: rdma-core: Build as "RelWithDebInfo".
This allows users to use '--with-debug-info=rdma-core' and is otherwise
equivalent to "Release".

* gnu/packages/linux.scm (rdma-core)[arguments]: Remove #:build-type.
2021-02-01 12:51:03 +01:00
Ludovic Courtès
37e997bc78
gnu: rdma-core: Remove "-DIOCTL_MODE=write" configure flag.
Fixes <https://bugs.gnu.org/46229>.

This flag was added in commit 2b14c60d38.
It is apparently no longer needed.  Worse, it now causes segfaults when
used with Omni-Path devices, as reported in the bug above.

* gnu/packages/linux.scm (rdma-core)[arguments]: Remove
"-DIOCTL_MODE=write" from #:configure-flags.
2021-02-01 12:51:03 +01:00
Mathieu Othacehe
221fddd2e2
gnu: cuirass: Update to 0.0.1-63.da93cb9.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-63.da93cb9.
2021-02-01 12:07:21 +01:00
Mathieu Othacehe
bd139ecda2
gnu: cuirass: Update to 0.0.1-62.74c1a94.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-62.74c1a94.
2021-02-01 11:52:14 +01:00
Fredrik Salomonsson
21f1f55012
gnu: pinentry-rofi: Update to 2.0.3.
* gnu/packages/gnupg.scm (pinentry-rofi): Update to 2.0.3.
[arguments]: Add make installcheck phase to verify the installed artifact.
[native-inputs]: Add autoconf-archive.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-02-01 12:49:51 +02:00
Christopher Baines
f1fada8ace
gnu: guix-data-service: Update to 0.0.1-24.060df92.
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-24.060df92.
2021-02-01 08:46:47 +00:00
Leo Famulari
263b3961f4
Revert "gnu: kwayland: Enable test suite."
This reverts commit ba3e25bbf2.

This commit is reverted because it caused kwayland to no longer build on the
build farm. Specifically, the test "PlasmaWindowModelTest::testVirtualDesktops"
fails.

See this discussion for more information:

https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00382.html
2021-02-01 03:02:49 -05:00
Maxim Cournoyer
26a66d0fea
build: test-driver.scm: Allow running as a standalone script.
* build-aux/test-driver.scm: Add an exec-based shebang and set the script
executable bit.
(main): Insert a newline after the version string is printed with --version.
2021-01-31 22:28:46 -05:00
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