Commit graph

66624 commits

Author SHA1 Message Date
Jan (janneke) Nieuwenhuizen
9f492af3e4
gnu: jbig2dec: Use python-minimal-wrapper instead of python-wrapper.
* gnu/packages/image.scm (jbig2dec)[native-inputs]: Use python-minimal-wrapper
instead of python-wrapper.
2020-10-10 17:06:45 +02:00
Jan (janneke) Nieuwenhuizen
4562f74e75
gnu: ghostscript: Use python-minimal-wrapper instead of python-wrapper.
* gnu/packages/ghostscript.scm (ghostscript)[native-inputs]: Use
python-minimal-wrapper instead of python-wrapper.
2020-10-10 17:05:19 +02:00
Jan (janneke) Nieuwenhuizen
e6d00c90f3
gnu: curl: Use python-minimal-wrapper instead of python-wrapper.
* gnu/packages/curl.scm (curl)[native-inputs]: Use python-minimal-wrapper
instead of python-wrapper.
2020-10-10 17:01:51 +02:00
Maxim Cournoyer
b843f62aad
gnu: mit-krb5: Enable TLS support.
Also enable more tests.

* gnu/packages/kerberos.scm (mit-krb5)[native-inputs]: Add tcl.
[inputs]: Add openssl.
2020-10-08 21:25:20 -04:00
Maxim Cournoyer
5a0997ef7f
packages, scripts, utils: Enable multi-threaded xz compression.
xz compression is slow; using the multi-thread mode of xz can make it more
than 6 times faster, for example when compressing the large linux-libre
source.

* guix/build/utils.scm (%xz-parallel-args): New procedure.
* guix/packages.scm (patch-and-repack): Specify the required above xz
arguments by setting the XZ_DEFAULTS environment variable.
* guix/scripts/pack.scm (%compressors, bootstrap-xz): Modify the commands
Gexps so they do not need to be quoted.  This allows lazily evaluating the
arguments on the builder's side.  Specify the required xz arguments.
(self-contained-tarball): Do not quote the compressor command value.
(docker-image): Likewise.
* guix/utils.scm (decompressed-port, compressed-port)
(compressed-output-port): Specify the required above xz arguments.
2020-10-08 12:27:02 -04:00
Maxim Cournoyer
7102c18678
utils: Do not raise exceptions in delete-file-recursively.
This makes it so that delete-file-recursively honors its docstring, which says
it should "report but ignore errors".

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

* guix/build/utils.scm (warn-on-error): New syntax.
(delete-file-recursively): Use it to catch exceptions and print warning
messages.

Reported-by: Fredrik Salomonsson <plattfot@gmail.com>
2020-10-08 11:10:18 -04:00
Danny Milosavljevic
cde87f38cf
gnu: curl: Update to 7.72.0.
* gnu/packages/curl.scm (curl): Update to 7.72.0.
[native-inputs]: Add nghttp2.
2020-10-08 10:06:12 +02:00
Danny Milosavljevic
9e4a193b09
gnu: mesa: Update to 20.1.9.
* gnu/packages/gl.scm (mesa): Update to 20.1.9.
[arguments]<#:phases>[fix-tests]: New phase.
2020-10-07 16:11:47 +02:00
Danny Milosavljevic
0be0f249eb
gnu: libevent: Fix build failure.
* gnu/packages/libevent.scm (libevent)[arguments]<#:configure-flags>:
Add --disable-openssl.
2020-10-06 13:49:52 +02:00
Florian Pelz
0585a0d0d1
gnu: glib: Adhere to '--without-tests' option.
* gnu/packages/glib.scm (glib)[arguments]<#:phases>[configure]:
Only run tests if 'tests?' is true.
2020-10-03 10:36:31 +00:00
Maxim Cournoyer
c9cfcd5159
gnu: mesa: Update to 20.1.8.
* gnu/packages/gl.scm (mesa): Update to 20.1.8.
(mesa-20.0.8): Remove variable.
2020-09-26 01:20:36 -04:00
Ludovic Courtès
0b40d1a3b4
gnu: gnutls: Remove dependency on the Autotools.
This is a followup to 5cf6f6fe7b.

