GNU bug report logs - #68819
[PATCH 00/49 rust-team] Update i3status-rust to 0.32.3.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Tue, 30 Jan 2024 15:05:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Herman Rimm <herman <at> rimm.ee>
To: 68819 <at> debbugs.gnu.org
Cc: Herman Rimm <herman <at> rimm.ee>, Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#68819] [PATCH 00/49 rust-team] Update i3status-rust to 0.32.3.
Date: Tue, 30 Jan 2024 16:03:34 +0100
Hi rust-team,

When I started using Guix, my i3status-rust config was for a newer
version, now I got around to updating the package. I understand why
noone had updated it, as it was quite tedious. Anyway, I added the
dependencies required for the new version. Some notes:

I shortened synopses and punctuated descriptions, but mostly left the
#:cargo-inputs indentation as guix import had generated it. I want guix
import crate to generate appropriate indentation.

rust-arrow2 and rust-tera are patched and build with rust-chrono-tz-0.8
so that it can replace rust-chrono-tz-0.6 in a single commit.

rust-zbus-3 and rust-zbus-macros-3 dependency are updated in a single
commit, instead of relaxing rust-zbus-3 dependency versioning.

Enabled tests on rust-notmuch.

Although ordered-stream-0.2 is not adjacent to ordered-stream-0.1, the
latter is removed in a later commit.

Lastly, i3status-rust is updated and any dependencies that become unused
are removed recursively.

Assorted questions:

1. Should rust-from-variants-impl-0.6 be public?

2. I updated wayrs-client to 1.0, because adding a #[macro_use] made
the wayrs-scanner-0.12 generate! macro available, so wayrs-client 0.12
would build in isolation, but not as a dependency of i3status-rust.
Adding #[macro_export] to the macro in wayrs-scanner-0.12 did not have
any effect. Does this issue seem familiar?

3. rust-async-io-2 and rust-async-net-2 form a cyclical dependency,
should they be added as separate packages anyway?

4. When to #:skip-build?

5. Why is a rust package name defined when inheriting the same name?

Cheers,
Herman

Herman Rimm (49):
  gnu: Add rust-async-once-cell-0.5.
  gnu: Add rust-backon-0.4.
  gnu: Add rust-calibright-0.1.
  gnu: Add rust-neli-proc-macros-0.1.
  gnu: Add rust-neli-0.6.
  gnu: Add rust-neli-wifi-0.6.
  gnu: Add rust-chrono-tz-build-0.2.
  gnu: Replace rust-chrono-tz-0.6 with rust-chrono-tz-0.8.
  gnu: Add rust-from-variants-impl-0.6.
  gnu: Add rust-from-variants-0.6.
  gnu: Add rust-notmuch-0.8.
  gnu: rust-gethostname-0.2: Update to 0.2.3.
  gnu: Add rust-maildir-0.6.
  gnu: Add rust-libsensors-sys-0.2.
  gnu: Add rust-sensors-0.2.
  gnu: Add rust-signal-hook-tokio-0.3.
  gnu: rust-swayipc-types-1: Update to 1.3.1.
  gnu: Add rust-async-pidfd-0.1.
  gnu: rust-parking-2: Update to 2.2.0.
  gnu: Add rust-futures-lite-2.
  gnu: Add rust-swayipc-async-2.
  gnu: Add rust-proc-macro-crate-3.
  gnu: Add rust-wayrs-proto-parser-2
  gnu: Add rust-wayrs-scanner-0.13.
  gnu: Add rust-wayrs-client-1.
  gnu: Add rust-wayrs-protocols-0.13.
  gnu: Add rust-event-listener-4.
  gnu: Add rust-event-listener-strategy-0.4.
  gnu: Add rust-async-channel-2.
  gnu: Add rust-async-lock-3.
  gnu: Add rust-async-io-2 and rust-async-net-2 cyclical dependency.
  gnu: Add rust-ordered-stream-0.2.
  gnu: Add rust-xdg-home-1.
  gnu: Add rust-async-signal-0.2.
  gnu: Add rust-event-listener-3.
  gnu: rust-async-process-1: Update to 1.8.1.
  gnu: rust-async-fs-1: Update to 1.6.0.
  gnu: rust-zbus-3: Update to 3.14.1.
  gnu: Add rust-pandoc-0.8.
  gnu: i3status-rust: Update to 0.32.3.
  gnu: Deprecate rust-nl80211-0.0.2.
  gnu: Remove rust-neli-0.4.
  gnu: Remove rust-notmuch-0.6.
  gnu: Remove rust-cpuprofiler-0.0.
  gnu: Remove rust-progress-0.2.
  gnu: Remove rust-buffering-0.3.
  gnu: Remove rust-supercow-0.1.
  gnu: Remove rust-buffering-nocopy-macro-0.1.
  gnu: Remove rust-ordered-stream-0.1.

 gnu/local.mk                                  |    1 -
 gnu/packages/crates-graphics.scm              |   88 ++
 gnu/packages/crates-io.scm                    | 1133 ++++++++++++-----
 ...status-rust-enable-unstable-features.patch |   20 -
 gnu/packages/rust-apps.scm                    |  100 +-
 5 files changed, 959 insertions(+), 383 deletions(-)
 delete mode 100644 gnu/packages/patches/i3status-rust-enable-unstable-features.patch


base-commit: 36315bde09efa660d38198f666b4e1582cb71db3
-- 
2.41.0





This bug report was last modified 1 year and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.