Commit graph

93222 commits

Author SHA1 Message Date
Marius Bakke 93cc9fb140
gnu: xtl: Update to 0.7.4.
* gnu/packages/cpp.scm (xtl): Update to 0.7.4.
[native-inputs]: Add DOCTEST.
[arguments]: Remove trailing #t.
2022-02-19 10:43:22 +01:00
Marius Bakke 76c30931ad
gnu: python-gridmap: Disable sanity check.
* gnu/packages/python-xyz.scm (python-gridmap)[arguments]: Add #:phases.
2022-02-19 10:43:22 +01:00
Marius Bakke 144d9232bd
gnu: python-pyvo: Update to 1.2.1.
* gnu/packages/astronomy.scm (python-pyvo): Update to 1.2.1.
[arguments]: Remove obsolete workaround.
2022-02-19 10:43:22 +01:00
Marius Bakke 57bfc7233b
gnu: efivar: Update to 38.
* gnu/packages/linux.scm (efivar): Update to 38.
[source](snippet, modules, patches): Remove.
[native-inputs]: Add MANDOC.
(efibootmgr)[source](modules, snippet): New fields.
* gnu/packages/patches/efivar-gcc-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-02-19 10:43:22 +01:00
Maxim Cournoyer 6e5d219425
services: dbus: Increase auth_timeout value to 5 minutes.
This is a follow-up to 488f1c589df; the problem had re-appeared on my machine.

