Commit graph

91489 commits

Author SHA1 Message Date
Maxim Cournoyer 3b3fb28086
gnu: python-flit-core: Propagate python-tomli instead of python-toml.
Flit Core apparently requires tomli at runtime rather than toml.  This means
we must build a toml-less python-flit-core first, for bootstrapping purposes.

* gnu/packages/python-build.scm (python-flit-core-bootstrap): New variable.
(python-flit-core): Inherit from the above, replacing the propagated
python-toml by python-tomli.
(python-tomli): Adjust accordingly.
2022-01-10 11:44:40 -05:00
Maxim Cournoyer 0be45b28a9
gnu: python-curio: Disable newly failing 'test_timeout' test.
* gnu/packages/python-xyz.scm (python-prettytable)
[phases]{check}: Honor TESTS? and skip the 'test_timeout' test.
2022-01-10 11:44:39 -05:00
Maxim Cournoyer 0557f78150
gnu: glade3: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gnome.scm (glade3)[native-inputs]: Add python.
2022-01-10 11:44:39 -05:00
Maxim Cournoyer 4bbd572732
gnu: python-typed-ast: Update to 1.5.1.
* gnu/packages/python-xyz.scm (python-typed-ast): Update to 1.5.1.
2022-01-10 11:44:39 -05:00
Maxim Cournoyer 0bf465c64d
gnu: gjs: Build with meson-0.59 to avoid 'install_dir' error.
* gnu/packages/gnome.scm (gjs)[meson]: Use meson-0.59.
2022-01-10 11:44:39 -05:00
Maxim Cournoyer 7407f0c496
gnu: python-msgpack: Update to 1.0.3.
* gnu/packages/python-xyz.scm (python-msgpack): Update to 1.0.3.
(python2-msgpack): Delete variable.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer b925b3c6dc
gnu: tracker: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gnome.scm (tracker)[native-inputs]: Add python.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer 00ed8c6fe9
gnu: dconf: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gnome.scm (dconf)[native-inputs]: Add python.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer 5d231df3cc
gnu: gtkmm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add python.
2022-01-10 11:44:38 -05:00
Maxim Cournoyer b78f0cbff4
gnu: gtk: Update to 4.4.1.
* gnu/packages/patches/gtk-introspection-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gtk.scm (gtk): Update to 4.4.1.
[origin]: Apply new patch.
[phases]{pre-check}: Set TZDIR.
[native-inputs]: Add graphene, python-pygobject and tzdata.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer 8b1a6ee69d
gnu: gusb: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gnome.scm (gusb)[native-inputs]: Add python.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer 5c3d2db4fd
gnu: pangomm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (pangomm)[native-inputs]: Add python.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer e25772628d
gnu: atkmm-2.28: Do not propagate two variants of glibmm.
* gnu/packages/gtk.scm (atkmm-2.28)[propagated-inputs]: Replace rather than
append glibmm-2.64.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer 9e0dfe61e9
gnu: atkmm: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/gtk.scm (atkmm)[native-inputs]: Add python.
2022-01-10 11:44:37 -05:00
Maxim Cournoyer be04f73d09
gnu: libxkbcommon: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: Add python.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer b179c14bf6
gnu: wayland-protocols: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/freedesktop.scm (wayland-protocols)[native-inputs]: Add python.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer e8c924296f
gnu: wayland: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python.

* gnu/packages/freedesktop.scm (wayland)[native-inputs]: Add python.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer 291c4fa0ba
gnu: epiphany: Update to 41.2.
* gnu/packages/gnome.scm (epiphany): Update to 41.2.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer ab0893f789
gnu: python-gnupg: Update to 0.4.8.
* gnu/packages/gnupg.scm (python-gnupg): Update to 0.4.8.
(python2-gnupg): Delete variable.
2022-01-10 11:44:36 -05:00
Maxim Cournoyer 2080f55590
gnu: gsettings-desktop-schemas: Add python to native inputs.
Since commit 5d20d7e1369fc7d93de19c0bd219937d697ceae6, meson no longer
propagates Python, which is the reason this change is now needed here.

* gnu/packages/gnome.scm (gsettings-desktop-schemas)
[phases]{patch-schemas}: Use 'search-input-directory'.
[native-inputs]: Use new style and add python.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer ee16c5a685
gnu: gnome-backgrounds: Update to 41.0.
* gnu/packages/gnome.scm (gnome-backgrounds): Update to 41.0.
[native-inputs]: Use new style.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer 006ee16926
gnu: rust-1.39: Update mrustc to commit c70665.
This brings us closer to a i686 native bootstrap.

