Commit graph

109896 commits

Author SHA1 Message Date
Vivien Kraus
97a759769d
gnu: guile-gnutls: Do not expect gnulib shebangs to work.
* gnu/packages/tls.scm (guile-gnutls) [phase patch-more-shebangs]: Fix how
autogen.sh invokes gnulib-tool, and how configure.ac invokes git-version-gen,
so as not to rely on shebangs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-17 23:20:35 +01:00
Vivien Kraus
25cad45639
gnu: gnulib: Restore shebangs.
* gnu/packages/build-tools.scm (gnulib)[arguments]: Add
'restore-shebangs' phase.
[inputs, native-inputs]: Add bash-minimal.
[phase let-autogen-execute-gnulib-tool]: Specify a shell to execute
gnulib-tool from autogen.sh.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-17 23:20:35 +01:00
Antero Mejr
2135f69dc0
ui: format 'display-hint' output when no arguments are passed.
When display-hint is given format specifiers such as "~%" but no arguments,
it does not format the output, causing the specifiers to be visible in the
displayed text.

* guix/ui.scm (display-hint): Format output when no arguments are passed.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-17 23:20:35 +01:00
Ludovic Courtès
d15dbdb79c
pack: "fakechroot" engine passes the recursive RUNPATH to ld.so.
This is a followup to 58abd58739, which
did not fully address <https://issues.guix.gnu.org/43491>.

* guix/scripts/pack.scm (wrapped-package)[build](runpath): Rewrite in
terms of 'file-needed/recursive'.
2023-03-17 23:20:35 +01:00
Ludovic Courtès
b5a70370f5
services: console-font: 'stop' method always returns #f.
The 'stop' method of Shepherd services is supposed to return #f on
success.

* gnu/services/base.scm (console-font-shepherd-services): 'stop' method
returns #f.
2023-03-17 23:20:35 +01:00
Maxim Cournoyer
933051281f
Revert "tests: pack: Fix indentation."
This reverts commit ac1d530d56.
2023-03-17 12:14:14 -04:00
Maxim Cournoyer
d0b7858968
Revert gexp->derivation and computed-file indentation rules.
This reverts b1c25e2ce3 and partially reverts
82daab4281, which means the computed-file and
gexp->derivation procedures are now indented as normal procedures.

Rationale: see the discussion at
https://lists.gnu.org/archive/html/guix-devel/2023-03/msg00008.html.  In a
nutshell: the convention is to use special rules for special forms (macros),
not for procedures.

* .dir-locals.el (scheme-mode): Remove the special indentation rules for
the computed-file and gexp->derivation procedures.
2023-03-17 12:11:29 -04:00
Maxim Cournoyer
fd4f91dea6
doc: Use 'mount --rbind' for chroot instructions.
This was reported by a user in #guix.  It's at least necessary for /sys, to
have the /sys/firmware/efivars location available insinde the chroot when
using an UEFI system.

* doc/guix.texi (Chrooting into an existing system): Replace --bind argument
with --rbind

Suggested-by: Josselin Poiret <dev@jpoiret.xyz>
2023-03-17 10:57:08 -04:00
Maxim Cournoyer
2dc2722dc0
gnu: ccextractor: Update to 0.94 and fix build.
* gnu/packages/gstreamer.scm (ccextractor): Update to 0.94.
[source]: Apply patches.  Add FIXME comment.
[build-system]: Switch to gnu-build-system.
[arguments]: Delete #tests? argument.  Delete trailing #t and use gexps.
Adjust configure flags accordingly, removing WITH_SHARING (doesn't exist for
Autoconf) and adding '--without-rust'.  Override check phase.
[native-inputs]: Remove labels.  Remove python-wrapper and perl.
[propagated-inputs]: Remove labels.  Remove nanomsg and zlib.  Replace
leptonica with leptonica-1.80.  replace tesseract-ocr with tesseract-ocr-4.
* gnu/packages/patches/ccextractor-add-missing-header.patch: New file.
* gnu/packages/patches/ccextractor-autoconf-tesseract.patch: Likewise.
* gnu/packages/patches/ccextractor-fix-ocr.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Register them.
2023-03-17 10:40:02 -04:00
Maxim Cournoyer
8832acc24e
gnu: Add tesseract-ocr-4.
* gnu/packages/ocr.scm (tesseract-ocr-4): New variable.
2023-03-17 10:29:50 -04:00
Maxim Cournoyer
13539334ec
gnu: Add leptonica-1.80.
* gnu/packages/image.scm (leptonica-1.80): New variable.
2023-03-17 10:29:50 -04:00
Jan (janneke) Nieuwenhuizen
2714c9ef2d
home: services: ssh-agent: Handle setting of SSH_AUTH_SOCK.
* gnu/home/services/ssh.scm (home-ssh-agent-environment-variables): New
procedure.
(home-ssh-agent-service-type): Use it as ahome-environment-service type
extension.
* doc/guix.texi (Secure Shell): Remove advice about, and examples of setting
SSH_AUTH_SOCK.
2023-03-17 12:44:33 +01:00
Zhu Zihao
65f5398dfb
gnu: tdlib: Remove version 1.8.0.
emacs-telega no longer depends on this package.

