Commit graph

103025 commits

Author SHA1 Message Date
Maxim Cournoyer
0c49661600
Revert "services: Add xvnc-service-type."
This reverts commit 1c528a95cb.  This broke
'guix pull', for (yet) unknown reasons.
2022-10-07 12:53:22 -04:00
Maxim Cournoyer
6e3dab4737
Update NEWS.
* NEWS: Add new entry for installation script improvements.
2022-10-07 10:11:13 -04:00
Maxim Cournoyer
1c528a95cb
services: Add xvnc-service-type.
* gnu/services/vnc.scm: New file.
* gnu/tests/vnc.scm: Likewise.
* gnu/local.mk: Register them.
2022-10-07 10:11:13 -04:00
Maxim Cournoyer
aad4e4fc6b
services: xorg: Add auto-suspend? field to <gdm-configuration>.
* gnu/services/xorg.scm (<gdm-configuration>)
<auto-suspend?>: New field.
(gdm-dconf-profiles): New variable.
* gnu/services/xorg.scm (gdm-shepherd-service)
<environment-variables> [!auto-suspend?]: Specify DCONF_PROFILE.
(gdm-service-type): Extend DCONF-SERVICE-TYPE.
* doc/guix.texi (X Window): Document the new field.
2022-10-07 10:11:13 -04:00
Maxim Cournoyer
7b896a26b8
services: Add dconf-service-type.
This allows the dconf profile directive "system-db:" to look up profiles by
name from under /etc/dconf/db/.

* gnu/services/xorg.scm (dconf-keyfile, dconf-profile): New procedures.
(dconf-profiles?): New predicate.
(dconf-configuration): New procedure.
(dconf-profile->profile-file): Likewise.
(dconf-profile->db-keyfile): Likewise.
(dconf-profile->db-keyfile-dir): Likewise.
(dconf-profile->db): Likewise.
(dconf-profile->files): Likewise.
(dconf-service-type): New service type.
2022-10-07 10:11:12 -04:00
Maxim Cournoyer
0503b104d6
gnu: dconf: Set sysconfdir to /etc.
* gnu/packages/gnome.scm (dconf) [arguments]: Use gexps.
[configure-flags]: Add --sysconfdir=/etc.
[native-inputs]: Remove labels.
2022-10-07 10:11:12 -04:00
Maxim Cournoyer
133901a396
marionette: Add a callback arguments to wait-for-screen-text.
* gnu/build/marionette.scm (wait-for-screen-text): New 'pre-action' and
'post-action' arguments.  Update doc.  Call the procedures before and after
the OCR occurs, respectively.
2022-10-07 10:11:12 -04:00
Maxim Cournoyer
f24e0fc233
marionette: Define keystrokes for typing colons and exclamation marks.
* gnu/build/marionette.scm (%qwerty-us-keystrokes): Register keystrokes for
the ':' and '!' characters.
2022-10-07 10:11:12 -04:00
Maxim Cournoyer
4cce84b247
marionette: Preserve screen dumps on failures.
This is to make it easier to debug test failures involving
'wait-for-screen-text': the screendump image used for the OCR is now preserved
for inspection when 'wait-for-screen-text' fails.

* gnu/build/marionette.scm (marionette-screen-text): Return the screendump
image file as the second value.  Adjust doc.
(wait-for-screen-text): Add the preserved screendump image file name to the
error message.  Adjust doc.
2022-10-07 10:11:12 -04:00
Maxim Cournoyer
21f641e9fa
marionette: Make marionette-screen-text private.
It has only one user, which is better suited for wait-for-screen-text anyway.

