guix-patches
[Top][All Lists]
Advanced

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

[bug#32584] [PATCH] gnu: Add yad.


From: pimi
Subject: [bug#32584] [PATCH] gnu: Add yad.
Date: Wed, 5 Sep 2018 12:42:37 +0200

gnu/packages/gtk.scm (yad): New variable
---
 gnu/packages/gtk.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 6c43a3ab5..f89474fe9 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1665,3 +1665,48 @@ Parcellite and adds bugfixes and features.")
 it does not deal with windowing system surfaces, drawing, scene graphs, or
 input.")
     (license license:expat)))
+
+(define-public yad
+  (let ((commit "8957347fc6376bc4ec992adef078a7b53399850e")
+        (revision "1"))
+    (package
+      (name "yad")
+      (version (git-version "0.40.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/v1cont/yad.git";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "04vqm6khqsaar25qa8xaixp6i1jp7v33b32f6i425kfdi6wfr2yb"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:configure-flags
+         '("--with-gtk=gtk3"
+           "--enable-html"
+           "--enable-gio"
+           "--enable-spell"
+           "--enable-icon-browser")
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'bootstrap
+             (lambda _
+               (invoke "autoreconf" "-vif")
+               (invoke "intltoolize" "--force" "--automake")
+               #t)))))
+      (inputs
+       `(("gtk+" ,gtk+)))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("intltool" ,intltool)
+         ("pkg-config" ,pkg-config)))
+      (home-page "https://sourceforge.net/projects/yad-dialog/";)
+      (synopsis "GTK+ dialog boxes for shell scripts")
+      (description
+       "This program allows you to display GTK+ dialog boxes from command line 
or
+shell scripts.  Example of how to use @code{yad} can be consulted at
address@hidden://sourceforge.net/p/yad-dialog/wiki/browse_pages/}.")
+      (license license:gpl3+))))
-- 
2.17.1






reply via email to

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