Commit graph

66195 commits

Author SHA1 Message Date
Ludovic Courtès 2ba81afcc2
bash completion: Restore completion for 'guix system', etc.
Commit 538ca8dd65 introduced a second
'_guix_complete_subcommand' function, shadowing the existing one, which
broke sub-command completion for 'guix system', 'guix import', etc.

* etc/completion/bash/guix: Distinguish between '_guix_complete_command'
and '_guix_complete_subcommand'.  Adjust users to call the right one.
2020-09-10 12:27:24 +02:00
Ludovic Courtès 3794ce93be
scripts: Use 'define-command' and have 'guix help' use that.
This changes 'guix help' to print a short synopsis for each command and
to group commands by category.

* guix/scripts.scm (synopsis, category): New variables.
(define-command-categories, define-command): New macros.
(%command-categories): New variable.
* guix/ui.scm (<command>): New record type.
(source-file-command): New procedure.
(command-files): Return absolute file names.
(commands): Return a list of <command> records.
(show-guix-help)[display-commands, category-predicate]: New procedures.
Display commands grouped in three categories.
* guix/scripts/archive.scm (guix-archive): Use 'define-command'.
* guix/scripts/authenticate.scm (guix-authenticate): Likewise.
* guix/scripts/build.scm (guix-build): Likewise.
* guix/scripts/challenge.scm (guix-challenge): Likewise.
* guix/scripts/container.scm (guix-container): Likewise.
* guix/scripts/copy.scm (guix-copy): Likewise.
* guix/scripts/deploy.scm (guix-deploy): Likewise.
* guix/scripts/describe.scm (guix-describe): Likewise.
* guix/scripts/download.scm (guix-download): Likewise.
* guix/scripts/edit.scm (guix-edit): Likewise.
* guix/scripts/environment.scm (guix-environment): Likewise.
* guix/scripts/gc.scm (guix-gc): Likewise.
* guix/scripts/git.scm (guix-git): Likewise.
* guix/scripts/graph.scm (guix-graph): Likewise.
* guix/scripts/hash.scm (guix-hash): Likewise.
* guix/scripts/import.scm (guix-import): Likewise.
* guix/scripts/install.scm (guix-install): Likewise.
* guix/scripts/lint.scm (guix-lint): Likewise.
* guix/scripts/offload.scm (guix-offload): Likewise.
* guix/scripts/pack.scm (guix-pack): Likewise.
* guix/scripts/package.scm (guix-package): Likewise.
* guix/scripts/perform-download.scm (guix-perform-download): Likewise.
* guix/scripts/processes.scm (guix-processes): Likewise.
* guix/scripts/publish.scm (guix-publish): Likewise.
* guix/scripts/pull.scm (guix-pull): Likewise.
* guix/scripts/refresh.scm (guix-refresh): Likewise.
* guix/scripts/remove.scm (guix-remove): Likewise.
* guix/scripts/repl.scm (guix-repl): Likewise.
* guix/scripts/search.scm (guix-search): Likewise.
* guix/scripts/show.scm (guix-show): Likewise.
* guix/scripts/size.scm (guix-size): Likewise.
* guix/scripts/substitute.scm (guix-substitute): Likewise.
* guix/scripts/system.scm (guix-system): Likewise.
* guix/scripts/time-machine.scm (guix-time-machine): Likewise.
* guix/scripts/upgrade.scm (guix-upgrade): Likewise.
* guix/scripts/weather.scm (guix-weather): Likewise.
2020-09-10 12:27:24 +02:00
Ludovic Courtès 991fdb0d64
ui: '--help' output links to <https://guix.gnu.org/help/>.
* guix/ui.scm (show-bug-report-information): Link to
<https://guix.gnu.org/help/> instead of <https://www.gnu.org/gethelp/>.
The former is much more useful and includes links to GNU manuals.
2020-09-10 12:27:24 +02:00
Ludovic Courtès f17e1802ec
gnu: gcc-toolchain: Make "gcc" a "deprecated" alias for "gcc-toolchain".
Fixes <https://bugs.gnu.org/43303>.
Reported by Jeffrey Walton <noloader@gmail.com>.