* gnu/tests/base.scm (run-basic-test): Refactor to use wait-for-screen-text
instead of marionette-screen-text.
2022-10-07 10:11:11 -04:00
Maxim Cournoyer
1936668f5b
services: gdm: Add a configuration field to enable XDMCP.
* gnu/services/xorg.scm (<gdm-configuration>)[xdmcp?]: New field.
* gnu/services/xorg.scm (gdm-configuration-file): Use it.  Use (ice-9 format)
to serialize boolean.
(gdm-polkit-rules): New variable.
(gdm-service-type): Use it to extend polkit.
* doc/guix.texi (X Window): Document it.
2022-10-07 10:11:11 -04:00
Maxim Cournoyer
f3e9b069b1
gnu: gdm: Patch an extra reference to the Xsession script.
Without this change, attempting to start a remote session over VNC would fail
with:

    Sep 19 19:54:04 localhost gdm-session-worker: Gdm: GdmSessionWorker: child
    '/gnu/store/yy9wq647l37658vgi291a287ll9iw6dc-gdm-42.0/etc/gdm/Xsession' could
    not be started: No such file or directory

* gnu/packages/gnome.scm (gdm)[phases]{patch-paths}
<daemon/gdm-session.c>: Patch a reference in so the Xsession script is
correctly found via the GDM_X_SESSION environment variable.
2022-10-07 10:11:11 -04:00
Maxim Cournoyer
447c20db7e
gnu: tigervnc-server: Patch and wrap vncserver script.
* gnu/packages/vnc.scm (tigervnc-server):
[phases]{patch-paths, wrap-vncserver}: New phases.
[inputs]: Add font-alias, guile-3.0, util-linux and xinit.
2022-10-07 10:11:11 -04:00
Maxim Cournoyer
ff33b8698a
gnu: tigervnc-server: Disable tests via #:tests?.
* gnu/packages/vnc.scm (tigervnc-server)
[tests?]: Set to #f.
[phases]: Restore check phase.
2022-10-07 10:11:11 -04:00
Maxim Cournoyer
a7bfc9d68f
gnu: tigervnc-server: Adjust PAM config.
* gnu/packages/vnc.scm (tigervnc-server)
[phases]{adjust-pam-config}: New phase.
2022-10-07 10:11:10 -04:00
Maxim Cournoyer
0debec9f2d
gnu: tigervnc-server: Move source production into origin snippet.
This will make it possible to patch command references in source files, and
also makes it more transparent as to what sources get used.

* gnu/packages/vnc.scm (tigervnc-server): Re-flow comment.
[source]: Inherit from xorg-server.  Add a snippet.  Use a patch to apply the
xserver patch.  Fix file name.
[phases]{copy-tvnc-xserver, patch-xserver}: Delete phases.
{build-tigervnc, install-tigervnc-aux}: Adjust accordingly.
2022-10-07 10:11:10 -04:00
Maxim Cournoyer
c93b249dc0
gnu: tigervnc-server: Use new style inputs, gexps.
* gnu/packages/vnc.scm (%tigervnc-client-source): New variable.
(tigervnc-server): Move input fields after arguments.
[native-inputs]: Use new style and 'modify-inputs'.  Do not add
tigervnc-client regular inputs.
[configure-flags]: Use gexps, cons* instead of append.
[phases]: Use gexps.
{check}: Replace smiley with an explanatory comment.
{copy-tvnc-xserver}: Adjust default Makefile variables, which simplifies
needed bindings in other phases.
{build-tigervnc, build, install-tigervnc-aux, install}: Remove let*-bound
variables.
{build-tigervnc, build}: Honor PARALLEL-BUILD?.
2022-10-07 10:11:10 -04:00
Ludovic Courtès
31708431c5
tests: Attempt to build 'desktop.tmpl' on all major architectures.
Partly fixes <https://issues.guix.gnu.org/58352>.

* tests/guix-system.sh: Try to build 'desktop.tmpl' for x86_64, i686, and aarch64.
2022-10-07 16:01:39 +02:00
Ludovic Courtès
06deab3321
gnu: libnma: Depend on GTK 4.x only on supported platforms.
Partly fixes <https://issues.guix.gnu.org/58352>.

* gnu/packages/gnome.scm (libnma)[arguments]: Set "-Dlibnma_gtk4=false"
when (supported-package? gtk) returns #f.
[inputs]: Adjust accordingly.
2022-10-07 16:01:39 +02:00
Ludovic Courtès
a52f39ad0c
gnu: rest@0.9.1: Remove dependency on gtksourceview and libadwaita.
Partly fixes <https://issues.guix.gnu.org/58352>.

