Commit Graph

58777 Commits

Author SHA1 Message Date
Ludovic Courtès f224635578
news: Add entry for the cookbook.
* etc/news.scm: Add entry for the cookbook.
2020-04-21 23:52:35 +02:00
Ludovic Courtès e1e6491226
self: Build and install 'guix-cookbook.info' and its translations.
* guix/self.scm (translate-texi-manuals)[build]: Translate and install
guix-cookbook.texi.
(info-manual)[build]: Handle "guix-cookbook*.texi".
2020-04-21 23:52:19 +02:00
Ludovic Courtès 84c37e6368
self: translate-texi-manuals: Add 'available-translations'.
* guix/self.scm (translate-texi-manuals)[build](available-translations):
New procedure.
Use it rather than directly calling 'find-files' & co.
2020-04-21 23:52:19 +02:00
Ludovic Courtès cc753650ec
self: translate-texi-manuals: Don't hardcode "guix.texi".
* guix/self.scm (translate-texi-manuals)[build](translate-texi): Add
'prefix' and #:extras parameters and honor them.  Adjust callers.
2020-04-21 23:52:19 +02:00
Ludovic Courtès cb26edc8f6
doc: Include *.json files in the source.
This is a followup to c9f321e52a.

* doc/build.scm (texinfo-manual-source)[build]: Add *.json to #$output.
2020-04-21 23:52:19 +02:00
Leo Famulari 0b9a117765
gnu: OpenSSL: Update to 1.1.1g [fixes CVE-2020-1967].
* gnu/packages/tls.scm (openssl)[replacement]: Replace with openssl-1.1.1g.
(openssl-1.1.1e): Replace variable with ...
(openssl-1.1.1g): ... this.
2020-04-21 16:03:29 -04:00
Michael Rohleder a1c34680b3
gnu: emacs-dired-toggle-sudo: Update to 1.0-0.13bbe52.
* gnu/packages/emacs-xyz.scm (emacs-dired-toggle-sudo): Update to 1.0-0.13bbe52.
* gnu/packages/patches/emacs-dired-toggle-sudo-emacs-26.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-04-21 12:53:56 -04:00
Ludovic Courtès 7681246325
gnu: shepherd: Add Guile 2.0 variant.
* gnu/packages/admin.scm (guile2.0-shepherd): New variable.
2020-04-21 16:33:21 +02:00
Ludovic Courtès e3358a831e
gnu: shepherd: Update to 0.8.0.
* gnu/packages/admin.scm (shepherd): Update to 0.8.0.
* gnu/services/shepherd.scm (shepherd-configuration-file): Use
'default-pid-file-timeout' instead of fiddling with '%pid-file-timeout'.
2020-04-21 16:33:21 +02:00
Ludovic Courtès aa7b3c6c0e
tests: web: Explicitly wait for the HTTP port.
* gnu/tests/web.scm (run-webserver-test)["HTTP port ready"]: New test.
2020-04-21 16:33:21 +02:00
Ludovic Courtès a295a1ca29
tests: ssh: Explicitly wait for port 22.
Previously we could occasionally try to connect before the server is
actually listening, both for OpenSSH and Dropbear.

* gnu/tests/ssh.scm (run-ssh-test)["wait for port 22"]: New test.
2020-04-21 16:33:21 +02:00
Ricardo Wurmus d10e7a348c
gnu: guile-xapian: Update to 0.1.0.
* gnu/packages/guile-xyz.scm (guile-xapian): Update to 0.1.0.
2020-04-21 14:34:47 +02:00
Pjotr Prins 0e64f12db5
gnu: Add python-rdflib-jsonld.
* gnu/packages/rdf.scm (python-rdflib-jsonld): New variable.
2020-04-21 12:41:47 +03:00
Efraim Flashner 5d29808bea
gnu: rdf.scm: Use license: prefix.
* gnu/packages/rdf.scm: Use a 'license:' prefix for package licenses
instead of only importing a select number of licenses.
2020-04-21 12:38:19 +03:00
Vagrant Cascadian 5327b399a8
gnu: Add u-boot-pinebook-pro-rk3399.
* gnu/packages/bootloaders (u-boot-pinebook-pro-rk3399): New variable.
* gnu/packages/patches/u-boot-DT-for-Pinebook-Pro.patch: New file.
* gnu/packages/patches/u-boot-add-boe-nv140fhmn49-display.patch: New file.
* gnu/packages/patches/u-boot-gpio-keys-binding-cons.patch: New file.
* gnu/packages/patches/u-boot-leds-common-binding-con.patch: New file.
* gnu/packages/patches/u-boot-support-Pinebook-Pro-laptop.patch: New file.
* gnu/packages/patches/u-boot-video-rockchip-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add new patches.
* gnu/bootloader/u-boot.scm (install-pinebook-pro-rk3399-u-boot,
  u-boot-pinebook-pro-rk3399-bootloader): New variable.

Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
2020-04-20 19:13:35 -07:00
Raghav Gururajan 41169f21e6
gnu: liblinphone: Fix icons.
* gnu/packages/linphone.scm (liblinphone): Fix icons.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2020-04-20 21:50:27 -04:00
Vagrant Cascadian ce5f4701d1
gnu: obs: Update to 25.0.7.
* gnu/packages/video (obs): Update to 25.0.7.
2020-04-20 15:10:18 -07:00
Ludovic Courtès c8d8f6160e
packages: Recommend against the use of 'package-file'.
* guix/packages.scm (package-file): Recommend against its use in the
docstring.
* doc/guix.texi (The Store Monad): Likewise.
2020-04-21 00:06:40 +02:00
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