* gnu/packages/commencement.scm (gcc-toolchain-aka-gcc): New variable.
2020-09-10 12:27:20 +02:00
Sergey Trofimov 2c229f1c10
gnu: Add fdroidcl.
* gnu/packages/android (fdroidcl): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-10 10:57:28 +03:00
Jelle Licht bba0533115
services: php-fpm: Add 'php-ini-file' configuration.
* gnu/services/web.scm: (<php-fpm-configuration>)[php-ini-file]: New record field.
(php-fpm-shepherd-service): Use it.
* doc/guix.texi (Web Services): Document it.
2020-09-10 09:46:03 +02:00
Mathieu Othacehe cafbc5f390
installer: final: Introduce call-with-mnt-container.
* gnu/installer/final.scm (call-with-mnt-container): New procedure,
(install-system): use it instead of call-with-container, to make sure that the
container is not jailed.
2020-09-10 09:38:52 +02:00
Mathieu Othacehe b3a83f1ece
build: linux-container: Fix run-container.
This is a follow-up of 5316dfc0f1. Some users of
run-container may expect that the container is jailed, even if there are no
mounts. This is the case for some Guix tests.

* gnu/build/linux-container.scm (run-container): Do not jail the container
when the requested root is "/".
2020-09-10 09:38:52 +02:00
Martin Becze cc6b1852e1
gnu: Add loko-scheme.
* gnu/packages/loko.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-10 09:27:02 +02:00
Martin Becze 3826288f68
gnu: Add guile-laesare.
* gnu/packages/guile-xyz.scm (guile-laesare): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-10 09:26:43 +02:00
Martin Becze 199da208ed
gnu: Add guile-machine-code.
* gnu/packages/guile-xyz.scm (guile-machine-code): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-10 09:26:27 +02:00
Martin Becze a684e6e269
gnu: Add guile-struct-pack.
* gnu/packages/guile-xyz.scm (guile-struct-pack): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-10 09:26:16 +02:00
Tobias Geerinckx-Rice 7090159c23
gnu: libcap-ng: Update to 0.8.
* gnu/packages/admin.scm (libcap-ng): Update to 0.8.
2020-09-10 05:04:26 +02:00
Tobias Geerinckx-Rice af62950fc0
gnu: burp: Update to 2.3.34 [security fixes].
* gnu/packages/backup.scm (burp): Update to 2.3.34.
2020-09-10 05:04:26 +02:00
Tobias Geerinckx-Rice 7ee3d015ee
gnu: snd: Update to 20.7.
* gnu/packages/audio.scm (snd): Update to 20.7.
2020-09-10 05:04:25 +02:00
Tobias Geerinckx-Rice e942dbd28c
gnu: fasm: Update to 1.73.25.
* gnu/packages/assembly.scm (fasm): Update to 1.73.25.
2020-09-10 05:04:25 +02:00
Kei Kebreau 39e880bfbb
gnu: starfighter: Update to 2.3.2.
* gnu/packages/games.scm (starfighter): Update to 2.3.2.
2020-09-09 21:13:53 -04:00
Kei Kebreau f98ea63204
gnu: retux: Update to 1.4.
* gnu/packages/games.scm (retux): Update to 1.4.
[source, home-page]: Update URLs.
[arguments]: Update 'install phase.
2020-09-09 21:00:15 -04:00
Kei Kebreau 2110cd1332
gnu: python-xsge: Update to 2020.09.07.
* gnu/packages/game-development.scm (python-xsge): Update to 2020.09.07.
[native-inputs]: Add unzip.
[propagated-inputs]: Remove python-game, python-six, and python-tmx.  Use
python-sge instead of python-sge-pygame.
[home-page]: Update URL.
(python2-xsge): Remove unsupported Python 2 variant.
2020-09-09 20:59:14 -04:00
Kei Kebreau 762c89fb20
gnu: python-sge: Update to 1.7.
* gnu/packages/game-development.scm (python-sge-pygame): Define as deprecated
alias for python-sge.
(python2-sge-pygame): Remove unsupported Python 2 variant.
(python-sge)[source]: Use pypi-uri.
[propagated-inputs]: Remove python-six.
[home-page]: Update URL.
2020-09-09 20:56:54 -04:00
Ludovic Courtès 6a5a882bc6
gnu: python-file: Shrink synopsis.
* gnu/packages/python-xyz.scm (python-file)[synopsis]: Reduce to a few words.
[description]: Adjust to include bit about 'python-magic' and 'magic.py'.
2020-09-09 23:21:57 +02:00
Alberto Eleuterio Flores Guerrero 7613651890
gnu: Add emacs-moody.
* gnu/packages/emacs-xyz.scm (emacs-moody): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-09 23:21:57 +02:00
Ryan Prior 90a6991385
gnu: protonvpn-cli: Update to 2.2.4.
* gnu/packages/vpn.scm (protonvpn-cli): Update to 2.2.4

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-09 23:21:56 +02:00
Michael Rohleder 3f3fd3d499
gnu: emacs-which-key: Update to 3.5.0.
* gnu/packages/emacs-xyz.scm (emacs-which-key): Update to 3.5.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-09-09 23:01:03 +02:00
Nicolas Goaziou d5d5618c07
gnu: emacs-direnv: Update to 2.1.0.
* gnu/packages/emacs-xyz.scm (emacs-direnv): Update to 2.1.0.
2020-09-09 21:59:09 +02:00
Mark H Weaver ca59f7a2fb
gnu: linux-libre@4.14: Update to 4.14.197.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.197.
(linux-libre-4.14-pristine-source): Update hash.
(deblob-scripts-4.14): Stay at version 4.14.196.
2020-09-09 15:01:22 -04:00
Mark H Weaver 6e9be09004
gnu: linux-libre@4.19: Update to 4.19.144.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.144.
(linux-libre-4.19-pristine-source): Update hash.
(deblob-scripts-4.19): Stay at version 4.19.143.
2020-09-09 14:54:37 -04:00
Mark H Weaver 84b9319fc6
gnu: linux-libre@5.4: Update to 5.4.64.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.64.
(linux-libre-5.4-pristine-source): Update hash.
(deblob-scripts-5.4): Stay at version 5.4.63.
2020-09-09 14:46:58 -04:00
Alexey Abramov 22470c88af
services: dovecot: Serialize global settings first.
* gnu/services/mail.scm (dovecot-configuration): To avoid dovecot warning
messages, move serialization of protocol settings below the global one.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-09-09 20:37:07 +02:00
Alexey Abramov bcfe0f0c1e
services: dovecot: Use modules via symlink to system profile.
* gnu/services/mail.scm (%dovecot-activation): Link the location with multiple
plugins (dovecot-pigeonhole, etc), to a place where dovecot can find them.
* gnu/services/mail.scm (dovecot-configuration): Use the symlink.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-09-09 20:37:07 +02:00
Efraim Flashner db0109be42
gnu: dovecot: Set moduledir to global directory.
* gnu/packages/mail.scm (dovecot)[arguments]: Add configure-flag to set
moduledir. Adjust custom 'install phase to override moduledir so it
successfully installs.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2020-09-09 20:37:06 +02:00
Tobias Geerinckx-Rice 042d7eb114
gnu: znc: Update to 1.8.2.
* gnu/packages/messaging.scm (znc): Update to 1.8.2.
2020-09-09 20:37:06 +02:00
Mark H Weaver ad42c20921
gnu: linux-libre: Update to 5.8.8.
* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.8.
(linux-libre-5.8-pristine-source): Update hash.
(deblob-scripts-5.8): Stay at version 5.8.7.
2020-09-09 14:32:04 -04:00
Dr. Arne Babenhauserheide eb15d38162
gnu: mercurial: Update to 5.5.1.
* gnu/packages/version-control.scm (mercurial): Update to 5.5.1.
[source]: Remove patches.
[arguments]: Adjust the custom 'check phase to delete a few more files.
(mercurial-patch): Remove procedure.
(%mercurial-patches): Remove variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-09-09 21:02:44 +03:00
Ricardo Wurmus 0f8db4dc88
Revert "gnu: Add r-loomr."
This reverts commit 1f56ec08af.

