me
/
guix
Archived
1
0
Fork 0
Commit Graph

102598 Commits (f24b66bf4abcc13a7e34679d5b13afe111de3554)

Author SHA1 Message Date
Ricardo Wurmus f24b66bf4a
gnu: pigx-sars-cov-2: Update to 0.0.8.
* gnu/packages/bioinformatics.scm (pigx-sars-cov-2): Update to 0.0.8.
[arguments]: Add build phase 'unpack-databases; enable tests.
[native-inputs]: Add origins for databases; remove automake and autoconf.
[inputs]: Add r-data-table, r-deconvr, r-htmltools, r-jsonlite, r-knitr, and
r-mass.
2022-10-08 12:06:41 +02:00
Ricardo Wurmus 9e1c255b35
gnu: weston: Use G-expression.
* gnu/packages/freedesktop.scm (weston)[arguments]: Use gexp to remove
references to %outputs and %build-inputs.
2022-10-08 10:10:06 +02:00
Ricardo Wurmus 4678f77b49
gnu: weston: Use plain list of inputs.
* gnu/packages/freedesktop.scm (weston)[inputs]: Use new style.
2022-10-08 10:10:06 +02:00
Ricardo Wurmus e1ee64b55a
gnu: weston: Remove trailing #T from build phases.
* gnu/packages/freedesktop.scm (weston)[arguments]: Remove trailing #T from
build phases.
2022-10-08 10:10:06 +02:00
Kaelyn Takata a868595ebb
gnu: weston: Update to 10.0.2.
* gnu/packages/freedesktop.scm (weston): Update to 10.0.2.
[inputs] Switch from pipewire to pipewire-0.3, use wayland-protocols-next.
[native-inputs]: Add python-3.
2022-10-08 10:10:06 +02:00
Hilton Chain 0b07c6febb
gnu: wl-clipboard: Update to 2.1.0.
* gnu/packages/xdisorg.scm (wl-clipboard): Update to 2.1.0.
[arguments]<#:configure-flags>: Set completion files' installdir.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 01:26:06 -04:00
Hilton Chain 59ce7ab95a
gnu: egl-wayland: Update to 1.1.11.
* gnu/packages/xorg.scm (egl-wayland): Update to 1.1.11.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 01:18:28 -04:00
Zheng Junjie c9d955d51e
gnu: Add ktimer.
* gnu/packages/kde.scm (ktimer): New variable.
2022-10-08 00:49:12 -04:00
Greg Hogan 2cdd60dea1
gnu: git: Update to 2.38.0.
* gnu/packages/version-control.scm (git): Update to 2.38.0.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 00:34:21 -04:00
Dhruvin Gandhi c20d684cc8
gnu: Add hut.
* gnu/packages/version-control.scm (hut): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 00:10:30 -04:00
Dhruvin Gandhi 5002e1ac05
gnu: Add go-github-com-juju-ansiterm.
* gnu/packages/golang.scm (go-github-com-juju-ansiterm): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 00:10:30 -04:00
Dhruvin Gandhi feee342b66
gnu: Add go-github-com-lunixbochs-vtclean.
* gnu/packages/golang.scm (go-github-com-lunixbochs-vtclean): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 00:10:30 -04:00
Dhruvin Gandhi f0902bd2c0
gnu: Add go-git-sr-ht-emersion-gqlclient.
* gnu/packages/golang.scm (go-git-sr-ht-emersion-gqlclient): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 00:10:30 -04:00
Dhruvin Gandhi ddc59a63b7
gnu: Add go-git-sr-ht-emersion-go-scfg.
* gnu/packages/golang.scm (go-git-sr-ht-emersion-go-scfg): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 00:10:30 -04:00
Dhruvin Gandhi 4a47fcbdb4
gnu: Add go-github-com-google-shlex.
* gnu/packages/golang.scm (go-github-com-google-shlex): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-08 00:10:29 -04:00
Leo Famulari dbdba682ed
gnu: linux-libre 5.4: Update to 5.4.217.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.217.
(linux-libre-5.4-pristine-source): Update hash.
2022-10-07 22:17:56 -04:00
Ricardo Wurmus 5463bdded1
gnu: Add font-arphic-ukai.
* gnu/packages/fonts.scm (font-arphic-ukai): New variable.
2022-10-08 01:22:28 +02:00
Ricardo Wurmus 2da9ceaeb9
gnu: Add font-google-noto-serif-cjk.
* gnu/packages/fonts.scm (font-google-noto-serif-cjk): New variable.
2022-10-08 01:22:28 +02:00
Ricardo Wurmus 91334d36a4
gnu: Add font-google-noto-sans-cjk.
* gnu/packages/fonts.scm (font-google-noto-sans-cjk): New variable.
2022-10-08 01:22:28 +02:00
Ricardo Wurmus 39311c9a8b
po: Fix syntax error in French translation.
* po/doc/guix-manual.fr.po: Add missing space.
2022-10-08 01:22:27 +02:00
Ricardo Wurmus b60aa60590
po: Fix syntax error in German translation.
* po/doc/guix-manual.de.po: Remove double wrapping of @uref.
2022-10-08 01:22:27 +02:00
Ricardo Wurmus c78a1d250f
gnu: Add texlive-zhspacing.
* gnu/packages/tex.scm (texlive-zhspacing): New variable.
2022-10-08 01:22:23 +02:00
Ludovic Courtès bb0beaecde
nix: Guard against removing temporary roots of living processes.
Fixes <https://issues.guix.gnu.org/25018>.

* nix/libstore/gc.cc (readTempRoots): Add a check to guard against removing
the temporary roots of a living process.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-10-07 16:54:20 -04:00
Nicolas Goaziou 00ef6c18d5
gnu: giac: Fix build.
* gnu/packages/algebra.scm (giac)[source]<origin>: Add a patch to fix build
issue with Pari-GP 2.15.
[arguments]<#:phase>: Skip another test.
* gnu/packages/patches/giac-pari-gp-anyarg.patch: New file.
* gnu/local.mk: Register it.

This fixes <https://issues.guix.gnu.org/58274>.
2022-10-07 21:54:50 +02:00
Maxim Cournoyer 0169aee33e
tests: xvnc: Do not use specification->package in OS definition.
Doing so would cause the extra package dependencies to not be
correctly registered as dependencies, which would lead to a silent
failure when attempting to load or byte compile the module at the time
guix build itself (e.g., when running 'guix pull').

* gnu/tests/vnc.scm (%xvnc-os) [packages]: Turn the the
specification->package declaration into a list of package objects.
2022-10-07 15:08:05 -04:00
Maxim Cournoyer 00e8430500
Revert "Revert "services: Add xvnc-service-type.""
This reverts commit 0c49661600.  The fix appears
in the subsequent commit, for clarity.
2022-10-07 15:07:48 -04:00
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