Re: zenity notifications not available in latest PKGBUILD 3.44.0-2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 16 Mar 2023 at 20:48, Piscium <groknok@xxxxxxxxx> 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/9b3aff4f5b8c189f2b0dd9278853edaba8c0d4c4
>
> 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@xxxxxxxxxxxxx>
# Contributor: Jan de Groot <jgc@xxxxxxxxxxxxx>

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:



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux