Commit graph

100715 commits

Author SHA1 Message Date
Maxim Cournoyer
42fee6d0f1
build: marionette: Add support for Tesseract OCR.
* gnu/build/marionette.scm (invoke-ocrad-ocr): New procedure.
(invoke-tesseract-ocr): Likewise.
(marionette-screen-text): Rename the #:ocrad argument to #:ocr.  Dispatch the
matching OCR invocation procedure.
(wait-for-screen-text): Rename the #:ocrad argument to #:ocr.
* gnu/tests/base.scm (run-basic-test): Adjust accordingly.
* gnu/tests/install.scm (enter-luks-passphrase): Likewise.
(enter-luks-passphrase-for-home): Likewise.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer
697b797160
marionette: Improve the error message of 'wait-for-screen-text'.
* gnu/build/marionette.scm (wait-for-screen-text): Return the last OCR'd text
when the predicate fails to match instead of the not useful predicate object.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer
b096b939f7
gnu: lightdm: Apply patch to fix color depth issue with VNC.
* gnu/packages/patches/lightdm-vnc-color-depth.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (lightdm): Apply it.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer
a4fd1840ab
gnu: lightdm: Apply patch to allow using VNC options.
* gnu/packages/patches/lightdm-arguments-ordering.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (lightdm): Apply it.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer
da3c784c68
gnu: lightdm: Apply patch to fix a problem with VNC integration.
* gnu/packages/patches/lightdm-vncserver-check.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (lightdm): Apply it.
2022-08-28 22:10:20 -04:00
Maxim Cournoyer
0e76781df4
gnu: lightdm-gtk-greeter: Adjust --enable-at-spi-command value.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter)
[configure-flags]: Add the '--launch-immediately' option to the
at-spi-bus-launcher to match what is used in the source.
2022-08-28 22:10:19 -04:00
Maxim Cournoyer
20c8fb042c
gnu: lightdm-gtk-greeter: Adjust default config file path.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter)
[phases]{customize-default-config-path}: New phase.
2022-08-28 22:10:19 -04:00
Maxim Cournoyer
d0046bc13b
gnu: lightdm-gtk-greeter: Enable libklavier support.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter)
[configure-flags]: Add '--with-libxklavier'.
[inputs]: Add libxklavier.
2022-08-28 22:10:19 -04:00
Maxim Cournoyer
0d23e9cda2
gnu: lightdm-gtk-greeter: Use the glib-or-gtk-wrap phase as-is.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter)
[configure-flags]: Install binaries to bin/, so the wrap phase of glib-or-gtk
handles them.
[phases]{wrap-program}: Delete.
{custom-wrap}: New phase, wrapping the wrapper with a few extra environment
variables.
2022-08-28 22:10:19 -04:00
Maxim Cournoyer
9376411fbe
gnu: lightdm-gtk-greeter: Add GDK_PIXBUF_MODULE_FILE to wrapper.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter)
[build-system]: Use glib-or-gtk-build-system.
[phases]{wrap-program}: Add GDK_PIXBUF_MODULE_FILE to wrapper.
[inputs]: Add librsvg.
2022-08-28 22:10:19 -04:00
Maxim Cournoyer
6da5eed4e7
gnu: accountsservice: Provide a means to locate extensions.
* gnu/packages/patches/accountsservice-extensions.patch: New patch.
* gnu/packages/freedesktop.scm (accountsservice)[source]: Apply it.
[phases]{wrap-with-xdg-data-dirs}: New phase.
2022-08-28 22:10:18 -04:00
Maxim Cournoyer
12bb1c6db1
gnu: accountsservice: Update to 22.08.8, enable doc and test suite.
* gnu/packages/freedesktop.scm (accountsservice): Update to 22.08.8.
[tests?]: Delete argument.
[configure-flags]: Remove obsolete "-Dsystemd" flag.  Add "-Ddocbook=true" and
"-Dgtk_doc=true".
[phases]{patch-docbook-references}: New phase.
{patch-/bin/cat}: Delete and merge into...
[patch-paths]: ... this phase, renamed from pre-configure.  Use
search-input-file.
[native-inputs]: Add docbook-xml-4.1.2, docbook-xsl, gtk-doc, libxml2,
libxslt, python-dbusmock, python-pygobject, vala and xmlto.
2022-08-28 22:10:18 -04:00
muradm
3c2d2b4538
gnu: security: Add fail2ban-service-type.
* gnu/services/security.scm: New module.
* gnu/tests/security.scm: New module.
* gnu/local.mk: Add new security module and tests.
* doc/guix.text: Add fail2ban-service-type documentation.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-08-28 21:46:30 -04:00
Maxim Cournoyer
ba0dbe3bf2
gexp: directory-union: Fix documentation.
* guix/gexp.scm (directory-union): Fix documentation.
2022-08-28 21:14:18 -04:00
Josselin Poiret
3294fa2ba4
tests: Add test for menu-entry roundtrips as sexps.
* tests/boot-parameters.scm (%uuid-menu-entry,
%file-system-label-menu-entry): New variables.
("menu-entry roundtrip, uuid", "menu-entry roundtrip,
file-system-label"): New tests.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-28 23:37:28 +02:00
Josselin Poiret
0811d2cb8d
bootloader: Convert device in menu-entry to proper sexp.
Previously, menu-entry->sexp didn't try to convert `device` to a
proper sexp, which was inserted directly into the boot parameters
G-exp, leading to a G-exp input error.  Now convert both uuid and
file-system-label possibilities to sexps, and add parsing code to
sexp->menu-entry.  This fixes #57307.

* gnu/bootloader.scm (menu-entry->sexp, sexp->menu-entry): Take
non-string devices into account.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-28 23:37:28 +02:00
Nicolas Goaziou
b9322d7819
gnu: emacs-crdt: Update to 0.3.3.
* gnu/packages/emacs-xyz.scm (emacs-crdt): Update to 0.3.3.
2022-08-28 22:46:12 +02:00
Liliana Marie Prikler
f592decd4d
gnu: Remove shlomif-cmake-modules.
This origin was added for the now removed fortune-mod, so let's remove it
as well.

* gnu/packages/games.scm (shlomif-cmake-modules): Delete variable.
2022-08-28 19:17:28 +02:00
Liliana Marie Prikler
5e17480574
gnu: Remove rinutils.
This package was introduced as native input to the now removed fortune-mod,
so let's remove it as well.

* gnu/packages/games.scm (rinutils): Delete variable.
2022-08-28 19:17:28 +02:00
Liliana Marie Prikler
6b6b947b61
gnu: Remove fortune-mod.
Since the addition of fortune-jkirchartz, it is no longer necessary to
keep around a package that propagates various non-nice things.
For a complete list, see <https://bugs.gnu.org/54691>.

* gnu/packages/games.scm (fortune-mod): Delete variable.
2022-08-28 19:17:28 +02:00
Liliana Marie Prikler
560b365c2c
gnu: Add fortunes-jkirchartz.
* gnu/packages/toys.scm (fortunes-jkirchartz): New variable.
2022-08-28 19:17:28 +02:00
Liliana Marie Prikler
2a010ba81d
gnu: Add daikichi.
* gnu/packages/toys.scm (daikichi): New variable.
2022-08-28 19:17:27 +02:00
Marius Bakke
57f8f69562
gnu: gnome-shell: Adjust for polkit 121.
* gnu/packages/patches/gnome-shell-polkit-autocleanup.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/gnome.scm (gnome-shell)[source](patches): New field.
2022-08-28 15:41:49 +02:00
Marius Bakke
a44e08337d
gnu: gnome-maps: Update to 42.2.
* gnu/packages/geo.scm (gnome-maps): Update to 42.2.
[inputs]: Change from LIBGWEATHER to LIBGWEATHER4.
2022-08-28 15:41:49 +02:00
Marius Bakke
17f646aeba
gnu: Add libgweather4.
* gnu/packages/gnome.scm (libgweather4): New variable.
2022-08-28 15:41:49 +02:00
Marius Bakke
134a29fc08
gnu: libgweather: Remove obsolete input.
* gnu/packages/gnome.scm (libgweather)[native-inputs]: Remove INTLTOOL.  Add
GETTEXT-MINIMAL.
2022-08-28 15:41:49 +02:00
Marius Bakke
d9c7321255
gnu: libgweather: Remove input labels.
* gnu/packages/gnome.scm (libgweather)[arguments]: Use G-expression and
SEARCH-INPUT-DIRECTORY.
[native-inputs, propagated-inputs]: Remove labels.
2022-08-28 15:41:49 +02:00
Efraim Flashner
444c300e3e
gnu: r-genomeinfodb: Update to 1.32.3.
* gnu/packages/bioconductor.scm (r-genomeinfodb): Update to 1.32.3.
2022-08-28 15:47:58 +03:00
Efraim Flashner
0aeedfb89a
gnu: webkit: Update to 2.36.7.
* gnu/packages/webkit.scm (%webkit-version, webkitgtk, wpewebkit):
Update to 2.36.7.
2022-08-28 14:47:14 +03:00
Efraim Flashner
10f0d0766c
gnu: r-iranges: Update to 2.30.1.
* gnu/packages/bioconductor.scm (r-iranges): Update to 2.30.1.
2022-08-28 13:29:05 +03:00
Efraim Flashner
84d191ea30
gnu: libatomic-ops: Fix test suite on riscv64-linux.
* gnu/packages/bdw-gc.scm (libatomic-ops)[arguments]: When building for
riscv64-linux add a configure-flag to link libatomic.
2022-08-28 11:29:20 +03:00
Efraim Flashner
8df29c26ba
gnu: ruby-ffi: Update to 1.15.5.
* gnu/packages/libffi.scm (ruby-ffi): Update to 1.15.5.
[arguments]: Remove custom 'do-not-depend-on-ccache phase. Adjust custom
'remove-git-ls-files phase to changes in the code. Remove trailing #t
from phases.
2022-08-28 10:23:37 +03:00
Nicolas Goaziou
9ad4d90a61
gnu: emacs-cider: Update to 1.5.0.
* gnu/packages/emacs-xyz.scm (emacs-cider): Update to 1.5.0.
[arguments]<#:phases>: Remove PATCH-EL-FILES phase to prevent a build failure.
2022-08-28 01:45:49 +02:00
Nicolas Goaziou
9779cf046e
gnu: fet: Update to 6.5.7.
* gnu/packages/education.scm (fet): Update to 6.5.7.
2022-08-28 01:09:30 +02:00
jonscoresby---
b0d64a81dc
gnu: qtile: Install .desktop file.
* gnu/packages/wm.scm (qtile)[arguments]: Add install-xsession phase.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-27 23:48:56 +02:00
Zhu Zihao
69820ecfd9
gnu: qtwebengine: Fix QTWEBENGINEPROCESS_PATH specification.
* gnu/packages/qt.scm (qtwebengine)[native-search-paths]: Use
"lib/qt6/libexec/QtWebEngineProcess" for search path.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-27 23:48:56 +02:00
Maxime Devos
9f8f34a16a
gnu: samba: Update to 4.16.4.
As a reproducibility check, you can check the hash:

$ guix hash -r $(./pre-inst-env guix build samba --no-grafts --system=x86_64-linux)
1mg3nh705pbiz3ihq8jzkmjb15m6y8zjnzyr4hxmbciv7frgykk0

I've checked that it's correctly signed, and I've tried to verify that the PGP
key is correct -- searching for 'Samba Distribution Verification Key', the
websites of the first search results have the same key:

* https://www.linuxcompatible.org/story/samba-4150rc5-released/
* https://wiki.samba.org/index.php/Samba_4.12_Features_added/changed
* https://www.mail-archive.com/samba-announce@lists.samba.org/msg00562.html
* https://wiki.linuxfromscratch.org/blfs/ticket/14748

https://groups.google.com/g/linux.samba/c/k3xaN0TIcQU has a different key,
but as mentioned on the previous locations, the key has changed.

I have also checked the source code diff (using diffoscope) between the the
current version and the previous, nothing appears 'suspicious' (with the
caveat that it is written in C).

According to "guix refresh -l" there aren't too many dependents.  I'm
currently rebuilding them, no failures so far except for lxde, but it already
failed to build before this patch.

* gnu/packages/samba.scm (samba): Update to 4.16.4. To help future updaters,
add the current PGP fingerprint in a comment.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-08-27 23:48:56 +02:00
Marius Bakke
59bbf7e86c
gnu: scons: Update to 4.4.0.
* gnu/packages/patches/scons-test-environment.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/build-tools.scm (scons): Update to 4.4.0.
[source](patches): New field.
[arguments]: Adjust bootstrap for the new version.  Enable tests.
[native-inputs]: Add PYTHON-WHEEL and PYTHON-PSUTIL.
(scons-3): New variable.
(scons-python2): Inherit from it.
* gnu/packages/web.scm (serf)[arguments]: Stick with SCONS-3 to prevent rebuilds.
2022-08-27 23:48:56 +02:00
Marius Bakke
ada35de38f
gnu: scons: Move to (gnu packages build-tools).
* gnu/packages/python-xyz.scm (scons, scons-python2): Move from here ...
* gnu/packages/build-tools.scm (scons, scons-python2): ... to here.
* gnu/packages/direct-connect.scm, gnu/packages/disk.scm,
gnu/packages/game-development.scm, gnu/packages/gps.scm,
gnu/packages/image.scm, gnu/packages/installers.scm, gnu/packages/web.scm,
gnu/packages/xdisorg.scm: Adjust module imports accordingly.
* guix/build-system/scons.scm (default-scons): Likewise.
2022-08-27 23:48:56 +02:00
Marius Bakke
34625246e4
gnu: Remove unused module import.
* gnu/packages/gtk.scm: Don't import (gnu packages build-tools).
2022-08-27 23:48:56 +02:00
Marius Bakke
3e8769f3c9
gnu: realmd: Remove input labels.
* gnu/packages/admin.scm (realmd)[native-inputs]: Remove labels.
2022-08-27 23:48:56 +02:00
Nicolas Goaziou
b594c7354c
gnu: emacs-arduino-mode: Slightly improve description.
* gnu/packages/emacs-xyz.scm (emacs-arduino-mode)[description]: Make it a full
sentence, and mention Org Babel support.
2022-08-27 11:27:04 +02:00
Nicolas Goaziou
b07180a13b
gnu: emacs-arduino-mode: Update to 1.3.0-0-652c6a3.
* gnu/packages/emacs-xyz.scm (emacs-arduino-mode): Update to 1.3.0-0-652c6a3.
[source]: Move upstream to repo.or.cz.
[arguments]: Remove unnecessary phases.
[home-page]: Update to repo.or.cz.
2022-08-27 11:23:58 +02:00
Nicolas Goaziou
92f64f833a
gnu: emacs-org-contrib: Update to 0.4.
* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Update to 0.4.
[source]: Remove now unnecessary snippet.
[propagated-inputs]: Remove EMACS-ARDUINO-MODE.
2022-08-27 11:16:54 +02:00
Arun Isaac
5299ee228f
gnu: Add emacs-alarm-clock.
* gnu/packages/emacs-xyz.scm (emacs-alarm-clock): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-08-27 10:41:36 +02:00
Arun Isaac
5655a84779
gnu: Add emacs-tamil99.
* gnu/packages/emacs-xyz.scm (emacs-tamil99): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-08-27 10:29:03 +02:00
jgart
2026a967f7
gnu: emacs-lpy: Update to ce78a46.
* gnu/packages/emacs-xyz.scm (emacs-lpy): Update to ce78a46.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-08-27 10:13:23 +02:00
Nicolas Graves via Guix-patches via
ba1612d81c
gnu: Add emacs-consult-org-roam.
* gnu/packages/emacs-xyz.scm (emacs-consult-org-roam): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-08-27 10:13:23 +02:00
jgart
1f9a4f79f6
gnu: Add emacs-drag-stuff.
* gnu/packages/emacs-xyz.scm (emacs-drag-stuff): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-08-27 10:13:22 +02:00
Nicolas Goaziou
ea2ead6827
gnu: emacs-iter2: Update to 1.3.
* gnu/packages/emacs-xyz.scm (emacs-iter2): Update to 1.3.
2022-08-27 10:13:22 +02:00