This package is not free software.
2020-09-09 18:14:48 +02:00
Ricardo Wurmus ef897e9aa8
gnu: Add inspekt3d.
* gnu/packages/engineering.scm (inspekt3d): New variable.
2020-09-09 18:14:34 +02:00
Roel Janssen 0574446be8
gnu: Add r-bisquerna.
* gnu/packages/bioinformatics.scm (r-bisquerna): New variable.
2020-09-09 17:02:55 +02:00
Roel Janssen a9401b4c94
gnu: Add r-useful.
* gnu/packages/cran.scm (r-useful): New variable.
2020-09-09 16:59:42 +02:00
Roel Janssen 1f56ec08af
gnu: Add r-loomr.
* gnu/packages/bioinformatics.scm (r-loomr): New variable.
2020-09-09 16:56:02 +02:00
Roel Janssen 37d3373008
gnu: Add r-mboost.
* gnu/packages/cran.scm (r-mboost): New variable.
2020-09-09 16:51:08 +02:00
Roel Janssen cc61af0b29
gnu: Add r-stabs.
* gnu/packages/cran.scm (r-stabs): New variable.
2020-09-09 16:47:35 +02:00
Roel Janssen 57add3d0fc
gnu: Add r-partykit.
* gnu/packages/cran.scm (r-partykit): New variable.
2020-09-09 16:41:50 +02:00
Nicolas Goaziou d165d77f85
gnu: emacs-explain-pause-mode: Fix synopsis and description.
* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode)[synopsis,
description]: Conform to style recommendations.
2020-09-09 15:30:54 +02:00
Pierre Neidhardt 200aaaeebc
gnu: emacs-org-contrib: Fix version to 20200907.
* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Version 20200908 does not
exist yet, use the last one on ELPA.
2020-09-09 14:46:43 +02:00
Pierre Neidhardt 057d584b98
gnu: emacs-org-contrib: Update to 20200908.
* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Update to 20200908.
2020-09-09 14:29:35 +02:00
Pierre Neidhardt e31289085d
gnu: emacs-sly-macrostep: Update to 20191211.
* gnu/packages/emacs-xyz.scm (emacs-sly-macrostep): Update to 20191211.
2020-09-09 11:55:34 +02:00
Pierre Neidhardt 086ae88000
gnu: emacs-sly: Update to 20200903.
* gnu/packages/emacs-xyz.scm (emacs-sly): Update to 20200903.
2020-09-09 11:55:34 +02:00
Michael Rohleder 219e0a497e
gnu: taglib: Fix 'taglib-config --libs' -L flag.
* gnu/packages/mp3.scm (taglib): Add "" around the substitution of
ZLIB_LIBRARIES_FLAGS and add "/lib".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-09-09 10:27:54 +02:00
Efraim Flashner 65d96ea4b8
gnu: enlightenment: Fix inputs.
* gnu/packages/enlightenment.scm (enlightenment)[inputs]: Move efl,
wayland-protocols ...
[propagated-inputs]: ... to here. Add libxkbcommon.
2020-09-09 11:03:39 +03:00
Prafulla Giri 918a8f49a0
gnu: Add breeze.
* gnu/packages/kde-frameworks.scm (breeze): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-09 09:28:12 +02:00