Commit graph

93123 commits

Author SHA1 Message Date
Ludovic Courtès
5d4d8d83e4
status: Do not pass a non-literal format string to 'format'.
* guix/status.scm (print-build-event): Use 'display' instead of 'format'
for hooks.
2022-02-16 16:49:27 +01:00
Ludovic Courtès
086813f63c
status: Use bold more sparsely at -v1.
Until now, at -v1, all the "apply N grafts" messages (for instance)
would be displayed in bold.  This would typically result in several
subsequent lines all bold, although none of them is particularly
interesting.  This improves on that by avoiding bold at -v1 for these
messages.

* guix/status.scm (print-build-event)[emph]: New variable.
Use it for the "View build log", "expected hash", and "offloading build"
messages.
[info]: Default to 'identity' when PRINT-URLS? and PRINT-LOG? are both
false.
2022-02-16 16:49:27 +01:00
Ludovic Courtès
3bed628b3e
status: Do not print .drv file names for grafts.
With this change, "guix build vim-full" prints:

  applying 15 grafts for vim-full-8.2.4306 ...

instead of showing /gnu/store/…-vim-full-8.2.4306.drv.

* guix/status.scm (print-build-event): In the 'graft' case, print just
the "package name" part of DRV.
2022-02-16 16:49:26 +01:00
Ludovic Courtès
de65fd92d5
doc: Document 'wrap-program' and 'wrap-script'.
* doc/guix.texi (Build Utilities)[Wrappers]: New subsection.
2022-02-16 16:49:26 +01:00
Ludovic Courtès
ca155a20ae
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.
2022-02-16 16:49:26 +01:00
Guillaume Le Vaillant
176354c2f8
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.
2022-02-16 14:52:03 +01:00
Efraim Flashner
73e4660020
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.
2022-02-16 15:48:10 +02:00
Efraim Flashner
194b1a9297
gnu: valgrind: Remove riscv64-linux from supported-systems.
* gnu/packages/valgrind.scm (valgrind)[supported-systems]: New field.
2022-02-16 15:48:05 +02:00
Nicolas Goaziou
37254e10d1
gnu: emacs-meow: Update to 1.4.1.
* gnu/packages/emacs-xyz.scm (emacs-meow): Update to 1.4.1.
2022-02-16 13:24:34 +01:00
Nicolas Goaziou
809757cd82
gnu: emacs-chronometrist: Use G-expressions.
* gnu/packages/emacs-xyz.scm (emacs-chronometrist)[arguments]<#:phases>: Use G-expressions.
2022-02-16 13:24:12 +01:00
Nicolas Goaziou
e8027b33b9
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.
2022-02-16 13:21:17 +01:00
Efraim Flashner
d96481c072
gnu: julia-media: Create Project.toml file.
* gnu/packages/julia-xyz.scm (julia-media)[arguments]: Add custom phase
to create Package.toml file.
2022-02-16 12:45:32 +02:00
zimoun
5acb9b70bd
gnu: Add julia-gpuarrays.
* gnu/packages/julia-xyz.scm (julia-gpuarrays): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-02-16 12:45:29 +02:00
zimoun
6516a2e3fe
gnu: Add julia-cenum.
* gnu/packages/julia-xyz.scm (julia-cenum): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-02-16 12:45:27 +02:00
zimoun
439d48d29d
gnu: Add julia-bfloat16s.
* gnu/packages/julia-xyz.scm (julia-bfloat16s): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-02-16 12:45:24 +02:00
zimoun
ea0c7d655c
gnu: Add julia-juno.
* gnu/packages/julia-xyz.scm (julia-juno): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-02-16 12:45:21 +02:00
Efraim Flashner
0f87f2e69d
gnu: qemu: Skip some tests on riscv64-linux.
* gnu/packages/virtualization.scm (qemu)[arguments]: Add phase for
riscv64-linux to skip some unsupported tests.
2022-02-16 12:45:18 +02:00
Lars-Dominik Braun
b545d22364
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.
2022-02-16 11:07:56 +01:00
Lars-Dominik Braun
3cc7638258
gnu: exiv2: Enable BMFF support.
* gnu/packages/image.scm (exiv2)[arguments]<configure-flags>: Enable BMFF.
2022-02-16 10:47:28 +01:00
Efraim Flashner
34755d912e
gnu: debian-ports-archive-keyring: Update to 2022.02.15.
* gnu/packages/debian.scm (debian-ports-archive-keyring): Update to 2022.02.15.
2022-02-16 09:59:29 +02:00
Efraim Flashner
e358706058
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.
2022-02-16 09:57:40 +02:00
Stephen Paul Weber
52269e27c6
gnu: Add python-miniupnpc
* gnu/packages/python-xyz.scm (python-miniupnpc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-02-15 23:13:02 +01:00
Jan (janneke) Nieuwenhuizen
6ec07f6b38
gnu: hurd: Remove leftover export.
* gnu/packages/hurd.scm: Remove 'hurd-triplet?' export.
2022-02-15 22:43:29 +01:00
Marius Bakke
06111d9396
gnu: fish: Disable flaky test.
* gnu/packages/shells.scm (fish)[arguments]: Delete test that occasionally
fails.
2022-02-15 22:42:26 +01:00
Marius Bakke
d87c2db4f7
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.
2022-02-15 22:42:26 +01:00
Maxim Cournoyer
da696ee165
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.
2022-02-15 15:18:22 -05:00
Leo Famulari
69f94ff95c
gnu: yt-dlp: Update to 2022.02.04.
* gnu/packages/video.scm (yt-dlp): Update to 2022.02.04.
2022-02-15 14:53:54 -05:00
Marius Bakke
a8a13b11de
gnu: liblinphone: Simplify inputs.
* gnu/packages/linphone.scm (liblinphone): Simplify inputs.
2022-02-15 20:44:21 +01:00
Marius Bakke
3f9c432bfb
gnu: pep-engine: Simplify inputs.
* gnu/packages/pep.scm (pep-engine): Simplify inputs.
2022-02-15 20:44:21 +01:00
Marius Bakke
bb6a7f6a8e
gnu: wget2: Simplify inputs.
* gnu/packages/wget.scm (wget2): Simplify inputs.
2022-02-15 20:44:21 +01:00
Marius Bakke
60d82a2153
gnu: transcode: Simplify inputs.
* gnu/packages/video.scm (transcode): Simplify inputs.
2022-02-15 20:44:21 +01:00
Marius Bakke
1bd1f42a31
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.
2022-02-15 20:44:21 +01:00
Marius Bakke
162105fc5a
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.
2022-02-15 20:44:21 +01:00
Jai Vetrivelan
6ff3e6f4ac
gnu: nano: Update to 6.1.
* gnu/packages/nano.scm (nano): Update to 6.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2022-02-15 14:10:33 -05:00
Alex Devaure
82c7e4d3ac
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>
2022-02-15 14:10:33 -05:00
Efraim Flashner
150318a0bf
gnu: alfis: Remove 'relax-requirements phase.
* gnu/packages/rust-apps.scm (alfis)[arguments]: Remove custom phases.
2022-02-15 21:00:09 +02:00
Efraim Flashner
b394f77e0b
gnu: rust-x25519-dalek-1: Adjust package dependencies.
* gnu/packages/crates-io.scm (rust-x25519-dalek-1)[source]: Add snippet
to adjust crate dependencies.
2022-02-15 21:00:06 +02:00
Efraim Flashner
7576d5cb43
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.
2022-02-15 21:00:03 +02:00
Efraim Flashner
dbbcf8b75b
gnu: rust-chacha20-0.8: Adjust package dependencies.
* gnu/packages/crates-io.scm (rust-chacha20-0.8)[source]: Add snippet to
adjust crate dependencies.
2022-02-15 20:59:59 +02:00
Tobias Geerinckx-Rice
1cdd6b09c8
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.
2022-02-13 01:00:00 +01:00
Tobias Geerinckx-Rice
2b2f8c6b59
gnu: dovecot-pigeonhole: Update to 0.5.18.
* gnu/packages/mail.scm (dovecot-pigeonhole): Update to 0.5.18.
2022-02-13 01:00:00 +01:00
Tobias Geerinckx-Rice
e9d15acb3e
gnu: dovecot: Update to 2.3.18.
* gnu/packages/mail.scm (dovecot): Update to 2.3.18.
2022-02-13 01:00:00 +01:00
Tobias Geerinckx-Rice
56947bf283
gnu: tor: Update to 0.4.6.10.
* gnu/packages/tor.scm (tor): Update to 0.4.6.10.
2022-02-13 01:00:00 +01:00
Jai Vetrivelan
c033b05f38
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>
2022-02-15 19:19:30 +01:00
Ludovic Courtès
791069737c
guix system: Fix 'describe' when booting the latest generation.
Fixes a regression introduced in
9679123ce0, 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.
2022-02-15 17:24:08 +01:00
Ludovic Courtès
ee92b0fb7d
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'.
2022-02-15 17:24:08 +01:00
Ludovic Courtès
d4709d78c3
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.
2022-02-15 17:24:08 +01:00
Ricardo Wurmus
64fcf9508a
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.
2022-02-15 17:18:42 +01:00
Jai Vetrivelan
7a67e9f3b5
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>
2022-02-15 15:12:28 +01:00
Jai Vetrivelan
b012a28fbe
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>
2022-02-15 15:12:11 +01:00