--- Begin Message ---
Subject: |
[PATCH] gnu: Add libhandy. |
Date: |
Sun, 4 Aug 2019 20:13:00 -0400 |
gnu/packages/gnome.scm (libhandy): New variable.
---
gnu/packages/gnome.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3f7bbac214..6a3e69b5a8 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8178,3 +8178,40 @@ advanced image management tool")
"Terminator allows you to run multiple GNOME terminals in a grid and
+tabs, and it supports drag and drop re-ordering of terminals.")
(license license:gpl2)))
+
+(define-public libhandy
+ (package
+ (name "libhandy")
+ (version "v0.0.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://source.puri.sm/Librem5/libhandy")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1702hbdqhfpgw0c4vj2ag08vgl83byiryrbngbq11b9azmj3jhzs"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:tests? #f
+ #:configure-flags '("-Dglade_catalog=disabled")))
+ (inputs
+ `(("gobject-introspection" ,gobject-introspection)
+ ("gtk-doc" ,gtk-doc)
+ ("glib" ,glib)
+ ("gladeui" ,libglade)
+ ("gnome-desktop" ,gnome-desktop)
+ ("gtk+" ,gtk+)
+ ("libxml2" ,libxml2)
+ ("vala" ,vala)
+ ("glade" ,glade3)))
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("pkg-config" ,pkg-config)
+ ("gettext" ,gettext-minimal)))
+ (home-page "https://source.puri.sm/Librem5/libhandy")
+ (synopsis "Library full of GTK+ widgets for mobile phones")
+ (description "The aim of the handy library is to help with developing UI
+for mobile devices using GTK+/GNOME.")
+ (license license:lgpl2.1+)))
--
2.22.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#36926] [PATCH] gnu: Add libhandy. |
Date: |
Mon, 05 Aug 2019 14:09:39 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Hi Jonathan,
thank you for this patch!
I applied a modified version of it with commit 213315d485 after these
changes:
* added a copyright line for you
* removed the āvā from the version field (and added it to the
git-reference instead)
* removed unneeded inputs
* moved some inputs to the native-inputs
* enabled tests (except for one)
* edited the description a little
Thanks again for your contribution!
--
Ricardo
--- End Message ---