guix-commits
[Top][All Lists]
Advanced

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

265/295: gnu: zenity: Update package definition.


From: guix-commits
Subject: 265/295: gnu: zenity: Update package definition.
Date: Mon, 27 Jul 2020 06:26:32 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 1a2ba800874f1019307a318b89d1e0607dc6b9f6
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Wed Jul 15 21:11:06 2020 -0400

    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.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 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 0316a42..f772b9c 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]