Commit graph

70084 commits

Author SHA1 Message Date
Maxim Cournoyer 734bcf1313
gnu: gobject-introspection: Update to 1.66.1.
* gnu/packages/glib.scm (gobject-introspection): Update to 1.66.1.
2021-01-13 22:10:36 -05:00
Efraim Flashner 838427499d
gnu: python-libxml2: Fix building with python-3.9.
* gnu/packages/xml.scm (python-libxml2)[source]: Add patch.
* gnu/packages/patches/python-libxml2-python39-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-01-13 11:53:30 +02:00
Efraim Flashner 8c71705062
gnu: xcb-proto: Adjust source for python-3.9 update.
* gnu/packages/xorg.scm (xorg-proto)[source]: Add snippet to fix pythom
module import.
2021-01-13 10:27:01 +02:00
Maxim Cournoyer b5c4f5d9ee
gnu: python: Update to 3.9.1 and streamline package definition.
* gnu/packages/python.scm (python-3.8): Rename to...
(python-3.9): ... this.  Update version to 3.9.1.
[arguments]{make-flags}: Restore test_socket test.
[phases]{unset-SOURCE_DATE_EPOCH, reset-SOURCE_DATE_EPOCH}: Remove phases.
{rebuild-bytecode}: Simplify code.  Set the invalidation-mode argument of the
compileall module to "unchecked-hash", to ensure determinism.
(python-3): Adjust to refer to python-3.9.
* gnu/packages/patches/python-3-fix-tests.patch: Rebase and extend patch.
* gnu/packages/patches/python-3.8-fix-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2021-01-12 23:55:48 -05:00
Maxim Cournoyer f1eea19c9a
gnu: python-3.8: Apply python-3-arm-alignment.patch unconditionally.
* gnu/packages/python.scm (python-3.8)[source]: Add
"python-3-arm-alignment.patch" to the patches field.
[phases]{apply-alignment-patch}: Remove phase.
[native-inputs]: Remove arm-alignment.patch.
2021-01-12 22:00:42 -05:00
Maxim Cournoyer 44b0ffcf00
gnu: python-3.8: Fix indentation.
* gnu/packages/python.scm (python-3.8): Fix indentation.
2021-01-12 22:00:42 -05:00
Mathieu Othacehe a8650a70ab
gnu: guile: Fix tests on emulated architectures.
The stack overflow test limits the virtual memory size using setrlimit with
RLIMIT_AS argument. This is ignored when using QEMU transparent emulation,
causing the test to crash.

* gnu/packages/patches/guile-2.2-skip-so-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/guile.scm (guile-2.2): Add it.
2021-01-11 11:18:54 +01:00
Maxim Cournoyer 31ebecf73d
packages: Fix 'base32' used before definition warning.
Before this change, compiling the module would emit the following message:
"guix/packages.scm:213:25: warning: macro `base32' used before definition".

* guix/packages.scm (define-compile-time-decoder)
(base32, base64): Move definitions to the top of the module.
2021-01-10 17:12:22 -05:00
Maxim Cournoyer 0715793373
build-systems/emacs: No longer skip patching of files containing NULs.
This follows the fix to <https://bugs.gnu.org/30116>.

* guix/build/emacs-build-system.scm (patch-el-files)
[file-contains-nul-char]: Remove nested procedure.
[el-file]: Do no filter out files containing NUL characters.
2021-01-08 14:10:33 -05:00
Mark H Weaver 485ac28235
utils: Allow text substitution even in the presence of NUL characters.
Fixes <https://issues.guix.gnu.org/30116>.

Before this change, the presence of a NUL character on a line meant that
the (glibc) regexp engine used by Guile would either 1. stop scanning the
string or 2. crash with the error "string contains #\\nul character",
depending on the locale used.

This change works around this limitation by first replacing the NUL character
by an unused Unicode code point, doing the substitution, then reverting the
replacement.

* guix/build/utils.scm (unused-private-use-code-point)
(replace-char): New procedures.
(substitute): Make use of the above procedures to work around the NUL
character regexp engine limitation.
* tests/build-utils.scm: Add tests.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-01-08 14:10:33 -05:00
Leo Famulari 8027711ee8
gnu: tzdata-for-tests: Update to 2020d.
* gnu/packages/base.scm (tzdata-for-tests): Update to 2020d.
[inputs]: Update tzcode.
2021-01-07 15:50:50 -05:00
Miguel Ángel Arruga Vivas cfe606572d
gnu: help2man: Update to 1.47.16.
* gnu/packages/man.scm (help2man): Update to version 1.47.16.
2021-01-06 17:14:49 +01:00
Miguel Ángel Arruga Vivas 378df42fc5
gnu: help2man: Add optional dependencies.
* gnu/packages/man.scm (help2man)[inputs]: Add perl-gettext and
gettext-minimal to the inputs.
2021-01-06 17:14:44 +01:00
Miguel Ángel Arruga Vivas 4343ca8ba5
gnu: Add perl-gettext.
* gnu/packages/perl.scm (perl-gettext): New module imported from CPAN.
2021-01-05 13:32:34 +01:00
Efraim Flashner d24ac47da1
gnu: nettle: Update to 3.7.
* gnu/packages/nettle.scm (nettle): Update to 3.7.
2021-01-05 12:17:36 +02:00
Vincent Legoll 82c791a3b1
gnu: libxkbcommon: Update to 1.0.3.
* gnu/packages/xdisorg.scm (libxkbcommon): Update to 1.0.3.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-01-03 15:44:28 +02:00
Maxim Cournoyer 9ea8616b37
gnu: cmake-bootstrap: Update to 3.19.2.
* gnu/packages/cmake.scm (%preserved-third-party-files): Repatriate from the
cmake package definition.
(cmake-bootstrap): Update to 3.19.2.
(cmake): Remove the version and source field overrides.
2020-12-30 08:40:43 -05:00
Maxim Cournoyer ca5f81ff57
gnu: boost: Update to 1.75.0.
* gnu/packages/boost.scm (boost): Update to 1.75.0.
2020-12-30 08:40:35 -05:00
Justus Winter 7d96a403a2
gnu: pulseaudio: Add webrtc-audio-processing to inputs.
This enables acoustic echo cancellation using the 'webrtc' method.

