Commit graph

87726 commits

Author SHA1 Message Date
Maxim Cournoyer
46ecaa46b5
gnu: lsof: Disable the LTlock test.
Fixes <https://issues.guix.gnu.org/44953>.

* gnu/packages/lsof.scm (lsof)[phases]: Remove trailing #t.
{disable-failing-tests}: Disable the LTlock test.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
781f475bba
gnu: at-spi2-atk: Break a dependency cycle between GTK+ and Inkscape.
* gnu/packages/gtk.scm (at-spi2-atk)
[propagated-inputs]: Replace at-spi2-core with at-spi2-core-minimal.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
2971472e79
gnu: at-spi2-core: Reverse inheritance relationship with minimal variant.
Since the minimal variant is here to stay, this should make things easier to
maintain.

* gnu/packages/gtk.scm (at-spi2-core-minimal): Rewrite after removing
inheritance, making it the base minimal package, with no documentation-related
inputs or build phases.
(at-spi2-core): Rewrite definition, inherit from the above minimal variant,
adding the documentation-related inputs and build phases.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
889eebc185
build: glib-or-gtk-build-system: Fix indentation.
* guix/build/glib-or-gtk-build-system.scm (gtk-module-directories)
(wrap-all-programs): Fix indentation.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
eb619cda36
build: glib-or-gtk-build-system: Simplify the wrap-all-programs phase.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs)
<handle-output>: Precisely build the list of variable specifications, rather
than relying on a bunch of conditionals.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
802307fe6f
gnu: meson: Patch to allow installing to independent prefixes.
Meson goes to lengths at preventing installation to directories outside of the
main installation prefix.  This isn't convenient or desirable in Guix; patch
it out using a patch maintained by Nix.

* gnu/packages/patches/meson-allow-dirs-outside-of-prefix.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/build-tools.scm (meson): Use it.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
0136d81580
gnu: python-pathlib2: Update to 2.3.6.
* gnu/packages/python-xyz.scm (python-pathlib2): Update to 2.3.6.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
dac3ba0d40
gnu: python-pytest-6: Fix version via setuptools-scm.
* gnu/packages/check.scm (python-pytest-6): Fix indentation.
[phases]{fix-version}: Rename to...
{pretend-version}: ... this.  Use the supported setuptools-scm mechanism to
manually fix the version string, as suggested upstream.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
e3f172b1ad
gnu: python-setuptools-scm: Update to 6.3.2
* gnu/packages/python-xyz.scm (python-setuptools-scm): Update to 6.3.2.
[propagated-inputs]: Add python-packaging-bootstrap and python-tomli.
(properties): Set the python2-variant property.
(python2-setuptools-scm): Pin to version 5.0.2, the last release to support
Python 2.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
a6d9dbb1b2
gnu: Add python-tomli.
* gnu/packages/python-build.scm (python-tomli): New variable.
2021-11-11 12:18:11 -05:00
Maxim Cournoyer
9587833688
gnu: Add python-flit-core.
* gnu/packages/python-build.scm (python-flit-core): New variable.
2021-11-11 12:18:11 -05:00
Maxim Cournoyer
b734ce06e1
gnu: python-pypa-build: Update to 0.7.0.
* gnu/packages/python-build.scm (python-pypa-build): Update to 0.7.0.
[phases]{relax-requirements}: Rename to...
{use-toml-instead-of-tomli}: ... this.  Replace tomli by toml.
2021-11-11 12:18:11 -05:00
Maxim Cournoyer
05e3638bb9
gnu: Move a few Python packages to (gnu packages python-build).
This is in prevision of updating python-pypa-build, which now requires
python-packaging and adding python-tomli, which requires python-six.

* gnu/packages/python-xyz.scm (python-six)
(python-six-bootstrap, python2-six-bootstrap)
(python-pyparsing, python2-pyparsing, python-pyparsing-2.4.7)
(python-packaging-bootstrap, python2-packaging-bootstrap): Move packages to...
* gnu/packages/python-build.scm: ... here.  Update python-parsing to latest.
* gnu/packages/python-xyz.scm (python-six, python-packaging): Adjust to
inherit from their bootstrap versions.
2021-11-11 12:18:11 -05:00
Maxim Cournoyer
c738a054ca
gnu: fontconfig: Add a search path for XDG_DATA_DIRS.
Fixes <https://issues.guix.gnu.org/31403>.

