GNU bug report logs - #39579
[PATCH 0/3] Include operating systems list in virt-manager.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Brice Waegeneire <brice@HIDDEN>; Keywords: patch; Done: Jakub Kądziołka <kuba@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 39579-done <at> debbugs.gnu.org:


Received: (at 39579-done) by debbugs.gnu.org; 19 Feb 2020 22:05:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 19 17:05:33 2020
Received: from localhost ([127.0.0.1]:43491 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j4XTJ-0005Tx-CF
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2020 17:05:33 -0500
Received: from pat.zlotemysli.pl ([37.59.186.212]:49442)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kuba@HIDDEN>) id 1j4XTH-0005Tl-Ci
 for 39579-done <at> debbugs.gnu.org; Wed, 19 Feb 2020 17:05:32 -0500
Received: (qmail 5023 invoked by uid 1009); 19 Feb 2020 23:05:28 +0100
Received: from user-5-173-112-45.play-internet.pl
 (kuba@HIDDEN@user-5-173-112-45.play-internet.pl) by pat (envelope-from
 <kuba@HIDDEN>, uid 1002) with qmail-scanner-2.08st 
 (clamdscan: 0.98.6/25727. spamassassin: 3.4.0. perlscan: 2.08st.  
 Clear:RC:1(5.173.112.45):. 
 Processed in 0.020135 secs); 19 Feb 2020 22:05:28 -0000
Received: from user-5-173-112-45.play-internet.pl (HELO gravity)
 (kuba@HIDDEN@5.173.112.45)
 by pat.zlotemysli.pl with SMTP; 19 Feb 2020 23:05:28 +0100
Date: Wed, 19 Feb 2020 23:06:07 +0100
From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= <kuba@HIDDEN>
To: 39579-done <at> debbugs.gnu.org
Subject: Done: Include operating systems list in virt-manager
Message-ID: <20200219220607.r446h5r7xff3hlm4@gravity>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="gkja5t42wb3fgla7"
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39579-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--gkja5t42wb3fgla7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

It seems that my mail didn't get sent due to flaky internet, but I've
pushed the patches to master - closing.

--gkja5t42wb3fgla7
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl5NsUoACgkQ4xWnWEYT
FWQj9RAAuMs8ByRmdeu/vLfo+QJZaOMcb+RkK4hVFq9uK7JNBQ+7DqYi6pwHlZ2e
On40+WatOXz+q7qArvfLPAr8WdK1DV0ViOjGPguXc+MMW+iZHgmYz3KkyES3svUf
Ut5e+uXcPja6gSeK+ANWhC1WLquwv0h8JOSNc2fgkIL0xTy9adVkyoRdZiZXpGw6
9m9aRD1+sQlYxi9lLX1ioY8iYpu0LfTsqlzEaZqn+UD2BMxSH4LdUjQ+Tw4kquta
9nkgrnrnhg6Sw9PYunSEapke4mYYfsa4ZjuWGDfxLv9OnPQLFxaO8cvdWRfFUiZi
gIrRjn5MyTckxddm2Sb+hSFm7LD2gJ1DCDAV5tKOFL67tCm8S08zS8/Eo+1aC2hn
TNBsEUXT61IIwvLXjX+o1AEScd0wobzEZRc3iHkbCxf7lPJBnWZPSrZcxRuj4m2M
80sFI3wrXi1Uj7jHG1pDyxK0L3mtZVhPjMszxH6Lv9C8dUyQzkqJhXNicayAhTn+
0XGD8ZIDInN9P63DJs2YSMnavvv+y8rW5Q578vT3aJrtj/aJNHuYWqexwmclMbsR
bify9qzAVnGTeGr2eRSW1lqni9qyzv4t/nHq2uiUVJTmOeioC3nEtFyRz2Vdmy6q
swpsAzmbeSN03asvhqG7Y21WXaxF7/E437xid4h3u0QxPULaXUc=
=T4XK
-----END PGP SIGNATURE-----

--gkja5t42wb3fgla7--




Notification sent to Brice Waegeneire <brice@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Jakub Kądziołka <kuba@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 20:47:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 15:47:35 2020
Received: from localhost ([127.0.0.1]:37753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j3QpD-00077q-3j
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2020 15:47:35 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:58179)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brice@HIDDEN>) id 1j3QpA-00077U-6n
 for 39579 <at> debbugs.gnu.org; Sun, 16 Feb 2020 15:47:32 -0500
X-Originating-IP: 78.237.113.178
Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net
 [78.237.113.178]) (Authenticated sender: brice@HIDDEN)
 by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 472FD60007
 for <39579 <at> debbugs.gnu.org>; Sun, 16 Feb 2020 20:47:31 +0000 (UTC)
From: Brice Waegeneire <brice@HIDDEN>
To: 39579 <at> debbugs.gnu.org
Subject: [PATCH v2 3/3] gnu: libosinfo: Include operating systems list.
Date: Sun, 16 Feb 2020 21:47:12 +0100
Message-Id: <20200216204712.16592-4-brice@HIDDEN>
X-Mailer: git-send-email 2.25.0
In-Reply-To: <20200212163046.15761-1-brice@HIDDEN>
References: <20200212163046.15761-1-brice@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39579
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

* gnu/packages/virtualization.scm (libosinfo)[inputs]: Add osinfo-db and
remove gobject-introspection.
[native-inputs]: Add gobject-introspection.
[arguments]: Add phase patch.

