Commit graph

73807 commits

Author SHA1 Message Date
Maxim Cournoyer
28fab29668
gnu: sequoia: Use latest rust.
* gnu/packages/sequoia.scm (sequoia)[arguments]: Use the latest (and only)
rust.
2021-02-11 07:04:21 -05:00
Maxim Cournoyer
7878f344c1
gnu: rust: Only test the current release.
By only testing the final Rust in the bootstrap chain, the total build time is
reduced by approximately 30%, from about 11 hours to 8 hours on a fast
machine.  Combined with commit df93fc21a4, the total Rust bootstrap chain
build time should have been halved.

* gnu/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch:
Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
* gnu/packages/rust.scm (rust-1.29): Do not apply the above patch.
(rust-1.30): Remove the "doc" output.  Disable tests.
[phases]{set-env}: Do not set CFG_DISABLE_CROSS_TESTS.
{relax-gdb-auto-load-safe-path, patch-tests, patch-cargo-index-update}
{patch-aarch64-test, remove-unsupported-tests, disable-amd64-avx-test}
{patch-cargo-tests, patch-cargo-env-shebang}
{ignore-cargo-package-tests}: Remove phases.
{configure}: Remove the doc and gdb bindings and their respective
configuration entries in the generated config.toml file.
{check}: Remove phase.
[native-inputs]{bison, flex, gdb, procps}: Remove inputs.
{python-2}: Replace by python-wrapper.
{rust-1.29}: Do not export variable.
{rust-1.30}: Likewise.
(rust-1.31): Likewise.
[arguments]: Remove field.
(rust-1.32): Do not export variable.
[source]: Remove patch.
[phases]{override-jemalloc}: Order following 'configure.
{remove-flaky-test, patch-aarch64-test}: Remove deletions.
(rust-1.33): Do not export variable.
[arguments]: Remove field.
(rust-1.34): Do not export variable.
(rust-1.35): Likewise.
(rust-1.36): Likewise.
[arguments]: Remove field.
(rust-1.37): Do not export variable.
(rust-1.38): Do not export variable.
[arguments]: Likewise.
(rust-1.39): Do not export variable.
(rust-1.40): Do not export variable.
[phases]: Do not alter the #:phases argument.
(rust-1.41, rust-1.42, rust-1.43): Do not export variables.
(rust-1.44): Likewise.
[arguments]: Remove field.
(rust-1.45): Do not export variable.
[phases]{skip-shebang-tests, skip-networking-test}: Remove phases.
(rust-1.46): Do not export variable.
(rust-1.47): Do not export variable.
[arguments]: Remove field.
(rust-1.48): Do not export variable.
[arguments]: Remove field.
(rust-1.49): Rename to...
(rust): ... this.
[outputs]: Add a "doc" output.
[phases]{enable-docs, add-gdb-to-config}
{relax-gdb-auto-load-safe-path, patch-cargo-env-shebang}
{disable-tests-requiring-git, disable-interrupt-tests}
{patch-command-exec-tests, patch-command-uid-gid-test}
{skip-shebang-tests, patch-process-tests}: New phases.
[native-inputs]{gdb-9.2, procps}: New inputs.
2021-02-11 07:04:20 -05:00
Efraim Flashner
c0ec128b8b
gnu: findutils-boot0: Skip tests on armhf, aarch64.
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Skip tests
on armhf-linux, aarch64-linux.
2021-02-10 10:17:42 +02:00
Danny Milosavljevic
df93fc21a4
gnu: rust: Bootstrap rust@1.29.2 by mrustc@0.9.
This reduced bootstrap reduces the complete Rust bootstrap chain build time by
approximately 30% compared to the original (about 11 hours instead of 16
hours, on a fast machine).

