Commit graph

98186 commits

Author SHA1 Message Date
muradm
d6bd483cd5
gnu: tests: Add seatd/greetd based minimal desktop system tests.
* gnu/tests/desktop.scm (minimal-desktop): seatd/greetd based
minimal desktop test

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
2022-06-17 10:30:44 +02:00
muradm
d6dda325c1
gnu: desktop: Add seatd-service-type.
* gnu/services/desktop.scm (seatd-service-type): New variable
* gnu/services/desktop.scm (seatd-configuration): New data type

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
2022-06-17 10:30:43 +02:00
muradm
167b8f29b3
gnu: admin: Add libseat 0.8.0 and move seatd.
* gnu/packages/admin.scm (libseat): New variable
* gnu/packages/admin.scm (seatd): New variable
* gnu/packages/freedesktop.scm (seatd): Remove variable
* gnu/packages/wm.scm (wlroots): Replace seatd input with libseat

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
2022-06-17 10:30:42 +02:00
muradm
530e0f0260
gnu: base: Add greetd-service-type.
* gnu/services/base.scm (greetd-service-type): New variable
* gnu/services/base.scm (greetd-configuration): New data type
* gnu/services/base.scm (greetd-terminal-configuration): New data type
* gnu/services/base.scm (greetd-agreety-session): New data type
* gnu/services/base.scm (pam-limits-service-type): Should be aware of
greetd PAM service
* gnu/services/pam-mount.scm (pam-mount-pam-service): Should be aware
of greetd PAM service

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
2022-06-17 10:30:41 +02:00
muradm
32ca068cb9
gnu: admin: Add greetd-pam-mount.
* gnu/packages/admin.scm (greetd-pam-mount): New variable

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
2022-06-17 10:30:40 +02:00
muradm
c08d56a161
gnu: admin: Add greetd 0.8.0.
* gnu/packages/admin.scm (greetd): New variable

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
2022-06-17 10:30:39 +02:00
muradm
7943f9f170
gnu: crates-io: Add rust-pam-sys 0.5.6.
* gnu/packages/crates-io.scm (rust-pam-sys-0.5): New variable

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
2022-06-17 10:30:38 +02:00
muradm
7f7a075c3d
gnu: crates-io: Add rust-enquote 1.1.0.
* gnu/packages/crates-io.scm (rust-enquote-1): New variable

Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org>
2022-06-17 10:30:36 +02:00
Maxim Cournoyer
6fc33d91ba
gnu: dropbear: Build with X11 forwarding support.
* gnu/packages/ssh.scm (dropbear)[phases]
{enable-x11-forwarding}: New phase.
2022-06-16 21:52:49 -04:00
Maxim Cournoyer
bf9c98b11d
gnu: dropbear: Update to 2022.82.
* gnu/packages/ssh.scm (dropbear): Update to 2022.82.
[source]: Delete origin snippet's trailing #t.
[arguments]: Use gexps.
[tests?]: Update comment.
2022-06-16 21:52:49 -04:00
Maxim Cournoyer
ec7a750344
doc: Remove obsolete comment from htmlxref.cnf.
This is follow up to <https://issues.guix.gnu.org/55290>.

* doc/htmlxref.cnf (geiser): Delete obsolete comment.
2022-06-16 21:52:49 -04:00
Maxim Cournoyer
1589debbd9
gnu: ovmf: Use gexps.
* gnu/packages/firmware.scm (edk2-commit, edk2-version)
(edk2-origin): Delete variables.
(ovmf)[source]: Define here; it's the only user of it so far.
[native-inputs]: Move below arguments.
[phases]: Use gexps.  Delete trailing #t.
{patch-source}: New phase.
{configure}: Use 'invoke' to execute the 'edksetup.sh' script; delete
associated FIXME comment.
(ovmf-aarch64, ovmf-arm): Adjust accordingly.
2022-06-16 21:52:49 -04:00
Taiju HIGASHI
c8803d89fe
ui: Improve pager selection logic when less is not installed.
* guix/ui.scm (find-available-pager): New procedure.
(call-with-paginated-output-port): Use it.
* guix/utils.scm (call-with-environment-variables): Allow clearing of
specified environment variables.
* tests/ui.scm (make-empty-file, assert-equals-find-available-pager):
New procedures.
("find-available-pager, GUIX_PAGER takes precedence")
("find-available-pager, PAGER takes precedence")
("find-available-pager, 'less' takes precedence")
("find-available-pager, 'more' takes precedence")
("find-available-pager, no pager"): New tests.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 23:57:41 +02:00
Petr Hodina
a88de093fb
gnu: hcxtools: Update to 6.2.7.
* gnu/packages/networking.scm (hcxtools): Update to 6.2.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 23:57:41 +02:00
Petr Hodina
9317cb3e9c
gnu: hcxtools: Use gexps.
* gnu/packages/networking.scm (hcxtools)[arguments]: Link libraries and
use PREFIX instead of INSTALL_DIR.
[phases]: Use gexps.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 23:57:41 +02:00
Ludovic Courtès
925a57c5d0
shell: Fix '--export-manifest' for cached profiles and when '-p' is used.
Fixes <https://issues.guix.gnu.org/55521>.