* gnu/packages/fontutils.scm (fontconfig)[source]: Fix indentation.
[configure-flags]: Drop the "--with-add-fonts" configure option as it's no
longer necessary/desirable to special case the system and user profiles.
[native-search-paths]: New search path.
2021-11-11 12:18:10 -05:00
Maxim Cournoyer
9635119a61
gnu: Build all Rust packages using the latest rustc.
The older Rusts are made private variables; they shouldn't be used by users as
they are not tested and are only built at stage 1, which makes them unsuitable
to compile Rust applications.

* gnu/packages/crates-io.scm (rust-cargo-0.53)[arguments]: Remove #:rust
argument.
(rust-cxx-1, rust-cxx-build-1, rust-cxx-gen-0.7): Likewise.
* gnu/packages/crates-io.scm
(rust-cxx-gen-0.7, rust-cxxbridge-macro-1, rust-postgres-0.19): Likewise.
(rust-rust-decimal-1, rust-sized-chunks-0.6, rust-socket2-0.4): Likewise.
(rust-tokio-postgres-0.7, rust-im-rc-15): Likewise.
* gnu/packages/gnome.scm (librsvg): Likewise.
* gnu/packages/gnuzilla.scm (mozjs-78): Likewise.
* gnu/packages/rust-apps.scm
(hyperfine, tectonic rust-analyzer, rust-cargo-c): Likewise.
* gnu/packages/shells.scm (nushell): Likewise.
* gnu/packages/syndication.scm (newsboat): Likewise.
* gnu/packages/rust.scm: (rust-1.39, rust-1.40, rust-1.41, rust-1.42)
(rust-1.43, rust-1.44, rust-1.45, rust-1.46, rust-1.47, rust-1.48, rust-1.49)
(rust-1.50, rust-1.51, rust-1.52, rust-1.53, rust-1.54): Make variables private.
2021-11-11 12:18:10 -05:00
Maxim Cournoyer
bc4149818d
gnu: rust: Add rust 1.54 and move all non-bootstrapping logic to it.
* gnu/packages/rust.scm (rust-1.44): Do not replace LLVM version, for
simplicity.  It used to be required at this point because LLVM 7 was no longer
supported for rust-1.44, but we're now using LLVM 9.
(rust-1.46): Move all additional phases, doc output to rust-1.54.
(rust-1.53, rust-1.54): New variables.
(rust-1.54): Adjust snippet field.
(rust): Set default Rust to the latest version, 1.54.0.
[native-inputs]: Use the latest GDB.
2021-11-11 12:18:10 -05:00
Maxim Cournoyer
33133a6ed3
gnu: rust: Bootstrap rust from 1.39.0 and optimize build time.
Only stage 1 (rather than stage 2) rustc and cargo are built and the
installation phase rewritten to not invoke the build tool, which helps to
shorten the build time to about 10 minutes per Rust on a fast machine.  The
total build time should take less than 4h30, down from the current 8 hours on
a Ryzen 3900X CPU.