* gnu/packages/tls.scm (gnutls)[arguments]: In 'disable-failing-tests'
phase, change 'tests/fastopen.sh' instead of 'tests/Makefile.am'.
[native-inputs]: Remove AUTOCONF, AUTOMAKE, GETTEXT-MINIMAL, and
LIBTOOL.
2020-09-25 15:15:59 +02:00
Ludovic Courtès
e7ab9c33cc
gnu: gnutls: Enable more testing.
* gnu/packages/tls.scm (gnutls)[native-inputs]: Add NET-TOOLS, IPROUTE,
and SOCAT.
[arguments]: Adjust #:disallowed-references accordingly.
2020-09-25 14:50:56 +02:00
Ludovic Courtès
0e54d63dfa
gnu: gnutls: Update to 3.6.15.
* gnu/packages/tls.scm (gnutls): Update to 3.6.15.
[replacement]: Remove.
(gnutls-3.6.14): Remove.
* gnu/packages/vpn.scm (openconnect)[inputs]: Adjust accordingly.
* gnu/packages/package-management.scm (guix)[propagated-inputs]:
Likewise.
2020-09-25 14:50:02 +02:00
Ludovic Courtès
a83860cd22
gnu: ld-wrapper: Unset 'GUILE_SYSTEM_COMPILED_PATH'.
'GUILE_SYSTEM_COMPILED_PATH' is set by guile-bootstrap@2.0.  Unsetting
it ensures it does not interfere.

* gnu/packages/ld-wrapper.in: Unset GUILE_SYSTEM_COMPILED_PATH.
2020-09-25 14:50:02 +02:00
Maxim Cournoyer
def6e2ae46
gnu: util-linux: Search for setuid helper programs as well.
To allow using mount as an unprivileged user, the helper commands must also be
setuid.  Before this change, the 'mount' command would only look under
/run/current/profile/sbin.  Extend the default path to include
/run/setuid-programs as well.

Partially addresses <https://issues.guix.gnu.org/39670>.

* gnu/packages/linux.scm (util-linux)[configure-flags]: Prepend
"/run/setuid-programs:" to the default search path.

Reported-by: Nathan Dehnel <ncdehnel@gmail.com>
2020-09-24 15:21:04 -04:00
Maxim Cournoyer
5cf6f6fe7b
gnu: gnutls: Fix build.
Fixes <http://issues.guix.gnu.org/43561>.

* gnu/packages/tls.scm (gnutls)[phases]{disable-failing-tests}: Add phase.
[native-inputs]: Add autoconf, automake, gettext-minimal, libtool and texinfo.
2020-09-23 22:41:06 -04:00
Efraim Flashner
ddda703840
gnu: libgcrypt: Update to 1.8.6.
* gnu/packages/gnupg.scm (libgcrypt): Update to 1.8.6.
2020-09-23 09:57:08 +03:00
Efraim Flashner
923bb70a1b
gnu: glibc-for-bootstrap: Fix patch.
This is a follow-up to d08f5299e6.

* gnu/packages/patches/glibc-bootstrap-system.patch: Update.
2020-09-23 08:13:10 +03:00
Paul Garlick
73b67eeea4
gnu: texlive-latex-psnfss: Ensure that font definition files are installed.
* gnu/packages/tex.scm (texlive-latex-psnfss): Use
simple-texlive-package to install font definition files and
documentation.
2020-09-22 17:22:27 +01:00
Efraim Flashner
d08f5299e6
gnu: glibc-for-bootstrap: Refresh patch.
This is a follow-up to d2a01e3b5b.