* gnu/packages/rust.scm (%mrustc-commit): Update to latest commit, c70665.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer acaec1b5b7
gnu: elogind: Reinstate the test-event.c test.
* gnu/packages/freedesktop.scm (elogind)[phases]{adjust-tests}: Do not
de-register the test-event.c test file from meson.build.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer 7ecc2e3d2b
gnu: shadow: Update to 4.9.
* gnu/packages/admin.scm (shadow): Update to 4.9.
[source]: Remove hurd patch, merged upstream.
[phases]{fix-linking-to-pam}: New phase.
* gnu/packages/patches/shadow-hurd-pctrl.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2022-01-10 11:44:35 -05:00
Maxim Cournoyer b082fdb4b5
gnu: libpcap: Update to 2.62.
* gnu/packages/linux.scm (libpcap): Update to 2.62.
[phases]{configure}: Delete phase, and move LDFLAGS to...
[make-flags]: ... here.  Define arguments via G-expressions.
2022-01-10 11:44:34 -05:00
Maxim Cournoyer eda1860d02
gnu: cmake-bootstrap: Update to 3.21.4.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.21.4.
2022-01-10 11:44:34 -05:00
Maxim Cournoyer be3b33dbba
gnu: eudev: Update to 3.2.11.
* gnu/packages/linux.scm (eudev): Update to 3.2.11.
[phases]{make-source-writable}: Remove phase, no longer needed.
{patch-bindir-in-btrfs-rules}: Likewise, fixed upstream.
Remove trailing #t.
2022-01-10 11:44:34 -05:00
Maxim Cournoyer f1d774826a
gnu: util-linux: Update to 2.37.2.
* gnu/packages/linux.scm (util-linux): Update to 2.37.2.
2022-01-10 11:44:34 -05:00
Maxim Cournoyer 38747a27f3
gnu: gnupg: Update to 2.2.32.
* gnu/packages/gnupg.scm (gnupg): Update to 2.2.32.
(gnupg-2.2.32): Delete variable.
(qgpgme)[native-inputs]: Use the regular gnupg package.
* gnu/packages/emacs-xyz.scm (emacs-pinentry): Likewise.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer 0c5bfcadfd
gnu: glibmm-2.64: Fix libsigc++ propagation.
Fixes <https://issues.guix.gnu.org/52519>.  The package was propagating two
variants of libsigc++.

* gnu/packages/glib.scm (glibmm-2.64)[propagated-inputs]: Replace existing
libsigc++ package instead of prepending an extra one.

Reported-by: Leo Famulari <leo@famulari.name>
2022-01-10 11:44:33 -05:00
Maxim Cournoyer 946c5e05a4
gnu: glibmm: Remove trailing #t.
* gnu/packages/glib.scm (glibmm): Remove trailing #t.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer 3d91c07875
gnu: pciutils: Fix the conditional for the kmod input.
Fixes <https://issues.guix.gnu.org/52411>.  Thanks to Maxime Devos for
suggesting the solution.

* gnu/packages/pciutils.scm (pciutils): Delete trailing #t.

[inputs]{kmod}: Use the hurd-target? procedure in the condition, which
correctly handles the Nix system of %current-system and GNU triplet of
%current-target-system.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer 2257e65079
gnu: help2man: Update to 1.48.5.
* gnu/packages/man.scm (help2man): Update to 1.48.5.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer 8b7a304e99
gnu: python-nose: Fix build.
This unmaintained package doesn't build anymore on Python 3.9.9.

* gnu/packages/check.scm (python-nose)[phases]{invoke-2to3}: New phase.
[properties]: New field.
(python2-nose): Strip python2 property.
[phases]{invoke-2to3}: Delete phase.
2022-01-10 11:44:33 -05:00
Maxim Cournoyer 8faa04c316
gnu: glib: Fix cross-compilation.
Fixes <https://issues.guix.gnu.org/52574>.
Reported by L  p R n  d n    <guix@lprndn.info>.

Thanks to Maxime Devos for the suggested fix.

