[Pkg-libvirt-maintainers] Bug#799771: Bug#799771: virt-manager: Dependency missing: gir1.2-spice-client-gtk-3.0 gir1.2-spice-client-gtk-2.0

Guido Günther agx at sigxcpu.org
Tue Mar 29 06:32:06 UTC 2016


On Tue, Mar 29, 2016 at 04:20:56AM +0200, Adel Belhouane wrote:
> Package: virt-manager
> Followup-For: Bug #799771
> Tags: patch
> 
> Hello,
> 
> I got the same problem, and I'd say it's a regression from version
> 1.0.1-5. This one line patch (to the debian patch) pasted below will
> fix it by handling the gi.require_version() too. Spice is no longer needed.
> Tested working ok for version 1.3.2-1/experimental on armhf (and patch
> applies the same to version 1.2.1-4).
> 
> regards,
> Adel
> 
> diff -U5 -rN a/debian/patches/Make-SpiceClientGtk-optional.patch b/debian/patches/Make-SpiceClientGtk-optional.patch
> --- a/debian/patches/Make-SpiceClientGtk-optional.patch 2016-02-04 11:23:21.000000000 +0100
> +++ b/debian/patches/Make-SpiceClientGtk-optional.patch 2016-03-29 03:29:12.260132728 +0200
> @@ -49,10 +49,10 @@
>  +try:
>  +    gi.require_version('SpiceClientGtk', '3.0')
>  +    from gi.repository import SpiceClientGtk
>  +    from gi.repository import SpiceClientGLib
>  +    have_spice_gtk = True
> -+except ImportError:
> ++except (ValueError, ImportError):
>  +    have_spice_gtk = False

Thanks for looking into this. Patched and uploaded!
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list