This also reduces the closure size of rest@0.9.1 from 2.1GiB to
498MiB (on x86_64-linux).

* gnu/packages/gnome.scm (rest-next)[arguments]: Pass the
"-Dexamples=false" config flag.
* gnu/packages/gnome.scm (rest-next)[inputs]: Remove GTKSOURCEVIEW and
LIBADWAITA.
2022-10-07 16:01:39 +02:00
Maxim Cournoyer
f9694a04ab
doc: Add git send-email tip in 'Submitting Patches' section.
* doc/contributing.texi (Submitting Patches): Add a tip detailing how to
prefix the subject line with the branch name the change should be installed
to.
2022-10-07 09:17:11 -04:00
Maxim Cournoyer
9ca0f9e5a9
guix-install.sh: Add Bash prompt customization option.
Fixes <https://issues.guix.gnu.org/55484>.

* etc/guix-install.sh (sys_customize_bashrc): New function.
(main): Use it.
2022-10-07 08:25:40 -04:00
Maxim Cournoyer
231e5f29ae
guix-install.sh: Introduce 'die' utility function.
* etc/guix-install.sh (die): New function.
(chk_sys_arch): Use it.
(guix_get_bin_list, guix_get_bin, sys_create_store): Likewise.
2022-10-07 08:20:33 -04:00
Maxim Cournoyer
6a2e303d3a
guix-install.sh: Improve prompt_yes_no procedure.
* etc/guix-install.sh (_flush): New function.
(prompt_yes_no): Clear input, then only read the first character, silently.
Add the [Yes/no] string to the message.  When a newline is entered by the
user, treat it as the default value, which is "yes".
(chk_gpg_keyring): Remove "(yes/no)" from the prompt message.
(configure_substitute_discovery): Likewise.
(sys_authorize_build_farms): Likewise.
2022-10-07 01:23:05 -04:00
Nicolas Goaziou
8319be779f
gnu: extractpdfmark: Improve package style.
* gnu/packages/pdf.scm (extractpdfmark)[arguments]: Use G-expressions.  Fix
phase name.
[native-inputs]: Remove labels.
2022-10-07 00:53:32 +02:00
Nicolas Goaziou
eea2d5b6f7
gnu: extractpdfmark: Update to 1.1.1.
* gnu/packages/pdf.scm (extractpdfmark): Update to 1.1.1.
2022-10-07 00:53:31 +02:00
Nicolas Goaziou
63cece5787
gnu: emacs-lcr: Update to 1.2.
* gnu/packages/emacs-xyz.scm (emacs-lcr): Update to 1.2.
2022-10-07 00:53:31 +02:00
Nicolas Goaziou
c558fed4db
gnu: emacs-org-re-reveal: Update to 3.16.0.
* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 3.16.0.
2022-10-07 00:53:31 +02:00
Nicolas Goaziou
23c97e2e88
gnu: emacs-ement: Update to 0.3.1.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.3.1.
2022-10-07 00:53:30 +02:00
Nicolas Goaziou
22498be0a1
gnu: emacs-emms: Update to 12.
* gnu/packages/emacs-xyz.scm (emacs-emms): Update to 12.
2022-10-07 00:53:30 +02:00
Nicolas Goaziou
9cd3c2dc18
gnu: emacs-debbugs: Update to 0.34.
* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.34.
2022-10-07 00:53:30 +02:00
Timotej Lazar
cb731c80ff
gnu: julius: Update to 1.7.0.
* gnu/packages/games.scm (julius): Update to 1.7.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-06 23:17:05 +02:00
Sergey Trofimov
37ed844711
gnu: squid: Enable TLS features.
Despite openssl being listed as an input, it was not actually enabled by
default.  Fixing that using a configure flag.