* gnu/packages/messaging.scm (tdlib-1.8.0): Remove variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-17 19:06:03 +08:00
Z572
c41bc99650
gnu: gamin: Fix cross-compilation to riscv64.
* gnu/packages/gnome.scm (gamin)
[arguments]<#:phases>: Apply 'replace-config.sub for riscv64 too.
[native-inputs]: Add config for riscv64 too.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-17 18:55:05 +08:00
Z572
84a70d7c15
gnu: m17n-lib: Fix cross-compile.
* gnu/packages/emacs.scm (m17n-lib)
[source]: Add m17n-lib-1.8.0-use-pkg-config-for-freetype.patch.
[native-inputs]: When cross-compile add pkg-config, libtool, gettext-minimal,
autoconf, automake.
[arguments]: When cross-compile, add phase to fix rpl_malloc undefined references.
* gnu/packages/patches/m17n-lib-1.8.0-use-pkg-config-for-freetype.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-17 18:33:38 +08:00
Z572
bf2c66b44e
gnu: m17n-db: Fix cross-compile.
* gnu/packages/emacs.scm (m17n-db)
[inputs]: Move gettext-minimal to ...
[native-inputs]: ... here.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-17 18:33:38 +08:00
Peter Polidoro
00b12c65c4
gnu: kicad: Update to 7.0.1.
* gnu/packages/engineering.scm (kicad): Update to 7.0.1.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-17 11:24:59 +01:00
宋文武
5dd0a6214f
gnu: retroarch: Update to 1.15.0.
* gnu/packages/emulators.scm (retroarch): Update to 1.15.0.
[source]: Remove upstreamed patch.
[arguments]<#:phases>: Remove not needed changes for 'true' and 'zlib'.
Remove "--disable-builtinminiupnpc" from configure flags.
Add "--disable-builtinzlib" to configure flags.
[inputs]: Remove miniupnpc, which is not used any more.
* gnu/packages/patches/retroarch-LIBRETRO_DIRECTORY: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-03-17 18:19:31 +08:00
Nicolas Goaziou
3893758dac
gnu: emacs-pyim: Update to 5.3.1.
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 5.3.1.
2023-03-17 09:22:50 +01:00
Simon Streit
0c2eef25c5
gnu: emacs-bash-completion: Update to 3.1.1-1.b38f9bc.
* gnu/packages/emacs-xyz.scm (emacs-bash-completion): Update to
3.1.1-1.b38f9bc.