squash! gnu: virt-manager: Include operating systems list.
---
 gnu/packages/virtualization.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 308cadbe14..c34f742655 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -328,14 +328,24 @@ server and embedded PowerPC, and S390 guests.")
        (list (string-append "-Dwith-usb-ids-path="
                             (assoc-ref %build-inputs "usb.ids"))
              (string-append "-Dwith-pci-ids-path="
-                            (assoc-ref %build-inputs "pci.ids")))))
+                            (assoc-ref %build-inputs "pci.ids")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-osinfo-path
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "osinfo/osinfo_loader.c"
+               (("path = DATA_DIR.*")
+                (string-append "path = \"" (assoc-ref inputs "osinfo-db")
+                               "/share/osinfo\";")))
+             #t)))))
     (inputs
      `(("libsoup" ,libsoup)
        ("libxml2" ,libxml2)
        ("libxslt" ,libxslt)
-       ("gobject-introspection" ,gobject-introspection)))
+       ("osinfo-db" ,osinfo-db)))
     (native-inputs
      `(("glib" ,glib "bin")  ; glib-mkenums, etc.
+       ("gobject-introspection" ,gobject-introspection)
        ("gtk-doc" ,gtk-doc)
        ("vala" ,vala)
        ("intltool" ,intltool)
-- 
2.25.0





Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 20:47:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 15:47:32 2020
Received: from localhost ([127.0.0.1]:37750 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j3Qp9-00077W-Q8
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2020 15:47:32 -0500
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:46235)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brice@HIDDEN>) id 1j3Qp7-00077L-4k
 for 39579 <at> debbugs.gnu.org; Sun, 16 Feb 2020 15:47:30 -0500
X-Originating-IP: 78.237.113.178
Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net
 [78.237.113.178]) (Authenticated sender: brice@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 2D442FF805
 for <39579 <at> debbugs.gnu.org>; Sun, 16 Feb 2020 20:47:28 +0000 (UTC)
From: Brice Waegeneire <brice@HIDDEN>
To: 39579 <at> debbugs.gnu.org
Subject: [PATCH v2 2/3] gnu: osinfo-db: Add osinfo-db.
Date: Sun, 16 Feb 2020 21:47:11 +0100
Message-Id: <20200216204712.16592-3-brice@HIDDEN>
X-Mailer: git-send-email 2.25.0
In-Reply-To: <20200212163046.15761-1-brice@HIDDEN>
References: <20200212163046.15761-1-brice@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39579
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

* gnu/packages/virtualization.scm (osinfo-db): New variable.
---
 gnu/packages/virtualization.scm | 37 +++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index ca8f143f51..308cadbe14 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -92,6 +92,7 @@
   #:use-module (guix build-system go)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system trivial)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -1418,3 +1419,39 @@ which is a hypervisor.")
     (description "This package contains a set of tools to assist
 administrators and developers in managing the database.")
     (license license:lgpl2.0+)))
+
+(define-public osinfo-db
+  (package
+    (name "osinfo-db")
+    (version "20200203")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://releases.pagure.org/libosinfo/osinfo-db-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1zjq1dhlci00j17dij7s3l30hybzmaykpk5b6bd5xbllp745njn5"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let* ((out (assoc-ref %outputs "out"))
+                (osinfo-dir (string-append out "/share/osinfo"))
+                (source (assoc-ref %build-inputs "source"))
+                (osinfo-db-import
+                 (string-append (assoc-ref %build-inputs "osinfo-db-tools")
+                                "/bin/osinfo-db-import")))
+           (mkdir-p osinfo-dir)
+           (invoke osinfo-db-import "--dir" osinfo-dir source)
+           #t))))
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("osinfo-db-tools" ,osinfo-db-tools)))
+    (home-page "https://gitlab.com/libosinfo/osinfo-db")
+    (synopsis "Database of information about operating systems")
+    (description "Osinfo-db provides the database files for use with the
+libosinfo library.  It provides information about guest operating systems for
+use with virtualization provisioning tools")
+    (license license:lgpl2.0+)))
-- 
2.25.0





Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 20:47:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 15:47:31 2020
Received: from localhost ([127.0.0.1]:37747 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j3Qp6-00077J-3O
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2020 15:47:31 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60645)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brice@HIDDEN>) id 1j3Qp4-00077B-QS
 for 39579 <at> debbugs.gnu.org; Sun, 16 Feb 2020 15:47:27 -0500
X-Originating-IP: 78.237.113.178
Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net
 [78.237.113.178]) (Authenticated sender: brice@HIDDEN)
 by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id ED66A60009
 for <39579 <at> debbugs.gnu.org>; Sun, 16 Feb 2020 20:47:24 +0000 (UTC)
From: Brice Waegeneire <brice@HIDDEN>
To: 39579 <at> debbugs.gnu.org
Subject: [PATCH v2 1/3] gnu: osinfo-db-tools: Add osinfo-db-tools.
Date: Sun, 16 Feb 2020 21:47:10 +0100
Message-Id: <20200216204712.16592-2-brice@HIDDEN>
X-Mailer: git-send-email 2.25.0
In-Reply-To: <20200212163046.15761-1-brice@HIDDEN>
References: <20200212163046.15761-1-brice@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39579
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

* gnu/packages/virtualization.scm (osinfo-db-tools): New variable.
---
 gnu/packages/virtualization.scm | 36 +++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 3670b396a5..ca8f143f51 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2018 Sou Bunnbu <iyzsong@HIDDEN>
 ;;; Copyright © 2018 Julien Lepiller <julien@HIDDEN>
 ;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon@HIDDEN>
+;;; Copyright © 2020 Brice Waegeneire <brice@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33,6 +34,7 @@
   #:use-module (gnu packages assembly)
   #:use-module (gnu packages attr)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages backup)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
