Commit graph

58759 commits

Author SHA1 Message Date
Ludovic Courtès 71977a6c59
Revert "system: Don’t create a module database when no modules are available."
This reverts commit b2fff3b5de.

Fixes <https://bugs.gnu.org/40713>.
Reported by pkill9 <pkill9@runbox.com>.

This commit is incorrect: its effect depends on whether KERNEL's build
output is already available in the store, it breaks with non-package
kernels as reported at <https://bugs.gnu.org/40713>, and the
LINUX-MODULE-DATABASE hook is required at all times since
5c79f23863 removed the relevant bits from
the 'linux-libre' package.
2020-04-21 00:06:40 +02:00
Ludovic Courtès a322e9d16b
services: etc: Detect and report duplicate entries.
Fixes <https://bugs.gnu.org/40729>.
Reported by Christopher Baines <mail@cbaines.net>.

* gnu/services.scm (files->etc-directory)[assert-no-duplicates]: New
procedure.
Use it.
2020-04-21 00:06:40 +02:00
Ludovic Courtès b25ecfa2e0
services: dovecot: 'stop' method returns #f upon success.
* gnu/services/mail.scm (dovecot-shepherd-service)[stop]: Use 'invoke'
instead of 'make-forkexec-constructor'.  Previously, the 'stop' method
would return the PID of the "dovecot stop" process, which would be
interpreted as a failure to stop the service.
2020-04-21 00:06:40 +02:00
Ludovic Courtès 7d903d2ff7
services: Don't use the deprecated 'make-forkexec-constructor' call.
Passing 'make-forkexec-constructor' a string or several string arguments
has been deprecated since dmd 0.1.

* gnu/services/base.scm (rngd-service-type): In 'start' method, pass a
list as the first argument to 'make-forkexec-constructor'.
* gnu/services/desktop.scm (bluetooth-shepherd-service): Likewise.
* gnu/services/spice.scm (spice-vdagent-shepherd-service): Likewise.
2020-04-21 00:06:40 +02:00
Ludovic Courtès b6cb4aeff8
gnu: mcron: Remove now unneeded phase.
This is a followup to a52aa7fdef.

* gnu/packages/guile-xyz.scm (mcron)[arguments]: Remove
'fix-finding-guile'.
2020-04-21 00:06:39 +02:00
Leo Famulari b023a8acd3
gnu: cgit: Update Git source code to 2.25.4.
* gnu/packages/version-control.scm (cgit)[inputs]: Update git-source to 2.25.4.
2020-04-20 16:21:08 -04:00
Leo Famulari 781af06533
gnu: Git: Update to 2.26.2 [fixes CVE-2020-11008].
* gnu/packages/version-control.scm (git): Update to 2.26.2.
[native-inputs]: Update git-manpages.
2020-04-20 16:21:04 -04:00
Naga Malleswari 2eac967ab7
gnu: xfce.scm: Sort module imports.
* gnu/packages/xfce.scm: Sort module imports.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-20 21:32:22 +02:00
Florian Pelz 80dbad1814
installer: Rename uvesafb shepherd service to maybe-uvesafb.
Because the installer's uvesafb service loads uvesafb only on some machines.

This is a follow-up to commit 0ad60b2a89.