* gnu/packages/glib.scm (glib)[configure-flags]: Define as a G-expression.
(glib-with-documentation)[configure-flags]: Likewise.
2022-01-10 11:44:32 -05:00
Maxim Cournoyer 2fb54e94c3
gnu: libproxy: Remove target condition from check phase.
* gnu/packages/networking.scm (libproxy)[phases]{check}: Remove target condition.
2022-01-10 11:44:32 -05:00
Maxim Cournoyer 0fcfa1cdc0
gnu: libcap: Use #$output unconditionally.
* gnu/packages/linux.scm (libcap)[phases]{configure}: Use #$output
unconditionally.
2022-01-10 11:44:32 -05:00
Maxim Cournoyer cbb6f14ab3
gnu: heimdal: Unify phases, addressing TODO.
* gnu/packages/kerberos.scm (heimdal)[phases]: Unconditionally use the
%current-target-system branch.
2022-01-10 11:44:32 -05:00
Maxim Cournoyer 771550b280
gnu: cairo: Use bash-minimal unconditionally.
* gnu/packages/gtk.scm (cairo)[inputs]: Use bash-minimal unconditionally.
2022-01-10 11:44:32 -05:00
Maxim Cournoyer 37b589425f
gnu: llvm-12: Use quasiquote, addressing TODO.
* gnu/packages/llvm.scm (llvm-12)[configure-flags]: Use quasiquote.
2022-01-10 11:44:32 -05:00
Maxim Cournoyer e8298b8cf3
gnu: mozjs-60: Use quasiquote, addressing TODO.
* gnu/packages/gnuzilla.scm (mozjs-60)[configure-flags]: Use quasiquote.
2022-01-10 11:44:31 -05:00
Maxim Cournoyer a9d27c30dc
gnu: gobject-introspection: Unconditionally use flex and bison.
* gnu/packages/glib.scm (gobject-introspection): Delete trailing #t.
[native-inputs]: Unconditionally use flex and bison.
2022-01-10 11:44:31 -05:00
Maxim Cournoyer a400a64227
gnu: rust-bitflags-1: Absorb rust-bitflags-1.3.
* gnu/packages/crates-io.scm (rust-bitflags-1.3): Delete variable, absorbed
into...
(rust-bitflags-1): ... this one.
* gnu/packages/syndication.scm (newsboat)[cargo-inputs]: Adjust to use
rust-bitflags-1.
2022-01-10 11:44:31 -05:00
Maxim Cournoyer 1bd169b5dc
guix: lint: Fix comment per TODO.
* guix/lint.scm (check-wrapper-inputs): Address TODO in comment.
2022-01-10 11:44:31 -05:00
Maxim Cournoyer ce362bc1f3
gnu: binutils: Absorb binutils-next.
* gnu/packages/base.scm (binutils)[configure-flags]: Set out-of-source? to #t.
{--enable-64-bit-bfd, --enable-compressed-debug-sections=all, --enable-lto,
--enable-separate-code, --enable-threads}: New flags.
(binutils-next): Delete variable.
(binutils-gold): Inherit from binutils.
* gnu/packages/linux.scm (kexec-tools)[native-inputs]: Replace
binutils-next with binutils.
2022-01-10 11:44:31 -05:00
Maxim Cournoyer d3f195f77e
gnu: isc-dhcp: Address TODOs.
* gnu/packages/admin.scm (isc-dhcp): Remove trailing #t.
[phases]{post-install}: Remove the 'native-inputs' argument.
{post-configure}: Do not patch the libexec scripts.
[inputs]{bash}: Remove conditional.
2022-01-10 11:44:30 -05:00
Maxim Cournoyer 1c3a922542
gnu: autoconf-2.69: Repatriate unpatch-shebangs phase from 2.71.
* gnu/packages/autotools.scm (autoconf-2.71)[phases]{unpatch-shebangs}: Move
to...
* gnu/packages/autotools.scm (autoconf-2.69)[phases]: ... here.
2022-01-10 11:44:30 -05:00
Maxim Cournoyer 756188a8da
gnu: avahi: Make all arguments unconditional.
* gnu/packages/avahi.scm (avahi)[origin]: Fix indentation
and remove trailing #t.
[arguments]: Re-integrate conditional arguments.
2022-01-10 11:44:30 -05:00
Maxim Cournoyer 80d8cf6cc6
gnu: python-3.9: Update to 3.9.9.
* gnu/packages/python.scm (python-3.9): Update to 3.9.9.
2022-01-10 11:44:29 -05:00
Brendan Tildesley 7f8a896c5f
utils: Fix wrap-script argument handling.
* guix/build/utils.scm (wrap-script):
Don't add (car cl) one too many times, cl its self contains it's car.
Split the aguments string with string-tokenize to avoid leaving an empty
string argument when there should be none. These two bugs seemed to
be partially cancelling each other out so that scripts still worked when
ran with no arguments.

* tests/build-utils.scm: Adjust wrap-script to above changes.
Add two tests to ensure the command line arguments appear identical to a
script and its wrapped version.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-01-10 11:44:29 -05:00