From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] dua-cli: update to 2.15.0
Date: Sun, 09 Jan 2022 04:34:14 +0100 [thread overview]
Message-ID: <20220109033414.ouXDGnhfJSXqjcoZngocW_zgNUpIlUjXactKhDrc_h8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34896@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 489 bytes --]
There is an updated pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages dua
https://github.com/void-linux/void-packages/pull/34896
dua-cli: update to 2.15.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
---
Closes #33954
A patch file from https://github.com/void-linux/void-packages/pull/34896.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dua-34896.patch --]
[-- Type: text/x-diff, Size: 2845 bytes --]
From 1705ef7df3621d78ddee57f10d4b2e49eefd2695 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Sat, 8 Jan 2022 22:33:58 -0500
Subject: [PATCH] dua-cli: update to 2.15.0
---
srcpkgs/dua-cli/patches/atomicu64.patch | 32 +++++++++----------------
srcpkgs/dua-cli/template | 5 ++--
2 files changed, 14 insertions(+), 23 deletions(-)
diff --git a/srcpkgs/dua-cli/patches/atomicu64.patch b/srcpkgs/dua-cli/patches/atomicu64.patch
index 801601a2fceb..1cd5e761deba 100644
--- a/srcpkgs/dua-cli/patches/atomicu64.patch
+++ b/srcpkgs/dua-cli/patches/atomicu64.patch
@@ -1,34 +1,24 @@
-From 5857da8941bdfde02d10c9380086525f2199bbcb Mon Sep 17 00:00:00 2001
-From: q66 <daniel@octaforge.org>
-Date: Wed, 9 Jun 2021 02:28:55 +0200
-Subject: [PATCH] fix on platforms without 64-bit atomics
+# fix on platforms without 64-bit atomics
----
- src/aggregate.rs | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git src/aggregate.rs src/aggregate.rs
-index dacaaa7..6fc474d 100644
+diff --git a/src/aggregate.rs b/src/aggregate.rs
+index 1255515..9d0f266 100644
--- a/src/aggregate.rs
+++ b/src/aggregate.rs
-@@ -8,7 +8,7 @@ use std::{
- io,
- path::Path,
+@@ -6,7 +6,7 @@ use std::{borrow::Cow, io, path::Path};
+ #[cfg(feature = "aggregate-scan-progress")]
+ use std::{
sync::{
- atomic::{AtomicU64, Ordering},
+ atomic::{AtomicUsize, Ordering},
Arc,
},
thread,
-@@ -35,7 +35,7 @@ pub fn aggregate(
- let mut aggregates = Vec::new();
+@@ -37,7 +37,7 @@ pub fn aggregate(
let mut inodes = InodeFilter::default();
- let paths: Vec<_> = paths.into_iter().collect();
+
+ #[cfg(feature = "aggregate-scan-progress")]
- let shared_count = Arc::new(AtomicU64::new(0));
+ let shared_count = Arc::new(AtomicUsize::new(0));
- if let Some(mut err) = err {
- thread::spawn({
---
-2.31.1
-
+ #[cfg(feature = "aggregate-scan-progress")]
+ if let Some(mut out) = err {
diff --git a/srcpkgs/dua-cli/template b/srcpkgs/dua-cli/template
index 2f763846b3ec..e46278740082 100644
--- a/srcpkgs/dua-cli/template
+++ b/srcpkgs/dua-cli/template
@@ -1,14 +1,15 @@
# Template file for 'dua-cli'
pkgname=dua-cli
-version=2.14.2
+version=2.15.0
revision=1
build_style=cargo
short_desc="Tool to conveniently learn about the disk usage of directories"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://github.com/Byron/dua-cli"
+changelog="https://raw.githubusercontent.com/Byron/dua-cli/main/CHANGELOG.md"
distfiles="https://github.com/Byron/dua-cli/archive/v${version}.tar.gz"
-checksum=05e7c67d986369a8fc53237522c6f696357fb9f0fe5c823da601653fb5c5a1fa
+checksum=f90ff47d6fd92528cea14c82f5744861675b3bb69f322542a4442ddea4dc42ad
post_install() {
vlicense LICENSE
next prev parent reply other threads:[~2022-01-09 3:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-06 3:30 [PR PATCH] " cinerea0
2022-01-09 0:07 ` [PR REVIEW] " ericonr
2022-01-09 3:34 ` cinerea0 [this message]
2022-01-09 3:54 ` cinerea0
2022-01-09 6:41 ` [PR PATCH] [Updated] " cinerea0
2022-01-09 6:51 ` cinerea0
2022-01-11 19:03 ` dua-cli: update to 2.16.0 ericonr
2022-01-11 19:03 ` [PR PATCH] [Merged]: " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220109033414.ouXDGnhfJSXqjcoZngocW_zgNUpIlUjXactKhDrc_h8@z \
--to=cinerea0@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).