* guix/scripts/shell.scm (export-manifest): When computing 'manifest',
honor the 'profile key.
* tests/guix-shell-export-manifest.sh: Add test.
2022-06-16 23:57:40 +02:00
Ludovic Courtès
4231031b69
shell: Do not auto-detect manifest when '-p' is used.
Previous, "guix shell -p /path/to/profile" would have manifest/guix.scm
auto-detection turned on.

* guix/scripts/shell.scm (auto-detect-manifest)[options-contain-payload?]:
Return #t for 'profile.
2022-06-16 23:57:40 +02:00
Ludovic Courtès
c8e393ffe2
packages: Change the order of %SUPPORTED-SYSTEMS.
Commit 2a34333d0c led to a couple of test
failures in tests/packages.scm and tests/lint.scm due to the different
ordering.

* guix/packages.scm (%supported-systems): Move %64BIT-SUPPORTED-SYSTEMS
first.
2022-06-16 23:57:40 +02:00
Efraim Flashner
ab82dd3f58
gnu: llvm-9: Fix building on riscv64-linux.
* gnu/packages/llvm.scm (llvm-12)[arguments]: Add a phase to update
config.guess when config is one of the native-inputs.
(llvm-10)[native-inputs]: Add config when building for riscv64-linux and
the llvm version is less than 11.
2022-06-16 19:42:02 +03:00
Efraim Flashner
3c7736f745
gnu: polkit-qt: Update to 1-0.114.0.
* gnu/packages/polkit.scm (polkit-qt): Update to 1-0.114.0.
[source]: Update to new source URI.
2022-06-16 17:57:34 +03:00
Ricardo Wurmus
f700223c3b
gnu: Add pyscenic.
* gnu/packages/bioinformatics.scm (pyscenic): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
3535d8dc5a
gnu: Add python-arboreto.
* gnu/packages/bioinformatics.scm (python-arboreto): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
fbe5707b73
gnu: Add python-ctxcore.
* gnu/packages/bioinformatics.scm (python-ctxcore): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
d62dbedd6d
gnu: Add python-bokeh.
* gnu/packages/python-xyz.scm (python-bokeh): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
21e9e67c77
gnu: Add python-multiprocessing-on-dill.
* gnu/packages/python-xyz.scm (python-multiprocessing-on-dill): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
62c5121472
gnu: Add python-interlap.
* gnu/packages/python-xyz.scm (python-interlap): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
e4dbf938ea
gnu: python-locket: Update to 1.0.0.
* gnu/packages/python-xyz.scm (python-locket): Update to 1.0.0.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
a3613f11d5
gnu: Add python-pyarrow-0.16.
* gnu/packages/databases.scm (python-pyarrow-0.16): New variable.
2022-06-16 15:20:59 +02:00
Ricardo Wurmus
c8727617e5
gnu: Add apache-arrow-0.16.
* gnu/packages/databases.scm (apache-arrow-0.16): New variable.
2022-06-16 15:20:59 +02:00
Paul A. Patience
59ec9e3f3e
gnu: Add cl-policy-cond.
* gnu/packages/lisp-xyz.scm (sbcl-policy-cond, cl-policy-cond,
  ecl-policy-cond): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-06-16 14:56:16 +02:00
John Kehayias
67c30ff8ad
gnu: rocm: Update to 5.1.3.
All packages updated at the same time as they have a shared version. rocclr is
no longer a stand-alone package, so the previous version is kept as rocclr-4
and the current version is just the source, rocclr-src, needed by rocm-opencl-runtime.

* gnu/packages/patches/rocm-opencl-runtime-3.10.0-includes.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-nocltrace.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/patches/rocm-comgr-3.1.0-dependencies.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch,
gnu/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch: Update patches.
* gnu/packages/rocm.scm (rocm-cmake, rocm-device-libs, rocm-comgr,
roct-thunk-interface, rocr-runtime, rocm-opencl-runtime, rocminfo,
rocm-bandwidth-test): Update to 5.1.3.
(roct-thunk-interface)[inputs]: Add libdrm.
[native-inputs]: Add gcc:lib and pkg-config.
(rocclr-src): New variable.
(rocclr-4): New variable (previous version of the package).
(rocm-opencl-runtime)[source]: Remove obsolete patches.
[arguments]: Rewrite with gexps. Add needed #:configure-flags.
[inputs]: Remove rocclr, add numactl.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
John Kehayias
25809f5a40
gnu: Update llvm-for-rocm: Update to 5.1.3.
* gnu/packages/llvm.scm (llvm-for-rocm): Update to 5.1.3, now based on llvm-14.
[source]{patches}: Remove unneeded patches (add_Object and add_libraries) and add new one (linkdl).
* gnu/packages/patches/llvm-roc-3.0.0-add_libraries.patch,
gnu/packages/patches/llvm-roc-4.2.0-add_Object.patch: Delete files.
* gnu/packages/patches/llvm-roc-5.0.0-linkdl.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update to match current patches.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
David Wilson
677ae314f6
gnu: herbstluftwm: Update to 0.9.4.
* gnu/packages/wm.scm (herbstluftwm): Update to 0.9.4.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
Josselin Poiret
f404112007
channels: Print backtrace when generating package cache fails.
* guix/channels.scm (package-cache-file): Add a throw handler around
the generate-package-cache call, and print backtrace in it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:06 +02:00
Artyom V. Poptsov
c48c69cfa3
gnu: libtree: Update to 3.1.1.
* gnu/packages/linux.scm (libtree): Update to 3.1.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-16 12:50:05 +02:00
Guillaume Le Vaillant
ef2d908e22
gnu: getmail6: Update to 6.18.9.
* gnu/packages/mail.scm (getmail6): Update to 6.18.9.
  [description]: Fix typo.
