jackhill/guix/guix.git
2 years agogexp: Preserve source location for #~ and #$ read extensions.
Ludovic Courtès [Wed, 16 Feb 2022 10:27:43 +0000 (11:27 +0100)]
gexp: Preserve source location for #~ and #$ read extensions.

Read hash extensions preserve source location info as source properties
on their result.  However, in Guile 3.0.8, that location would be
dismissed, leading 'local-file' to fail to resolve file names relative
to the source directory.

Fixes <https://issues.guix.gnu.org/54003>.
Reported by Aleksandr Vityazev <avityazev@posteo.org>.

* guix/gexp.scm <eval-when> [read-syntax-redefined?, read-procedure]
[read-syntax*]: New variables.
[read-ungexp]: Adjust to expect either sexps or syntax objects.
[read-gexp]: Call 'read-procedure'.
* tests/gexp.scm ("local-file, relative file name, within gexp")
("local-file, relative file name, within gexp, compiled"): New tests.

2 years agognu: python-pyside-2: Fix detection of Qt modules.
Guillaume Le Vaillant [Wed, 16 Feb 2022 12:34:55 +0000 (13:34 +0100)]
gnu: python-pyside-2: Fix detection of Qt modules.

* gnu/packages/qt.scm (python-pyside-2)[inputs]: Add qtdeclarative,
  qtquickcontrols2 and qtwebengine.
  [arguments]: Add 'fix-qt-module-detection' phase.

2 years agognu: lz4: Only build with valgrind on supported systems.
Efraim Flashner [Wed, 16 Feb 2022 13:11:47 +0000 (15:11 +0200)]
gnu: lz4: Only build with valgrind on supported systems.

* gnu/packages/compression.scm (lz4)[native-inputs]: Only add valgrind
when valgrind is supported on that system.

2 years agognu: valgrind: Remove riscv64-linux from supported-systems.
Efraim Flashner [Wed, 16 Feb 2022 12:07:57 +0000 (14:07 +0200)]
gnu: valgrind: Remove riscv64-linux from supported-systems.

* gnu/packages/valgrind.scm (valgrind)[supported-systems]: New field.

2 years agognu: emacs-meow: Update to 1.4.1.
Nicolas Goaziou [Wed, 16 Feb 2022 12:24:34 +0000 (13:24 +0100)]
gnu: emacs-meow: Update to 1.4.1.

* gnu/packages/emacs-xyz.scm (emacs-meow): Update to 1.4.1.

2 years agognu: emacs-chronometrist: Use G-expressions.
Nicolas Goaziou [Wed, 16 Feb 2022 12:24:12 +0000 (13:24 +0100)]
gnu: emacs-chronometrist: Use G-expressions.

* gnu/packages/emacs-xyz.scm (emacs-chronometrist)[arguments]<#:phases>: Use G-expressions.

2 years agognu: emacs-chronometrist: Update to 0.10.0.
Nicolas Goaziou [Wed, 16 Feb 2022 12:21:17 +0000 (13:21 +0100)]
gnu: emacs-chronometrist: Update to 0.10.0.

* gnu/packages/emacs-xyz.scm (emacs-chronometrist): Update to 0.10.0.
[propagated-inputs]: Add EMACS-ALERT.

2 years agognu: julia-media: Create Project.toml file.
Efraim Flashner [Wed, 16 Feb 2022 09:04:53 +0000 (11:04 +0200)]
gnu: julia-media: Create Project.toml file.

* gnu/packages/julia-xyz.scm (julia-media)[arguments]: Add custom phase
to create Package.toml file.

2 years agognu: Add julia-gpuarrays.
zimoun [Thu, 10 Feb 2022 18:02:03 +0000 (19:02 +0100)]
gnu: Add julia-gpuarrays.

* gnu/packages/julia-xyz.scm (julia-gpuarrays): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2 years agognu: Add julia-cenum.
zimoun [Thu, 10 Feb 2022 18:02:02 +0000 (19:02 +0100)]
gnu: Add julia-cenum.

* gnu/packages/julia-xyz.scm (julia-cenum): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2 years agognu: Add julia-bfloat16s.
zimoun [Thu, 10 Feb 2022 18:02:01 +0000 (19:02 +0100)]
gnu: Add julia-bfloat16s.

* gnu/packages/julia-xyz.scm (julia-bfloat16s): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2 years agognu: Add julia-juno.
zimoun [Thu, 10 Feb 2022 18:02:00 +0000 (19:02 +0100)]
gnu: Add julia-juno.

* gnu/packages/julia-xyz.scm (julia-juno): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2 years agognu: qemu: Skip some tests on riscv64-linux.
Efraim Flashner [Mon, 23 Aug 2021 09:29:36 +0000 (12:29 +0300)]
gnu: qemu: Skip some tests on riscv64-linux.

* gnu/packages/virtualization.scm (qemu)[arguments]: Add phase for
riscv64-linux to skip some unsupported tests.

2 years agognu: opencl-icd-loader: Use single directory in search path.
Lars-Dominik Braun [Wed, 16 Feb 2022 10:07:56 +0000 (11:07 +0100)]
gnu: opencl-icd-loader: Use single directory in search path.