* gnu/packages/patches/rust-1.45-linker-locale.patch: Delete file.
* gnu/packages/patches/rust-1.48-linker-locale.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): De-register deleted files.
* gnu/packages/rust.scm (%mrustc-source): New variable.
(rust-1.29): New variable.  It is bootstrapped from mrust 0.9, which is used
in source form.
(rust-1.30): New variable.
(rust-1.31)[phases]{patch-command-exec-tests-phase}: Rewrite so that it
doesn't need to be redefined later when the file is moved.
{enable-docs}: New phase.
(rust-1.32): Disable tests.
[inputs]: Remove field.
[phases]{override-jemalloc}: Reorder after the configure phase.
(rust-1.33): Enable tests.
[phases]{disable-codegen-tests}: New phase.
(rust-1.34)[phases]{disable-codegen-tests}: Delete phase.
(rust-1.35)[arguments]: Remove field.  The disable-tidy-bins-check phase is
now defined in rust-1.30.
(rust-1.38)[phases]{patch-command-exec-tests-phase}: Remove.
{patch-command-uid-gid-test}: Do not worry about the Tidy lint test, which is disabled.
(rust-1.40)[phases]: Move #:validate-runpath? inside the use of
'substitute-keyword-arguments'.
{neuter-tidy}: Delete.
{patch-command-uid-gid-test}: Make the regexp more precise.  Remove the TODO
comment, which has been addressed.
(rust-1.44)[inputs]: Replace python2 by python-wrapper.
[phases]{use-python3}: New phase.
(rust-1.45)[source]: Remove field.  The linker locale fix is now made via ...
[phases]{set-linker-locale-to-utf8}: ... this phase.
(rust-1.46)[phases]{build, check}: Allow parallel execution.  Add comments.
{delete-install-logs}: Delete phase; it's now done in rust-1.30.
(rust-1.47)[phases]{patch-cargo-checksums}: Do not reorder phase.  The
initial ordering of the phase has been fixed with in the rust-1.30 package.
(rust-1.48)[source]: Remove field.
2021-02-05 09:46:52 -05:00
Maxim Cournoyer
aa548d2469
gnu: gdb-8.2.1: Update to 9.2.
* gnu/packages/gdb.scm (gdb-8.2): Replace by...
(gdb-9.2): ... this.
2021-02-05 09:40:38 -05:00
Maxim Cournoyer
87144b17f8
rust: Cleanup commit to prepare for new bootstrap.
This commit is not atomic and is not functional by itself; this is done so to
make the next set of changes more comprehensible.

* gnu/packages/patches/rust-1.19-mrustc.patch: Delete file.
* gnu/packages/patches/rust-1.30-gdb-llvm.patch: Likewise.
* gnu/packages/patches/rust-bootstrap-stage0-test.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Un-register files.
* gnu/packages/rust.scm (mrustc): Delete variable.
(rust-1.19, rust-1.20, rust-1.21 rust-1.22, rust-1.23, rust-1.24)
(rust-1.25, rust-1.26, rust-1.27, rust-1.28, rust-1.29)
(rust-1.30): Delete variables.
(rust-1.31 through rust-1.49): Fix indentation and do other cosmetic changes.
(rust): Define as rust-1.49.
2021-02-05 09:40:37 -05:00
Maxim Cournoyer
39e67ed697
build/gnu: Only make source checkout files writable.
This is a followup commit to 6129ebddbd.

It was suggested by Ludovic in #guix that it's probably safer to leave files
extracted from a tarball alone.  While at it, guard against possible
exceptions that can happen in the presence of dangling symbolic links, for
example.

* guix/build/gnu-build-system.scm (unpack): Wrap the make-file-writable call
in a false-if-exception handler.  Move the for-each loop under the
file-is-directory? cond branch.
2021-02-04 16:42:46 -05:00
Maxim Cournoyer
3299530c43
gnu: guile-ssh: Fix test suite on Guile 3.0.5.
* gnu/packages/patches/guile-ssh-fix-test-suite.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/ssh.scm (guile-ssh)[source]: Use it.  Also provide a better
file name than 'git-checkout'.
2021-02-04 14:58:10 -05:00
Antoine Côté
ab8a175f90
gnu: lzip: Update to 1.22.
* gnu/packages/compression.scm (lzip): Update to 1.22.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-02-04 14:45:49 +01:00
Maxim Cournoyer
09d7f87a65
gnu: guile-ssh: Fix the source file name.
* gnu/packages/ssh.scm (guile-ssh)[source]: Remove the file-name field.
2021-02-04 08:00:24 -05:00
Maxim Cournoyer
6129ebddbd
build/gnu: Ensure the files are writable after the unpack phase.
Fixes <https://issues.guix.gnu.org/43015>.

* guix/build/gnu-build-system.scm (unpack): Call 'make-file-writable' on every
source file.
2021-02-04 00:14:32 -05:00
Maxim Cournoyer
337a94e534
gnu: python-pylint: Update to 2.6.0.
* gnu/packages/check.scm (python-pylint): Update to 2.6.0.
[arguments]: Partially reinstate the test suite.
2021-02-03 23:13:25 -05:00
Maxim Cournoyer
bb557c9ac1
build/python: Handle FileNotFoundError exception in sanity-check.py.
This exception was thrown while running the sanity-check on the python-isort
package, which doesn't make use of a setuptools-based build system but rather
of a PEP 517 compliant one.