@@ -1382,3 +1384,37 @@ which is a hypervisor.")
     ;; TODO: Some files are licensed differently.  List those.
     (license license:gpl2)
     (supported-systems '("i686-linux" "x86_64-linux" "armhf-linux"))))
+
+(define-public osinfo-db-tools
+  (package
+    (name "osinfo-db-tools")
+    (version "1.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://releases.pagure.org/libosinfo/osinfo-db-tools-"
+                                  version ".tar.xz"))
+
+              (sha256
+               (base32
+                "08x8mrafphyll0d35xdc143rip3ahrz6bmzhc85nwhq7yk2vxpab"))))
+    (build-system meson-build-system)
+    (inputs
+     `(("libsoup" ,libsoup)
+       ("libxml2" ,libxml2)
+       ("libxslt" ,libxslt)
+       ("json-glib" ,json-glib)
+       ("libarchive" ,libarchive)))
+    (native-inputs
+     `(("perl" ,perl)
+       ("gobject-introspection" ,gobject-introspection)
+       ("gettext" ,gettext-minimal)
+       ("pkg-config" ,pkg-config)
+       ;; Tests
+       ("python" ,python)
+       ("pytest" ,python-pytest)
+       ("requests" ,python-requests)))
+    (home-page "https://gitlab.com/libosinfo/osinfo-db-tools")
+    (synopsis "Tools for managing the osinfo database")
+    (description "This package contains a set of tools to assist
+administrators and developers in managing the database.")
+    (license license:lgpl2.0+)))
-- 
2.25.0





Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 20:47:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 15:47:24 2020
Received: from localhost ([127.0.0.1]:37744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j3Qp1-000772-Qx
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2020 15:47:24 -0500
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:60731)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brice@HIDDEN>) id 1j3Qoz-00076t-Jd
 for 39579 <at> debbugs.gnu.org; Sun, 16 Feb 2020 15:47:22 -0500