* gnu/packages/patches/rust-reproducible-builds.patch: Delete file.
* gnu/packages/patches/rustc-1.39.0-src.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it, and un-register
rust-reproducible-builds.patch.
* gnu/packages/rust.scm (%mrustc-commit): New variable.
(%mrustc-source): Update to latest commit.
(rust-1.29): Morph into...
(rust-1.39): ... this.
[source]: Adjust the snippet, patches and patch-flags fields.
[inputs]: Replace llvm-7 by llvm (9).
[make-flags]: Add the RUSTC_VERSION, MRUSTC_TARGET_VER and OUTDIR_SUF make
variables.  Remove the RUSTCSRC make variable.
[phases]{copy-mrustc-and-patch}: Rename to...
{setup-mrustc-sources}: ... this.  A symbolic link is created inside the
mrustc directory, pointing to the Rust 1.39.0 sources.
{patch-makefiles}: Adjust directory.  Patch date and git definitions.  Edit
out the RUSTC_SRC_DL prerequisite.  Adjust the patching of a shebang.
{patch-cargo-checksums}: Adjust.
{configure-cargo-home}: New phase.
{configure}: Create and add a 'cc' shim to PATH.
{build}: Do not invoke make in parallel mode inside the run_rustc directory.
(rust-1.30): Morph into...
(rust-1.40): ... this, integrating the changes introduced between 1.30 and
1.40.
[modules]: Properly import (guix build cargo-utils).
[phases]{add-cc-shim-to-path}: New phase.
{configure}: Increase the codegen-units value to 256.
{build}: Only build stage 1 rustc and cargo, and group the commands into one
invocation.
{install}: Manually install the stage 1 build artifacts.
{patch-cargo-checksums}: Remove the ad-hoc use-modules, no longer needed.
[source]: Adjust.
[arguments]: Set validate-runpath? to #f.
[phases]{patch-cargo-checksums}: Remove phase.
{configure}: Repatriate the jemalloc configuration changes from 1.40.
[native-inputs]: Replace the rust-1.29 inputs by rust-1.39.  Use regular
jemalloc and llvm versions.
(rust-1.41)[phases]: Add the patch-cargo-checksums phase.
(rust-1.31, rust-1.32, rust-1.33, rust-1.34, rust-1.35, rust-1.36, rust-1.37)
(rust-1.38, rust-1.39, rust-1.40):  Delete variables.
(rust-1.46)[phases]{install}: Group build, test and install commands.
(rust-1.47)[phases]{build}: Override to adjust for the relocation of the
standard library source directory.
2021-11-11 12:18:10 -05:00
Ricardo Wurmus
893a31ec20
gnu: rust-rustc-version-0.3: Update home page.
* gnu/packages/crates-io.scm (rust-rustc-version-0.3)[home-page]: Update it.
2021-11-11 15:39:19 +00:00
Ricardo Wurmus
a0fc9e38fa
gnu: ciri-long: Move Cython to native inputs.
* gnu/packages/bioinformatics.scm (ciri-long)[inputs]: Move python-cython from
here...
[native-inputs]: ...to here.
2021-11-11 15:39:19 +00:00
Ricardo Wurmus
c4e5fabb6e
gnu: ciri-long: Fix reference to ccs.
* gnu/packages/bioinformatics.scm (ciri-long)[arguments]: Add build phase
"fix-reference-to-ccs".
[inputs]: Add circtools.
2021-11-11 15:39:19 +00:00
Ricardo Wurmus
6be47c5bc5
gnu: Add circtools.
* gnu/packages/bioinformatics.scm (circtools): New variable.
2021-11-11 15:39:19 +00:00
Ricardo Wurmus
b8c9f061e1
gnu: Add bioparser.
* gnu/packages/bioinformatics.scm (bioparser): New variable.
2021-11-11 15:39:19 +00:00
Ricardo Wurmus
4052310e91
gnu: Add biosoup.
* gnu/packages/bioinformatics.scm (biosoup): New variable.
2021-11-11 15:39:19 +00:00
Ricardo Wurmus
b905d7c1d6
gnu: Add rust-seq-io-0.3.
* gnu/packages/crates-io.scm (rust-seq-io-0.3): New variable.
2021-11-11 15:39:19 +00:00
Ricardo Wurmus
e624622cfd
gnu: Add rust-bio-0.32.
* gnu/packages/crates-io.scm (rust-bio-0.32): New variable.
2021-11-11 15:39:18 +00:00
Ricardo Wurmus
33802ba09e
gnu: Add rust-snafu-0.6.
* gnu/packages/crates-io.scm (rust-snafu-0.6): New variable.
2021-11-11 15:39:18 +00:00
Ricardo Wurmus
0e5127c0aa
gnu: Add rust-statrs-0.12.
* gnu/packages/crates-io.scm (rust-statrs-0.12): New variable.
2021-11-11 15:39:18 +00:00
Ricardo Wurmus
7d00ffc8fc
gnu: Add rust-snafu-derive-0.6.
* gnu/packages/crates-io.scm (rust-snafu-derive-0.6): New variable.
2021-11-11 15:39:18 +00:00
Ricardo Wurmus
01da92eef3
gnu: Add rust-fastq-0.6.
* gnu/packages/crates-io.scm (rust-fastq-0.6): New variable.
2021-11-11 15:39:18 +00:00
Ricardo Wurmus
86fa7a70d8
gnu: Add rust-parasailors-0.3.
* gnu/packages/crates-io.scm (rust-parasailors-0.3): New variable.
2021-11-11 15:39:18 +00:00
Ricardo Wurmus
c576b3b369
gnu: Add rust-parasail-sys-0.2.
* gnu/packages/crates-io.scm (rust-parasail-sys-0.2): New variable.
2021-11-11 15:39:17 +00:00
Ricardo Wurmus
067de0230e
gnu: Add rust-bio-0.33.
* gnu/packages/crates-io.scm (rust-bio-0.33): New variable.
2021-11-11 15:39:17 +00:00
Ricardo Wurmus
60d2566e05
gnu: Add rust-glam-0.17.
* gnu/packages/crates-io.scm (rust-glam-0.17): New variable.
2021-11-11 15:39:17 +00:00
Ricardo Wurmus
43260f681b
gnu: Add rust-glam-0.16.
* gnu/packages/crates-io.scm (rust-glam-0.16): New variable.
2021-11-11 15:39:17 +00:00
Ricardo Wurmus
15abac14ac
gnu: Add rust-glam-0.15.
* gnu/packages/crates-io.scm (rust-glam-0.15): New variable.
2021-11-11 15:39:17 +00:00
Ricardo Wurmus
d44ae04cfd
gnu: Add rust-statrs-0.14.
* gnu/packages/crates-io.scm (rust-statrs-0.14): New variable.
2021-11-11 15:39:16 +00:00
Ricardo Wurmus
7af81d8c7f
gnu: Add rust-nalgebra-macros-0.1.
* gnu/packages/crates-io.scm (rust-nalgebra-macros-0.1): New variable.
2021-11-11 15:39:16 +00:00
Ricardo Wurmus
02bf5e1431
gnu: Add rust-nalgebra-0.26.
* gnu/packages/crates-io.scm (rust-nalgebra-0.26): New variable.
2021-11-11 15:39:16 +00:00
Ricardo Wurmus
5f42641ba7
gnu: Add rust-enum-map-0.6.
* gnu/packages/crates-io.scm (rust-enum-map-0.6): New variable.
2021-11-11 15:39:16 +00:00
Ricardo Wurmus
7c4a6245c7
gnu: Add rust-enum-map-derive-0.4.
* gnu/packages/crates-io.scm (rust-enum-map-derive-0.4): New variable.
2021-11-11 15:39:16 +00:00
Ricardo Wurmus
dba9c7d7e0
gnu: Add rust-statrs-0.13.
* gnu/packages/crates-io.scm (rust-statrs-0.13): New variable.
2021-11-11 15:39:16 +00:00
Ricardo Wurmus
d75a5c5d89
gnu: Add rust-glam-0.14.
* gnu/packages/crates-io.scm (rust-glam-0.14): New variable.
2021-11-11 15:39:15 +00:00
Ricardo Wurmus
4089e0df25
gnu: Add rust-array-macro-1.
* gnu/packages/crates-io.scm (rust-array-macro-1): New variable.
2021-11-11 15:39:15 +00:00
Ricardo Wurmus
6e73186849
gnu: Add rust-matrixcompare-0.3.
* gnu/packages/crates-io.scm (rust-matrixcompare-0.3): New variable.
2021-11-11 15:39:15 +00:00
Ricardo Wurmus
0be2f293e4
gnu: Add rust-matrixcompare-mock-0.1.
* gnu/packages/crates-io.scm (rust-matrixcompare-mock-0.1): New variable.
2021-11-11 15:39:15 +00:00
Ricardo Wurmus
15b51023f2
gnu: Add rust-getset-0.0.9.
* gnu/packages/crates-io.scm (rust-getset-0.0.9): New variable.
2021-11-11 15:39:15 +00:00
Ricardo Wurmus
0c90fd7856
gnu: Add rust-newtype-derive-0.1.
* gnu/packages/crates-io.scm (rust-newtype-derive-0.1): New variable.
2021-11-11 15:39:14 +00:00
Ricardo Wurmus
3f6fd2d0da
gnu: Add rust-rustc-version-0.1.
* gnu/packages/crates-io.scm (rust-rustc-version-0.1): New variable.
2021-11-11 15:39:14 +00:00
Ricardo Wurmus
e7d7434895
gnu: Add rust-semver-0.1.
* gnu/packages/crates-io.scm (rust-semver-0.1): New variable.
2021-11-11 15:39:14 +00:00
Ricardo Wurmus
9a6b269b81
gnu: Add rust-multimap-0.8.
* gnu/packages/crates-io.scm (rust-multimap-0.8): New variable.
2021-11-11 15:39:14 +00:00