gnome-boxes: add support for trisquel logo from osinfo-db.

This commit is contained in:
Luis Guzmán 2024-08-05 20:23:16 +00:00
parent ffdb7550b5
commit 13dcdd56db
2 changed files with 33 additions and 10 deletions

View file

@ -0,0 +1,29 @@
diff --git a/data/osinfo/meson.build b/data/osinfo/meson.build
index acf27962..158af16b 100644
--- a/data/osinfo/meson.build
+++ b/data/osinfo/meson.build
@@ -16,7 +16,8 @@ osinfo_db = [
['popos-17.10.xml', 'gnome-boxes/osinfo/os/system76.com'],
['rhel-8.0.xml', 'gnome-boxes/osinfo/os/redhat.com'],
['rocky-8.4.xml', 'gnome-boxes/osinfo/os/rockylinux.org'],
- ['silverblue-28.xml', 'gnome-boxes/osinfo/os/fedoraproject.org']
+ ['silverblue-28.xml', 'gnome-boxes/osinfo/os/fedoraproject.org'],
+ ['trisquel-9.xml', 'gnome-boxes/osinfo/os/trisquel.info']
]
foreach os: osinfo_db
diff --git a/data/osinfo/trisquel-11.xml b/data/osinfo/trisquel-11.xml
new file mode 100644
index 00000000..ce9b4b36
--- /dev/null
+++ b/data/osinfo/trisquel-9.xml
@@ -0,0 +1,9 @@
+<libosinfo version="0.0.1">
+
+ <!-- Please read https://gitlab.gnome.org/GNOME/gnome-boxes-logos/-/raw/master/README.md for any questions about usage of product logos in Boxes. !-->
+
+ <os id="http://trisquel.info/trisquel/9">
+ <logo>https://gitlab.gnome.org/GNOME/gnome-boxes-logos/-/raw/master/logos/trisquel.svg</logo>
+ </os>
+
+</libosinfo>

View file

@ -2,7 +2,7 @@
#
# Copyright (C) 2022 Trisquel GNU/Linux developers
# <trisquel-devel@listas.trisquel.info>
# Copyright (C) 2022 Luis Guzman <ark@switnet.org>
# Copyright (C) 2024 Luis Guzman <ark@switnet.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -19,18 +19,12 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=4
VERSION=5
. ./config
remove_patch Update-recommended-downloads.patch
#Disable ubuntu artwork
rm data/osinfo/ubuntu-4.10.xml
sed -i '/ubuntu-4.10.xml/d' data/osinfo/meson.build
#Required dependencies not in upstream.
sed -i 's|libvirt-dev,|libvirt-dev, cmake, libsasl2-dev, libpulse-dev,|' debian/control*
# Add trisquel logo patch.
patch_p1 $DATA/001_add_trisquel_gnome-boxes_logo.patch
cat << recommended-os > data/recommended-downloads.xml
<?xml version="1.0" encoding="utf-8" ?>