X-Originating-IP: 78.237.113.178
Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net
 [78.237.113.178]) (Authenticated sender: brice@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 8E296FF805
 for <39579 <at> debbugs.gnu.org>; Sun, 16 Feb 2020 20:47:19 +0000 (UTC)
From: Brice Waegeneire <brice@HIDDEN>
To: 39579 <at> debbugs.gnu.org
Subject: [PATCH v2 0/3] Include operating systems list in virt-manager.
Date: Sun, 16 Feb 2020 21:47:09 +0100
Message-Id: <20200216204712.16592-1-brice@HIDDEN>
X-Mailer: git-send-email 2.25.0
In-Reply-To: <20200212163046.15761-1-brice@HIDDEN>
References: <20200212163046.15761-1-brice@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39579
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

The useless configure-flag of osinfo-db-tools has been removed and the
package definition has been linted. osinfo-db has been linted and it's
build call osinfo-db-import by it's absolute path. The commit message
refering to virt-manager has been by the correct libosinfo, the libosinfo
patch phase has been renamed and gobject-introspection has been moved to
native-inputs as suggested by guix lint.

Brice Waegeneire (3):
  gnu: osinfo-db-tools: Add osinfo-db-tools.
  gnu: osinfo-db: Add osinfo-db.
  gnu: libosinfo: Include operating systems list.

 gnu/packages/virtualization.scm | 87 ++++++++++++++++++++++++++++++++-
 1 file changed, 85 insertions(+), 2 deletions(-)

-- 
2.25.0





Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 19:56:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 14:56:02 2020
Received: from localhost ([127.0.0.1]:37734 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j3Q1K-0005v0-Jv
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2020 14:56:02 -0500
Received: from pat.zlotemysli.pl ([37.59.186.212]:45098)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kuba@HIDDEN>) id 1j3Q1I-0005ua-Kn
 for 39579 <at> debbugs.gnu.org; Sun, 16 Feb 2020 14:56:01 -0500
Received: (qmail 30117 invoked by uid 1009); 16 Feb 2020 20:55:58 +0100
Received: from 188.123.215.55 (kuba@HIDDEN@188.123.215.55) by pat
 (envelope-from <kuba@HIDDEN>, uid 1002) with qmail-scanner-2.08st 
 (clamdscan: 0.98.6/25724. spamassassin: 3.4.0. perlscan: 2.08st.  
 Clear:RC:1(188.123.215.55):. 
 Processed in 0.022808 secs); 16 Feb 2020 19:55:58 -0000
Received: from unknown (HELO gravity) (kuba@HIDDEN@188.123.215.55)
 by pat.zlotemysli.pl with SMTP; 16 Feb 2020 20:55:58 +0100
Date: Sun, 16 Feb 2020 20:56:35 +0100
From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= <kuba@HIDDEN>
To: Brice Waegeneire <brice@HIDDEN>
Subject: Re: [bug#39579] [PATCH 1/3] gnu: osinfo-db-tools: Add osinfo-db-tools.
Message-ID: <20200216195635.gvlcmjdeodahmtpi@gravity>
References: <20200212163046.15761-1-brice@HIDDEN>
 <20200212163711.17468-1-brice@HIDDEN>
 <20200216191016.p4lbyjdvpkz4uuou@gravity>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="bsn3rbq7p6mjbxg5"
Content-Disposition: inline
In-Reply-To: <20200216191016.p4lbyjdvpkz4uuou@gravity>
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 39579
Cc: 39579 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)


--bsn3rbq7p6mjbxg5
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 16, 2020 at 08:10:18PM +0100, Jakub K=C4=85dzio=C5=82ka wrote:
> On Wed, Feb 12, 2020 at 05:37:09PM +0100, Brice Waegeneire wrote:
> > +(define-public osinfo-db-tools
> > +  (package
> > +    (name "osinfo-db-tools")
> > +    (version "1.7.0")
> > +    (source (origin
> > +              (method url-fetch)
> > +              (uri (string-append "https://releases.pagure.org/libosin=
fo/osinfo-db-tools-"
> > +                                  version ".tar.xz"))
> > +
> > +              (sha256
> > +               (base32
> > +                "08x8mrafphyll0d35xdc143rip3ahrz6bmzhc85nwhq7yk2vxpab"=
))))
> > +    (build-system meson-build-system)
> > +    (arguments
> > +     `(#:configure-flags
> > +       (list (string-append "--prefix=3D" (assoc-ref %outputs "out")))=
))
> If I'm reading the source correctly, this argument isn't even used by
> meson-build-system. Why is this necessary?
Okay, I wasn't reading the source correctly, Vim's
search-at-word-boundaries hid the point where the variable is being
used. Still, the prefix option is already being set by
meson-build-system itself. I'm confused as to what this argument
is supposed to do.

--bsn3rbq7p6mjbxg5
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl5Jnm0ACgkQ4xWnWEYT
FWQBMA//Zn93V4WaDz1w3aW7+24FmFth6lfZjogI/KjKhO/JTgQSXztBXdXnRugk
wLzFCsJyq7zPvKahz+n2MP1dcVtGLRXLbJPL2tqO2djpoIBilnH8AhyczwsjUUE3
/Nj5o76M+jmv01zm8I0XNuWZb18I6hDtuKxq3mTabJpXvnrcI+T5vD73PpFS4QM9
rLMJJ3K5hSFqQgKGPT+lvPWcxDsK9/Al7ag+OzIcvLNNQvg3fy8N2MPNM8oUFLs8
jcbiepaX4c/rpwNaL2259kTHaB2OrgwSL3TcpFhuC+nyGNkr9VWJNsKUPk+CSn1h
ryFyRrptijg7fUNz/JZfgpepROtok/oL4NRNUM5b+KPCZX+Wjg79rlaE8lT/OmzQ
0zSapjsSiWSchSQjtpS1hIS/xgmbIvh5+VhCi8ZAR4LRIqizqIHhnHCqbRZ0UbVu
YANzXxIUCsupu4vORq+GZEPFqw36IgE6iZMUcx31p/K8ledh0E9F5+EZIFYDcUBG
4jr48dI6ARepomSu1yI3VMaJMV+YBgT1agrqQCj8qrLMMzFHAnr/wtJSPUp1PrGD
n9bJWJGmMm8gZNEJnmpCGmK4ssYTJQiBySS3NQc0kwI17SFaHdoUB5ylPexN8Mjb
8k8R+FT2uIJWYFeg8g247X0cOvaFQbf1f+I9t7pTk/tCX699384=
=5Htu
-----END PGP SIGNATURE-----

--bsn3rbq7p6mjbxg5--




Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 19:26:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 14:26:54 2020
Received: from localhost ([127.0.0.1]:37697 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j3PZ8-0005Cn-Ne
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2020 14:26:54 -0500
Received: from pat.zlotemysli.pl ([37.59.186.212]:57064)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kuba@HIDDEN>) id 1j3PZ6-0005Ce-Dd
 for 39579 <at> debbugs.gnu.org; Sun, 16 Feb 2020 14:26:53 -0500
Received: (qmail 21735 invoked by uid 1009); 16 Feb 2020 20:26:50 +0100
Received: from 188.123.215.55 (kuba@HIDDEN@188.123.215.55) by pat
 (envelope-from <kuba@HIDDEN>, uid 1002) with qmail-scanner-2.08st 
 (clamdscan: 0.98.6/25724. spamassassin: 3.4.0. perlscan: 2.08st.  
 Clear:RC:1(188.123.215.55):. 
 Processed in 0.03524 secs); 16 Feb 2020 19:26:50 -0000
Received: from unknown (HELO gravity) (kuba@HIDDEN@188.123.215.55)
 by pat.zlotemysli.pl with SMTP; 16 Feb 2020 20:26:50 +0100
Date: Sun, 16 Feb 2020 20:27:27 +0100
From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= <kuba@HIDDEN>
To: Brice Waegeneire <brice@HIDDEN>
Subject: Re: [bug#39579] [PATCH 3/3] gnu: virt-manager: Include operating
 systems list.
Message-ID: <20200216192727.tch6jaicdyurdho6@gravity>
References: <20200212163046.15761-1-brice@HIDDEN>
 <20200212163711.17468-3-brice@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="6ie4mqutyni33jc7"
Content-Disposition: inline
In-Reply-To: <20200212163711.17468-3-brice@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39579
Cc: 39579 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--6ie4mqutyni33jc7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 12, 2020 at 05:37:11PM +0100, Brice Waegeneire wrote:
> * gnu/packages/virtualization.scm (virt-manager)[inputs]: Add osinfo-db.
> [arguments]: Add phase patch.
> ---
>  gnu/packages/virtualization.scm | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)
>=20
> diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualizatio=
n.scm
> index 3769ece889..222d59d8bc 100644
> --- a/gnu/packages/virtualization.scm
> +++ b/gnu/packages/virtualization.scm
> @@ -328,12 +328,22 @@ server and embedded PowerPC, and S390 guests.")
>         (list (string-append "-Dwith-usb-ids-path=3D"
>                              (assoc-ref %build-inputs "usb.ids"))
>               (string-append "-Dwith-pci-ids-path=3D"
> -                            (assoc-ref %build-inputs "pci.ids")))))
> +                            (assoc-ref %build-inputs "pci.ids")))
> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'patch
> +           (lambda* (#:key inputs #:allow-other-keys)
> +             (substitute* "osinfo/osinfo_loader.c"
> +               (("path =3D DATA_DIR.*")
> +                (string-append "path =3D \"" (assoc-ref inputs "osinfo-d=
b")
> +                               "/share/osinfo\";")))
> +             #t)))))
'patch is somewhat non-descriptive, how about 'patch-osinfo-path ?

>      (inputs
>       `(("libsoup" ,libsoup)
>         ("libxml2" ,libxml2)
>         ("libxslt" ,libxslt)
> -       ("gobject-introspection" ,gobject-introspection)))
> +       ("gobject-introspection" ,gobject-introspection)
> +       ("osinfo-db" ,osinfo-db)))
>      (native-inputs
>       `(("glib" ,glib "bin")  ; glib-mkenums, etc.
>         ("gtk-doc" ,gtk-doc)
> --=20
> 2.25.0

--6ie4mqutyni33jc7
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl5Jl58ACgkQ4xWnWEYT
FWQONg//Vwo5MxkUro+L7EXYUiIKyHV6ZnhX+l6W1x5x6nZOYIZbUzlNsg0h4K/S
Dh3yr2xfR8eHPDyx3rWNzgctED3PpiFOk/QkEeyWBu8G+NxtLGWYLyxFJxn3MB6/
InKS1vQZCRqZKEr/4wFvONVrPP/l83wWgutLU2GCgVnG0tunJ1bWPIKP4JhiChjC
2mr/fiVa81nqTLZky2T7ZGpiuiWd83eO1zAlBFUjmGvosqFTPpExajt2PzvWvCzH
GmPZa293IlgHWBI4JP9LRKkTkAACx4YOZdaoEhwg4IebUmsJV/hg6LFG3CyT2hJA
1xYCoazixZkmW45cXKqfR4EZEFMpbQin527Df4nZvQx7jqxI60hAZ9V5SvEBAwEZ
VMmqLItEYV5W4z5Ub94weHm1ncaPR6Ik8y6kyAow10MXxtjRn6rrut5jgLOsJ03t
gzW2xzVNgSjLT1sWFsGMb89mfEv2y7Ij/mkkMhRj6RmJQkUbs0q/Qb9+dvD1i9c3
vAhQolLL+BJ7LUwRZbz+E0m2enJgYuAZiCq1j/CB8wmH6jSK06+52umMjSfJSwJu
UITiHFkOUU5V4NQF98JHILB8TmQ3asIFenb1+3euiKYtl8d4pSX7rggLpBgfKaCU
QN6tdJ5vR/h1cJb3tzagCeEDHMyiXuVRo1e6FLJ/h1Wxn4raZVE=
=x6pw
-----END PGP SIGNATURE-----

--6ie4mqutyni33jc7--




Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 19:12:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 14:12:30 2020
Received: from localhost ([127.0.0.1]:37693 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j3PLC-0004s0-C3
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2020 14:12:30 -0500
Received: from pat.zlotemysli.pl ([37.59.186.212]:49446)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kuba@HIDDEN>) id 1j3PLA-0004rs-NS
 for 39579 <at> debbugs.gnu.org; Sun, 16 Feb 2020 14:12:29 -0500
Received: (qmail 19046 invoked by uid 1009); 16 Feb 2020 20:12:27 +0100
Received: from 188.123.215.55 (kuba@HIDDEN@188.123.215.55) by pat
 (envelope-from <kuba@HIDDEN>, uid 1002) with qmail-scanner-2.08st 
 (clamdscan: 0.98.6/25724. spamassassin: 3.4.0. perlscan: 2.08st.  
 Clear:RC:1(188.123.215.55):. 
 Processed in 0.024792 secs); 16 Feb 2020 19:12:27 -0000
Received: from unknown (HELO gravity) (kuba@HIDDEN@188.123.215.55)
 by pat.zlotemysli.pl with SMTP; 16 Feb 2020 20:12:27 +0100
Date: Sun, 16 Feb 2020 20:13:04 +0100
From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= <kuba@HIDDEN>
To: Brice Waegeneire <brice@HIDDEN>
Subject: Re: [bug#39579] [PATCH 2/3] gnu: osinfo-db: Add osinfo-db.
Message-ID: <20200216191304.coce5czm3ayji3dc@gravity>
References: <20200212163046.15761-1-brice@HIDDEN>
 <20200212163711.17468-2-brice@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="ej3s3hkwbnuz3vcf"
Content-Disposition: inline
In-Reply-To: <20200212163711.17468-2-brice@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39579
Cc: 39579 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--ej3s3hkwbnuz3vcf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Feb 12, 2020 at 05:37:10PM +0100, Brice Waegeneire wrote:
> +(define-public osinfo-db
> +  (package
> +    (name "osinfo-db")
> +    (version "20200203")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "https://releases.pagure.org/libosinfo/osinfo-db-"
> +                                  version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "1zjq1dhlci00j17dij7s3l30hybzmaykpk5b6bd5xbllp745njn5"))))
> +    (build-system trivial-build-system)
> +    (arguments
> +     `(#:modules ((guix build utils))
> +       #:builder
> +       (begin
> +         (use-modules (guix build utils))
> +         (let* ((out (assoc-ref %outputs "out"))
> +                (osinfo-dir (string-append out "/share/osinfo"))
> +                (source (assoc-ref %build-inputs "source")))
> +           (set-path-environment-variable
> +            "PATH" '("bin")
> +            (list (assoc-ref %build-inputs "osinfo-db-tools")))
> +           (mkdir-p osinfo-dir)
> +           (invoke "osinfo-db-import" "--dir" osinfo-dir source)
Wouldn't it be simpler to invoke osinfo-db-import with a full path to
the binary instead of adding to $PATH?

> +           #t))))
> +    (native-inputs
> +     `(("intltool" ,intltool)
> +       ("osinfo-db-tools" ,osinfo-db-tools)))
> +    (home-page "https://gitlab.com/libosinfo/osinfo-db")
> +    (synopsis "Database of information about operating systems")
> +    (description "Osinfo-db provides the database files for use with the
> +libosinfo library. It provides information about guest operating systems for
                    ^^
Use two spaces after a sentence. (please run guix lint on your packages)

> +use with virtualization provisioning tools")
> +    (license license:lgpl2.0+)))

--ej3s3hkwbnuz3vcf
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl5JlEAACgkQ4xWnWEYT
FWTPYRAAzBwlhC+5cJwj3Z5oKp7SZtFV5VY+PhasWqgzNz8Jn7tJb/U/rgrMT9Ez
UvbUlBKnXixzTp/kcCMJ9nYXFiNMGKiV3A3UAXRB/zsB0E9OB5tHD6X+r3ibLn1o
kCaLNJjMR/0xG+D84qSMWSWqCLWxVRsk8YhG4j4PDesFVMDTJiav5t6bnPI4Fnx7
qvpXSrlBZ1HPYdeXupT0nb6Uht7htNmC/WjjcJXOYXGlOhKwjA1CDrvkYtWC5E8v
+MFJlObWf6rV+ha4Ibgk43t2qdLclrv/dE9l/45y2BKwirPZtKyq5uAkncgGvKmg
mowbSgKJrAZkYGWrhPaOo2bLiJtBGJHHfYdcm9MjYUqwLQGlm5Z8uZk0meDCsJ3f
bMB8Ki0x8sY5koAFQqeZHUjL1iWSI4AZ1QgkZU3rziqXNvoZ2XUWTspc5kfDElMC
NZ/XAL4gzl0ZRry695NFhUYyIB/hTN6DPz0KfIoSPYuUWBprzh4oEpk09U1pxgHv
zQA8dKUVigZUR/XGVIaOzeiXpC/LGmkcVR1KDMzMBAyqQxfXGDOdsUcNkzcdjmSl
npbYTdF8jlJuWTo9ubpD5ybN7fWa8YesLqHCTVoBaOvflSEPgavxTFfcyc0toDIA
3C4ML12ReqNaiyAFmIuRFTxwSeYQ++B2wzLw3h7QfO9KHKigPW0=
=Zo6E
-----END PGP SIGNATURE-----

--ej3s3hkwbnuz3vcf--




Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 16 Feb 2020 19:09:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 14:09:44 2020
Received: from localhost ([127.0.0.1]:37688 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j3PIV-0004no-RW
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2020 14:09:44 -0500
Received: from pat.zlotemysli.pl ([37.59.186.212]:47758)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kuba@HIDDEN>) id 1j3PIT-0004ne-Fi
 for 39579 <at> debbugs.gnu.org; Sun, 16 Feb 2020 14:09:42 -0500
Received: (qmail 18687 invoked by uid 1009); 16 Feb 2020 20:09:39 +0100
Received: from 188.123.215.55 (kuba@HIDDEN@188.123.215.55) by pat
 (envelope-from <kuba@HIDDEN>, uid 1002) with qmail-scanner-2.08st 
 (clamdscan: 0.98.6/25724. spamassassin: 3.4.0. perlscan: 2.08st.  
 Clear:RC:1(188.123.215.55):. 
 Processed in 0.029465 secs); 16 Feb 2020 19:09:39 -0000
Received: from unknown (HELO gravity) (kuba@HIDDEN@188.123.215.55)
 by pat.zlotemysli.pl with SMTP; 16 Feb 2020 20:09:39 +0100
Date: Sun, 16 Feb 2020 20:10:16 +0100
From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= <kuba@HIDDEN>
To: Brice Waegeneire <brice@HIDDEN>
Subject: Re: [bug#39579] [PATCH 1/3] gnu: osinfo-db-tools: Add osinfo-db-tools.
Message-ID: <20200216191016.p4lbyjdvpkz4uuou@gravity>
References: <20200212163046.15761-1-brice@HIDDEN>
 <20200212163711.17468-1-brice@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="ixli7dme3vjkveht"
Content-Disposition: inline
In-Reply-To: <20200212163711.17468-1-brice@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 39579
Cc: 39579 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--ixli7dme3vjkveht
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 12, 2020 at 05:37:09PM +0100, Brice Waegeneire wrote:
> +(define-public osinfo-db-tools
> +  (package
> +    (name "osinfo-db-tools")
> +    (version "1.7.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "https://releases.pagure.org/libosinfo=
/osinfo-db-tools-"
> +                                  version ".tar.xz"))
> +
> +              (sha256
> +               (base32
> +                "08x8mrafphyll0d35xdc143rip3ahrz6bmzhc85nwhq7yk2vxpab"))=
))
> +    (build-system meson-build-system)
> +    (arguments
> +     `(#:configure-flags
> +       (list (string-append "--prefix=3D" (assoc-ref %outputs "out")))))
If I'm reading the source correctly, this argument isn't even used by
meson-build-system. Why is this necessary?

> +    (inputs
> +     `(("libsoup" ,libsoup)
> +       ("libxml2" ,libxml2)
> +       ("libxslt" ,libxslt)
> +       ("json-glib" ,json-glib)
> +       ("libarchive" ,libarchive)
> +       ("gobject-introspection" ,gobject-introspection)))
guix lint suggests that g-i should be a native-input

> +    (native-inputs
> +     `(("perl" ,perl)
> +       ("gettext" ,gettext-minimal)
> +       ("pkg-config" ,pkg-config)
> +       ;; Tests
> +       ("python" ,python)
> +       ("pytest" ,python-pytest)
> +       ("requests" ,python-requests)
> +       ))
You cruel madman, these parenthesis must be feeling quite lonely ;)

> +    (home-page "https://gitlab.com/libosinfo/osinfo-db-tools")
> +    (synopsis "Tools for managing the osinfo database")
> +    (description "This package contains a set of tools to assist adminis=
trators and
> +developers in managing the database.")
Please break lines at 80 characters when not inconvenient.

> +    (license license:lgpl2.0+)))
> --=20
> 2.25.0

--ixli7dme3vjkveht
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl5Jk5gACgkQ4xWnWEYT
FWSaeRAAyH1GI6nJ2JmeKGQ3nZnznmvnBd6JkEbcZkhqzdGoV1rbjyiP8qDG51HQ
+OR6OFNuCu4c8QOYaN9BZ44X0wKgOerzCN4+F5Y7+FXHkXdr1idgKb1iimFxF2pN
y0prf3C7MkzcfLqviysL23/K23SDUWkEjvFOlGh7itRUYZQVdTYLqkEFkfsaOedH
7BRrgmyh1U4WOGBG00ozs3fyHmKjVU4h7X8OQLanEfrDbetcGpAX1+o3g3iRbUvi
JzyDYzfWCqjg5ke7tIN3YiUGmxs5AJ6e29UW+dQ0TgOWApoxXoMncLdmBsiexEN9
WY7yAO5j0F3huCExljWzUxyEu6evAGnk6riQ1H/PE9FHoZnrOCRq4/6i5gI3gJvi
BvAAXTdKLi9B3M+KSBKLsXYcpq5F9YC+3NjyUOsDIKHh0JVa9AXc+VNNESHSYfyN
RQi1IuBIEgxEqJqJI9ou3Ti9WLKf54rtbLnlYN2sf4ocMNHWnqpB4dlxukU3tH86
vqQA7EQfXvs2OQO2V6AAKI8U8HRN8lStVfZVMss0C7EM7dbnx38ykTUy49utjArn
4CFXIPvKt8Sc//i2iDwbhpi0fGXOG8QZ09b6QXKfqvc8LF/Yr8EHNXZB9mtdzkLA
J+TBZ/2PJ9yFlx2vzrs8BrnW2rjX0rZLR6kTszEAkL+yX+2oAkw=
=U+OK
-----END PGP SIGNATURE-----

--ixli7dme3vjkveht--




Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 12 Feb 2020 16:37:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 11:37:26 2020
Received: from localhost ([127.0.0.1]:58983 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1v0w-0004ky-2l
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2020 11:37:26 -0500
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:52493)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brice@HIDDEN>) id 1j1v0u-0004ke-6T
 for 39579 <at> debbugs.gnu.org; Wed, 12 Feb 2020 11:37:24 -0500
X-Originating-IP: 78.237.113.178
Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net
 [78.237.113.178]) (Authenticated sender: brice@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 4CDC71C0010
 for <39579 <at> debbugs.gnu.org>; Wed, 12 Feb 2020 16:37:23 +0000 (UTC)
From: Brice Waegeneire <brice@HIDDEN>
To: 39579 <at> debbugs.gnu.org
Subject: [PATCH 3/3] gnu: virt-manager: Include operating systems list.
Date: Wed, 12 Feb 2020 17:37:11 +0100
Message-Id: <20200212163711.17468-3-brice@HIDDEN>
X-Mailer: git-send-email 2.25.0
In-Reply-To: <20200212163046.15761-1-brice@HIDDEN>
References: <20200212163046.15761-1-brice@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39579
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

* gnu/packages/virtualization.scm (virt-manager)[inputs]: Add osinfo-db.
[arguments]: Add phase patch.
---
 gnu/packages/virtualization.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 3769ece889..222d59d8bc 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -328,12 +328,22 @@ server and embedded PowerPC, and S390 guests.")
        (list (string-append "-Dwith-usb-ids-path="
                             (assoc-ref %build-inputs "usb.ids"))
              (string-append "-Dwith-pci-ids-path="
-                            (assoc-ref %build-inputs "pci.ids")))))
+                            (assoc-ref %build-inputs "pci.ids")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "osinfo/osinfo_loader.c"
+               (("path = DATA_DIR.*")
+                (string-append "path = \"" (assoc-ref inputs "osinfo-db")
+                               "/share/osinfo\";")))
+             #t)))))
     (inputs
      `(("libsoup" ,libsoup)
        ("libxml2" ,libxml2)
        ("libxslt" ,libxslt)
-       ("gobject-introspection" ,gobject-introspection)))
+       ("gobject-introspection" ,gobject-introspection)
+       ("osinfo-db" ,osinfo-db)))
     (native-inputs
      `(("glib" ,glib "bin")  ; glib-mkenums, etc.
        ("gtk-doc" ,gtk-doc)
-- 
2.25.0





Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 12 Feb 2020 16:37:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 11:37:24 2020
Received: from localhost ([127.0.0.1]:58980 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1v0t-0004kf-Oz
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2020 11:37:24 -0500
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:54501)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brice@HIDDEN>) id 1j1v0r-0004kU-JK
 for 39579 <at> debbugs.gnu.org; Wed, 12 Feb 2020 11:37:22 -0500
X-Originating-IP: 78.237.113.178
Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net
 [78.237.113.178]) (Authenticated sender: brice@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id CBD661C0011
 for <39579 <at> debbugs.gnu.org>; Wed, 12 Feb 2020 16:37:19 +0000 (UTC)
From: Brice Waegeneire <brice@HIDDEN>
To: 39579 <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: osinfo-db: Add osinfo-db.
Date: Wed, 12 Feb 2020 17:37:10 +0100
Message-Id: <20200212163711.17468-2-brice@HIDDEN>
X-Mailer: git-send-email 2.25.0
In-Reply-To: <20200212163046.15761-1-brice@HIDDEN>
References: <20200212163046.15761-1-brice@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39579
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

* gnu/packages/virtualization.scm (osinfo-db): New variable.
---
 gnu/packages/virtualization.scm | 37 +++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 57d433599a..3769ece889 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -92,6 +92,7 @@
   #:use-module (guix build-system go)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system trivial)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -1422,3 +1423,39 @@ which is a hypervisor.")
     (description "This package contains a set of tools to assist administrators and
 developers in managing the database.")
     (license license:lgpl2.0+)))
