Package Details: kalu-kde 4.5.2-2

Git Clone URL: https://aur.archlinux.org/kalu-kde.git (read-only, click to copy)
Package Base: kalu-kde
Description: Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE Plasma's panel
Upstream URL: https://github.com/Thulinma/kalu
Licenses: GPL3+
Conflicts: kalu
Provides: kalu
Submitter: Rhinoceros
Maintainer: Rhinoceros (Thulinma, jghodd)
Last Packager: Rhinoceros
Votes: 14
Popularity: 0.000004
First Submitted: 2014-12-30 12:30 (UTC)
Last Updated: 2024-09-14 14:24 (UTC)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 Next › Last »

noraj commented on 2021-02-18 08:31 (UTC)

$ pacman -Syu
...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing plasma-workspace (5.21.0-1) breaks dependency 'notification-daemon' required by kalu-kde

Rhinoceros commented on 2020-07-21 04:57 (UTC)

Brilliant. Thank you @dpeukert, that works well. Package updated.

dpeukert commented on 2020-07-20 18:41 (UTC)

@Rhinoceros Here's a patch:

diff --git a/.SRCINFO b/.SRCINFO
index 6fe7764..096caa3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = kalu-kde
    pkgdesc = Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE Plasma's panel
    pkgver = 4.3.0
-   pkgrel = 2
+   pkgrel = 3
    url = https://jjacky.com/kalu
    install = kalu.install
    arch = i686
@@ -22,9 +22,11 @@ pkgbase = kalu-kde
    conflicts = kalu
    source = http://jjacky.com/kalu/kalu-4.3.0.tar.xz
    source = statusnotifier.patch
+   source = gcc10.patch
    source = https://github.com/deraffe/kalu/commit/a46975cdcb926ea8508c012d333471c1e1cb8529.patch
    sha1sums = 4e9fc8b311077d3720af8619de04c917c01acbfb
    sha1sums = d58712ff827df6bea9c5eb5a7e3d9034f3cac506
+   sha1sums = 6e02682594c169561fbadbde635053cf47e3a2f1
    sha1sums = 6418c6df072de666873e37240bddb33712ae4aac

 pkgname = kalu-kde
diff --git a/PKGBUILD b/PKGBUILD
index b1fcd7c..a81c990 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=kalu-kde
 pkgver=4.3.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE Plasma's panel"
 arch=('i686' 'x86_64')
 url="https://jjacky.com/kalu"
@@ -13,10 +13,12 @@ depends=('dbus' 'polkit' 'gtk3' 'pacman>=5.2' 'pacman<5.3' 'curl' 'libnotify'
 makedepends=('perl' 'groff')
 source=(http://jjacky.com/${pkgname%-kde}/${pkgname%-kde}-$pkgver.tar.xz
         statusnotifier.patch
+        gcc10.patch
         https://github.com/deraffe/kalu/commit/a46975cdcb926ea8508c012d333471c1e1cb8529.patch)
 install=kalu.install
 sha1sums=('4e9fc8b311077d3720af8619de04c917c01acbfb'
           'd58712ff827df6bea9c5eb5a7e3d9034f3cac506'
+          '6e02682594c169561fbadbde635053cf47e3a2f1'
           '6418c6df072de666873e37240bddb33712ae4aac')
 provides=(${pkgname%-kde})
 conflicts=(${pkgname%-kde})
@@ -24,6 +26,7 @@ conflicts=(${pkgname%-kde})
 prepare() {
   cd "${pkgname%-kde}-$pkgver"
   patch -p0 -i "$srcdir/statusnotifier.patch"
+  patch -p1 -i "$srcdir/gcc10.patch"
   patch -p1 -i "$srcdir/a46975cdcb926ea8508c012d333471c1e1cb8529.patch"
 }

diff --git a/gcc10.patch b/gcc10.patch
new file mode 100644
index 0000000..43b0fe5
--- /dev/null
+++ b/gcc10.patch
@@ -0,0 +1,31 @@
+diff --git a/src/kalu/kalu.h b/src/kalu/kalu.h
+index 428aea1..1e109d8 100644
+--- a/src/kalu/kalu.h
++++ b/src/kalu/kalu.h
+@@ -134,7 +134,7 @@ typedef enum {
+ } tpl_t;
+ 
+ /* template names in config (prefixed w/ "template-") */
+-const gchar *tpl_names[_NB_TPL];
++extern const gchar *tpl_names[_NB_TPL];
+ 
+ typedef enum {
+     FLD_TITLE,
+@@ -144,7 +144,7 @@ typedef enum {
+ } fld_t;
+ 
+ /* field names in config */
+-const gchar *fld_names[_NB_FLD];
++extern const gchar *fld_names[_NB_FLD];
+ 
+ typedef enum {
+     TPL_SCE_UNDEFINED = 0,
+@@ -156,7 +156,7 @@ typedef enum {
+ } tpl_sce_t;
+ 
+ /* source names in config */
+-const gchar *tpl_sce_names[_NB_TPL_SCE];
++extern const gchar *tpl_sce_names[_NB_TPL_SCE];
+ 
+ struct field {
+     const char *def;

Rhinoceros commented on 2020-06-17 05:47 (UTC)

It looks like upstream has stopped updating kalu, with the last commit over two years ago, on June 2018. I previously patched this package to work as per this issue, but I can't get it to build any more:

/usr/bin/ld: src/kalu/kalu-conf.o:/tmp/kalu-kde/src/kalu-4.3.0/src/kalu/kalu.h:137: multiple definition of `tpl_names'; src/kalu/kalu-main.o:/tmp/kalu-kde/src/kalu-4.3.0/src/kalu/kalu.h:137: first defined here

If anyone has a patch, I'm happy to add it. Please let me know.

Please also note that this AUR package is not out of date. It is consistent with upstream, although there are obviously ongoing issues with upstream's code.

Rhinoceros commented on 2019-10-23 23:00 (UTC)

@ZaZam Because upstream hasn't released a new version yet.

@jghodd This package is not out of date. The PKGBUILD version is identical with upstream. True, it doesn't work with the current version of pacman, but that relates to upstream, not this PKGBUILD. You can follow the bug report here [a].

In any case, I've temporarily added the patch that makes kalu(-kde) compatible in the meantime, until upstream updates.

[a] https://github.com/jjk-jacky/kalu/issues/73

ZaZam commented on 2019-10-23 18:05 (UTC)

Why does this depend on pacman version lower than 5.2?

Rhinoceros commented on 2018-06-06 12:31 (UTC)

@pcmoore I'm not really sure, because I don't use that part of it. Perhaps you could report it upstream? I'd probably test with vanilla kalu too, so it's simpler for upstream to find the bug.

pcmoore commented on 2018-06-06 12:19 (UTC)

Thanks for the update, but I'm having problem when running the graphical updater application:

Error: Could not initiate kalu_updater: Error calling StartServiceByName for org.jjk.kalu: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 127

Help?

Rhinoceros commented on 2018-06-05 21:42 (UTC)

@lpc123 Thank you, but I'm afraid you'll have to be more specific. What exactly is the problem?