From 11245d7d1c0bcad5a08d08980871646bf50bd2f0 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 15 Jul 2020 21:11:06 -0400 Subject: [PATCH 62/62] gnu: zenity: Update package definition. * gnu/packages/gnome.scm (zenity): Update package definition. [build-system]: Change from gnu to glib-or-gtk. [outputs]: New output "help". [arguments]<#:configure-flags>[--enable-libnotify]: New flag. [--enable-webkitgtk]: New flag. [--with-help-dir=]: New flag. [native-inputs]: Add glib:bin, gtk+:bin, perl and libxml2. [inputs]: Add glib, gtk+ and libx11. [synopsis]: Modify. [description]: Modify. [home-page]: Modify. --- gnu/packages/gnome.scm | 48 ++++++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 0316a4258b..f772b9c0d2 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -6989,27 +6989,43 @@ powerful general purpose text editor.") (package (name "zenity") (version "3.32.0") - (source (origin - (method url-fetch) - (uri (string-append "mirror://gnome/sources/zenity/" - (version-major+minor version) "/" - "zenity-" version ".tar.xz")) - (sha256 - (base32 - "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7")))) - (build-system gnu-build-system) + (source + (origin + (method url-fetch) + (uri + (string-append "mirror://gnome/sources/zenity/" + (version-major+minor version) "/" + "zenity-" version ".tar.xz")) + (sha256 + (base32 "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7")))) + (build-system glib-or-gtk-build-system) + (outputs '("out" "help")) + (arguments + `(#:configure-flags + (list + "--enable-libnotify" + "--enable-webkitgtk" + (string-append "--with-help-dir=" + (assoc-ref %outputs "help") + "/share/help")))) (native-inputs `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gtk+:bin" ,gtk+ "bin") ("itstool" ,itstool) - ("pkg-config" ,pkg-config))) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("xmllint" ,libxml2))) (inputs - `(("libnotify" ,libnotify) + `(("glib" ,glib) + ("gtk+" ,gtk+) + ("libnotify" ,libnotify) + ("x11" ,libx11) ("webkitgtk" ,webkitgtk))) - (synopsis "Display graphical dialog boxes from shell scripts") - (home-page "https://www.gnome.org") - (description - "Zenity is a rewrite of gdialog, the GNOME port of dialog which allows you -to display dialog boxes from the commandline and shell scripts.") + (synopsis "Rewrite of gdialog") + (description "Zenity is a tool that allows you to display GTK dialog boxes +in commandline and shell scripts.") + (home-page "https://wiki.gnome.org/Projects/Zenity") (license license:lgpl2.0+))) (define-public mutter -- 2.27.0