+
+(define-public osinfo-db
+  (package
+    (name "osinfo-db")
+    (version "20200203")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://releases.pagure.org/libosinfo/osinfo-db-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1zjq1dhlci00j17dij7s3l30hybzmaykpk5b6bd5xbllp745njn5"))))
+    (build-system trivial-build-system)
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let* ((out (assoc-ref %outputs "out"))
+                (osinfo-dir (string-append out "/share/osinfo"))
+                (source (assoc-ref %build-inputs "source")))
+           (set-path-environment-variable
+            "PATH" '("bin")
+            (list (assoc-ref %build-inputs "osinfo-db-tools")))
+           (mkdir-p osinfo-dir)
+           (invoke "osinfo-db-import" "--dir" osinfo-dir source)
+           #t))))
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("osinfo-db-tools" ,osinfo-db-tools)))
+    (home-page "https://gitlab.com/libosinfo/osinfo-db")
+    (synopsis "Database of information about operating systems")
+    (description "Osinfo-db provides the database files for use with the
+libosinfo library. It provides information about guest operating systems for
+use with virtualization provisioning tools")
+    (license license:lgpl2.0+)))
-- 
2.25.0





Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at 39579 <at> debbugs.gnu.org:


Received: (at 39579) by debbugs.gnu.org; 12 Feb 2020 16:37:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 11:37:23 2020
Received: from localhost ([127.0.0.1]:58977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1v0q-0004kS-2L
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2020 11:37:23 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:55139)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brice@HIDDEN>) id 1j1v0n-0004kJ-L5
 for 39579 <at> debbugs.gnu.org; Wed, 12 Feb 2020 11:37:18 -0500
