[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add libhandy.
From: |
guix-commits |
Subject: |
01/01: gnu: Add libhandy. |
Date: |
Mon, 5 Aug 2019 08:07:08 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 213315d48594fe5e77157e8e7a51a1fc822229e6
Author: Jonathan Frederickson <address@hidden>
Date: Sun Aug 4 20:13:00 2019 -0400
gnu: Add libhandy.
* gnu/packages/gnome.scm (libhandy): New variable.
Co-authored-by: Ricardo Wurmus <address@hidden>
Signed-off-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/gnome.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3f7bbac..3e75cc6 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -38,6 +38,7 @@
;;; Copyright © 2019 Florian Pelz <address@hidden>
;;; Copyright © 2019 Giacomo Leidi <address@hidden>
;;; Copyright © 2019 Jelle Licht <address@hidden>
+;;; Copyright © 2019 Jonathan Frederickson <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -8178,3 +8179,51 @@ 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 "0.0.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://source.puri.sm/Librem5/libhandy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1702hbdqhfpgw0c4vj2ag08vgl83byiryrbngbq11b9azmj3jhzs"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:configure-flags
+ '("-Dglade_catalog=disabled"
+ "-Dgtk_doc=true")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-broken-test
+ (lambda _
+ ;; This test fails for unknown reasons
+ (substitute* "tests/meson.build"
+ (("'test-dialog',") ""))
+ #t))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1")
+ #t)))))
+ (inputs
+ `(("gtk+" ,gtk+)))
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection) ; for g-ir-scanner
+ ("vala" ,vala)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)
+ ("gettext" ,gettext-minimal)
+ ("xorg-server" ,xorg-server)))
+ (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 user
+intefaces for mobile devices using GTK+.")
+ (license license:lgpl2.1+)))