* gnu/packages/opencl.scm (opencl-icd-loader)[native-search-paths]:
Support only a single directory.

2 years agognu: exiv2: Enable BMFF support.
Lars-Dominik Braun [Wed, 16 Feb 2022 09:44:10 +0000 (10:44 +0100)]
gnu: exiv2: Enable BMFF support.

* gnu/packages/image.scm (exiv2)[arguments]<configure-flags>: Enable BMFF.

2 years agognu: debian-ports-archive-keyring: Update to 2022.02.15.
Efraim Flashner [Wed, 16 Feb 2022 07:59:29 +0000 (09:59 +0200)]
gnu: debian-ports-archive-keyring: Update to 2022.02.15.

* gnu/packages/debian.scm (debian-ports-archive-keyring): Update to 2022.02.15.

2 years agognu: vim: Adjust autodetected plugin directories.
Efraim Flashner [Wed, 16 Feb 2022 07:57:40 +0000 (09:57 +0200)]
gnu: vim: Adjust autodetected plugin directories.

* gnu/packages/aux-files/guix.vim: Autodetect plugins installed with
guix-home. Add */after directories at the end of the runtimepath.

2 years agognu: Add python-miniupnpc
Stephen Paul Weber [Wed, 9 Feb 2022 14:57:08 +0000 (09:57 -0500)]
gnu: Add python-miniupnpc