X-Originating-IP: 78.237.113.178
Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net
 [78.237.113.178]) (Authenticated sender: brice@HIDDEN)
 by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A29F66000A
 for <39579 <at> debbugs.gnu.org>; Wed, 12 Feb 2020 16:37:15 +0000 (UTC)
From: Brice Waegeneire <brice@HIDDEN>
To: 39579 <at> debbugs.gnu.org
Subject: [PATCH 1/3] gnu: osinfo-db-tools: Add osinfo-db-tools.
Date: Wed, 12 Feb 2020 17:37:09 +0100
Message-Id: <20200212163711.17468-1-brice@HIDDEN>
X-Mailer: git-send-email 2.25.0
In-Reply-To: <20200212163046.15761-1-brice@HIDDEN>
References: <20200212163046.15761-1-brice@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39579
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/virtualization.scm (osinfo-db-tools): New variable.
---
 gnu/packages/virtualization.scm | 40 +++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 3670b396a5..57d433599a 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2018 Sou Bunnbu <iyzsong@HIDDEN>
 ;;; Copyright © 2018 Julien Lepiller <julien@HIDDEN>
 ;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon@HIDDEN>
+;;; Copyright © 2020 Brice Waegeneire <brice@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33,6 +34,7 @@
   #:use-module (gnu packages assembly)
   #:use-module (gnu packages attr)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages backup)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