2022-06-16 10:25:13 +02:00
Vinicius Monego
5d28f089ef
gnu: Add python-zeep.
* gnu/packages/python-web.scm (python-zeep): New variable.
* gnu/packages/patches/python-zeep-Fix-pytest_httpx-test-cases.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2022-06-16 09:25:55 +02:00
Hartmut Goebel
9ee6d9cb17
gnu: Add python-pytest-httpx.
* gnu/packages/python-check.scm (python-pytest-httpx): New variable.
2022-06-16 09:25:55 +02:00
Vinicius Monego
2950ef2fff
gnu: Add python-flake8-blind-except.
* gnu/packages/python-xyz.scm (python-flake8-blind-except): New variable.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
2022-06-16 09:25:55 +02:00
Vinicius Monego
7a8beb3dea
gnu: python-requests-file: Update to 1.5.1.
* gnu/packages/python-xyz.scm (python-requests-file): Update to 1.5.1.
[source]: Make some cosmetic changes.
[arguments]<#:phases>: Override 'check phase.
[home-page]: Don't break line.
2022-06-16 09:25:55 +02:00
Vinicius Monego
e0b6cd0947
gnu: Add python-flake8-debugger.
* gnu/packages/python-xyz.scm (python-flake8-debugger): New variable.
2022-06-16 09:25:55 +02:00
Ludovic Courtès
128697d43c
gnu: wayland-protocols: Add 'release-monitoring-url' property.
* gnu/packages/freedesktop.scm (wayland-protocols)[properties]: New
field.
2022-06-15 23:49:24 +02:00
Ludovic Courtès
53b9c27aa5
upstream: 'package-update' reports "unknown upstream releases" errors.
Fixes <https://issues.guix.gnu.org/55987>.
Reported by John Kehayias <john.kehayias@protonmail.com>.

* guix/upstream.scm (package-update): Instead of calling
'package-latest-release*', call 'package-latest-release' and distinguish
between "up-to-date" and "unknown upstream releases".  Raise an error in
the latter case.
2022-06-15 23:49:24 +02:00
Ludovic Courtès
5c06eedf08
refresh: Switch to SRFI-71.
* guix/scripts/refresh.scm (update-package): Use SRFI-71 'let' instead
of SRFI-11 'let-values'.
2022-06-15 23:49:24 +02:00
Ludovic Courtès
5d4b189120
challenge: When using '--diff', do not attempt to chmod symlinks.
This is a followup to 2a2856d5cc.

* guix/scripts/challenge.scm (make-directory-writable): Do not call
'make-file-writable' on symlinks.
2022-06-15 23:49:23 +02:00
Maxim Cournoyer
1cde647cc0
doc: Use a minimal texlive profile in build.scm.
* doc/build.scm (pdf-manual) <texinfo-profile>: New variable.
<PATH>: Define in terms of the above.
<GUIX_TEXMF>: New environment variable.
2022-06-15 17:24:46 -04:00
Tobias Geerinckx-Rice
5c0ef02db9
doc: Substitute ‘copy’ for confusing ‘drop’.
* doc/guix.texi (Build Environment Setup): ‘drop in’ → ‘copy to’.

Reported by lechner in #guix.
2022-06-12 02:00:00 +02:00
Efraim Flashner
0929657ec6
gnu: eigen: Honor the #:tests? flag.
* gnu/packages/algebra.scm (eigen)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.
2022-06-15 21:54:35 +03:00
Clément Lassieur
673983c9c6
gnu: emacs-lsp-mode: Update to 8.0.1-0.4aafe25.
* gnu/packages/emacs-xyz.scm (emacs-lsp-mode): Update to 8.0.1-0.4aafe25.
[arguments]: Add a 'fix-patch-el-files' phase.
2022-06-15 15:39:50 +02:00
Tobias Geerinckx-Rice
a431d1dbc5
gnu: bind: Update to 9.16.30.
* gnu/packages/dns.scm (isc-bind): Update to 9.16.30.
2022-06-12 02:00:00 +02:00