* gnu/system/install.scm (uvesafb-shepherd-service): Adjust provision and
description fields.
2020-04-20 19:24:21 +00:00
R Veera Kumar 9b3c231e3c
gnu: libqalculate: Fix libcurl gnutls CA cert bundle file.
* gnu/packages/patches/libqalculate-3.8.0-libcurl-ssl-fix.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/maths.scm (libqalculate)[source]: Use it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-20 20:05:09 +02:00
Raghav Gururajan e71c7f6abe
gnu: Add midori.
* gnu/packages/web-browsers.scm (midori): New variable.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-04-20 18:54:33 +02:00
Julien Lepiller fd546bbbee
syscalls: Fix Linux detection in 'readdir*'.
* guix/build/syscalls.scm (readdir*): Fix Linux detection for
`arm-unknown-linux-gnueabihf'.
2020-04-20 16:30:14 +02:00
Eric Brown e68c8d3ef8
gnu: Add r-bridgesampling.
* gnu/packages/cran.scm (r-bridgesampling): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-04-20 15:11:08 +02:00
Ricardo Wurmus 10af34cd7f
tests: Update expected values for package->code.
Reported by janneke on IRC.

* tests/print.scm: Update expected package definitions produced by package->code.
2020-04-20 10:57:49 +02:00
Efraim Flashner a8f01c45c6
gnu: java-bouncycastle: Don't use unstable tarball.
* gnu/packages/java.scm (java-bouncycastle)[source]: Download using
git-fetch. Use upstream's repo, not a mirror.
2020-04-20 08:42:06 +03:00
Efraim Flashner 6632fc2897
gnu: java-lz4: Don't use unstable tarball.
* gnu/packages/java.scm (java-lz4)[source]: Download using git-fetch.
[arguments]: Add phase to make files writable.
2020-04-20 08:42:06 +03:00
Efraim Flashner e9917c696b
gnu: java-fest-assert: Don't use unstable tarball.
* gnu/packages/java.scm (java-fest-assert)[source]: Download using
git-fetch.
2020-04-20 08:42:06 +03:00
Efraim Flashner 79e7400883
gnu: java-fest-test: Don't use unstable tarball.
* gnu/packages/java.scm (java-fest-test)[source]: Download using
git-fetch.
2020-04-20 08:42:06 +03:00
Efraim Flashner 00f3190d6b
gnu: java-fest-util: Don't use unstable tarball.
* gnu/packages/java.scm (java-fest-util)[source]: Download using
git-fetch.
2020-04-20 08:42:06 +03:00
Efraim Flashner 8c2a6183de
gnu: graphene: Update to 1.10.0.
* gnu/packages/gtk.scm (graphene): Update to 1.10.0.
[build-system]: Switch to meson-build-system.
[arguments]: Update configure-flags to not install tests.
[inputs]: Remove python2. Move gobject-introspection ...
[native-inputs]: ... to here. Remove autoconf, automake, libtool, which.
2020-04-20 08:42:05 +03:00
Efraim Flashner 6914eea01d
gnu: sparql-query: Sort inputs alphabetically.
* gnu/packages/databases.scm (sparql-query)[inputs]: Sort alphabetically.
2020-04-20 08:42:05 +03:00
Efraim Flashner ce64b9d136
gnu: sparql-query: Don't use unstable tarball.
* gnu/packages/databases.scm (sparql-query)[source]: Download using
git-fetch.
2020-04-20 08:42:02 +03:00
Pierre Langlois 096a0527a1
gnu: mu: Update to 1.4.
* gnu/packages/mail.scm (mu): Update to 1.4.
[arguments]: Remove 'fix-date-tests phase. Add 'patch-bin-sh-in-tests phase.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-04-19 18:36:27 -04:00
Ludovic Courtès 5e7076f2a5
services: Add 'simulated-wifi-service-type'.
* gnu/services/networking.scm (simulated-wifi-shepherd-services): New
procedure.
(simulated-wifi-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.
2020-04-19 23:50:17 +02:00
Ludovic Courtès a03943ec00
services: Add 'hostapd-service-type'.
* gnu/services/networking.scm (<hostapd-configuration>): New record
type.
(hostapd-configuration-file, hostapd-shepherd-services): New
procedures.
(hostapd-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.
2020-04-19 23:50:17 +02:00
Julien Lepiller 4313e6ec55
gnu: php: Update to 7.4.5.
* gnu/packages/php.scm (php): Update to 7.4.5.
2020-04-19 22:57:16 +02:00
Danny Milosavljevic 58d5b8b44b
Revert "gnu: libxfce4util: Update to 4.15.0."
This reverts commit c0bff513a4.
2020-04-19 18:44:24 +02:00
Nicolas Goaziou 5c10d55206
gnu: emacs-org-superstar: Update to 1.2.1.
* gnu/packages/emacs-xyz.scm (emacs-org-superstar): Update to 1.2.1.
2020-04-19 14:33:30 +02:00
Ludovic Courtès 40c6b1802c
doc: Make install script more prominent.
Suggested by Steven vanZyl <rushsteve1@rushsteve1.us>.

* doc/guix.texi (Binary Installation): Add @example showing how to
download the script.  Use "systemctl enable --now".
2020-04-19 13:27:07 +02:00
Raghav Gururajan a3cbcbaf8b
gnu: Add notification-daemon.
* gnu/packages/gnome.scm (notification-daemon): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-04-19 13:27:07 +02:00
Ludovic Courtès 3c91f00341
tests: Invoke 'git' with a custom '.gitconfig' and ignore the system config.
Fixes <https://bugs.gnu.org/37679>.
Reported by Gábor Boskovits <boskovits@gmail.com>.

* guix/tests/git.scm (call-with-environment-variables): New procedure.
(with-environment-variables): New macro.
(populate-git-repository)[git]: Wrap (git-command) invocation in
'call-with-temporary-directory' and 'with-environment-variables'.
2020-04-19 13:27:06 +02:00
Martin Becze 0639a24038
gnu: Add trezord-udev-rules.
* gnu/packages/finance.scm (trezord-udev-rules): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-04-19 13:27:06 +02:00
Ludovic Courtès 04594054d6
status: Remove extra space before ellipsis.
Extra space was introduced in 8fa4ac5be4.

* guix/status.scm (print-build-event): Remove extra space before
ellipsis.
2020-04-19 13:27:06 +02:00
Mathieu Othacehe ea6594e08e
installer: connman: Fix Wifi connection.
Issue reported by SergioBG here:
https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00432.html.

Due to default buffering mode, the installer was reading from the pipe without
having actually written a command before.

* gnu/installer/connman.scm (connman-connect-with-auth): Set pipe buffering
mode to 'line.
2020-04-19 11:46:21 +02:00
Efraim Flashner fafe2343c2
services: sddm: Have sddm provision xorg-server.
* gnu/services/sddm.scm (sddm-shepherd-service)[shepherd-service]: Have
sddm provision 'xorg-server like the other display managers.
2020-04-19 09:06:20 +03:00
Efraim Flashner de5200ada9
gnu: python-cython: Update to 0.29.16.
* gnu/packages/python-xyz.scm (python-cython): Update to 0.29.16.
2020-04-18 22:50:59 +03:00
Efraim Flashner cac674d99d
gnu: qrcodegen-cpp: Update to 1.6.0.
* gnu/packages/aidc.scm (qrcodegen-cpp): Update to 1.6.0.
2020-04-18 22:23:51 +03:00
Efraim Flashner 0144f8def8
gnu: vim-asyncrun: Update to 2.7.5.
* gnu/packages/vim.scm (vim-asyncrun): Update to 2.7.5.
2020-04-18 22:23:48 +03:00
Leo Famulari d7041a69ed
gnu: libavif: Update to 0.7.1.
* gnu/packages/image.scm (libavif): Update to 0.7.1.
[arguments]: Run the test suite.
2020-04-18 15:08:36 -04:00
Giacomo Leidi 190f460f98
gnu: Add node-semver.
* gnu/packages/node-xyz.scm (node-semver): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-04-18 21:36:26 +03:00
Efraim Flashner 6a825d8c0d
gnu: chess: Update to 6.2.6.
* gnu/packages/games.scm (chess): Update to 6.2.6.
2020-04-18 21:01:52 +03:00
Efraim Flashner dc9b1835d2
gnu: chess: Set upstream name and ftp-directory.
* gnu/packages/games.scm (chess)[properties]: New field. Add
upstream-name and ftp-directory.
2020-04-18 20:57:15 +03:00
Mathieu Othacehe 1a9af96b18
installer: Fix backtrace display.
The 'syslog' macro cannot be resolved in the pre-unwind-handler
context. Failed to resolve 'syslog' in this context resulted in the swallowing
of all installation errors.

Fixes 5c04b00cf4.

* gnu/installer.scm (installer-program): Use (gnu installer utils) module.
2020-04-18 17:42:02 +02:00
Tobias Geerinckx-Rice aa78c596c9
gnupg: Accept revoked keys.
I (nckx) have revoked all RSA subkeys, in favour of my older and
freshly-refreshed ECDSA ones.  This was merely a precaution: to my
knowledge all my RSA private keys have been carefully destroyed and
were never compromised.  This commit keeps ‘make authenticate’ happy.

* guix/gnupg.scm (revkeysig-rx): New variable for revoked keys.
(gnupg-verify): Parse it.
(gnupg-status-good-signature?): Accept it as ‘good’ for our purposes.
* build-aux/git-authenticate.scm (%committers): Clarify nckx's subkeys.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-04-17 23:36:47 +02:00
Leo Famulari 5a8ef3c127
gnu: Use the test-only time zone database where appropriate.
* gnu/packages/backup.scm (duplicity)[inputs]: Remove tzdata.
[native-inputs]: Add tzdata-for-tests.
* gnu/packages/finance.scm (ledger): Likewise.
* gnu/packages/compression.scm (lhasa)[native-inputs]: Use tzdata-for-tests.
* gnu/packages/cran.scm (r-rstan)[native-inputs]: Likewise.
* gnu/packages/databases.scm (mongodb)[native-inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (kdelibs4support)[native-inputs]: Likewise.
2020-04-17 17:26:56 -04:00
Martin Becze abb37b3c62
gnu: trezord: Update to 2.0.29.
* gnu/packages/finance.scm (trezord): Update to 2.0.29.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-04-17 23:18:32 +02:00
Vincent Legoll 694e10af63
ui: Fix typos, 80-col & grammar in comments & docstrings.
* guix/ui.scm (load*): Fix comment line length.
(leave-on-EPIPE): Fix typo in docstring.
(substitutable-info): Fix typo in comment.
(indented-string): Fix typo in docstring.
(%package-metrics): Fix typo in comment.
(run-guix): Fix grammar in docstring.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-04-17 23:18:32 +02:00
TomZ 4e3314a4c5
gnu: fulcrum: Update to 1.1.0
* gnu/packages/finance.scm (fulcrum): Update to 1.1.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-04-17 23:18:32 +02:00
mikadoZero a37c59af62
doc: Update nar decompression examples.
* doc/guix.texi (Invoking guix archive): Show /gzip URL.
Add cross-reference to "Invoking guix challenge".
(Invoking guix challenge): Show /lzip URL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-04-17 23:18:32 +02:00
Ludovic Courtès 1e7281108b
services: account: Have 'user-processes' depend on 'user-homes'.
Until now, 'user-homes' happened to start right after 'user-processes'
and before services that depend on a home directory but the dependency
was not explicit.  This addresses it.

* gnu/system/shadow.scm (account-service-type): Extend
USER-PROCESSES-SERVICE-TYPE.
2020-04-17 23:18:32 +02:00