* gnu/packages/aux-files/python/sanity-check.py: Handle the FileNotFoundError
whe attempting to read the 'top_level.txt' metadata file of the package.
Remove extraneous 'continue' statement.
2021-02-03 21:56:53 -05:00
Maxim Cournoyer
117a0de240
gnu: python-radon: Please the sanity-check phase.
* gnu/packages/python-xyz.scm (python-radon)
[phases]{relax-requirements}: New phase.
2021-02-03 21:16:46 -05:00
Maxim Cournoyer
4b562d46a5
gnu: python-flake8-polyfill: Please the sanity-check phase.
* gnu/packages/python-xyz.scm (python-flake8-polyfill)
[native-inputs]{python-flake8}: Move to...
[propagated-inputs]: ... here.
2021-02-03 21:16:43 -05:00
Maxim Cournoyer
4b47c60828
gnu: python-pypa-build: Fix build.
The build was failing following the addition of the sanity-check phase to the
Python buidl system.

* gnu/packages/python-build.scm (python-pypa-build)
[phases]{relax-requirements}: Add phase.
2021-02-03 17:52:35 -05:00
Maxim Cournoyer
05e7bdf7ec
gnu: python-astroid: Update to 2.4.2-1.5f67396.
* gnu/packages/python-xyz.scm (python-astroid): Update to 2.4.2-1.5f67396.
2021-02-03 17:45:58 -05:00
Maxim Cournoyer
157b302011
build: python: Fix build phases ordering.
The wrap phase was happening before the installed site location was added to
GUIX_PYTHONPATH, causing wrapped commands to not find their own Python
libraries.

* guix/build/python-build-system.scm (%standard-phases): Explicit the
sequential ordering of phases using add-after directives, so that the wrap
phase occurs after the add-install-to-pythonpath and add-install-to-path
phases.
2021-02-03 16:50:35 -05:00
Christopher Baines
e740cc6140
Merge branch 'master' into core-updates 2021-02-03 09:57:35 +00:00
Efraim Flashner
63cf277bfa
gnu: Add tootle.
* gnu/packages/mastodon.scm (tootle): New variable.
2021-02-03 10:14:53 +02:00
nixo
1b3dcb3dd2
gnu: font-juliamono: Update to 0.031.
* gnu/packages/fonts.scm (font-juliamono): Update to 0.031.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-02-02 18:02:45 -05:00
Antoine Côté
d65a25c9a2
gnu: Add font-space-grotesk.
* gnu/packages/fonts.scm (font-space-grotesk): New variable.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-02-02 22:55:01 +01:00
Nicolas Goaziou
c1e7ae444a
gnu: emacs-elfeed: Update to 3.4.0.
* gnu/packages/emacs-xyz.scm (emacs-elfeed): Update to 3.4.0.
2021-02-02 22:51:31 +01:00
Ricardo Wurmus
95aca2991b
gnu: guix: Update to 1.2.0-12.dffc918.
* gnu/packages/package-management.scm (guix): Update to 1.2.0-12.dffc918.
2021-02-02 22:39:11 +01:00
Ricardo Wurmus
dffc918af6
gnu: Add beets-next.
* gnu/packages/music.scm (beets-next): New variable.
2021-02-02 22:02:23 +01:00
Ricardo Wurmus
4532a1575b
gnu: Add python-reflink.
* gnu/packages/python-xyz.scm (python-reflink): New variable.
2021-02-02 22:02:22 +01:00
Ricardo Wurmus
e07f60274b
gnu: Add python-confuse.
* gnu/packages/python-xyz.scm (python-confuse): New variable.
2021-02-02 22:02:22 +01:00
Ricardo Wurmus
5058090ed4
gnu: Add python-mediafile.
* gnu/packages/music.scm (python-mediafile): New variable.
* gnu/packages/patches/python-mediafile-wavpack.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-02-02 22:02:22 +01:00
Christopher Baines
2d518f7eb5
guix: narinfo: Export narinfo-contents.
As this is useful if you want to work with narinfo signatures outside of Guix,
in the Guix Data Service for example.

* guix/narinfo.scm: Export narinfo-contents.
2021-02-02 19:29:52 +00:00
Christopher Baines
5fc40f7478
gnu: plover: Update to 4.0.0.dev8.
This moves from Python 2 to Python 3. This is a dev release, but from nearly 2
years ago.

Backing up your plover.cfg is advised by the release notes when upgrading from
version 3 to 4.

* gnu/packages/stenography.scm (plover): Update to 4.0.0.dev8.
[arguments]: Remove.
[native-inputs]: Switch to Python 3 package variants.
[inputs]: Switch to Python 3 package variants, and add python-pyqt.
2021-02-02 19:29:52 +00:00
Christopher Baines
eee86c6e5b
gnu: python-xlib: Update to 0.29.
Make python-six a propagated input as it's used at runtime.