* gnu/packages/pulseaudio.scm (pulseaudio)[inputs]: Add
webrtc-audio-processing.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-12-30 11:54:48 +01:00
Vincent Legoll e104753375
gnu: sqlite: Update to 3.34.0.
* gnu/packages/sqlite.scm (sqlite): Update to 3.34.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-12-30 11:45:55 +01:00
Maxim Cournoyer 7f80cc8102
build-systems/gnu: Add compressor file extension to symbolic links.
Otherwise man and info readers are not able to read their content as they rely
on the file extension to detect if compression is used.

* guix/build/gnu-build-system.scm (compress-documentation)
[retarget-symlink]: Append the compressor file extension to the link file name.
2020-12-29 13:38:54 -05:00
Ludovic Courtès 067f28a7d7
gnu: fontconfig: Use 'font-dejavu' and remove replacement.
* gnu/packages/fontutils.scm (fontconfig)[replacement]: Remove.
[inputs]: Replace GS-FONTS by FONT-DEJAVU.
[arguments]: Adjust accordingly.
(fontconfig/font-dejavu): Remove.
2020-12-29 13:38:43 -05:00
Ludovic Courtès 951610567f
gnu: gdbm: Update to 1.19.
* gnu/packages/patches/gdbm-gcc-compat.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/dbm.scm (gdbm)[source]: Remove 'patches'.
2020-12-27 18:44:57 +01:00
Greg Hogan bbd2864272
gnu: openblas: Update to 0.3.13.
* gnu/packages/maths.scm (openblas): Update to 0.3.13.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-12-27 15:50:08 +01:00
Ricardo Wurmus 7549c963c4
guix: Quote list of bootstrap scripts.
This is a follow-up to commit 9cfc93be30.

* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Quote the list of
default bootstrap scripts.
2020-12-23 21:17:46 +01:00
Ricardo Wurmus 9cfc93be30
build-system/gnu: Allow overriding of bootstrap scripts.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Accept
bootstrap-scripts keyword argument and pass it to gnu-build.
(%bootstrap-scripts): New variable.
* guix/build/gnu-build-system.scm (%bootstrap-scripts): Remove variable.
(bootstrap): Remove default value for bootstrap-scripts argument.
2020-12-23 13:33:24 +01:00
Ricardo Wurmus 40f14e3c66
gnu: Replace texlive-latex-pdfx with texlive-pdfx.
* gnu/packages/tex.scm (texlive-latex-pdfx): Deprecate in favor of...
(texlive-pdfx): ...this variable.
2020-12-23 10:34:34 +01:00
Ricardo Wurmus 4c8e7ca01d
gnu: texlive-latex-pdfx: Use simple-texlive-package.
* gnu/packages/tex.scm (texlive-latex-pdfx): Implement with
simple-texlive-package.
[native-inputs]: Remove.
[propagated-inputs]: Replace texlive-generic-pdftex with texlive-pdftex.
2020-12-23 10:34:34 +01:00
Ricardo Wurmus c9ef13bb19
gnu: Replace texlive-latex-hyperref with texlive-hyperref.
* gnu/packages/tex.scm (texlive-latex-hyperref): Deprecate in favor of...
(texlive-hyperref): ...this new variable.
2020-12-23 10:34:27 +01:00
Ricardo Wurmus ad5dddc610
gnu: Replace texlive-latex-fontspec with texlive-fontspec.
* gnu/packages/tex.scm (texlive-latex-fontspec): Deprecate in favor of...
(texlive-fontspec): ...this new variable.
2020-12-23 10:11:00 +01:00
Ricardo Wurmus 2fa52bbcb5
gnu: texlive-base: Update reference to texlive-babel.
* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Replace
"texlive-latex-babel" with "texlive-babel".
2020-12-23 10:11:00 +01:00
Ricardo Wurmus a8a2dcf06d
gnu: Replace texlive-latex-babel with texlive-babel.
* gnu/packages/tex.scm (texlive-latex-babel): Deprecate in favor of...
(texlive-babel): ...this new variable.
[native-inputs]: Add unzip.
2020-12-23 10:11:00 +01:00
Ricardo Wurmus bbeabb548d
gnu: texlive-base: Update reference to texlive-psnfss.
* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Replace
"texlive-latex-psnfss" with "texlive-psnfss".
2020-12-23 10:11:00 +01:00
Ricardo Wurmus 10b2fff98a
gnu: texlive-base: Update reference to texlive-amscls.
* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Replace
"texlive-latex-amscls" with "texlive-amscls".
2020-12-23 10:11:00 +01:00
Ricardo Wurmus 6056dc110f
gnu: Replace texlive-latex-amscls with texlive-amscls.
* gnu/packages/tex.scm (texlive-latex-amscls): Deprecate in favor of...
(texlive-amscls): ...this new variable.
2020-12-23 10:11:00 +01:00
Ricardo Wurmus 4c1de416b2
gnu: Replace texlive-latex-mflogo with texlive-mflogo.
* gnu/packages/tex.scm (texlive-latex-mflogo): Deprecate in favor of...
(texlive-mflogo): ...this new variable.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus a434d9fa71
gnu: python-pypandoc: Do not set HOME.
* gnu/packages/python-xyz.scm (python-pypandoc)[arguments]: Do not set HOME
for the texlive-union.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus 8a08252d0c
gnu: python-ipython-documentation: Use new name for texlive-pdftex.
* gnu/packages/python-xyz.scm (python-ipython-documentation)[native-inputs]:
Replace "texlive-generic-pdftex" with "texlive-pdftex".
2020-12-23 10:10:59 +01:00
Ricardo Wurmus 212e0360d4
gnu: Update references to texlive-knuth-lib.
* gnu/packages/tex.scm (texlive-hyph-utf8, texlive-latex-base,
teximpatient)[native-inputs]: Replace references to "texlive-fonts-knuth-lib"
with "texlive-knuth-lib".
2020-12-23 10:10:59 +01:00
Ricardo Wurmus a2276f625a
gnu: Replace texlive-fonts-knuth-lib with texlive-knuth-lib.
* gnu/packages/tex.scm (texlive-fonts-knuth-lib): Deprecate in favor of...
(texlive-knuth-lib): ...this new variable.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus 2c578eb612
gnu: chez-web: Use new names of TeX Live packages.
* gnu/packages/chez.scm (chez-web)[native-inputs]: Replace
texlive-generic-pdftex, texlive-context-base, and texlive-fonts-cm with the
new names texlive-pdftex, texlive-context, and texlive-cm, respectively.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus 85ca23b0c5
gnu: chez-sockets: Use new name of texlive-pdftex.
* gnu/packages/chez.scm (chez-sockets)[native-inputs]: Replace
"texlive-generic-pdftex" with "texlive-pdftex".
2020-12-23 10:10:59 +01:00
Ricardo Wurmus 5b6600e689
gnu: chez-web: Remove obsolete build phase.
* gnu/packages/chez.scm (chez-web)[arguments]: Remove build phase "set-HOME".
2020-12-23 10:10:59 +01:00
Ricardo Wurmus 63482d6f45
gnu: teximpatient: Use new name for texlive-pdftex.
* gnu/packages/tex.scm (teximpatient)[native-inputs]: Replace
texlive-generic-pdftex with texlive-pdftex.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus 0b4d0c6db3
gnu: Replace texlive-generic-pdftex with texlive-pdftex.
* gnu/packages/tex.scm (texlive-generic-pdftex): Deprecate in favor of...
(texlive-pdftex): ...this new variable.
2020-12-23 10:10:59 +01:00
Ricardo Wurmus 3a2b9b5e05
gnu: lilypond: Use new name of texlive-lh.
* gnu/packages/music.scm (lilypond)[native-inputs]: Replace "texlive-latex-lh"
in texlive-union with new name "texlive-lh".
2020-12-23 10:10:58 +01:00
Ricardo Wurmus 2092c31723
gnu: lilypond: Remove obsolete build phase.
* gnu/packages/music.scm (lilypond)[arguments]: Remove build phase
"use-texlive-union".
2020-12-23 10:10:58 +01:00
Jelle Licht d9f733ad8b
gnu: texlive-amsfonts: Only create tfm files for Euler fonts.
* gnu/packages/tex.scm (texlive-amsfonts)[arguments]<#:phases>[build-fonts]:
Invoke `afm2tfm' for only the Euler fonts.
2020-12-23 10:10:58 +01:00
Ricardo Wurmus 7899a10e8e
gnu: Replace texlive-latex-lh with texlive-lh.
* gnu/packages/tex.scm (texlive-latex-lh): Deprecate in favor of...
(texlive-lh): ...this new variable.
2020-12-23 10:10:58 +01:00
Ricardo Wurmus a72499b3a5
gnu: sbcl: Remove obsolete build phase.
* gnu/packages/lisp.scm (sbcl)[arguments]: Remove obsolete build phase
"set-HOME".
2020-12-23 10:10:58 +01:00