unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#36926] [PATCH] gnu: Add libhandy.
@ 2019-08-05  0:13 Jonathan Frederickson
  2019-08-05 12:09 ` bug#36926: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Frederickson @ 2019-08-05  0:13 UTC (permalink / raw)
  To: 36926; +Cc: Jonathan Frederickson

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#36926: [PATCH] gnu: Add libhandy.
  2019-08-05  0:13 [bug#36926] [PATCH] gnu: Add libhandy Jonathan Frederickson
@ 2019-08-05 12:09 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2019-08-05 12:09 UTC (permalink / raw)
  To: Jonathan Frederickson; +Cc: 36926-done


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-05 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-05  0:13 [bug#36926] [PATCH] gnu: Add libhandy Jonathan Frederickson
2019-08-05 12:09 ` bug#36926: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).