Package Details: i3blocks-git 1.4.r62.ga44b67f-1

Git Clone URL: https://aur.archlinux.org/i3blocks-git.git (read-only, click to copy)
Package Base: i3blocks-git
Description: Define blocks for your i3bar status line
Upstream URL: https://github.com/vivien/i3blocks
Licenses: GPL3
Conflicts: i3blocks
Provides: i3blocks
Submitter: Runiq
Maintainer: mackilanu
Last Packager: Foxboron
Votes: 17
Popularity: 0.000198
First Submitted: 2014-06-02 19:10 (UTC)
Last Updated: 2018-09-11 15:39 (UTC)

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

Zeioth commented on 2020-05-30 01:04 (UTC)

It doesn't seem to compile: https://pastebin.com/Z8HAnHej

pavel.lazar commented on 2019-09-10 23:37 (UTC)

Have issues installing: error: failed to commit transaction (conflicting files) i3blocks-git: /usr/local/share/man exists in filesystem (owned by filesystem)

wma commented on 2019-08-26 01:41 (UTC) (edited on 2019-08-26 01:44 (UTC) by wma)

I had to modify the PKGBUILD like this in order to successfully install this package:

build () {
  cd "$_pkgname"
  ./autogen.sh
  ./configure --prefix=/usr --libexecdir=/usr/lib
  make
}

package () {
  cd "$_pkgname"
  mkdir -p "$pkgdir/usr/share/bash-completion/completions/"
  cp bash-completion "$pkgdir/usr/share/bash-completion/completions/"
  make DESTDIR="$pkgdir" install
}

Installation fails otherwise, complaining about not finding the bash-completion file where it should be. The way I hanlded it is probably not how it should be done but I couldn't figure out the root of the problem.

elihunter173 commented on 2019-08-12 00:16 (UTC)

I'm having a build error of mv: cannot stat 'bash-completion': No such file or directory even though I do have bash-completion

enckse commented on 2018-10-07 19:44 (UTC)

FYI: when I built this today (though I ended up not using i3blocks at all), it put the executable in /usr/local/bin/ and didn't seem to place any of the library of blocks anywhere.

happyrogue commented on 2018-03-12 19:01 (UTC)

ruby-ronn should be dropped as a dependency; it was replaced with pandoc a while back. See: https://github.com/vivien/i3blocks/commit/b736a2732cfea7c4869ae34c6d2a900471a9348e

Foxboron commented on 2016-07-31 13:19 (UTC)

Thank you for the heads up! Updating the package

alexlu commented on 2016-07-31 12:39 (UTC)

colors.patch is not needed since it got merged. https://github.com/vivien/i3blocks/issues/146

Foxboron commented on 2016-05-30 14:50 (UTC)

Added bc and lm_sensors from the i3blocks package!

d_s commented on 2016-05-30 14:44 (UTC)

I feel like `bc` should be listed in optdepends (for the default bandwidth script). It's there in the main i3blocks package, but not this one. Without it the script will still run, but values above the KB range will only display "M" instead of "3.2M".

stef204 commented on 2016-05-15 16:09 (UTC)

As I mentioned before, I think you had it just right, before the last revert. The dir path change is really only due to the previous packager whom had used /usr/libexec/i3blocks/ "erroneously". And the warnings included in our comments here are probably enough. I think undoing the last revert + color patch are the key issues.

Foxboron commented on 2016-05-15 15:45 (UTC)

I'll take a look at the patch and tripple check the PKGBUILD before doing something more. Ill also add a notice about the dir change!

stef204 commented on 2016-05-15 13:52 (UTC) (edited on 2016-05-15 13:56 (UTC) by stef204)

@foxboron No worries, it's on me. According to https://wiki.archlinux.org/index.php/Arch_packaging_standards#Package_etiquette you did the right thing by switching to /usr/lib/i3blocks/ as opposed to /usr/libexec/i3blocks/. So go back to what you had before you reverted just now. I think the unexpected effect that it would remove the scripts in /usr/libexec/i3blocks/ is more due to pacman/makepkg as there is nothing in your script that removes the scripts in /usr/libexec/i3blocks/. I've adjusted my i3blocks.conf to point to /usr/lib/i3blocks/ and did whatever edits I could remember as a quick fix. Again, my bad as I didn't back up my scripts (some which are in ~/bin were not affected, obviously.) I think a warning that the scripts directory would change might have helped but really it's on me. Anyway, just try to address the color issue/patch, if you are so inclined. Thanks.

Foxboron commented on 2016-05-15 13:35 (UTC)

Reverted it all and looking into it. So sorry for the trouble!

stef204 commented on 2016-05-15 07:03 (UTC) (edited on 2016-05-15 13:54 (UTC) by stef204)

Result of this upgrade is that ALL of the scripts that were contained in /usr/libexec/i3blocks (some of which were painstakingly edited) are gone. So this update broke i3blocks. I doubt this is what the author intended (to remove/delete all pre-existing scripts contained in the dir quote above.) My bad for not backing up my scripts and not reading the PKGBUILD in detail before upgrading (I did do a diff and it "seemed" OK.) Line 34 can't quite be right: IMHO LIBEXECDIR=/usr/lib install is incorrect. Why do this when previous version had the dir as such: /usr/libexec/i3blocks ? OR are you saying previous version PKGBUILD was incorrectly written and scripts dir should always have been /usr/lib/i3blocks/ ? Colors are broken, i.e. no colors. https://github.com/vivien/i3blocks/issues/146 Colors do work for stable release i3blocks in AUR. You might consider applying the patch given in issue 146 to your PKGBUILD.

Foxboron commented on 2016-05-14 13:43 (UTC)

Sorry for the slow response. Should be fixed now!

ekkelett commented on 2016-05-11 17:09 (UTC) (edited on 2016-05-11 17:09 (UTC) by ekkelett)

The PKGBUILD is missing the LIBEXECDIR-argument in the i3status AUR package. --- From 347ab4fc527a43b290d6be2593be5facad2d9289 Mon Sep 17 00:00:00 2001 From: "Thor K. H" <thor@roht.no> Date: Wed, 11 May 2016 19:05:06 +0200 Subject: [PATCH] Fixes incorrectly located script files --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 6a0a0cb..0bb1d9b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -29,7 +29,7 @@ build () { } package () { - make -C "$srcdir/$_pkgname" DESTDIR="$pkgdir" PREFIX=/usr install + make -C "$srcdir/$_pkgname" DESTDIR="$pkgdir" PREFIX=/usr LIBEXECDIR=/usr/lib install } # vim: et ts=2 sw=2 -- 2.8.2

wulvyrn commented on 2016-03-05 18:00 (UTC)

had to add a package called acpi to get the battery lvl to display i3status didn't need this.

Runiq commented on 2014-10-07 09:16 (UTC)

Updated optdepends and makedepends (thanks, Dasonk).

Dasonk commented on 2014-10-05 23:57 (UTC)

You should add git as a make dependency

Runiq commented on 2014-10-01 08:55 (UTC)

@Rx14: Thanks, added! @bchretien: Actually, i3 is not *necessary* to run i3blocks, though it does make little sense to use i3blocks without i3. Should I still add i3 as a dependency? As for the scripts, I'll try to go through them tomorrow and add optdepends where necessary.

RX14 commented on 2014-09-30 19:03 (UTC)

This needs to have a builddep on ronn.

bchretien commented on 2014-09-09 21:37 (UTC)

Dependencies are missing (e.g. i3, and multiple things for the different scripts).