Package Details: kalu 4.2.0-1

Git Clone URL: https://aur.archlinux.org/kalu.git (read-only)
Package Base: kalu
Description: Upgrade notifier w/ AUR support, watched (AUR) packages, news
Upstream URL: https://jjacky.com/kalu
Licenses: GPL3+
Submitter: jjacky
Maintainer: jjacky
Last Packager: jjacky
Votes: 171
Popularity: 2.064092
First Submitted: 2012-02-14 18:03
Last Updated: 2018-02-10 17:50

Latest Comments

jjacky commented on 2018-02-15 16:52

hmm, that is strange. Full logs might be helpful to know more... Is libnotify "fully" installed (e.g. including headers, etc)? Any chance you're building in a chroot? And if so, did you make sure libnotify was installed in said chroot as well?

tschertel commented on 2018-02-15 14:07

Compiling is complaining about libnotify.

configure: error: libnotify is required

But it is installed.

$ pacman -Qs notify

local/libnotify 0.7.7-1

Library for sending desktop notifications

jjacky commented on 2018-02-13 17:23

Why do you use "chmod" and "chown" commands in PKGBUILD ? these are bad practices because "/usr/share/polkit-1/rules.d" already exists, it seems weird to change access permissions for an existing directory ( "/usr/share/polkit-1/rules.d" )

No, it doesn't already exist, and nothing is changed. It might exists in your system, sure, but not in the package we're creating. And the point actually is to remain consistent with what's likely to be on your system, i.e. use the same permissions/ownership as polkit. Because otherwise, when installing kalu you'd get a warning from pacman that permissions differ between system & package.

if kalu really needs these commands then this kind of thing shoud be done manually by the user,

Nonsense; Again you seem to be confusing things, we're creating a package here, not touching anything in the system.

As for the group kalu, it is created because a polkit rule is installed, to allow members of said group to perform sysupgrade (via kalu's updater) without authentication, as explained in the man page.

noraj: About namcap's output, thanks, those are all fine/expected.

Potomac commented on 2018-02-13 15:55

Why do you use "chmod" and "chown" commands in PKGBUILD ?

these are bad practices because "/usr/share/polkit-1/rules.d" already exists, it seems weird to change access permissions for an existing directory ( "/usr/share/polkit-1/rules.d" )

if kalu really needs these commands then this kind of thing shoud be done manually by the user,

I see also that you have created a new group called "kalu",

it would be interesting to avoid these commands, kalu should be able to run with the current user and existing permissions for /usr/share/polkit-1/rules.d

noraj commented on 2018-02-11 16:58

Thanks for this very useful tool.

namcap told me some stuff about kalu:

  • kalu E: File (usr/share/polkit-1/rules.d) is owned by root:polkitd
  • kalu E: GPL3+ is not a common license (it's not in /usr/share/licenses/common/)
  • kalu W: File (usr/share/polkit-1/rules.d) does not have the world readable bit set.
  • kalu W: Directory (usr/share/polkit-1/rules.d) does not have the world executable bit set.
  • kalu W: Dependency dbus included but already satisfied
  • kalu W: Dependency polkit included but already satisfied
  • kalu W: Dependency curl included but already satisfied
  • kalu W: Dependency included and not needed ('notification-daemon')

jjacky commented on 2018-01-02 22:00

Happy to know it's useful :)

So, I'm glad you got it resolved, but since there was no version change, any idea what caused the segfault? If you were to rebuild kalu, would it crash again? If so, any indications/backtraces/logs that could help figure out what's the problem & how to fix it is welcome, obviously.

lpc123 commented on 2017-12-28 16:59

First of all, thank you for kalu. Using this program with trizen makes Arch package management so much easier. I use KDE and I was getting core dumps using kalu 4.1.0-1. The crashes occurred when trying to close kalu at shutdown using a script.

I replaced it with kalu-kde 4.1.0-3, and now it shuts down correctly when using a shutdown script.

jjacky commented on 2017-11-13 17:30

Right, a fix was just pushed to branch next. Thanks for the report.

adam777 commented on 2017-11-10 06:57

Hello,
Latest news in site contains an extra space before the title: " The end...".
It causes kalu to go into loop of "10 unread news" although the correct title (with the extra space) is written in news.conf

T0t0 commented on 2017-08-14 00:26

Pour les francophones: Editez le pkgbuild en rajoutant " --with-news-rss-url=http://archlinux.fr/feed" sans les " " après ...prefix=/usr pour avoir les nouvelles en français :)

All comments