Package Details: i3status-rust-git 0.20.0.r1950.g1efa069-2

Git Clone URL: https://aur.archlinux.org/i3status-rust-git.git (read-only, click to copy)
Package Base: i3status-rust-git
Description: Very resourcefriendly and feature-rich replacement for i3status to use with bar programs (like i3bar and swaybar), written in pure Rust
Upstream URL: https://github.com/greshake/i3status-rust
Keywords: i3 i3status rust
Licenses: GPL3
Conflicts: i3status-rust
Provides: i3status-rust
Submitter: metak
Maintainer: ruahcra
Last Packager: ruahcra
Votes: 17
Popularity: 0.084132
First Submitted: 2017-07-13 18:06
Last Updated: 2021-05-11 12:36

Dependencies (16)

Required by (0)

Sources (1)

Latest Comments

metak commented on 2021-03-30 12:06

I'm disowning this package for someone who uses it regularly to adopt.

maciejjo commented on 2021-03-29 06:00

Example files changed recently, needed following change to package properly:

From c59b06ca25a7a342016c328e967dcac1db7c5d94 Mon Sep 17 00:00:00 2001
From: Maciej Sobkowski <maciej@sobkow.ski>
Date: Mon, 29 Mar 2021 07:57:53 +0200
Subject: [PATCH] Update example files installation

---
 PKGBUILD | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 2e93be4..67540f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
 # Contributor:

 pkgname=i3status-rust-git
-pkgver=0.14.0.r1189.gb01493c
-pkgrel=2
+pkgver=0.20.0.r1940.g189ad4e
+pkgrel=1
 pkgdesc='Very resourcefriendly and feature-rich replacement for i3status to use with bar programs (like i3bar and swaybar), written in pure Rust'
 arch=('x86_64')
 url='https://github.com/greshake/i3status-rust'
@@ -44,7 +44,11 @@ package() {
   install -Dm755 target/release/i3status-rs "$pkgdir/usr/bin/i3status-rs"
   install -Dm644 man/i3status-rs.1 -t "$pkgdir/usr/share/man/man1"

-  for example in example_config.toml example_icon.toml example_theme.toml; do
-    install -Dm644 "$example" -t "$pkgdir/usr/share/doc/${pkgname%-*}/examples"
+  for example in config.toml config_icon_override.toml config_theme_override.toml; do
+    install -Dm644 "example/$example" -t "$pkgdir/usr/share/doc/${pkgname%-*}/examples"
+  done
+
+  for theme in dracula.toml; do
+    install -Dm644 "example/theme/$theme" -t "$pkgdir/usr/share/doc/${pkgname%-*}/examples/theme"
   done
 }
--
2.31.1

GrayJack commented on 2020-08-22 18:53

When people have set CARGO_TARGET_DIR it will compile into that folder and the build will fail. A easy fix is to add --target-dir target at the end of the cargo invocation

That will make in that instance to put the target dir in the expected location

hellow554 commented on 2020-07-16 18:20

libdbus and pkgconfig are also a dependecy of this.

metak commented on 2020-01-29 09:57

This package is not outdated since it builds from git master and there's no need to update the build or package sections because there weren't any changes in packaging.?

metak commented on 2019-04-14 16:28

@enricostn This package is made for official archlinux rust package that's why it has makedepends for rust. If you're using rustup then you'll have to build the package manually.

  1. Clone the i3status-rust upstream repo and cd into it

  2. Then run ~/.cargo/bin/cargo build --release (I think this is where rustup install the binaries) and this should produce the binary file in target/release/i3status-rs

  3. Put that file somewhere where you have exported path, ~/bin or something

enricostn commented on 2019-04-14 15:50

Hi, I installed rust using https://rustup.rs/

But I'm still getting:

$ makepkg ==> Making package: i3status-rust-git 0.9.0.r634.g79b0ea2-1 (Sun 14 Apr 2019 05:44:21 PM CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Missing dependencies: -> rust ==> ERROR: Could not resolve all dependencies.

Rust works as expected for everything else but compiling this package. Any hint? Thanks!