Commit graph

111067 commits

Author SHA1 Message Date
Lars-Dominik Braun
f9702aa9fd
gnu: Add python-brian2.
* gnu/packages/machine-learning.scm (python-brian2): New variable.
2023-03-19 11:33:52 +01:00
Lars-Dominik Braun
c16add7fd9
gnu: python-pillow: Fix CVE-2022-45199.
Fixes: <https://issues.guix.gnu.org/issue/61172>

* gnu/packages/python-xyz.scm (python-pillow/security-fixes): New variable.
(python-pillow): Add replacement.
* gnu/packages/patches/python-pillow-CVE-2022-45199.patch: New file.
* gnu/local.mk: Register it.
2023-03-19 10:57:00 +01:00
Liliana Marie Prikler
d7b4ecdb4c
gnu: Add a4pdf.
* gnu/packages/pdf.scm (a4pdf): New variable.
2023-03-19 09:25:36 +01:00
Liliana Marie Prikler
fa50974134
gnu: komikku: Update to 1.14.0.
* gnu/packages/gnome.scm (komikku): Update to 1.14.0.
2023-03-19 09:25:36 +01:00
Ekaitz Zarraga
d59eb81b5c
gnu: zig: Build against a baseline CPU.
* gnu/packages/zig.scm (zig-0.10)[#:configure-flags]: Add
“-DZIG_TARGET_MCPU=baseline”.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-03-19 09:25:36 +01:00
Efraim Flashner
c483cc2b9f
gnu: python-dropbox: Update to 11.36.0.
* gnu/packages/file-systems.scm (python-dropbox): Update to 11.36.0.
[source]: Add snippet to accept newer versions of python-pytest-runner.
2023-03-19 00:20:36 +02:00
Andreas Enge
99af743311
gnu: python-ipython: Update to 8.5.0.
This is a conservative update to the first version that passes all tests.
The version 8.8.0 works also, the latest 8.10.0 requires changes to the
recipe.

* gnu/packages/python-xyz.scm (python-ipython): Update to 8.5.0.
2023-03-18 20:27:05 +01:00
Liliana Marie Prikler
edd0ec7c2f
gnu: packagekit: Fix installation directory for bash completions.
Without this patch, packagekit would attempt to install bash completions
to another store directory, invoking pkexec in the process and raising
a cryptic error.

* gnu/packages/freedesktop.scm (packagekit)[#:phases]: Add
‘fix-bash-completion-dir’.

Co-authored-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-03-18 18:55:36 +01:00
Kaelyn Takata
2a34300240
gnu: glib-networking: Fix 32-bit builds.
* gnu/packages/gnome.scm (glib-networking): Remove obsolete patch.
* gnu/packages/patches/glib-networking-32-bit-time.patch: Remove file.
* gnu/local (dist_patch_DATA): Remove it.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-03-18 18:27:09 +01:00
Andreas Enge
de3588965c
Revert "* gnu/packages/gnome.scm (glib-networking): Remove obsolete patch."
This reverts commit cc56be2f38.

The commit message was malformed.
2023-03-18 18:25:30 +01:00
Arun Isaac
34fed18169
gnu: Add tissue.
* gnu/packages/web.scm (tissue): New variable.
2023-03-18 17:23:32 +00:00
Andreas Enge
97c20aa1d1
gnu: python-pyqt5-sip: Update to 12.11.1.
* gnu/packages/qt.scm (python-pyqt5-sip): Update to 12.11.1.
2023-03-18 15:34:50 +01:00
Lars-Dominik Braun
d9a31cd34e
gnu: python-coveralls: Disable failing test and relax version requirements.
* gnu/packages/python-check.scm (python-coveralls)[source]: Relax version
requirement for python-coverage.
[arguments]: Disable test_reporter_with_branches, which fails for
unknown reasons.
2023-03-18 10:41:35 +01:00
Lars-Dominik Braun
a7c96167ae
gnu: python-typeguard: Python 3.10 compatibility.
* gnu/packages/patches/python-typeguard-python3.10.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/python-xyz.scm (python-typeguard): Use it.
2023-03-18 10:41:35 +01:00
Andreas Enge
483124bc48
gnu: libaio: Fix tests on 32 bit systems.
* gnu/packages/patches/libaio-32bit-test.patch: New file.
* gnu/packages/linux.scm (libaio): Add patch.
* gnu/local.mk (dist_patch_DATA): Register patch.
2023-03-18 10:36:22 +01:00
Lars-Dominik Braun
f9bff8614b
gnu: python-feedparser: Add Python >=3.9 compatibility.
* gnu/packages/patches/python-feedparser-missing-import.patch: New file.
* gnu/local.mk: Add it.
* gnu/packages/web.scm (python-feedparser): Use it.
2023-03-18 09:50:56 +01:00
Lars-Dominik Braun
cfccd6fe5a
gnu: python-sgmllib3k: Add Python >=3.9 compatibility.
* gnu/packages/patches/python-sgmllib3k-assertions.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/python-xyz.scm (python-sgmllib3k): Use it.
2023-03-18 09:49:51 +01:00
Yovan Naumovski
99114eb638
gnu: bemenu: Update to 0.6.14.
* gnu/packages/xdisorg.scm (bemenu): Update to 0.6.14.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-17 23:20:36 +01:00
Bruno Victal
20aa4c30fb
services: dict: Deprecate 'dicod-service' procedure.
* doc/guix.texi (Miscellaneous Services): Remove 'dicod-service' mention.
* gnu/services/dict.scm (dicod-service): Deprecate procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-17 23:20:36 +01:00
conses
511ae8325d
home: services: Add home-xmodmap-service-type.
* gnu/home/services/desktop.scm (home-xmodmap-service-type)
(home-xmodmap-configuration): New variables;
(serialize-xmodmap-configuration)
(xmodmap-shepherd-service): New procedures;
* doc/guix.texi (Desktop Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-17 23:20:36 +01:00
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
Andreas Enge
cc56be2f38
* gnu/packages/gnome.scm (glib-networking): Remove obsolete patch.
* gnu/packages/patches/glib-networking-32-bit-time.patch: Remove file.
* gnu/local.mk: Unregister it.

Authored-by: Kaelyn <kaelyn.alexi@protonmail.com>
2023-03-17 20:58:38 +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
Efraim Flashner
ef06671d8f
gnu: ruby-minitest-pretty-diff: Honor the #:tests? flag.
* gnu/packages/ruby.scm (ruby-minitest-pretty-diff)[arguments]: Adjust
custom 'check phase to honor the #:tests? flag.
2023-03-16 21:51:44 +02:00
Efraim Flashner
40d8a8c90f
gnu: ruby-minitest-pretty-diff: Fix test suite.
* gnu/packages/ruby.scm (ruby-minitest-pretty-diff)[arguments]: Adjust
custom 'check phase to invoke the tests with the shell.
2023-03-16 21:49:57 +02:00