* gnu/services/dbus.scm (dbus-configuration-directory): Increase
'auth_timeout' value from 60000 to 300000 ms (5 minutes).
2022-02-19 01:37:42 -05:00
Brendan Tildesley b731d34ed7
gnu: Remove python-dukpy, python2-dukpy.
* gnu/packages/python-xyz.scm: Remove unused packages python-dukpy,
python2-dukpy.
This is actually not the 'dukpy' package in pypi either but something
else made for calibre.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-19 01:08:07 +01:00
Nicolas Goaziou 81359197b4
gnu: calibre: Improve package style.
* gnu/packages/ebook.scm (calibre)[snippet]: Remove trailing #T.
[native-inputs]: Add BASH-MINIMAL. Re-order entries alphabetically.
[arguments]<#:phases>: Use G-expressions. Remove trailing #T.  Use
SEARCH-INPUT-FILE (or SEARCH-NATIVE-INPUT-FILE) instead of WHICH.  Use
THIS-PACKAGE-INPUT instead of ASSOC-REF.
2022-02-19 01:05:09 +01:00
Brendan Tildesley c3aa92358f
gnu: calibre: Remove input labels.
* gnu/packages/ebook.scm (calibre)[inputs]: Remove labels.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-19 00:11:04 +01:00
Brendan Tildesley 21fe2ad405
gnu: calibre: Update to 5.36.0.
* gnu/packages/ebook.scm (calibre): Update to 5.36.0.
Remove no longer needed zeroconf patch.
[inputs]: Remove python-dbus, python-dukpy, python-pycryptodome. Add python-jeepney, libstemmer.
* gnu/packages/patches/calibre-fix-zeroconf.patch: Delete patch.
* gnu/local.mk: Remove reference to patch.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-19 00:09:42 +01:00
Brendan Tildesley 7a06710717
gnu: python-css-parser: Update to 1.0.7.
* gnu/packages/python-web.scm (python-css-parser): Update to 1.0.7.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-19 00:05:04 +01:00
Brendan Tildesley 1cc0328a2c
gnu: python-apsw: Enable extension loading.
* gnu/packages/databases.scm (python-apsw): Enable extension loading. It
is required by calibre.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-19 00:04:56 +01:00
Brendan Tildesley 07fc776491
gnu: python-html5-parser: Update to 0.4.10.
* gnu/packages/python-web.scm (python-html5-parser): Update to 0.4.10.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-19 00:04:47 +01:00
Brendan Tildesley 142255d825
gnu: python-regex: Update to 2022.1.18.
* gnu/packages/python-xyz.scm (python-regex): Update to 2022.1.18.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-19 00:04:36 +01:00
Nicolas Goaziou f610dc0b3e
gnu: emacs-org-pomodoro: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-org-pomodoro)[arguments]<#:test-command>:
Add missing GEXP.
2022-02-18 22:17:40 +01:00
Nicolas Goaziou b118988e40
gnu: emacs-graphviz-dot-mode: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-graphviz-dot-mode)[argument]: Use G-expressions.
2022-02-18 22:14:04 +01:00
Nicolas Goaziou 8e7b091c29
gnu: emacs-lispy: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-lispy)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:32:51 +01:00
Nicolas Goaziou 587d10be06
gnu: emacs-realgud: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-realgud)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:32:26 +01:00
Nicolas Goaziou b618569d6a
gnu: emacs-chess: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-chess)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:31:40 +01:00
Nicolas Goaziou 256cdde7ad
gnu: emacs-org-pomodoro: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-org-pomodoro)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:31:00 +01:00
Nicolas Goaziou 5f8e89b702
gnu: emacs-mit-scheme-doc: Remove trailing #T.
* gnu/packages/emacs-xyz.scm (emacs-mit-scheme-doc)[snippet]: Remove trailing #T.
2022-02-18 21:30:27 +01:00
Nicolas Goaziou 1e28e8904c
gnu: emacs-sudo-edit: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-sudo-edit)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:29:38 +01:00
Nicolas Goaziou f32bc54c98
gnu: emacs-flycheck-ledger: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-ledger)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:29:05 +01:00
Nicolas Goaziou 981cea226d
gnu: emacs-roguel-ike: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-roguel-ike)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:26:15 +01:00
Nicolas Goaziou 1047001879
relative-buffer 2022-02-18 21:25:37 +01:00
Nicolas Goaziou 0024384189
gnu: emacs-undo-fu-session: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-undo-fu-session)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:21:59 +01:00
Nicolas Goaziou 59dffbba8d
gnu: emacs-kbd: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-kbd)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:14:57 +01:00
Nicolas Goaziou f3fbba4dea
gnu: emacs-graphviz-dot-mode: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-graphviz-dot-mode)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:14:01 +01:00
Nicolas Goaziou 4261f86bad
gnu: emacs-go-mode: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-go-mode)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:12:48 +01:00
Nicolas Goaziou 372b5b7940
gnu: emacs-relative-buffers: Remove trailing #T.
* gnu/packages/emacs-xyz.scm (emacs-relative-buffers)[snippet]: Remove
trailing #T.
2022-02-18 21:11:45 +01:00
Nicolas Goaziou 905783b7cd
gnu: emacs-flycheck: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-flycheck)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:10:33 +01:00
Nicolas Goaziou aaa4f5193c
gnu: emacs-unpackaged-el: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-unpackaged-el)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:10:12 +01:00
Nicolas Goaziou 0258aa46e6
gnu: emacs-graphql: Remove trailing #T.
* gnu/packages/emacs-xyz.scm (emacs-graphql)[snippet]: Remove trailing #T.
2022-02-18 21:09:29 +01:00
Nicolas Goaziou 45860c933e
gnu: emacs-geiser-racket: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-geiser-racket)[arguments]: Use
G-expressions.  Remove trailing #T.
2022-02-18 21:08:40 +01:00
Nicolas Goaziou c724c8448e
gnu: emacs-julia-snail: Use G-expressions.
* gnu/packages/emacs-xyz.scm (emacs-julia-snail)[arguments]<#:include>: Use
G-expressions.
2022-02-18 20:46:26 +01:00
Nicolas Goaziou e2d1fc6488
gnu: emacs-julia-snail: Update to 1.1.5.
* gnu/packages/emacs-xyz.scm (emacs-julia-snail): Update to 1.1.5.
2022-02-18 20:45:40 +01:00
Guillaume Le Vaillant 27a91b2f57
gnu: freecad: Use same version of tbb as dependencies.
Fixes <https://issues.guix.gnu.org/54011>.

* gnu/packages/engineering.scm (freecad)[inputs]: Replace tbb by tbb-2020.
2022-02-18 16:51:44 +01:00
Ludovic Courtès 33ce3f1c86
gnu: lsh: Build with optimizations.
This is a followup to 1cdd6b09c8, which
inadvertently turned off optimizations.

* gnu/packages/ssh.scm (lsh)[arguments]: Add "-O2 -g" next to "-fcommon".
2022-02-18 14:14:40 +01:00
Maxime Devos 0d1a6cffaf
gnu: upower: Remove obsolete phase
Now umockdev-wrapper refers to things by absolute path, this phase
is no longer necessary.

* gnu/packages/gnome.scm
  (upower)[arguments]<#:phases>{pre-check}: Remove.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Maxime Devos 4262919ea9
