Commit graph

84309 commits

Author SHA1 Message Date
Ludovic Courtès
e171182a20
packages: Optionally validate Texinfo markup at expansion time.
* guix/packages.scm (validate-texinfo): New macro.
(<package>)[synopsis, description]: Add 'sanitize' property.
2021-10-28 21:30:27 +02:00
Ludovic Courtès
6938d9f1c7
ui: Gracefully handle invalid Texinfo markup in package blurbs.
Previously 'guix search' & co. would crash when encountering invalid
Texinfo.

* guix/ui.scm (texi->plain-text*): New procedure.
(package-field-string, package->recutils): Use it.
2021-10-28 21:30:27 +02:00
Ludovic Courtès
2015d3f042
store: 'map/accumulate-builds' handler checks the store received.
This is a followup to b19250eec6,
providing a proper fix for <https://issues.guix.gnu.org/46756>.

* guix/remote.scm (remote-eval): Revert b19250eec6.
* guix/store.scm (build-accumulator): Turn into a procedure.  Call
CONTINUE when the store is not eq? to the initial store.
(map/accumulate-builds): Adjust accordingly.
* tests/store.scm ("map/accumulate-builds and different store"): New test.
2021-10-28 21:30:27 +02:00
Ludovic Courtès
45b251fd04
doc: Allow offloading of the expensive derivations.
* doc/build.scm (translated-texi-manuals)
(html-manual, pdf-manual): Pass #:local-build? #f.
2021-10-28 21:30:27 +02:00
Ludovic Courtès
219cf5093e
import: cran: Use the standard diagnostic procedures.
* guix/import/cran.scm (bioconductor-packages-list)
(fetch-description): Use 'warning' instead of 'format'.
2021-10-28 21:30:23 +02:00
Tobias Geerinckx-Rice
3fb19280bb
gnu: dovecot-pigeonhole: Update to 0.5.17.
* gnu/packages/mail.scm (dovecot-pigeonhole): Update to 0.5.17.
[arguments]: Don't explicitly return #t from phases.
2021-10-28 21:03:37 +02:00
Tobias Geerinckx-Rice
afe6c8a97f
gnu: dovecot: Update to 2.3.17.
* gnu/packages/mail.scm (dovecot): Update to 2.3.17.
[arguments]: Don't explicitly return #t from phases.
2021-10-28 21:03:37 +02:00
Ricardo Wurmus
0e6470b47f
gnu: recoll: Update synopsis.
* gnu/packages/search.scm (recoll)[synopsis]: Do not use package name.
2021-10-28 17:04:46 +00:00
Ricardo Wurmus
07ae9d8fe3
gnu: recoll: Add home-page.
Reported-by: Ludovic Courtès <ludo@gnu.org>.

* gnu/packages/search.scm (recoll)[home-page]: Add it.
2021-10-28 17:02:06 +00:00
Ricardo Wurmus
25e9d690cc
gnu: Add recoll.
* gnu/packages/search.scm (recoll): New variable.
2021-10-28 13:30:00 +00:00
Efraim Flashner
c1ca85323d
gnu: mupdf: Update to 1.19.0.
* gnu/packages/pdf.scm (mupdf): Update to 1.19.0.
[source]: Remove patches. Add directory to be saved in snippet
* gnu/packages/patches/mupdf-CVE-2021-3407.patch,
gnu/packages/patches/mupdf-fix-linkage.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2021-10-28 13:02:28 +03:00
Efraim Flashner
babab31fdd
gnu: mujs: Update to 1.1.3.
* gnu/packages/javascript.scm (mujs): Update to 1.1.3.
2021-10-28 13:02:04 +03:00
Leo Famulari
5cbf9a48d7
gnu: linux-libre 4.4: Update to 4.4.290.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.290.
(linux-libre-4.4-pristine-source, deblob-scripts-4.4): Update hashes.
2021-10-28 00:02:14 -04:00
Leo Famulari
81f6528763
gnu: linux-libre 4.9: Update to 4.9.288.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.288.
(linux-libre-4.9-pristine-source, deblob-scripts-4.9): Update hashes.
2021-10-28 00:02:14 -04:00
Leo Famulari
fb13e94aba
gnu: linux-libre 4.14: Update to 4.14.253.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.253.
(linux-libre-4.14-pristine-source, deblob-scripts-4.14): Update hashes.
2021-10-28 00:02:13 -04:00
Leo Famulari
d35451e5d4
gnu: linux-libre 4.19: Update to 4.19.214.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.214.
(linux-libre-4.19-pristine-source, deblob-scripts-5.19): Update hashes.
2021-10-28 00:02:13 -04:00
Leo Famulari
7bd0ef9d50
gnu: linux-libre 5.4: Update to 5.4.156.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.156.
(linux-libre-5.4-pristine-source, deblob-scripts-5.4): Update hashes.
2021-10-28 00:02:13 -04:00
Leo Famulari
e520d95b17
gnu: linux-libre 5.10: Update to 5.10.76.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.76.
(linux-libre-5.10-pristine-source, deblob-scripts-5.10): Update hashes.
2021-10-28 00:02:13 -04:00
Leo Famulari
85ca89ee8f
gnu: linux-libre 5.14: Update to 5.14.15.
* gnu/packages/linux.scm (linux-libre-5.14-version): Update to 5.14.15.
(linux-libre-5.14-pristine-source, deblob-scripts-5.14): Update hashes.
2021-10-28 00:02:10 -04:00
Vinicius Monego
0cd05b5e5c
gnu: Add openhmd.
* gnu/packages/hardware.scm (openhmd): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28 00:44:11 +02:00
Olivier Dion
c9c4c851a8
gnu: docker-compose: Update to 1.29.2
* gnu/packages/docker.scm (docker-compose): Update to 1.29.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28 00:44:11 +02:00
Denis 'GNUtoo' Carikli
2227bb2ac2
gnu: lightdm-gtk-greeter: Add bash-minimal dependency.
The bash-minimal dependency is required by the wrap-program,
and guix lint suggests to add it in the inputs.