@@ -1382,3 +1384,41 @@ which is a hypervisor.")
     ;; TODO: Some files are licensed differently.  List those.
     (license license:gpl2)
     (supported-systems '("i686-linux" "x86_64-linux" "armhf-linux"))))
+
+(define-public osinfo-db-tools
+  (package
+    (name "osinfo-db-tools")
+    (version "1.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://releases.pagure.org/libosinfo/osinfo-db-tools-"
+                                  version ".tar.xz"))
+
+              (sha256
+               (base32
+                "08x8mrafphyll0d35xdc143rip3ahrz6bmzhc85nwhq7yk2vxpab"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--prefix=" (assoc-ref %outputs "out")))))
+    (inputs
+     `(("libsoup" ,libsoup)
+       ("libxml2" ,libxml2)
+       ("libxslt" ,libxslt)
+       ("json-glib" ,json-glib)
+       ("libarchive" ,libarchive)
+       ("gobject-introspection" ,gobject-introspection)))
+    (native-inputs
+     `(("perl" ,perl)
+       ("gettext" ,gettext-minimal)
+       ("pkg-config" ,pkg-config)
+       ;; Tests
+       ("python" ,python)
+       ("pytest" ,python-pytest)
+       ("requests" ,python-requests)
+       ))
+    (home-page "https://gitlab.com/libosinfo/osinfo-db-tools")
+    (synopsis "Tools for managing the osinfo database")
+    (description "This package contains a set of tools to assist administrators and
+developers in managing the database.")
+    (license license:lgpl2.0+)))
-- 
2.25.0





Information forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Feb 2020 16:30:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 11:30:59 2020
Received: from localhost ([127.0.0.1]:58972 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j1uuh-0004bB-BS
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2020 11:30:59 -0500
Received: from lists.gnu.org ([209.51.188.17]:58308)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brice@HIDDEN>) id 1j1uuf-0004b2-25
 for submit <at> debbugs.gnu.org; Wed, 12 Feb 2020 11:30:57 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:35151)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <brice@HIDDEN>) id 1j1uud-0007tP-Um
 for guix-patches@HIDDEN; Wed, 12 Feb 2020 11:30:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <brice@HIDDEN>) id 1j1uuc-0001SS-Hg
 for guix-patches@HIDDEN; Wed, 12 Feb 2020 11:30:55 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:37271)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <brice@HIDDEN>) id 1j1uuc-0001Pb-Bp
 for guix-patches@HIDDEN; Wed, 12 Feb 2020 11:30:54 -0500
Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net
 [78.237.113.178]) (Authenticated sender: brice@HIDDEN)
 by relay11.mail.gandi.net (Postfix) with ESMTPSA id B2DAE10000C
 for <guix-patches@HIDDEN>; Wed, 12 Feb 2020 16:30:50 +0000 (UTC)
From: Brice Waegeneire <brice@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/3] Include operating systems list in virt-manager.
Date: Wed, 12 Feb 2020 17:30:46 +0100
Message-Id: <20200212163046.15761-1-brice@HIDDEN>
X-Mailer: git-send-email 2.25.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 217.70.178.231
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

When creating a new virtual machine in virt-manager, the OS list was empty and
we were forced to use the non-descriptive "Generic default" OS. This patch
serie fixes it.

Brice Waegeneire (3):
  gnu: osinfo-db-tools: Add osinfo-db-tools.
  gnu: osinfo-db: Add osinfo-db.
  gnu: virt-manager: Include operating systems list.

 gnu/packages/virtualization.scm | 91 ++++++++++++++++++++++++++++++++-
 1 file changed, 89 insertions(+), 2 deletions(-)

-- 
2.25.0





Acknowledgement sent to Brice Waegeneire <brice@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#39579; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 19 Feb 2020 22:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.