gnu: umockdev: Reference libumockdev by absolute path.
* gnu/packages/check.scm
  (umockdev)[arguments]<#:phases>{absolute-introspection-library}:
  New phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Maxime Devos 569d7ba38c
gnu: umockdev: Reference 'env' and 'sh' by absolute path.
* gnu/packages/check.scm
  (umockdev)[inputs]: Add 'bash-minimal' and 'coreutils-minimal'.
  (umockdev)[arguments]<#:phases>{absolute-filenames}: New phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Maxime Devos 33f2e862c7
gnu: umockdev: Use G-expressions.
While we're at it, remove the trailing #t.

* gnu/packagers/check.scm (umockdev)[arguments]<#:phases>: Change to a G-exp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Maxime Devos b3d7eae08e
gnu: upower: Update to 0.99.15.
Upstream has removed the Autotools build system and now
only supports Meson, so the build system has been changed
to 'meson-build-system'.

The patch 'power-builddir.patch' has to be replaced to
adjust to the switch to Meson.  This has been done by adding
an origin snippet.

The origin snippet has been simplified, and for consistency,
it has been made a gexp.

Some dependencies were Autotools-only and could be removed.

* gnu/packages/gnome.scm (upower): Update to 0.99.15.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Maxime Devos 7168148abe
gnu: upower: Make it auto-updatable.
* gnu/packages/gnome.scm (upower)[properties]: Set 'release-tag-prefix'
  and 'release-tag-delimiter'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-02-18 14:14:39 +01:00
Ludovic Courtès 01821914e2
services: qemu-guest-agent: Fix implementation.
Previously, by accessing the raw <qemu-guest-agent-configuration>
fields, 'qemu' would match the first field, which is the '%location'
field, not the 'qemu' field.

It would seem this bug has always been present since the addition of the
'location' field in d132d9f96b predates
the addition of 'qemu-guest-agent-service-type' in
f634a0baab.

Fixes <https://issues.guix.gnu.org/54041>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* gnu/services/virtualization.scm (qemu-guest-agent-shepherd-service):
Use accessors for <qemu-guest-agent-configuration>.
2022-02-18 14:14:39 +01:00
Ludovic Courtès 0ca26437cb
guix build: Warn when attempting to build an unsupported package.
Fixes <https://issues.guix.gnu.org/51801>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* guix/scripts/build.scm (options->derivations)[warn-if-unsupported]:
New procedure.
[compute-derivation]: Use it.
* tests/guix-build.sh: Add test.
2022-02-18 14:14:38 +01:00
Ludovic Courtès 5a57313918
profiles: 'profile-derivation' rejects unsupported packages.
Previously user-facing commands would happily start building packages
even if they do not support that system.  With this change, all the
user-facing commands reject unsupported packages without going further.

* guix/profiles.scm (profile-derivation): Add #:allow-unsupported-packages?.
Define 'check-supported-packages' and honor #:allow-unsupported-packages?.
* tests/guix-pack.sh, tests/guix-package.sh, tests/guix-shell.sh: Ensure
that unsupported packages are rejected.
* tests/guix-system.sh: Pass "--system=armhf-linux" when attempting to
build gnu/system/examples/asus-c201.tmpl.
2022-02-18 14:14:38 +01:00
Ludovic Courtès 0572737a62
packages: 'package-transitive-supported-systems' ignores '%current-target-system'.
Previously 'package-transitive-supported-systems' would enter an
infinite loop over the cross-compilation tool chain if
%CURRENT-TARGET-SYSTEM was set.

* guix/packages.scm (package-transitive-supported-systems)[supported-systems-procedure]:
Pass explicit SYSTEM and TARGET parameters.
* tests/packages.scm ("supported-package? vs. %current-target-system"):
New test.
2022-02-18 14:14:38 +01:00
Ludovic Courtès 9724da9abc
doc: Typographical tweaks.
* doc/guix.texi (Build Utilities): Remove trailing #t from phases.
Use @lisp for 'wrap-program' examples.
2022-02-18 14:14:38 +01:00
Guillaume Le Vaillant 40d418b326
gnu: liquid-dsp: Update to 1.4.0.
* gnu/packages/radio.scm (liquid-dsp): Update to 1.4.0.
2022-02-18 14:06:33 +01:00
Nicolas Goaziou e3327529f6
gnu: emacs-telega-server: Update to 0.8.03.
* gnu/packages/emacs-xyz.scm (emacs-telega-server): Update to 0.8.03.
2022-02-18 11:50:30 +01:00