librsvg2 provides a plugin for GDK-Pixbuf, so that GDK-Pixbuf can load &
render SVG images for GTK3, so that GTK3 can display the spinner for
virt-p2v's Test Connection button.

Clearly, this dependency chain is so trivial that no part of it has been
necessary to codify in package metafiles. Therefore, the spinner icon
("/usr/share/icons/Adwaita/scalable-up-to-32/status/process-working-symbolic.svg")
is currently not loaded / animated in our live environment.

Compensate for this trainwreck in our "dependencies.m4" file.

Package names taken from:
- https://koji.fedoraproject.org/koji/packageinfo?packageID=274
- https://packages.debian.org/bullseye/librsvg2-2
- https://archlinux.org/packages/extra/x86_64/librsvg/
- https://software.opensuse.org/package/librsvg
- 
https://openmandriva.pkgs.org/4.3/openmandriva-main-release-x86_64/librsvg-2.52.5-1-omv4050.x86_64.rpm.html

Thanks: Daniel Berrangé
Thanks: Richard W.M. Jones <rjo...@redhat.com>
Signed-off-by: Laszlo Ersek <ler...@redhat.com>
---
 dependencies.m4 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dependencies.m4 b/dependencies.m4
index b6d7db37287b..7356a64e7fc8 100644
--- a/dependencies.m4
+++ b/dependencies.m4
@@ -24,6 +24,7 @@ ifelse(REDHAT,1,
   dnl Used by the virt-p2v binary.
   pcre2
   libxml2
+  librsvg2
   gtk3
   dbus-libs
 
@@ -68,6 +69,7 @@ ifelse(REDHAT,1,
 ifelse(DEBIAN,1,
   libpcre2-8-0
   libxml2
+  librsvg2-2
   libgtk-3-0
   libdbus-1-3
   openssh-client
@@ -88,6 +90,7 @@ ifelse(DEBIAN,1,
 ifelse(ARCHLINUX,1,
   pcre2
   libxml2
+  librsvg
   gtk3
   dbus
   openssh
@@ -110,6 +113,7 @@ ifelse(ARCHLINUX,1,
 ifelse(SUSE,1,
   pcre2
   libxml2
+  librsvg
   gtk3
   libdbus-1-3
   nbdkit-server
@@ -135,6 +139,7 @@ ifelse(OPENMANDRIVA,1,
   dnl Used by the virt-p2v binary.
   pcre2
   libxml2
+  librsvg
   gtk3
   dbus-libs
 
_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to