* gnu/packages/python-xyz.scm (python-xlib): Update to 0.29.
[native-inputs]: Move python-six to…
[propagated-inputs]: …here.
2021-02-02 19:29:52 +00:00
Maxim Cournoyer
889f425b35
import: gnu: Fix the detection of non-GNU packages.
* guix/import/gnu.scm (gnu->guix-package): Move the 'find-package' call before
the 'latest-release' call, which would fail when the package did not have an
entry on the FTP server.
2021-02-02 13:48:35 -05:00
Tobias Geerinckx-Rice
2c9d481c90
gnu: xbindkeys: Refer to xbindkeys in xbindkeys_show.
* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Add a
‘patch-references’  phase.
2021-02-02 15:49:17 +01:00
Tobias Geerinckx-Rice
72fabd8d6e
gnu: xbindkeys: Refer to tk's wish interpreter.
Fixes <http://issues.guix.gnu.org/46255>.

* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Add a ‘sanitise-shebang’
phase.
[inputs]: Add tk.
2021-02-02 15:49:17 +01:00
Tobias Geerinckx-Rice
a6e47aaa9f
Order (gnu packages xdisorg) module imports more alphabetically.
* gnu/packages/xdisorg.scm: Somewhat sort the module imports.
2021-02-02 15:49:17 +01:00
Tobias Geerinckx-Rice
b230a47fdb
gnu: xbindkey: Order inputs alphabetically.
* gnu/packages/xdisorg.scm (xbindkeys)[inputs]: Swap them.
2021-02-02 15:49:17 +01:00
Mathieu Othacehe
3e82cd8bfc
gnu: cuirass: Update to 0.0.1-65.6bd940f.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-65.6bd940f.
2021-02-02 14:15:50 +01:00
Morgan Smith
c852d89755
gnu: Add quark.
* gnu/packages/web.scm (quark): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-02-02 11:05:43 +01:00
Andrew Tropin
aee9f696b1
gnu: Add obs-wlrobs.
* gnu/packages/video.scm (obs-wlrobs): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-02-02 11:05:43 +01:00
Ludovic Courtès
84929062e3
gnu: obs-spectralizer: Remove bundled Windows DLLs.
* gnu/packages/video.scm (obs-spectralizer)[source]: Add 'snippet' and
'modules'.
2021-02-02 11:05:43 +01:00
Andrew Tropin
deadd97897
gnu: Add obs-spectralizer.
* gnu/packages/video.scm (obs-spectralizer): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-02-02 11:05:43 +01:00
Alexey Abramov
5be01dcdc1
gnu: obs: Use an environment variable for plugins location.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/video.scm (obs): Use it.
* gnu/packages/patches/obs-modules-location.patch: Patch it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-02-02 11:05:43 +01:00
Sharlatan Hellseher
65454c1caa
gnu: sbcl-parse-float: Update to 0.0.0-2.3074765.
* gnu/packages/listp-xyz.scm (sbcl-parse-float): Update to 0.0.0-2.3074765.
  [native-inputs]: Remove prove, add lisp-unit.
  [inputs]: Remove babel.
  [arguments]: Enable tests.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-02-02 10:36:40 +01:00
Sharlatan Hellseher
13337a2fa0
gnu: sbcl-3bz: Update to 0.0.0-1.569614c.
* gnu/packages/lisp-xyz.scm (sbcl-3bz): Update to 0.0.0-1.569614c.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-02-02 10:36:40 +01:00
Zhu Zihao
90ad8bd1a6
gnu: ecl: Propagate some dependencies used in header files.
* gnu/packages/lisp.scm(ecl)[inputs]: Move gmp, libatomic-ops, libgc and
  libffi to...
  [propagated-inputs]: ... here.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-02-02 10:36:40 +01:00
EuAndreh
625708b03a
gnu: Add mdpo.
gnu/packages/gettext.scm (mdpo): New variable.
gnu/packages/python-xyz (python-polib): Update to 1.1.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-02-02 10:24:26 +01:00
Nicolas Goaziou
3ee3e98971
gnu: Add python-bump2version.
* gnu/packages/python-xyz.scm (python-bump2version): New variable.
2021-02-02 10:24:25 +01:00
Nicolas Goaziou
c1377a323c
gnu: Add python-pre-commit.
* gnu/packages/python-xyz.scm (python-pre-commit): New variable.
2021-02-02 10:24:25 +01:00
Nicolas Goaziou
7594f660db
gnu: Add python-flake8-print.
* gnu/packages/python-xyz.scm (python-flake8-print): New variable.
2021-02-02 10:24:25 +01:00
Nicolas Goaziou
868d2420f0
gnu: Add python-flake8-implicit-str-concat.
* gnu/packages/python-xyz.scm (python-flake8-implicit-str-concat): New variable.
2021-02-02 10:24:24 +01:00