Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] i3status-rust: update to 0.11.0
@ 2019-10-09 10:56 voidlinux-github
  2019-10-11 10:51 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: voidlinux-github @ 2019-10-09 10:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

There is a new pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages i3status-rust-0.11.0
https://github.com/void-linux/void-packages/pull/15275

i3status-rust: update to 0.11.0
None

A patch file from https://github.com/void-linux/void-packages/pull/15275.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-i3status-rust-0.11.0-15275.patch --]
[-- Type: text/x-diff, Size: 2974 bytes --]

From f50dc3200b1a8ab2b2b29261bf729499a2212c6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Wed, 9 Oct 2019 12:54:43 +0200
Subject: [PATCH] i3status-rust: update to 0.11.0

---
 srcpkgs/i3status-rust/patches/fix-32bit.patch | 24 -------------------
 srcpkgs/i3status-rust/template                | 10 +++-----
 2 files changed, 3 insertions(+), 31 deletions(-)
 delete mode 100644 srcpkgs/i3status-rust/patches/fix-32bit.patch

diff --git a/srcpkgs/i3status-rust/patches/fix-32bit.patch b/srcpkgs/i3status-rust/patches/fix-32bit.patch
deleted file mode 100644
index d77308460ea..00000000000
--- a/srcpkgs/i3status-rust/patches/fix-32bit.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/src/blocks/disk_space.rs b/src/blocks/disk_space.rs
---- src/blocks/disk_space.rs
-+++ src/blocks/disk_space.rs
-@@ -189,16 +189,16 @@ impl Block for DiskSpace {
-         let mut result;
-         let mut converted = 0.0f64;
-         let mut converted_str = String::new();
--        let total = statvfs.blocks() * statvfs.fragment_size();
--        let used = (statvfs.blocks() - statvfs.blocks_free()) * statvfs.fragment_size();
-+        let total = (statvfs.blocks() as u64 * statvfs.fragment_size() as u64) as u64;
-+        let used = ((statvfs.blocks() as u64 - statvfs.blocks_free() as u64) * statvfs.fragment_size() as u64) as u64;
- 
-         match self.info_type {
-             InfoType::Available => {
--                result = statvfs.blocks_available() * statvfs.block_size();
-+                result = (statvfs.blocks_available() as u64 * statvfs.block_size() as u64) as u64;
-                 converted = Unit::bytes_in_unit(self.unit, result);
-             }
-             InfoType::Free => {
--                result = statvfs.blocks_free() * statvfs.block_size();
-+                result = (statvfs.blocks_free() as u64 * statvfs.block_size() as u64) as u64;
-                 converted = Unit::bytes_in_unit(self.unit, result);
-             }
-             InfoType::Total => {
diff --git a/srcpkgs/i3status-rust/template b/srcpkgs/i3status-rust/template
index 8e01ed53609..8d7775ee134 100644
--- a/srcpkgs/i3status-rust/template
+++ b/srcpkgs/i3status-rust/template
@@ -1,7 +1,7 @@
 # Template file for 'i3status-rust'
 pkgname=i3status-rust
-version=0.10.0
-revision=3
+version=0.11.0
+revision=1
 build_style=cargo
 hostmakedepends="pkg-config"
 makedepends="dbus-devel pulseaudio-devel"
@@ -10,8 +10,4 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/greshake/i3status-rust"
 distfiles="https://github.com/greshake/i3status-rust/archive/v${version}.tar.gz"
-checksum=84a12a91419fda35109a0be3980671c1d58e13c5987e6dc999cbe786d05053d9
-
-case "$XBPS_TARGET_MACHINE" in
-	ppc*) broken="old broken version of nix (0.8.1) in dep tree" ;;
-esac
+checksum=2f749ba4646e2fc0af62d31c990ae8d59d454eb0e5fe947b39d64cfeabbb0a1c

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-12 12:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 10:56 [PR PATCH] i3status-rust: update to 0.11.0 voidlinux-github
2019-10-11 10:51 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-11 10:51 ` voidlinux-github
2019-10-12 11:47 ` voidlinux-github
2019-10-12 11:47 ` voidlinux-github
2019-10-12 12:26 ` [PR PATCH] [Merged]: " voidlinux-github

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).