Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

desktop/zenity: Updated for version 4.0.2 #228

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion desktop/zenity/README
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ similar to the classic `dialog` program, but with a GUI interface.

OPTIONAL DEPENDENCIES:

* webkit2gtk-4.1
* webkit2gtk-6.0 (ie, webkitgtk for gtk4; NOT yet part of sbo-ponce as
of 2024-07-28)

To enable: pass `WEBKITGTK=true` as an option to the slackbuild.
If this is not specified, it will default to `false`.
37 changes: 17 additions & 20 deletions desktop/zenity/zenity.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=zenity
VERSION=${VERSION:-3.44.4}
VERSION=${VERSION:-4.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
Expand Down Expand Up @@ -79,27 +79,24 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

# nb: libnotify is enabled by default as it is included in slackware.
# webkitgtk is an optional dependency (NOT included in slackware) which may be
# enabled upon request.
# webkitgtk is an optional dependency (NOT included in slackware or even
# sbo-ponce as yet; see README) which may be enabled upon request.

mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson .. \
--buildtype=release \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
-Dlibnotify=true \
-Dwebkitgtk=${WEBKITGTK:-false}
ninja
DESTDIR=$PKG ninja install
cd ..
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson setup \
--buildtype=release \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
-Dwebkitgtk=${WEBKITGTK:-false} \
build/
ninja -v -C build/
DESTDIR=$PKG ninja -v -C build/ install

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
Expand Down
8 changes: 4 additions & 4 deletions desktop/zenity/zenity.info
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PRGNAM="zenity"
VERSION="3.44.4"
VERSION="4.0.2"
HOMEPAGE="https://gitlab.gnome.org/GNOME/zenity"
DOWNLOAD="https://download.gnome.org/sources/zenity/3.44/zenity-3.44.4.tar.xz"
MD5SUM="cfef50a59150261e286412d92436abbb"
DOWNLOAD="https://download.gnome.org/sources/zenity/4.0/zenity-4.0.2.tar.xz"
MD5SUM="08ba19bb3fe5c180402690d5c40c6cc3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="libadwaita"
MAINTAINER="Logan Rathbone"
EMAIL="[email protected]"
Loading