unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add libosinfo.
@ 2016-02-13 22:28 rennes
  2016-02-16 13:24 ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: rennes @ 2016-02-13 22:28 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

Hi,
i attached libosinfo patch required for GNOME Boxes.

Considerations:

  a) In the source i used 
"https://fedorahosted.org/releases/l/i/libosinfo" instead 
"mirror://gnome/sources/".
  b) In native inputs, i used "vala" instead "glib:bin"; i follow the 
README.

Thanks.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-libosinfo.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-libosinfo.patch, Size: 2349 bytes --]

From 073a183499bd764b0b0efc246748638c6e4d3aeb Mon Sep 17 00:00:00 2001
From: Rene Saavedra <rennes@openmailbox.org>
Date: Sat, 13 Feb 2016 16:23:10 -0600
Subject: [PATCH] gnu: Add libosinfo.

* gnu/packages/gnome.scm (libosinfo): New variable.

---
 gnu/packages/gnome.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 49e6197..2d7ca89 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -93,6 +93,7 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
   #:use-module (gnu packages webkit)
+  #:use-module (gnu packages wget)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages freedesktop)
@@ -4648,3 +4649,37 @@ as SASL, TLS and VeNCrypt.  Additionally it supports encoding extensions.")
 design and behaviour, giving the user a simple way to navigate and manage its
 files.")
     (license license:gpl2+)))
+
+(define-public libosinfo
+  (package
+    (name "libosinfo")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://fedorahosted.org/releases/l/i/libosinfo/"
+                            name "-" version ".tar.gz"))
+       (sha256
+       (base32
+        "1g7g5hc4lhi4y0j3mbcj19hawlqkflni1zk4aggrx49fg5l392jk"))))
+    (build-system glib-or-gtk-build-system)
+    (native-inputs
+     `(("check" ,check)
+       ("intltool" ,intltool)
+       ("libsoup" ,libsoup)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)
+       ("wget" ,wget)))
+    (inputs
+     `(("libxslt" ,libxslt)))
+    (home-page "https://libosinfo.org")
+    (synopsis "Library for managing information about operating systems")
+    (description
+     "libosinfo is a GObject based library API for managing information about
+operating systems, hypervisors and the (virtual) hardware devices they can
+support.  It includes a database containing device metadata and provides APIs
+to match/identify optimal devices for deploying an operating system on a
+hypervisor.  Via the magic of GObject Introspection, the API is available in all
+common programming languages with demos for javascript (GJS/Seed) and python
+(PyGObject).  Also provided are Vala bindings.")
+    (license license:lgpl2.1+)))
-- 
2.6.3


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

end of thread, other threads:[~2016-08-01 19:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-13 22:28 [PATCH] gnu: Add libosinfo rennes
2016-02-16 13:24 ` Ricardo Wurmus
2016-02-18 15:00   ` rennes
2016-08-01 14:50     ` ng0
2016-08-01 15:01       ` Ricardo Wurmus
2016-08-01 19:49         ` rennes

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).