gnu: libosinfo: Include operating systems list.
* 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. Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
This commit is contained in:
parent
a838fa282c
commit
da6f9aceb4
1 changed files with 12 additions and 2 deletions
|
@ -329,14 +329,24 @@ server and embedded PowerPC, and S390 guests.")
|
||||||
(list (string-append "-Dwith-usb-ids-path="
|
(list (string-append "-Dwith-usb-ids-path="
|
||||||
(assoc-ref %build-inputs "usb.ids"))
|
(assoc-ref %build-inputs "usb.ids"))
|
||||||
(string-append "-Dwith-pci-ids-path="
|
(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
|
(inputs
|
||||||
`(("libsoup" ,libsoup)
|
`(("libsoup" ,libsoup)
|
||||||
("libxml2" ,libxml2)
|
("libxml2" ,libxml2)
|
||||||
("libxslt" ,libxslt)
|
("libxslt" ,libxslt)
|
||||||
("gobject-introspection" ,gobject-introspection)))
|
("osinfo-db" ,osinfo-db)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib" ,glib "bin") ; glib-mkenums, etc.
|
`(("glib" ,glib "bin") ; glib-mkenums, etc.
|
||||||
|
("gobject-introspection" ,gobject-introspection)
|
||||||
("gtk-doc" ,gtk-doc)
|
("gtk-doc" ,gtk-doc)
|
||||||
("vala" ,vala)
|
("vala" ,vala)
|
||||||
("intltool" ,intltool)
|
("intltool" ,intltool)
|
||||||
|
|
Reference in a new issue