From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:32805) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3PZJ-0006Dg-MF for guix-patches@gnu.org; Sun, 16 Feb 2020 14:27:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3PZG-0004IO-Pp for guix-patches@gnu.org; Sun, 16 Feb 2020 14:27:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59957) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3PZG-0004I3-MA for guix-patches@gnu.org; Sun, 16 Feb 2020 14:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j3PZG-0005DB-Is for guix-patches@gnu.org; Sun, 16 Feb 2020 14:27:02 -0500 Subject: [bug#39579] [PATCH 3/3] gnu: virt-manager: Include operating systems list. Resent-Message-ID: Date: Sun, 16 Feb 2020 20:27:27 +0100 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200216192727.tch6jaicdyurdho6@gravity> References: <20200212163046.15761-1-brice@waegenei.re> <20200212163711.17468-3-brice@waegenei.re> 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@waegenei.re> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Brice Waegeneire Cc: 39579@debbugs.gnu.org --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--