* gnu/packages/patches/glibc-bootstrap-system.patch: Update for glibc-2.32.
2020-09-21 18:33:38 +03:00
Ludovic Courtès
dd36f508d5
gnu: node: Update to 10.22.0.
* gnu/packages/node.scm (node): Update to 10.22.0.
(node-10.22): Remove.  It was referring to 'nghttp2-1.41', which is
unbound.
2020-09-20 23:56:30 +02:00
Ludovic Courtès
2a3fccf70f
gnu: binutils: Update to 2.35.1.
* gnu/packages/base.scm (binutils): Update to 2.35.1.
[arguments]: Remove #:make-flags.
[properties]: Remove.
(binutils+documentation): Remove.
(binutils-gold): Inherit from BINUTILS.
* gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]:
Remove #:make-flags.
2020-09-20 23:56:30 +02:00
Ludovic Courtès
855bc05e11
gnu: glibc: Add version 2.31.
* gnu/packages/base.scm (glibc-2.31): New variable.
* gnu/system/locale.scm (%default-locale-libcs): Add it.
2020-09-20 23:56:17 +02:00
Ludovic Courtès
3b49071fd1
gnu: gawk-boot0: Inherit from gawk.
Until now the version number would be wrong.

* gnu/packages/commencement.scm (gawk-boot0): Inherit from GAWK, not
PATCH.
2020-09-20 13:07:55 +02:00
Ludovic Courtès
32e5ffaa78
gnu: gawk: Update to 5.1.0.
* gnu/packages/gawk.scm (gawk): Update to 5.1.0.
2020-09-20 12:44:29 +02:00
Ludovic Courtès
d2a01e3b5b
gnu: glibc: Update to 2.32.
* gnu/packages/base.scm (glibc): Update to 2.32.
[arguments]: Add #:make-flags.
2020-09-20 01:01:27 +02:00
Ludovic Courtès
18fa433bf5
gnu: gcc-mesboot: Remove redundant input.
Fixes <https://bugs.gnu.org/43508>.

* gnu/packages/commencement.scm (gcc-mesboot)[native-inputs]: Remove
GCC-MESBOOT1, which is already in %BOOT-MESBOOT4-INPUTS.
2020-09-19 17:28:47 +02:00
Ludovic Courtès
d845e3af7c
utils: Add 'call-with-temporary-output-file'.
* guix/utils.scm: Re-export 'call-with-temporary-output-file'.
(call-with-temporary-output-file): Move to...
* guix/build/utils.scm (call-with-temporary-output-file): ... here.
2020-09-19 17:28:47 +02:00
Ludovic Courtès
a08cb3ca95
Remove (guix build rpath).
This file was unused and is now superseded by (guix build gremlin).

* guix/build/rpath.scm: Remove.
* Makefile.am (MODULES): Remove it.
2020-09-19 17:28:46 +02:00
Ludovic Courtès
49a1203d67
gremlin: Add 'set-file-runpath', 'file-runpath', and 'file-needed'.
* guix/build/gremlin.scm (file-dynamic-info, file-runpath, file-needed):
New procedures.
(&missing-runpath-error, &runpath-too-long-error): New condition types.
(set-file-runpath): New procedure.
* tests/gremlin.scm ("set-file-runpath + file-runpath"): New test.
2020-09-19 17:28:46 +02:00
Jakub Kądziołka
e0f31baacc
build-system/gnu: strip with --strip-unneeded [v2]
[Accidentally pushed patch v1, this commit contains the rest of the
changes. Revised commit message follows.]

Apart from debug information, one can also strip some symbols. This can
be a significant difference, the closure of gcc-toolchain@7 got reduced
by 15 MB in my tests.

As per [1], --strip-debug is included in --strip-unneeded, and
the debug files created also contain a copy of the information removed
by --strip-unneeded.

Linux From Scratch suggests that this option shouldn't be used on static
libraries [2], however other sources [3] indicate otherwise. Building a
toolchain with this patch succeeds, and the result works fine for
'gcc -static hello-world.c'.

[1]: https://stackoverflow.com/a/52555093
[2]: http://www.linuxfromscratch.org/lfs/view/9.1/chapter05/stripping.html
[3]: https://www.technovelty.org/linux/stripping-shared-libraries.html

* guix/build/gnu-build-system.scm (strip): Use --strip-unneeded.
* guix/build-system/gnu.scm (static-package, gnu-build, gnu-cross-build): Likewise.
2020-09-19 15:43:03 +02:00
Jakub Kądziołka
f32a6055a5
build-system/gnu: strip with --strip-unneeded
Apart from debug information, one can also strip some symbols. This can
be a significant difference, qtbase:out consists of about 5 MB of those
symbols. As per [1], --strip-debug is included in --strip-unneeded, and
the debug files created also contain a copy of the information removed
by --strip-unneeded.

