zenity notifications not available in latest PKGBUILD 3.44.0-2
As a result of the change below zenity notifications are not available anymore. I am using them in a script. This change was just in the PKGBUILD which is still using the same upstream source. https://github.com/archlinux/svntogit-packages/commit/9b3aff4f5b8c189f2b0dd9... The commit message points to this: https://bugs.archlinux.org/task/77607 If webkit is not desired, can't notifications be built some other way? yad has notifications too though they are of a different type, for my use case I preferred the zenity ones.
On Thu, 16 Mar 2023 at 20:48, Piscium <groknok@gmail.com> wrote:
As a result of the change below zenity notifications are not available anymore. I am using them in a script. This change was just in the PKGBUILD which is still using the same upstream source. https://github.com/archlinux/svntogit-packages/commit/9b3aff4f5b8c189f2b0dd9...
The commit message points to this: https://bugs.archlinux.org/task/77607
If webkit is not desired, can't notifications be built some other way? yad has notifications too though they are of a different type, for my use case I preferred the zenity ones.
I am not sure why notifications were removed if the goal was to remove webkit. Any ideas? In any case, I modified a PKGBUILD by reversing some the changes of the latest commit to keep notifications and it works for me. ------------------------ # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=zenity pkgver=3.44.0 pkgrel=3 pkgdesc="Display graphical dialog boxes from shell scripts" url="https://gitlab.gnome.org/GNOME/zenity" arch=(x86_64) license=(LGPL) depends=(gtk3 libnotify) makedepends=(yelp-tools meson git) optdepends=('perl: gdialog wrapper') _commit=7bf8c8910d34bfb2b883b32118b93b68d44dd77b # tags/3.44.0^0 source=("git+https://gitlab.gnome.org/GNOME/zenity.git#commit=$_commit") sha256sums=('SKIP') pkgver() { cd zenity git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { cd zenity } build() { local meson_options=( -D libnotify=true ) arch-meson zenity build "${meson_options[@]}" meson compile -C build } check() { meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" } # vim:set sw=2 sts=-1 et:
On Thu, 16 Mar 2023 at 20:49, Piscium <groknok@gmail.com> wrote:
As a result of the change below zenity notifications are not available anymore. I am using them in a script. This change was just in the PKGBUILD which is still using the same upstream source. https://github.com/archlinux/svntogit-packages/commit/9b3aff4f5b8c189f2b0dd9...
The commit message points to this: https://bugs.archlinux.org/task/77607
If webkit is not desired, can't notifications be built some other way? yad has notifications too though they are of a different type, for my use case I preferred the zenity ones.
As the author of the bug report, I'm not sure why the notifications got removed alongside webkit. Personally I don't use them so it's not a huge loss over here. On the other hand, if you have a genuine use case(s) for them, one option is to open a bug report (either with zenity, Arch or both) listing your arguments why it should be enabled by default. The other, as you've already done, is to build it locally. HTH Emil
On Fri, 17 Mar 2023 at 12:26, Emil Velikov <emil.l.velikov@gmail.com> wrote:
As the author of the bug report, I'm not sure why the notifications got removed alongside webkit. Personally I don't use them so it's not a huge loss over here.
On the other hand, if you have a genuine use case(s) for them, one option is to open a bug report (either with zenity, Arch or both) listing your arguments why it should be enabled by default. The other, as you've already done, is to build it locally.
Thanks, Emil. I have created a bug report: https://bugs.archlinux.org/task/77883
participants (2)
-
Emil Velikov
-
Piscium