* gnu/packages/display-managers.scm (lightdm): add bash-minimal dependency

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28 00:44:10 +02:00
Denis 'GNUtoo' Carikli
c5962a7297
gnu: lightdm-gtk-greeter: Update to 2.0.8
This also fixes the build. Before configure failed with
the following error:
    checking for exo-csource... no
    configure: error: in `/tmp/guix-build-lightdm-gtk-greeter-2.0.7.drv-0/lightdm-gtk-greeter-2.0.7':
    configure: error: exo-csource not installed

* gnu/packages/display-managers.scm (lightdm): update to 2.0.8

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28 00:44:10 +02:00
Denis 'GNUtoo' Carikli
6cf6dc1116
gnu: Add xfce4-dev-tools
This is now needed to build newer lightdm-gtk-greeter versions

* gnu/packages/xfce.scm (xfce4-dev-tools): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28 00:44:10 +02:00
Zhu Zihao
bcc4aef0db
environment: Fix broken file-local variable.
* guix/scripts/environment.scm (Local Variables): Add missing eval.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28 00:44:10 +02:00
Olivier Dion
9b0ee18ba8
gnu: lttng-tools: Patch default man path.
* gnu/packages/linux.scm (lttng-tools)
[arguments]: Add 'patch-default-man-path after 'unpack phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-28 00:44:10 +02:00
Ludovic Courtès
b19250eec6
remote: Really build things remotely when #:build-locally? is #false.
Fixes <https://issues.guix.gnu.org/46756>.
Reported by pkill9 <pkill9@runbox.com>,
Maxim Cournoyer <maxim.cournoyer@gmail.com>, and
Katherine Cox-Buday <cox.katherine.e@gmail.com>.

* guix/remote.scm (remote-eval): When BUILD-LOCALLY? is false, wrap
'build-derivations' call in 'with-build-handler'.
2021-10-28 00:44:10 +02:00
Ludovic Courtès
97d8d2ad02
gnu: guix: Update to 014f1b6.
* gnu/packages/package-management.scm (guix): Update to 014f1b6.
2021-10-28 00:44:10 +02:00
Mark H Weaver
b7a0935420
gnu: icecat: Update to 91.2.0-guix0-preview1.
* gnu/packages/gnuzilla.scm (mozilla-compare-locales)
(all-mozilla-locales, %icecat-version, %icecat-build-id): Update.
(icecat-source): Update upstream source hash.  Update to latest gnuzilla
commit.  Remove the hack that provided 'rename' as 'prename'; set RENAME_CMD
environment variable instead.  Add python to PATH.  Set PYTHONPATH
appropriately.  Adapt substitutions for the reorganized 'makeicecat' script.
Run 'makeicecat' outside of the IceCat source directory.
(icecat)[inputs]: Add cairo, font-dejavu, libpng-apng, libvpx, pciutils,
hunspell, libnotify, sqlite, and zlib.  Update icu4c to version 69.
[native-inputs]: Update rust and cargo to 1.51.  Update rust-cbindgen to 0.19.
Update llvm and clang to 11.  Add m4.  Remove autoconf.
[description]: Update embedded version number to 91.
[arguments]: Remove "#:out-of-source? #t".  Add "#:validate-runpath? #f".  In
configure-flags, add "--enable-application=browser", "--enable-rust-simd",
"--enable-release", "--enable-optimize", "--enable-strip",
"--disable-elf-hack", "--with-system-png", and "--with-system-zlib".  Adjust
the set of modules.  Remove the 'link-libxul-with-libraries' and 'bootstrap'
phases.  Remove the sandbox whitelist population code from the
'fix-ffmpeg-runtime-linker' phase.  Add a new 'build-sandbox-whitelist' phase.
The new whitelist code now adds <font-dejavu>/share/fonts to the whitelist,
and also the runpaths of all libraries in the 'mesa' package.  Update the
'configure' phase to use clang-11 and llvm-11 for compilation (previously we
used gcc), to create a 'mozconfig' file and run './mach configure' (previously
we passed flags to './configure').  Update the 'build' and 'install' phases to
use './mach'.  Update and simplify the 'neutralise-store-references' phase.
Move the 'install-desktop-entry' phase to happen after 'wrap-program', whereas
previously it was run after 'configure'.  In the 'wrap-program' phase, add
libpng-apng and libnotify to LD_LIBRARY_PATH.
(mozilla-78-compare-locales, all-mozilla-78-locales, %icecat-78-version)
(icecat-78-source): New variables, containing the previous values of
mozilla-compare-locales, all-mozilla-locales, %icecat-version, and
icecat-source, respectively.
(icedove)[source]: Use 'icecat-78-source'.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt to the reorganized
'makeicecat' script.
* gnu/packages/patches/icecat-78-makeicecat.patch: New file,
containing previous contents of icecat-makeicecat.patch.
* gnu/local.mk: Add icecat-78-makeicecat.patch.
2021-10-27 18:33:34 -04:00
Julien Lepiller
a8c69e22ee
gnu: Add ocaml-z3.
* gnu/packages/maths.scm (ocaml-z3): New variable.
2021-10-28 00:25:59 +02:00
Julien Lepiller
e2ce7fc73d
gnu: kicad: Update home page.
* gnu/packages/engineering.scm (kicad)[home-page]: Update.
2021-10-27 23:46:35 +02:00
Efraim Flashner
014f1b607f
gnu: python-deprecated: Update to 1.2.13.
* gnu/packages/python-xyz.scm (python-deprecated): Update to 1.2.13.
2021-10-27 20:09:21 +03:00
Efraim Flashner
a56b000745
gnu: python-deprecated: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-deprecated)[arguments]: Adjust
custom 'check phase to honor the #:tests? flag.
2021-10-27 20:05:15 +03:00
Vagrant Cascadian
af4ce7bd41
gnu: diffoscope: Update to 188.
* gnu/packages/patches/diffoscope-fix-test_item3_deflate_llvm_bitcode.patch:
  Rename patch to...
* gnu/packages/patches/diffoscope-fix-llvm-test.patch: This.
* gnu/local.mk (dist_patch_DATA): Update patch name.
* gnu/packages/diffoscope.scm (diffoscope): Update to 188.
  [source]: Update patch name.
  [arguments]: Add skip-python-tests phase.
  Add fpc-external-tool phase.
  Add use-dumppdf-py phase.
  [native-inputs]: Add fpc.
2021-10-27 08:58:42 -07:00
Florian Pelz
2efc7819ce
news: Add 'de' translation.
* etc/news.scm: Add German translation of "guix shell" entry.
2021-10-27 15:39:36 +02:00
Guillaume Le Vaillant
55483dcb98
gnu: pdf2djvu: Update to 0.9.18.1.
* gnu/packages/djvu.scm (pdf2djvu): Update to 0.9.18.1.
  [arguments]: Add 'fix-tests' phase.
2021-10-27 13:46:48 +02:00
Tobias Geerinckx-Rice
89d8417b37
gnu: snooze: Fix installation destination.
* gnu/packages/suckless.scm (snooze)[arguments]: Remove bogus $(DESTDIR)
from #:make-flags to install in $(PREFIX).

Reported by Christopher Howard <christopher@librehacker.com>
2021-10-27 00:13:09 +02:00
Tobias Geerinckx-Rice
ebc2740637
gnu: tor: Update to 0.4.6.8.
* gnu/packages/tor.scm (tor): Update to 0.4.6.8.
[fixes low-severity TROVE-2021-008]
2021-10-27 00:08:42 +02:00
Leo Famulari
c6adc09473
gnu: asignify: Update to 1.1-1.08af003.
* gnu/packages/crypto.scm (asignify): Update to 1.1-1.08af003.
2021-10-26 12:34:10 -04:00
Leo Famulari
3d51fd19fa
gnu: Add b2sum.
* gnu/packages/crypto.scm (b2sum): New variable.
2021-10-26 12:06:26 -04:00
Ludovic Courtès
0a42998a50
syscalls: Gracefully handle failure to load libc's libutil.
In particular, libutil is not found when running code on a
statically-linked Guile.

Reported by mahmooz on #guix.

* guix/build/syscalls.scm (syscall->procedure): Add #:library parameter
and honor it.
(openpty, login-tty): Use 'syscall->procedure' instead of calling
'dynamic-link' directly.
2021-10-26 14:53:43 +02:00
Robin Templeton
73ae663b21
gnu: Add yt-dlp.
* gnu/packages/video.scm (yt-dlp): New variable.

Co-authored-by: Morgan Smith <Morgan.J.Smith@outlook.com>
Suggested-by: bdju <bdju@tilde.team>
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-10-26 14:50:06 +02:00
Mathieu Othacehe
45f7875937
gnu: Add uuu.
* gnu/packages/flashing-tools.scm (uuu): New variable.
2021-10-26 12:45:49 +00:00
Stephen Paul Weber
f8e260e5a2
gnu: ruby-eventmachine: Add openssl input.
While EventMachine will build without openssl present, attempting to use it to
make any TLS-secured connections will crash at runtime, which is not very
useful.  This allows the build system to find and link OpenSSL and thus TLS will
work at runtime.

* gnu/packages/ruby.scm (ruby-eventmachine): Add openssl input.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-26 12:46:28 +02:00
Ludovic Courtès
409f538d65
shell: Suggest running '--check' once for interactive use.
* guix/scripts/shell.scm (hint-directory, hint-file, record-hint)
(hint-given?): New procedures.
(guix-shell): Record and probe the 'shell-check' hint.
2021-10-26 12:46:28 +02:00
Ludovic Courtès
9e46942c1c
environment: Add '--check'.
* guix/scripts/environment.scm (show-environment-options-help)
(%options): Add '--check'.
* guix/scripts/environment.scm (child-shell-environment)
(validate-child-shell-environment): New procedures.
(guix-environment*): Call 'validate-child-shell-environment' when
'check?' key is in OPTS.
* doc/guix.texi (Invoking guix shell): Shorten footnote about Bash
startup files.  Document '--check' and mention startup files.
(Invoking guix environment): Document '--check'.
2021-10-26 12:46:27 +02:00
Ludovic Courtès
f87371bf3e
syscalls: Add 'openpty' and 'login-tty'.
* guix/build/syscalls.scm (openpty, login-pty): New procedures.
* tests/syscalls.scm ("openpty", "openpty + login-tty"): New tests.
2021-10-26 12:46:27 +02:00
Ludovic Courtès
b7b0ac8544
packages: Optimize 'package-transitive-supported-systems'.
With this change, the wall-clock time of:

  ./pre-inst-env guile -c '(use-modules (gnu) (guix)(ice-9 time)) (time (pk (fold-packages (lambda (p r)(supported-package? p)(+ 1 r)) 0)))'

goes from 3.2s to 2.0s, a 37% improvement.

* guix/packages.scm (package-transitive-supported-systems): Change
'supported-systems' to 'supported-systems-procedure', returning an
'mlambdaq' instead of the original 'mlambda'.  Add 'procs'.  Adjust body
accordingly.
2021-10-26 12:46:27 +02:00
Efraim Flashner
b7a36599b4
gnu: python-aiohttp: Remove cythonized files.
* gnu/packages/python-web.scm (python-aiohttp)[source]: Add snippet to
remove generated cythonized files.
[arguments]: Add phase to generate cythonized files.
[native-inputs]: Add python-cython.
2021-10-26 11:31:51 +03:00
Tobias Geerinckx-Rice
d579df680e
gnu: darkhttpd: Cross-compile.
* gnu/packages/web.scm (darkhttpd)[arguments]: Use CC-FOR-TARGET.
2021-10-26 02:02:48 +02:00