Linux From Scratch suggests that this option shouldn't be used on static
libraries [2], however other sources [3] indicate otherwise. Building a
toolchain with this patch succeeds, and the result works fine for
'gcc -static hello-world.c'.

[1]: https://stackoverflow.com/a/52555093
[2]: http://www.linuxfromscratch.org/lfs/view/9.1/chapter05/stripping.html
[3]: https://www.technovelty.org/linux/stripping-shared-libraries.html

* guix/build/gnu-build-system.scm (strip): Use --strip-unneeded.
2020-09-19 15:37:07 +02:00
Greg Hogan
d7f776888b
gnu: boost: Update to 1.74.0.
* gnu/packages/boost.scm (boost): Update to 1.74.0.
[source]: Remove patches and defunct substitute.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-18 22:26:33 +02:00
Greg Hogan
66e3812e2f
gnu: llvm: Update to 10.0.1.
* gnu/packages/llvm.scm (llvm, clang, clang-runtime,
clang-toolchain, lld): Update to 10.0.1.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-18 22:26:33 +02:00
Greg Hogan
e364758d44
gnu: openblas: Update to 0.3.10.
* gnu/packages/maths.scm (openblas): Update to 0.3.10.
[source]: Fetch from github.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-18 22:26:33 +02:00
Greg Hogan
8944f1a4a4
gnu: Python 3: Update to 3.8.5.
* gnu/packages/python.scm (python-3.8): Update to 3.8.5.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-09-18 14:41:48 -04:00
Tobias Geerinckx-Rice
e943343912
gnu: cups-filters: Wrap with grep.
* gnu/packages/cups.scm (cups-filters)[inputs]: Add grep.
[arguments]: Wrap all filters with it in $PATH.
2020-09-18 18:57:59 +02:00
Vagrant Cascadian
7467f9857d
gnu: commencement: bash-mesboot0: Remove store file name.
This is a follow-up to commit d9484fba91, and
fixes "make dist".

* gnu/packages/commencement (bash-mesboot0): Remove reference to store item.
2020-09-16 23:30:01 +02:00
Maxim Cournoyer
fa8fe90edb
Merge remote-tracking branch 'origin/master' into core-updates 2020-09-14 16:17:19 -04:00
Ricardo Wurmus
d60739dff2
gnu: r-quantreg: Update to 5.67.
* gnu/packages/statistics.scm (r-quantreg): Update to 5.67.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
2feb943558
gnu: r-cowplot: Update to 1.1.0.
* gnu/packages/statistics.scm (r-cowplot): Update to 1.1.0.
[native-inputs]: Add r-knitr.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
90ff99d9c5
gnu: r-rcpparmadillo: Update to 0.9.900.3.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.900.3.0.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
995641369e
gnu: r-ggdendro: Update to 0.1.22.
* gnu/packages/statistics.scm (r-ggdendro): Update to 0.1.22.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
7e2aa0efba
gnu: r-stringi: Update to 1.5.3.
* gnu/packages/statistics.scm (r-stringi): Update to 1.5.3.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
98f76dbcfb
gnu: r-mass: Update to 7.3-53.
* gnu/packages/statistics.scm (r-mass): Update to 7.3-53.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
1c1b941902
gnu: r-diversitree: Update to 0.9-14.
* gnu/packages/cran.scm (r-diversitree): Update to 0.9-14.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
8731d274ae
gnu: r-seurat: Update to 3.2.1.
* gnu/packages/cran.scm (r-seurat): Update to 3.2.1.
[propagated-inputs]: Remove r-ape; add r-matrixstats.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
e6711231ed
gnu: r-rfast: Update to 2.0.1.
* gnu/packages/cran.scm (r-rfast): Update to 2.0.1.
2020-09-14 19:07:47 +02:00
Ricardo Wurmus
0982ffa898
gnu: r-scatterpie: Update to 0.1.5.
* gnu/packages/cran.scm (r-scatterpie): Update to 0.1.5.
2020-09-14 19:07:47 +02:00