[gnome-build-meta/jjardon/gnome_3_37_92: 34/44] Add osinfo db for GNOME Boxes
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/jjardon/gnome_3_37_92: 34/44] Add osinfo db for GNOME Boxes
- Date: Sat, 12 Sep 2020 15:31:44 +0000 (UTC)
commit 31e0d9cb1dee35a6284372c26866919d08ea027b
Author: Valentin David <valentin david codethink co uk>
Date: Wed Aug 26 18:02:45 2020 +0200
Add osinfo db for GNOME Boxes
This helps to run other images than GNOME OS.
Also put gnome.org images to the top of recommended images.
elements/core-deps/osinfo-db.bst | 12 ++++++++++++
elements/core/gnome-boxes.bst | 4 ++++
files/gnome-boxes/re-order-recommended.patch | 18 ++++++++++++++++++
3 files changed, 34 insertions(+)
---
diff --git a/elements/core-deps/osinfo-db.bst b/elements/core-deps/osinfo-db.bst
new file mode 100644
index 00000000..d08fce61
--- /dev/null
+++ b/elements/core-deps/osinfo-db.bst
@@ -0,0 +1,12 @@
+kind: manual
+
+sources:
+- kind: remote
+ url: https://releases.pagure.org/libosinfo/osinfo-db-20200813.tar.xz
+
+build-depends:
+- core-deps/osinfo-db-tools.bst
+
+config:
+ install-commands:
+ - osinfo-db-import --root '%{install-root}' --dir '%{datadir}/osinfo' osinfo-db-*.tar.xz
diff --git a/elements/core/gnome-boxes.bst b/elements/core/gnome-boxes.bst
index 60f23534..b7220e98 100644
--- a/elements/core/gnome-boxes.bst
+++ b/elements/core/gnome-boxes.bst
@@ -4,6 +4,9 @@ sources:
- kind: tar
url: gnome_downloads:gnome-boxes/3.37/gnome-boxes-3.37.90.tar.xz
ref: 122da39131acb971b3e764006c5c3698447a5d9220aab3383db63c0929de915d
+- kind: patch
+ path: files/gnome-boxes/re-order-recommended.patch
+
build-depends:
- sdk/vala.bst
- freedesktop-sdk.bst:components/itstool.bst
@@ -15,6 +18,7 @@ depends:
- core-deps/libhandy-0.bst
- core-deps/libosinfo.bst
- core-deps/libvirt-glib.bst
+- core-deps/osinfo-db.bst
- core-deps/spice-gtk.bst
- core-deps/tracker-2.bst
- core-deps/tracker-miners-2.bst
diff --git a/files/gnome-boxes/re-order-recommended.patch b/files/gnome-boxes/re-order-recommended.patch
new file mode 100644
index 00000000..b8253363
--- /dev/null
+++ b/files/gnome-boxes/re-order-recommended.patch
@@ -0,0 +1,18 @@
+diff --git a/data/recommended-downloads.xml b/data/recommended-downloads.xml
+index 31d8546b..4ba1edd8 100644
+--- a/data/recommended-downloads.xml
++++ b/data/recommended-downloads.xml
+@@ -9,6 +9,7 @@
+ available.
+ -->
+ <list>
++ <os_id>http://gnome.org/gnome/nightly</os_id>
+ <os_id>http://redhat.com/rhel/8.2</os_id>
+ <os_id>http://fedoraproject.org/fedora/32</os_id>
+ <os_id>http://fedoraproject.org/silverblue/32</os_id>
+@@ -16,5 +17,4 @@
+ <os_id>http://opensuse.org/opensuse/15.1</os_id>
+ <os_id>http://debian.org/debian/10</os_id>
+ <os_id>http://endlessos.com/eos/3.7</os_id>
+- <os_id>http://gnome.org/gnome/nightly</os_id>
+ </list>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]