Fix an issue <https://github.com/szermatt/emacs-bash-completion/issues/63>
where in a new shell completion would break and cancel the whole shell process
with it.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-17 09:22:50 +01:00
conses
156aac1b36
gnu: emacs-helpful: Update to 0.19-1.1c98f6f.
* gnu/packages/emacs-xyz.scm (emacs-helpful): Update to 0.19-1.1c98f6f.
[source]: Remove fix-docstring-test.patch.
[propagated-inputs]: Remove EMACS-SHUT-UP.
* gnu/packages/patches/emacs-helpful-fix-docstring-test.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Apply removal.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-17 09:22:49 +01:00
conses
1b64641955
gnu: Add emacs-srht.
* gnu/packages/emacs-xyz.scm (emacs-srht): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-17 09:22:49 +01:00
Nicolas Goaziou
ec2788f077
gnu: Add texlive-onedown.
* gnu/packages/tex.scm (texlive-onedown): New variable.
2023-03-17 09:22:49 +01:00
Bruno Victal
c27da3241c
gnu: Add dropwatch.
* gnu/packages/networking.scm (dropwatch): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-16 23:03:18 +01:00
Ludovic Courtès
83128f00e9
read-print: 'read-with-comments' reads comments within gexps.
Fixes <https://issues.guix.gnu.org/62059>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* guix/read-print.scm (read-with-comments): Special-case #~, #$, and #+.
* tests/read-print.scm: Add two tests.
2023-03-16 23:03:18 +01:00
Ludovic Courtès
8f219e658d
home: services: kodi, znc, ssh-agent: Use 'match-record'.
* gnu/home/services/media.scm (home-kodi-services): Use 'match-record'
instead of 'match'.
* gnu/home/services/messaging.scm (home-znc-services): Likewise.
* gnu/home/services/ssh.scm (home-ssh-agent-services): Likewise.
2023-03-16 23:03:17 +01:00
Jonathan Brielmaier
9cb1746467
gnu: icedove: Update to 102.9.0.
* gnu/packages/gnuzilla.scm (%icedove-version): Update to 102.9.0.
(%icedove-build-id, thunderbird-comm-l10n): Update accordingly.
2023-03-16 21:40:19 +01:00
Z572
1820dc7ce6
gnu: graphene: Fix cross-compilation.
* gnu/packages/gtk.scm (graphene)[arguments]<#:configure-flags>: Use
'disabled' replace 'false' with introspection option.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-03-16 18:37:01 +00:00
Bruno Victal
3c12e40dca
gnu: guile-lib: Fix description.
* gnu/packages/guile-xyz.scm (guile-lib)[description]: Delete garbage characters.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-03-16 18:37:01 +00:00
Wamm K. D
e97ab7fff7
gnu: Add python-rollbar.
* gnu/packages/python-xyz.scm (python-rollbar): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-03-16 18:37:01 +00:00
Christopher Baines
b59f89cf18
guix: Improve download-nar.
Previously download-nar worked with gzipped nars and queried
berlin.guix.gnu.org (also known as ci.guix.gnu.org). ci.guix.gnu.org no longer
serves gzipped nars so this is of limited use.

This commit changes download-nar to query both the default substitute servers,
and queries for lzipped rather than gzipped nars, since those are available
from both.

* guix/build/download-nar.scm (urls-for-item): Return urls for lzip rather
than gzip compression, and from both default substitute servers. The comment
about CDN's is no longer relevant.
(restore-gzipped-nar): Rename to restore-lzipped-nar and reimplement
accordingly.
(download-nar): Add progress reporting and switch to use lzip rather than
gzip.
* guix/cvs-download.scm (cvs-fetch): Replace guile-zlib with guile-lzlib.
* guix/git-download.scm (git-fetch): Replace guile-zlib with guile-lzlib.
* guix/hg-download.scm (hg-fetch): Replace guile-zlib with guile-lzlib.
* guix/android-repo-download.scm (android-repo-fetch): Add guile-lzlib for
download-nar.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-03-16 18:37:01 +00:00
Jan (janneke) Nieuwenhuizen
b68d4118e7
doc: Use @defvar instead of @defvr for Scheme variables.
Suggested by mirai via IRC, see also

    https://issues.guix.gnu.org/60634

* doc/guix.texi (Build Systems) (Secure Shell) (Messaging Home
Services) (Media Home Services): Use @defvar instead of @defvr for Scheme
variables.
2023-03-16 18:50:01 +01:00
Nicolas Goaziou
b79187ab50
gnu: xmoto: Improve package style.
* gnu/packages/games.scm (xmoto)[snippet]: Remove trailing #T.
[arguments]: Use G-expressions. Remove trailing #T in phases.
[native-inputs]: Remove labels.
[inputs]: Remove labels.
2023-03-16 18:08:44 +01:00
Ludovic Courtès
c68648a8a5
home: services: znc: Remove host-side use of (shepherd support).
This is a followup to 193f547ca3, which
inadvertently pulled in (shepherd support) on the host side.

* gnu/home/services/messaging.scm (home-znc-services): Change 'command' and
'log-file' to gexps.  Add 'modules' field to 'shepherd-service'.
2023-03-16 17:29:03 +01:00
Ludovic Courtès
6afd1fd6bc
home: services: kodi: Remove host-side use of (shepherd support).
This is a followup to 70056b1b2b, which
inadvertently pulled in (shepherd support) on the host side.

* gnu/home/services/media.scm (home-kodi-services): Change 'command' and
'logfile' to gexps.  Add 'modules' field to 'shepherd-service'.
2023-03-16 17:23:51 +01:00
Ludovic Courtès
be7e2bf7eb
home: services: ssh-agent: Remove host-side use of (shepherd support).
This is a followup to 2c2f382e75, which
inadvertently pulled in (shepherd support) on the host side.

