Package Details: kalu 4.3.0-1

Git Clone URL: (read-only, click to copy)
Package Base: kalu
Description: Upgrade notifier w/ AUR support, watched (AUR) packages, news
Upstream URL:
Licenses: GPL3+
Submitter: jjacky
Maintainer: jjacky
Last Packager: jjacky
Votes: 182
Popularity: 0.113456
First Submitted: 2012-02-14 18:03
Last Updated: 2018-06-04 17:45

Latest Comments

1 2 3 4 5 6 ... Next › Last »

tpreissler commented on 2020-01-27 18:51

I managed to compile a fork supporting latest pacman. Here is the PKGBUILD:

pkgdesc="Upgrade notifier w/ AUR support, watched (AUR) packages, news [GIT]"
arch=('i686' 'x86_64')
depends=('dbus' 'polkit' 'gtk3' 'pacman>=5.2' 'curl' 'libnotify'
makedepends=('perl' 'groff' 'git' 'autoconf')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'

build() {
  cd "$srcdir/$pkgname"
  ./configure --prefix=/usr --enable-git-version

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir/" install
  chmod 750 "$pkgdir"/usr/share/polkit-1/rules.d
  chown 0:102 "$pkgdir"/usr/share/polkit-1/rules.d

# vim:set ts=2 sw=2 et:

Shikaku commented on 2019-11-06 23:35

Hope this gets updated for the latest pacman version. I made this bash script in the meantime if anyone cares (requires pacman-contrib, can't check AUR, change inside if statement if you don't use libnotify and replace username and maybe ID if it isn't 1000, I am releasing it as CC0 i.e public domain):

FredBezies commented on 2019-10-22 10:01

Kalu is broken with pacman 5.2.0:

jghodd commented on 2018-05-30 21:13

@Th30 - its not completely incompatible. in fact, most of it works just fine if you adjust the 'pacman<5.1' dependency to 'pacman<5.2' instead. what's not working at some level is the percentage downloaded and the total size - but not throughout the app. the download progress bar is incrementing correctly and it knows when a download is complete and when all downloads are complete, so those values are correct at some level of the code. it will still perform updates and notifications correctly, even though you may be seeing some specious values being displayed in the text overlays.

Th30 commented on 2018-05-30 18:02

kalu 4.2.0-1 is incompatible with pacman 5.1.0-1

jjacky commented on 2018-05-30 17:47

No, I believe the issue was due to changes in the download callback from ALPM (and the fact that it can now use -1 as total, whereas in kalu we're using that value as unsigned int, hence the issue). Anyhow, unless I missed something it seems that the changes in dl callback was the only issue re: 5.1; Just pushed a branch pacman-5.1 on github for anyhow who'd like to try.

Let me know how it you catch anything wrong,

jghodd commented on 2018-05-30 16:45

@jjacky - part of the issue seems to be in the function rend_pbar_pb. interestingly, your call to gtk_tree_model_get with the UCOL_PCTG parameter is working properly since the progress bar is rendering correctly for the percentage downloaded. however, the "if (is_dl)" code block with your next call to gtk_tree_model_get with the UCOL_CUR_DL_SIZE parameter is broken somehow. you're using the same value in the overlay status that you used for rendering the progress bar, but now it appears as -2147483648 (0x80000000). unit is correct-ish, and dl_size returned for UCOL_CUR_DL_SIZE, and then massaged, is coming up 0. any ideas? it would take me a while to fully wrap my head around your code, but i'm hoping maybe you could point me in the right direction.

jghodd commented on 2018-05-29 18:41

@jjacky - it seems to be "working" ok with a rebuild, but the progress indicators are showing "-2147483648% of 0 B" during downloads. definitely something needs to be fixed. otherwise, except that the upper progress indicators are thrown off by the weird size values, everything else is still working as expected. this issue doesn;t appear to affect upgrades. i'd guess that whatever function call gets the percent downloaded and the size of the download has changed. internally, kalu still knows the real size of the download.

dahankzter commented on 2018-05-29 11:43

This is what makes SemVer etc so useless in practice... A minor version breaks everything and it seems no one really cares anyway...

It's not your fault I just get so frustrated in general with stuff like this.

When do you think you can have a new version out?

jjacky commented on 2018-05-29 10:20

No, this restriction is by design, because such a version change in pacman (usually) comes with API change/breakage (in ALPM) and thus requires an update upstream (Notice the soname bump in libalpm).

This is the same for all ALPM-based software (including pacman really, it just happens to be shipped alongside libalpm), and can't be avoided. (For some it might, in that a simple rebuild could be enough, depending on how/the extent to which they use ALPM, but kalu usually requires work.) Note that there's also no need to flag this package out of date: it isn't, as there's no new release (of kalu) as of yet.

For now you need to either remove kalu, or postpone the sysupgrade until a new release for pacman 5.1 compatibility is out. I need to work on this, unfortunately haven't had the time yet... Apologies.