* gnu/packages/networking.scm (squid)[arguments]: Add "--with-openssl"
to #:configure-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-06 23:17:05 +02:00
Felix Lechner
2a51fb1d29
gnu: nyacc: Update to 1.07.4.
* gnu/packages/mes.scm (nyacc): Update to 1.07.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-06 23:17:05 +02:00
Timotej Lazar
3a5ae8c070
gnu: sssd: Update to 2.7.4.
* gnu/packages/sssd.scm (sssd): Update to 2.7.4.
* gnu/packages/patches/sssd-optional-systemd.patch: Update patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-06 23:17:05 +02:00
Ludovic Courtès
a0c83aa04b
gnu: python-textual: Remove input labels.
* gnu/packages/python-xyz.scm (python-textual)[arguments]: Define the
'tests' origin here.
[native-inputs]: Remove "tests" input and remove input labels.
2022-10-06 23:17:04 +02:00
Brian Kubisiak
96cbfc6202
gnu: Add python-textual.
* gnu/packages/python-xyz.scm (python-textual): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-06 23:17:04 +02:00
Liliana Marie Prikler
5e63e51afe
snippets: Fix move.
The current move is never correct.  It flip-flops between car and cadr for
the destination.  Since the position of the destination is not actually a
fixed point in the list of changes, use a more robust method of inferring it.

* etc/snippets/tempel/text-mode (move\ ): Infer source and destination from
washed diffs.  Process new module before destination.
2022-10-06 21:16:46 +02:00
Liliana Marie Prikler
da281417cc
snippets: tempel: Reformat.
This makes it so that ‘indent-region’ and ‘delete-trailing-whitespace’ do not
change the file.

* etc/snippets/tempel/text-mode: Reformat.
2022-10-06 21:16:46 +02:00
Liliana Marie Prikler
980c34853e
snippets: tempel: Fix calls to mapconcat.
* etc/snippets/tempel/text-mode (update\ ,https\ ): Add "\n" as separator
argument to mapconcat.
2022-10-06 21:16:45 +02:00
Liliana Marie Prikler
e4951f7c71
gnu: python-renpy: Update to 8.0.3.
* gnu/packages/game-development.scm (python-renpy): Update to 8.0.3.
2022-10-06 21:16:45 +02:00
Liliana Marie Prikler
b60b756226
gnu: python-pygame-sdl2: Update to 2.1.0-for-renpy-8.0.3.
* gnu/packages/game-development.scm (python-pygame-sdl2): Update to
2.1.0-for-renpy-8.0.3.
2022-10-06 21:16:45 +02:00
Tanguy Le Carrour
3657b4daea
gnu: tessen: Update to 2.1.2.
* gnu/packages/password-utils.scm (tessen): Update to 2.1.2.
[arguments]: Substitute notify-send, wl-copy and xdg-open.
[inputs] Add libnotify, wl-clipboard and xdg-utils.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-10-06 19:49:33 +03:00
itd
0179b21641
gnu: weechat-wee-slack: Update to 2.9.0.
* gnu/packages/messaging.scm (weechat-wee-slack): Update to 2.9.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-10-06 19:35:01 +03:00
Brian Cully
ac3582f990
gnu: zfs: Update to 2.1.6.
* gnu/packages/file-systems.scm (zfs): Update to 2.1.6.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-10-06 19:27:44 +03:00
Liliana Marie Prikler
2f88f5c06f
gnu: komikku: Update to 1.1.0.
* gnu/packages/gnome.scm (komikku): Update to 1.1.0.
2022-10-06 17:25:35 +02:00
Taiju HIGASHI
5b42b64ea8
doc: Fix missing package name.
* doc/guix.texi (Invoking guix import): Fix missing package name for gem
importer.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-06 15:08:04 +01:00
Fredrik Salomonsson
53e086c5c6
gnu: Add waybar-cpu-histogram.
* gnu/packages/wm.scm (waybar-cpu-histogram): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-06 15:08:03 +01:00
Lu Hui
eb5b104ca8
gnu: libdaemon: Fix targeting riscv64.
* gnu/packages/libdaemon.scm (libdaemon)[native-inputs,arguments]: Treat
targeting riscv64 like aarch64 is handled.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-06 15:08:03 +01:00
Paul A. Patience
52b9f0ef1e
gnu: Add discregrid.
* gnu/packages/graphics.scm (discregrid): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-06 15:08:03 +01:00