* gnu/home/services/ssh.scm (<home-ssh-agent-configuration>)[socket-directory]:
Change value to a gexp.
(home-ssh-agent-services): Change 'socket-file' and 'command' to a
gexp.  Add 'modules' field to 'shepherd-service'.
* doc/guix.texi (Secure Shell): Adjust accordingly.
2023-03-16 17:09:46 +01:00
Paul A. Patience
b9d891140a
gnu: Add cl-hypergeometrica.
* gnu/packages/lisp-xyz.scm (sbcl-hypergeometrica, cl-hypergeometrica):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:30 +01:00
Sharlatan Hellseher
9b2f14a756
gnu: cl-zr-utils: Fix build by disabling tests.
* gnu/packages/lisp-xyz.scm (sbcl-zr-utils): Disable tests.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:30 +01:00
Sharlatan Hellseher
bd248fc709
gnu: cl-trial: Update to 1.2.0-2.db4e98e.
* gnu/packages/lisp-xyz.scm (sbcl-trial): Update to 1.2.0-2.db4e98e.
  [arguments]{asd-systems}: Enable trial-alloy, trial-animation,
  trial-assimp, trial-gif, trial-glfw, trial-gltf, trial-jpeg,
  trial-notify, tiral-png, trial-sdl2, trial-terragen, trial-tga,
  trial-tiff, trial-workbench.
  [inputs]: Sort list alphabetically and add sbcl-3d-quaternions,
  sbcl-3d-transforms, sbcl-alloy, sbcl-atomics, sbcl-cl-glfw3,
  sbcl-cl-gltf, sbcl-classimp, sbcl-dns-client, sbcl-file-notify,
  sbcl-glop, sbcl-jzon, sbcl-language-codes, sbcl-promise, sbcl-sdl2,
  sbcl-simple-tasks, sbcl-system-locale,
  sbcl-trivial-extensible-sequences, sbcl-trivial-main-thread.
  Remove sbcl-jsow.
  (ecl-trial): Disable this while upstream issue is in review.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
12b2507295
gnu: Add cl-dns-client.
* gnu/packages/lisp-xyz.scm (cl-dns-client, ecl-dns-client,
  sbcl-dns-client): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
37b70cfece
gnu: Add cl-gltf.
* gnu/packages/lisp-xyz.scm (cl-gltf, sbcl-cl-gltf): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
7a218a5b01
gnu: cl-jzon: Fix build by disabling tests on ECL.
* gnu/packages/lisp-xyz.scm (ecl-jzon): Disable tests.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
ff37557bc3
gnu: cl-alloy: Update to 0.0.0-3.628974d.
* gnu/packages/lisp-xyz.scm (sbcl-alloy): Upate to 0.0.0-3.628974d.
  [arguments]{asd-systems}: Sort them alphabetically.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
9b623ba6b2
gnu: cl-3b-bmfont: Update to 0.0.1-3.332c226.
* gnu/packages/lisp-xyz.scm (sbcl-3b-bmfont): Upate to 0.0.1-3.332c226.
  [arguments]{asd-systems}: Sort them alphabetically.
  [inputs]: Remove labels. Add sbcl-parse-number.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
d02badac85
gnu: cl-gamepad: Update to 3.0.0-2.647f6ee.
* gnu/packages/lisp-xyz.scm (sbcl-cl-gamepad): Update to 3.0.0-2.647f6ee.
  [arguments]{phases}: Use search-input-file in patch-evdev-path phase.
  [inputs]: Remove labels.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
a79ebed51b
gnu: cl-glsl-toolkit: Update to 1.0.0-2.4c4889e.
* gnu/packages/lisp-xyz.scm (sbcl-glsl-toolkit): Update to 1.0.0-2.4c4889e.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
8db1fe3f9f
gnu: cl-pathname-utils: Update to 1.1.0-2.13189c0.
* gnu/packages/lisp-xyz.scm (sbcl-pathname-utils): Update to 1.1.0-2.13189c0.
  [inputs]: Add sbcl-trivial-features.
  (ecl-pathname-utils): Disable tests.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
c2f1ebc770
gnu: cl-parachute: Update to 1.5.0-1.bd072b0.
* gnu/packages/lisp-check.scm (sbcl-parachute): Update to 1.5.0-1.bd072b0.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
4ec1589a43
gnu: Add cl-promise.
* gnu/packages/lisp-xyz.scm (cl-promise, ecl-promise, sbcl-promise): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00
Sharlatan Hellseher
df6edddc5c
gnu: Add cl-trivial-extensible-sequences.
* gnu/packages/lisp-xyz.scm (cl-trivial-extensible-sequences,
  sbcl-trivial-extensible-sequences): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-03-16 15:50:29 +01:00