Commit graph

73131 commits

Author SHA1 Message Date
Clément Lassieur
13b2c44e5a
gnu: emacs-rg: Fix use on remote systems.
* gnu/packages/emacs-xyz.scm (emacs-rg)[inputs]: Remove.  Move ripgrep to...
[propagated-inputs]: ... here.  This also gives access to ripgrep's manual.
[arguments]: Replace the full path with the executable name.
2021-02-02 09:50:02 +01:00
Ben Sturmfels
0319f9fac2
services: postgresql: Update documented socket directory to match code.
This is a follow-up of 6c0679215f.

* doc/guix.texi (Database Services): Update it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-02-02 09:27:44 +01:00
Alexandr Vityazev
b66d9db336
gnu: emacs-imenu-list: Update to 0.8-0.46008.
* gnu/packages/emacs-xyz.scm (emacs-imenu-list): Update to 0.8-0.46008.

Fixes in that commit adapt the display function for changes in emacs 27.0.50.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-02 09:13:20 +01:00
Antoine Côté
796c9b0bf5
gnu: Add font-fira-go.
* gnu/packages/fonts.scm (font-fira-go): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-02 01:11:32 -05:00
Maxim Cournoyer
5e652e94a9
build: Add a --show-duration option to the SCM test-driver.
* build-aux/test-driver.scm (script-version): Update.
(show-help): Document it.
(%options): Add the 'show-duration' option.
(test-runner-gnu): Pass as a new argument.
[test-cases-start-time]: New inner variable.
[test-on-test-begin-gnu]: New hook, used to record the start time.
[test-on-test-end-gnu]: Conditionally print elapsed time.  Record it as the
optional metadata in the test result file (.trs).
* doc/guix.texi (Running the Test Suite): Document it.
2021-02-02 00:28:49 -05:00
Alexandros Theodotou
5b5915560e
gnu: Add zplugins.
* gnu/packages/music.scm (zplugins): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-01 19:54:35 -05:00
Alexandros Theodotou
60a5071f60
gnu: ztoolkit-rsvg: Move dependencies to propagated-inputs.
* gnu/packages/audio.scm (ztoolkit-rsvg)[inputs]: Remove librsvg.
[propagated-inputs]: Add librsvg.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-01 19:54:35 -05:00
Alexandros Theodotou
4bce3a06b1
gnu: ztoolkit: Move dependencies to propagated-inputs.
* gnu/packages/audio.scm (ztoolkit):[inputs]: Remove cairo, libx11.
[propagated-inputs]: Add cairo, libx11.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-01 19:54:35 -05:00
Léo Le Bouter
5ecc09551b
gnu: emacs-next-pgtk: Update to 28.0.50-1.ae18c8e.
* gnu/packages/emacs.scm (emacs-next-pgtk): Update to 28.0.50-1.ae18c8e.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-01 18:53:28 -05:00
Nicolas Goaziou
2ab2d8e554
gnu: python-folium: Update to 0.12.1.
* gnu/packages/python-xyz.scm (python-folium): Update to 0.12.1.
[source]: Fetch from GitHub instead of PyPI.
2021-02-01 21:53:28 +01:00
Nicolas Goaziou
aae32847b8
gnu: keepassxc: Update to 2.6.4.
* gnu/packages/password-utils.scm (keepassxc): Update to 2.6.4.
2021-02-01 21:42:05 +01:00
Nicolas Goaziou
1c1ff84f67
gnu: python-pikepdf: Update to 2.5.2.
* gnu/packages/python-xyz.scm (python-pikepdf): Update to 2.5.2.
2021-02-01 21:38:11 +01:00
Leo Famulari
75b775e81b
Merge branch 'staging' 2021-02-01 14:18:38 -05:00
Oleg Pykhalov
847c816ddd
doc: Explain how to set custom Shepherd package.
* doc/guix.texi (Shepherd Services): Give example on how to set custom
Shepherd package.
2021-02-01 21:49:43 +03:00
Mathieu Othacehe
85843123de
gnu: cuirass: Update to 0.0.1-64.79b77b4.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-64.79b77b4.
2021-02-01 18:20:19 +01:00
Kei Kebreau
1f1c525ac9
gnu: openbabel: Update to 3.1.1.
* gnu/packages/chemistry.scm (openbabel): Update to 3.1.1.
[source]: Update URI.
[arguments]: Temporarily skip tests on i686-linux.
2021-02-01 12:07:01 -05:00
Kei Kebreau
35bb3d5ffd
gnu: inchi: Update to 1.06.
* gnu/packages/chemistry.scm (inchi): Update to 1.06.
[source]: Use HTTPS.
[native-inputs]: Update inchi-doc hash.
2021-02-01 12:07:01 -05:00
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