* gnu/packages/python-xyz.scm (python-miniupnpc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: hurd: Remove leftover export.
Jan (janneke) Nieuwenhuizen [Tue, 15 Feb 2022 21:23:19 +0000 (22:23 +0100)]
gnu: hurd: Remove leftover export.

* gnu/packages/hurd.scm: Remove 'hurd-triplet?' export.

2 years agognu: fish: Disable flaky test.
Marius Bakke [Tue, 15 Feb 2022 21:13:53 +0000 (22:13 +0100)]
gnu: fish: Disable flaky test.

* gnu/packages/shells.scm (fish)[arguments]: Delete test that occasionally
fails.

2 years agognu: python-moto: Disable flaky test.
Marius Bakke [Tue, 15 Feb 2022 20:54:13 +0000 (21:54 +0100)]
gnu: python-moto: Disable flaky test.

* gnu/packages/python-xyz.scm (python-moto)[arguments]: Skip one test.  Don't
use ADD-INSTALLED-PYTHONPATH while at it.
[inputs]: Remove label, too.

2 years agognu: python-robotframework-datadriver: Update to 1.6.0.
Maxim Cournoyer [Tue, 15 Feb 2022 20:18:22 +0000 (15:18 -0500)]
gnu: python-robotframework-datadriver: Update to 1.6.0.

* gnu/packages/python-xyz.scm (python-robotframework-datadriver): Update to
1.6.0.
[phases]{fix-readme-file-name}: Delete phase.

2 years agognu: yt-dlp: Update to 2022.02.04.
Leo Famulari [Tue, 15 Feb 2022 19:53:28 +0000 (14:53 -0500)]
gnu: yt-dlp: Update to 2022.02.04.

* gnu/packages/video.scm (yt-dlp): Update to 2022.02.04.

2 years agognu: liblinphone: Simplify inputs.
Marius Bakke [Tue, 15 Feb 2022 17:18:23 +0000 (18:18 +0100)]
gnu: liblinphone: Simplify inputs.

* gnu/packages/linphone.scm (liblinphone): Simplify inputs.

2 years agognu: pep-engine: Simplify inputs.
Marius Bakke [Tue, 15 Feb 2022 17:17:34 +0000 (18:17 +0100)]
gnu: pep-engine: Simplify inputs.

* gnu/packages/pep.scm (pep-engine): Simplify inputs.

2 years agognu: wget2: Simplify inputs.
Marius Bakke [Tue, 15 Feb 2022 17:16:21 +0000 (18:16 +0100)]
gnu: wget2: Simplify inputs.

* gnu/packages/wget.scm (wget2): Simplify inputs.

2 years agognu: transcode: Simplify inputs.
Marius Bakke [Tue, 15 Feb 2022 17:15:39 +0000 (18:15 +0100)]
gnu: transcode: Simplify inputs.

* gnu/packages/video.scm (transcode): Simplify inputs.

2 years agognu: Remove unneeded uses of 'libiconv'.
Marius Bakke [Tue, 15 Feb 2022 17:09:25 +0000 (18:09 +0100)]
gnu: Remove unneeded uses of 'libiconv'.

iconv is part of glibc, there is no need to add it as input.

* gnu/packages/accessibility.scm (brltty)[inputs]: Remove LIBICONV.
* gnu/packages/compression.scm (innoextract)[inputs]: Likewise.
* gnu/packages/haskell-apps.scm (darcs)[inputs]: Likewise.
* gnu/packages/kde-multimedia.scm (k3b)[inputs]: Likewise.
* gnu/packages/linphone.scm (liblinphone)[inputs]: Likewise.
* gnu/packages/mail.scm (mailutils)[inputs]: Likewise.
* gnu/packages/maths.scm (libqalculate)[inputs]: Likewise.
* gnu/packages/pep.scm (pep-engine)[inputs]: Likewise.
* gnu/packages/vim.scm (neovim)[inputs]: Likewise.
* gnu/packages/wget.scm (wget2)[inputs]: Likewise.
* gnu/packages/telegram.scm (telegram-desktop)[inputs]: Likewise.
* gnu/packages/video.scm (transcode)[native-inputs]: Likewise.

2 years agognu: Zabbix: Update to 6.0.0.
Marius Bakke [Tue, 15 Feb 2022 17:09:17 +0000 (18:09 +0100)]
gnu: Zabbix: Update to 6.0.0.

* gnu/packages/monitoring.scm (zabbix-agentd): Update to 6.0.0.
[inputs]: Remove LIBICONV and PCRE.  Add PCRE2.
[arguments]: Adjust #:configure-flags accordingly.

2 years agognu: nano: Update to 6.1.
Jai Vetrivelan [Tue, 15 Feb 2022 00:32:12 +0000 (06:02 +0530)]
gnu: nano: Update to 6.1.

* gnu/packages/nano.scm (nano): Update to 6.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2 years agognu: darktable: update to 3.8.1
Alex Devaure [Tue, 15 Feb 2022 18:13:37 +0000 (18:13 +0000)]
gnu: darktable: update to 3.8.1

* gnu/packages/photo.scm (darktable): Update to 3.8.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2 years agognu: alfis: Remove 'relax-requirements phase.
Efraim Flashner [Tue, 15 Feb 2022 18:58:52 +0000 (20:58 +0200)]
gnu: alfis: Remove 'relax-requirements phase.

* gnu/packages/rust-apps.scm (alfis)[arguments]: Remove custom phases.

2 years agognu: rust-x25519-dalek-1: Adjust package dependencies.
Efraim Flashner [Tue, 15 Feb 2022 18:57:01 +0000 (20:57 +0200)]
gnu: rust-x25519-dalek-1: Adjust package dependencies.

* gnu/packages/crates-io.scm (rust-x25519-dalek-1)[source]: Add snippet
to adjust crate dependencies.

2 years agognu: rust-chacha20poly1305-0.9: Adjust package dependencies.
Efraim Flashner [Tue, 15 Feb 2022 18:56:03 +0000 (20:56 +0200)]
gnu: rust-chacha20poly1305-0.9: Adjust package dependencies.

* gnu/packages/crates-io.scm (rust-chacha20poly1305-0.9)[source]: Add
snippet to adjust crate dependencies.
[arguments]: Remove custom phases.

2 years agognu: rust-chacha20-0.8: Adjust package dependencies.
Efraim Flashner [Tue, 15 Feb 2022 18:54:55 +0000 (20:54 +0200)]
gnu: rust-chacha20-0.8: Adjust package dependencies.

* gnu/packages/crates-io.scm (rust-chacha20-0.8)[source]: Add snippet to
adjust crate dependencies.

2 years agognu: lsh: Fix build with GCC 10.
Tobias Geerinckx-Rice [Sun, 13 Feb 2022 00:00:00 +0000 (01:00 +0100)]
gnu: lsh: Fix build with GCC 10.

* gnu/packages/ssh.scm (lsh)[arguments]: Add "CFLAGS=-fcommon"
to #:configure-flags.  Don't explicitly return #t from phases.
[source]: Don't explicitly return #t from snippet.

2 years agognu: dovecot-pigeonhole: Update to 0.5.18.
Tobias Geerinckx-Rice [Sun, 30 Jan 2022 00:00:01 +0000 (01:00 +0100)]
gnu: dovecot-pigeonhole: Update to 0.5.18.

* gnu/packages/mail.scm (dovecot-pigeonhole): Update to 0.5.18.

2 years agognu: dovecot: Update to 2.3.18.
Tobias Geerinckx-Rice [Sun, 30 Jan 2022 00:00:01 +0000 (01:00 +0100)]
gnu: dovecot: Update to 2.3.18.

* gnu/packages/mail.scm (dovecot): Update to 2.3.18.

2 years agognu: tor: Update to 0.4.6.10.
Tobias Geerinckx-Rice [Sun, 13 Feb 2022 00:00:00 +0000 (01:00 +0100)]
gnu: tor: Update to 0.4.6.10.

* gnu/packages/tor.scm (tor): Update to 0.4.6.10.

2 years agognu: fnott: Update to 1.2.1.
Jai Vetrivelan [Tue, 15 Feb 2022 15:21:08 +0000 (20:51 +0530)]
gnu: fnott: Update to 1.2.1.

* gnu/packages/wm.scm (fnott): Update to 1.2.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agoguix system: Fix 'describe' when booting the latest generation.
Ludovic Courtès [Tue, 15 Feb 2022 15:56:14 +0000 (16:56 +0100)]
guix system: Fix 'describe' when booting the latest generation.

Fixes a regression introduced in
9679123ce083c69cdfd1505d95a4066d41280394, whereby 'guix system describe'
would error out when /run/current-system points to /gnu/store/…-system,
which is the case when booting the latest generation or after
reconfigure.

* guix/scripts/system.scm (process-command): For 'describe'. Try
'generation-number' with and without the optional argument.

2 years agognu: mumps: Remove input labels.
Ludovic Courtès [Tue, 15 Feb 2022 15:52:32 +0000 (16:52 +0100)]
gnu: mumps: Remove input labels.

* gnu/packages/maths.scm (mumps)[inputs]: Remove labels.
[arguments]: Adjust 'configure' phase to not rely on the "mpi" and
"blas" labels.
(mumps-metis, mumps-openmpi, mumps-metis-openmpi): Use 'modify-inputs'.

2 years agognu: scotch: Update to 7.0.1.
Ludovic Courtès [Tue, 15 Feb 2022 10:46:53 +0000 (11:46 +0100)]
gnu: scotch: Update to 7.0.1.

* gnu/packages/maths.scm (scotch): Update to 7.0.1.
[source]: Switch to 'git-fetch'.
[build-system]: Switch to CMAKE-BUILD-SYSTEM.
[arguments]: Add #:configure-flags.  Remove #:make-flags.  Remove
'chdir-to-src', 'configure', and 'build-esmumps' phases.
[properties]: Update 'release-monitoring-url' property.
(scotch32, pt-scotch, pt-scotch32): Update accordingly, replacing now
useless build phases with #:configure-flags.
(scotch-shared, pt-scotch-shared): Mark as deprecated.
(mumps)[arguments]: In 'configure' phase, use '-lesmumps'
unconditionally, since that's now how pt-scotch calls it.

2 years agognu: texlive-amsfonts/fixed: Do not generate tfm from afm and pl files.
Ricardo Wurmus [Tue, 15 Feb 2022 16:11:23 +0000 (17:11 +0100)]
gnu: texlive-amsfonts/fixed: Do not generate tfm from afm and pl files.

The TFM files are included in the amsfonts bundle and are meant to installed
as is.  They were not meant to be the result of converting afm or pl files.
We ended up with subtly broken fonts due to this attempted conversion.

* gnu/packages/tex.scm (texlive-amsfonts/fixed)[source]: Fetch tfm directory.
[arguments]: Remove custom #:modules; remove build phases 'build-fonts and
'install-generated-fonts; adjust 'remove-extra-files; add build phase 'chdir
and 'unchdir.
[native-inputs]: Remove texlive-fontinst.

2 years agognu: filezilla: Update to 3.58.0.
Jai Vetrivelan [Tue, 15 Feb 2022 13:37:58 +0000 (19:07 +0530)]
gnu: filezilla: Update to 3.58.0.

* gnu/packages/ftp.scm (filezilla): Update to 3.58.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: libfilezilla: Update to 0.36.0.
Jai Vetrivelan [Tue, 15 Feb 2022 13:37:29 +0000 (19:07 +0530)]
gnu: libfilezilla: Update to 0.36.0.

* gnu/packages/ftp.scm (libfilezilla): Update to 0.36.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: fish: Update to 3.3.1.
Steve George [Sat, 12 Feb 2022 12:03:06 +0000 (12:03 +0000)]
gnu: fish: Update to 3.3.1.

* gnu/packages/shells/scm (fish): Update to 3.3.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: foot: Update to 1.11.0
Felipe Balbi [Mon, 14 Feb 2022 12:07:56 +0000 (14:07 +0200)]
gnu: foot: Update to 1.11.0

* gnu/packages/terminals.scm (foot): Update to 1.11.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: fcft: Update to 3.0.1
Felipe Balbi [Mon, 14 Feb 2022 12:04:23 +0000 (14:04 +0200)]
gnu: fcft: Update to 3.0.1

* gnu/packages/fontutils.scm (fcft): Update to 3.0.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: picom: Update to 9.1.
Jai Vetrivelan [Mon, 14 Feb 2022 12:43:15 +0000 (18:13 +0530)]
gnu: picom: Update to 9.1.

* gnu/packages/compton.scm (picom): Update to 9.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: plocate: Update to 1.1.15.
Jai Vetrivelan [Mon, 14 Feb 2022 16:16:35 +0000 (21:46 +0530)]
gnu: plocate: Update to 1.1.15.

* gnu/packages/search.scm (plocate): Update to 1.1.15.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: asymptote: Use G-expressions.
Nicolas Goaziou [Tue, 15 Feb 2022 12:29:55 +0000 (13:29 +0100)]
gnu: asymptote: Use G-expressions.

* gnu/packages/plotutils.scm (asymptote)[arguments]<#:phases>: Use
G-expressions.

2 years agognu: asymptote: Update to 2.78.
Nicolas Goaziou [Tue, 15 Feb 2022 12:26:57 +0000 (13:26 +0100)]
gnu: asymptote: Update to 2.78.

* gnu/packages/plotutils.scm (asymptote): Update to 2.78.
[source]<snippet>: Delete bundled RapidJSON.
[arguments]<#:phases>: Add a phase to use system RapidJSON.
Update location for modified ".cpp" file.
[native-inputs]: Add CMAKE.

2 years agognu: ghc@4: Replace config.sub using config package.
Efraim Flashner [Tue, 15 Feb 2022 09:09:52 +0000 (11:09 +0200)]
gnu: ghc@4: Replace config.sub using config package.

* gnu/packages/haskell.scm (ghc@4)[arguments]: Adjust custom 'bootstrap
phase to adjust replacement of config.sub.
[native-inputs]: Remove automake, add config.

2 years agognu: gcc-2.95: Support more systems.
Efraim Flashner [Tue, 15 Feb 2022 08:21:47 +0000 (10:21 +0200)]
gnu: gcc-2.95: Support more systems.

* gnu/packages/gcc.scm (gcc-2.95)[supported-systems]: Allow all except
powerpc64le-linux and riscv64-linux.
[arguments]: Set #:system to the 32-bit version of our supported 64-bit
architectures. Modify custom 'set-dynamic-linker-file-name phase to use
the glibc-dynamic-linker for the selected system, and to substitute more
locations.

2 years agognu: Add python-mt-940.
Lars-Dominik Braun [Tue, 15 Feb 2022 09:36:00 +0000 (10:36 +0100)]
gnu: Add python-mt-940.

* gnu/packages/python-xyz.scm (python-mt-940): New variable.

2 years agognu: trash-cli: Use pytest for testing.
Lars-Dominik Braun [Tue, 15 Feb 2022 09:31:24 +0000 (10:31 +0100)]
gnu: trash-cli: Use pytest for testing.

Running setup.py overwrites the wrappers created by the 'wrap phase.

Fixes: <https://issues.guix.gnu.org/53695>

* gnu/packages/shellutils.scm (trash-cli)[arguments]: Replace 'check
phase with call to pytest.

2 years agodoc: Move build commands to @example for clarity.
Ludovic Courtès [Tue, 15 Feb 2022 09:29:09 +0000 (10:29 +0100)]
doc: Move build commands to @example for clarity.

* doc/contributing.texi (Building from Git): Tweak so that all the
commands appear in @example boxes.  Show --localstatedir=/var instead of
--localstatedir=@var{directory}.

2 years agodoc: Clarify the Swap Space examples, and include an helper example.
Josselin Poiret [Sun, 6 Feb 2022 21:20:45 +0000 (22:20 +0100)]
doc: Clarify the Swap Space examples, and include an helper example.

* doc/guix.texi (Swap Space): The examples referred to variables
defined outside of the snippets, and so were not very informative for
people without much Guile knowledge.  Instead, refer to mapped-devices
for the first, and use the new helper
file-systme-mount-point-predicate for the second.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agosystem: Add helper file-system-mount-point-predicate.
Josselin Poiret [Sun, 6 Feb 2022 21:20:44 +0000 (22:20 +0100)]
system: Add helper file-system-mount-point-predicate.

* gnu/system/file-systems.scm (file-system-mount-point-predicate): Add
it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agogexp: 'computed-file' always uses a native Guile.
Ludovic Courtès [Tue, 15 Feb 2022 08:31:42 +0000 (09:31 +0100)]
gexp: 'computed-file' always uses a native Guile.

Fixes a regression whereby, when cross-compiling, 'computed-file' would
use a cross-compiled Guile as its builder, which would fail to run.

Regression introduced in af57d1bf6c46f47d82dbc234dde1e16fa8634e9d (the
problem had always been there but was hidden before behind the (not guile)
condition.)

* guix/gexp.scm (computed-file-compiler): For 'guile', pass #:target #f.
* tests/gexp.scm ("lower-object, computed-file, #:target"): New test.

2 years agognu: welle-io: Update to 2.4.
Jai Vetrivelan [Mon, 14 Feb 2022 12:42:50 +0000 (18:12 +0530)]
gnu: welle-io: Update to 2.4.

* gnu/packages/radio.scm (welle-io): Update to 2.4.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: python-gffutils: Update to 0.10.1.
Marius Bakke [Mon, 14 Feb 2022 23:14:16 +0000 (00:14 +0100)]
gnu: python-gffutils: Update to 0.10.1.

* gnu/packages/bioinformatics.scm (python-gffutils): Update to 0.10.1.
[arguments]: Remove obsolete phase.  Respect TESTS? in check phase while at
it.

2 years agognu: python-argh: Fix test failure.
Marius Bakke [Mon, 14 Feb 2022 23:13:08 +0000 (00:13 +0100)]
gnu: python-argh: Fix test failure.

* gnu/packages/python-xyz.scm (python-argh)[arguments]: Add patch-tests phase
and override check phase.

2 years agognu: python-pyelftools: Update to 0.28.
Marius Bakke [Mon, 14 Feb 2022 22:50:04 +0000 (23:50 +0100)]
gnu: python-pyelftools: Update to 0.28.

* gnu/packages/python-xyz.scm (python-pyelftools): Update to 0.28.
[source]: Change to GIT-FETCH.
[source](snippet): New field.
[arguments]: Override check phase.

2 years agognu: python-warcio: Fix test failure.
Marius Bakke [Mon, 14 Feb 2022 22:34:16 +0000 (23:34 +0100)]
gnu: python-warcio: Fix test failure.

* gnu/packages/python-web.scm (python-warcio)[arguments]: Invoke pytest
directly instead of going through setup.py.  Skip three more tests.

2 years agognu: python-drmaa: Remove unused input.
Marius Bakke [Mon, 14 Feb 2022 22:33:21 +0000 (23:33 +0100)]
gnu: python-drmaa: Remove unused input.

* gnu/packages/python-xyz.scm (python-drmaa)[native-inputs]: Remove.

2 years agognu: python-drmaa: Fix build failure.
Marius Bakke [Mon, 14 Feb 2022 22:32:14 +0000 (23:32 +0100)]
gnu: python-drmaa: Fix build failure.

* gnu/packages/python-xyz.scm (python-drmaa)[arguments]: Disable sanity
checks.

2 years agognu: python-psutil: Update to 5.9.0.
Marius Bakke [Sun, 13 Feb 2022 14:34:34 +0000 (15:34 +0100)]
gnu: python-psutil: Update to 5.9.0.

* gnu/packages/python-xyz.scm (python-psutil): Update to 5.9.0.

2 years agognu: emacs-which-key: Update to 3.6.0.
Nicolas Goaziou [Mon, 14 Feb 2022 23:16:29 +0000 (00:16 +0100)]
gnu: emacs-which-key: Update to 3.6.0.

* gnu/packages/emacs-xyz.scm (emacs-which-key): Update to 3.6.0.

2 years agoprofiles: texlive-font-maps: Create ls-R file.
Ricardo Wurmus [Mon, 14 Feb 2022 22:12:46 +0000 (23:12 +0100)]
profiles: texlive-font-maps: Create ls-R file.

* guix/profiles.scm (texlive-font-maps): Run mktexlsr on resulting tree to
provide ls-R file.

2 years agognu: Add nitrokey-app.
Petr Hodina [Sat, 5 Feb 2022 22:27:06 +0000 (23:27 +0100)]
gnu: Add nitrokey-app.

* gnu/packages/crates-io.scm (nitrokey-app): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add cppcodec.
Petr Hodina [Sat, 5 Feb 2022 22:26:36 +0000 (23:26 +0100)]
gnu: Add cppcodec.

* gnu/packages/crates-io.scm (cppcodec): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add libnitrokey.
Petr Hodina [Sat, 5 Feb 2022 22:25:44 +0000 (23:25 +0100)]
gnu: Add libnitrokey.

* gnu/packages/security-token.scm (libnitrokey): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: fcitx5-gtk: Split IM module output for different version of GTK.
Zhu Zihao [Mon, 7 Feb 2022 05:55:26 +0000 (13:55 +0800)]
gnu: fcitx5-gtk: Split IM module output for different version of GTK.

* gnu/packages/fcitx5.scm (fcitx5-gtk)[arguments]: Use G-Expression.

<phases>: Split input method module into different outputs for GTK2, GTK3 and GTK4.

Now default output only provides GLib client of Fcitx5.

[inputs]: Use label-less style inputs.
[outputs]: Add new "gtk3" output.

[synopsis]: Fix typo.
[description]: Describe the functionality of each output.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: fcitx5-gtk: Add GTK 4 support.
Zhu Zihao [Mon, 31 Jan 2022 06:51:30 +0000 (14:51 +0800)]
gnu: fcitx5-gtk: Add GTK 4 support.

* gnu/packages/fcitx5.scm (fcitx5-gtk)[arguments]:
<configure-flags>: Enable GTK 4 IM module.
<phases>: In 'patch-install-prefix', patch the install prefix of GTK 4 IM
module.
[inputs]: Add GTK 4.
[outputs]: Add 'gtk4'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: elixir: Fix regex for ERTS_BIN substitution.
Cees de Groot [Tue, 1 Feb 2022 19:12:17 +0000 (14:12 -0500)]
gnu: elixir: Fix regex for ERTS_BIN substitution.

* gnu/packages/elixir.scm (elixir)[arguments]: In 'replace-paths' phase,
change "ERTS_BIN" regexp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: elixir: Fix file name argument to 'search-input-file'.
Ludovic Courtès [Mon, 14 Feb 2022 13:29:02 +0000 (14:29 +0100)]
gnu: elixir: Fix file name argument to 'search-input-file'.

Reported by John Hamelink <me@johnhame.link>
and Cees de Groot <cg@evrl.com>.

Regression introduced in 3da297997dad5b3525277fcecdca84f01d45b104.

* gnu/packages/elixir.scm (elixir)[arguments]: In 'replace-paths' phase,
search for "/bin/sh", not "sh".

2 years agopull: '--list-generations' pipes its output to the pager.
Ludovic Courtès [Wed, 9 Feb 2022 21:21:06 +0000 (22:21 +0100)]
pull: '--list-generations' pipes its output to the pager.

* guix/scripts/pull.scm (process-query): For 'list-generations queries,
use 'with-paginated-output-port'.
(display-news-entry-title): Pass second argument to 'highlight'.
(display-news-entry): Pass second argument to 'dim'.

2 years agoui: 'display-generation' uses color when talking to a pager.
Ludovic Courtès [Wed, 9 Feb 2022 21:23:27 +0000 (22:23 +0100)]
ui: 'display-generation' uses color when talking to a pager.

This makes sure that, say, 'guix pull -l' benefits from colors when its
output is piped to a pager, as long as the underlying terminal supports
it.

* guix/ui.scm (display-generation): Add second argument to 'highlight'.

2 years agoui: 'with-paginated-output-port' gives access to the wrapped port.
Ludovic Courtès [Wed, 9 Feb 2022 21:21:58 +0000 (22:21 +0100)]
ui: 'with-paginated-output-port' gives access to the wrapped port.

* guix/ui.scm (pager-port-mapping): New variable.
(pager-wrapped-port): New procedure.
(call-with-paginated-output-port): Parameterize 'pager-port-mapping'.

2 years agopull: '--list-generations' lists packages only with '--details'.
Ludovic Courtès [Wed, 9 Feb 2022 20:38:05 +0000 (21:38 +0100)]
pull: '--list-generations' lists packages only with '--details'.

* guix/scripts/pull.scm (show-help, %options): Add "--details".
(process-query): Honor it.
* doc/guix.texi (Invoking guix pull): Document it.

2 years agognu: Remove glibc@2.2.5 and gcc-2.95-wrapper.
Ludovic Courtès [Sat, 12 Feb 2022 15:42:35 +0000 (16:42 +0100)]
gnu: Remove glibc@2.2.5 and gcc-2.95-wrapper.

This reverts commits a95924c9ac3f238cde243c96d552ff59ad77ca16 and
defa85b26537a3cc20624fb9dbcae906226361d5, which were used to build
nhc98@1.22 but are no longer needed.

* gnu/packages/base.scm (glibc-2.2.5): Remove.
* gnu/packages/commencement.scm (gcc-2.95-wrapper): Remove.
(glibc-mesboot0, gcc-mesboot0, binutils-mesboot): Keep private.

2 years agognu: ghc@4: Build without referring to packages in commencement.scm.
Ludovic Courtès [Sat, 12 Feb 2022 21:30:17 +0000 (22:30 +0100)]
gnu: ghc@4: Build without referring to packages in commencement.scm.

* gnu/packages/haskell.scm (ghc-4)[arguments]: Remove #:implicit-inputs?.
In 'bootstrap' phase, pass '-optc-D_GNU_SOURCE=1'.  Use
'search-input-file' to locate lib{bfd,iberty}.a, and 'which' for cpp.
Patch 'mk/config.mk.in'.  In 'configure' phase, emit "config.cache".
In 'make-boot' phase, replace "CLK_TCK" in 'nHandle.c'.
[native-inputs]: Remove now-implicit inputs; remove GLIBC-2.2.5,
GCC-MESBOOT0, and BINUTILS-MESBOOT.  Add GCC-2.95 and BINUTILS-2.33.
Remove input labels.

2 years agognu: ghc@4: Use 'search-patches'.
Ludovic Courtès [Mon, 14 Feb 2022 12:46:55 +0000 (13:46 +0100)]
gnu: ghc@4: Use 'search-patches'.

* gnu/packages/haskell.scm (ghc-4)[source]: Use 'search-patches'.

2 years agognu: gcc: Add 2.95.
Ludovic Courtès [Sat, 12 Feb 2022 21:28:52 +0000 (22:28 +0100)]
gnu: gcc: Add 2.95.

* gnu/packages/gcc.scm (gcc-2.95): New variable.

2 years agognu: nhc98: Build with the current tool chain.
Ludovic Courtès [Sat, 12 Feb 2022 15:40:05 +0000 (16:40 +0100)]
gnu: nhc98: Build with the current tool chain.

* gnu/packages/patches/nhc98-c-update.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/haskell.scm (nhc98)[source]: Use it.
[arguments]: Remove #:implicit-inputs?.
[native-inputs]: Remove.

2 years agognu: xournalpp: Use G-expressions.
Nicolas Goaziou [Mon, 14 Feb 2022 11:00:08 +0000 (12:00 +0100)]
gnu: xournalpp: Use G-expressions.

* gnu/packages/pdf.scm (xournalpp)[arguments]: Use G-expressions.
<#:phases>: Replace WHICH with SEARCH-INPUT-FILES.

2 years agognu: xournalpp: Remove input labels.
Nicolas Goaziou [Mon, 14 Feb 2022 10:58:56 +0000 (11:58 +0100)]
gnu: xournalpp: Remove input labels.

* gnu/packages/pdf.scm (xournalpp)[native-inputs]: Remove labels.

2 years agognu: xournalpp: Update to 1.1.1.
Nicolas Goaziou [Mon, 14 Feb 2022 10:58:23 +0000 (11:58 +0100)]
gnu: xournalpp: Update to 1.1.1.

* gnu/packages/pdf.scm (xournalpp): Update to 1.1.1.
[arguments]<#:phases>: Remove unnecessary phase.

2 years agopublish: Do not sign the URL/Compression/FileSize narinfo fields.
Ludovic Courtès [Wed, 9 Feb 2022 17:36:35 +0000 (18:36 +0100)]
publish: Do not sign the URL/Compression/FileSize narinfo fields.

This will allow mirror operators to alter these non-normative bits of a
narinfo without having to resign narinfos.

* guix/scripts/publish.scm (narinfo-string): Remove
URL/Compression/FileSize from BASE-INFO.  Move them after "Signature".
* tests/publish.scm ("/*.narinfo")
("/*.narinfo with properly encoded '+' sign")
("/*.narinfo with lzip + gzip")
("with cache, lzip + gzip"): Adjust accordingly.
* tests/substitute.scm ("query narinfo with signature over relevant subset"):
New test.

2 years agogit-authenticate: Ensure the target is a descendant of the introductory commit.
Ludovic Courtès [Fri, 28 Jan 2022 16:20:43 +0000 (17:20 +0100)]
git-authenticate: Ensure the target is a descendant of the introductory commit.

Fixes a bug whereby authentication of a commit *not* descending from the
introductory commit could succeed, provided the commit verifies the
authorization invariant.

In the example below, A is a common ancestor of the introductory commit
I and of commit X.  Authentication of X would succeed, even though it is
not a descendant of I, as long as X is authorized according to the
'.guix-authorizations' in A:

   X     I
    \   /
      A

This is because, 'authenticate-repository' would not check whether X
descends from I, and the call (commit-difference X I) would return X.

In practice that only affects forks because it means that ancestors of
the introductory commit already contain a '.guix-authorizations' file.

* guix/git-authenticate.scm (authenticate-repository): Add call to
'commit-descendant?'.
* tests/channels.scm ("authenticate-channel, not a descendant of introductory commit"):
New test.
* tests/git-authenticate.scm ("authenticate-repository, target not a descendant of intro"):
New test.
* tests/guix-git-authenticate.sh: Expect earlier test to fail since
9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604 is not a descendant of
$intro_commit.  Add new test targeting an ancestor of the introductory
commit, and another test targeting the v1.2.0 commit.
* doc/guix.texi (Specifying Channel Authorizations): Add a sentence.

2 years agogit: Add 'commit-descendant?'.
Ludovic Courtès [Fri, 28 Jan 2022 15:59:30 +0000 (16:59 +0100)]
git: Add 'commit-descendant?'.

* guix/git.scm (commit-descendant?): New procedure.
* tests/git.scm ("commit-descendant?"): New test.

2 years agogit-authenticate: Test introductory commit signature verification.
Ludovic Courtès [Fri, 28 Jan 2022 11:01:12 +0000 (12:01 +0100)]
git-authenticate: Test introductory commit signature verification.

These tests mimic similar tests already in 'tests/channels.scm', but
without using the higher-level 'authenticate-channel'.

* tests/git-authenticate.scm ("introductory commit, valid signature")
("introductory commit, missing signature")
("introductory commit, wrong signature"): New tests.

2 years agotests: Set a hard build timeout.
Ludovic Courtès [Sat, 12 Feb 2022 14:26:35 +0000 (15:26 +0100)]
tests: Set a hard build timeout.

* guix/tests.scm (open-connection-for-tests): Pass #:timeout to
'set-build-options'.
(call-with-external-store): Add call to 'set-build-options'.

2 years agognu: emacs-howm: Update to 1.4.8.
Nicolas Goaziou [Mon, 14 Feb 2022 10:21:29 +0000 (11:21 +0100)]
gnu: emacs-howm: Update to 1.4.8.

* gnu/packages/emacs-xyz.scm (emacs-howm): Update to 1.4.8.

2 years agognu: emacs-package-lint: Update to 0.16.
Nicolas Goaziou [Mon, 14 Feb 2022 10:19:28 +0000 (11:19 +0100)]
gnu: emacs-package-lint: Update to 0.16.

* gnu/packages/emacs-xyz.scm (emacs-package-lint): Update to 0.16.

2 years agognu: tiled: Update to 1.8.1.
Jai Vetrivelan [Mon, 14 Feb 2022 00:08:15 +0000 (05:38 +0530)]
gnu: tiled: Update to 1.8.1.

* gnu/packages/game-development.scm (tiled): Update to 1.8.1.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: neon: Update to 0.32.2.
Jai Vetrivelan [Mon, 14 Feb 2022 10:08:36 +0000 (11:08 +0100)]
gnu: neon: Update to 0.32.2.

* gnu/packages/version-control.scm (neon): Update to 0.32.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2 years agognu: srain: Update to 1.3.2.
Jai Vetrivelan [Mon, 14 Feb 2022 10:04:47 +0000 (11:04 +0100)]
gnu: srain: Update to 1.3.2.

* gnu/packages/irc.scm (srain): Update to 1.3.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>