On Tue, Nov 1, 2022 at 12:31 PM Markus Volk <[email protected]> wrote:

> virt-viewer is a minimal tool for displaying the graphical console of a
> virtual machine.
> The console is accessed using the VNC or SPICE protocol. The guest can be
> referred to
> based on its name, ID, or UUID. If the guest is not already running, then
> the viewer can
> be told to wait until it starts before attempting to connect to the
> console. The viewer
> can connect directly to both local and remotely hosted machines ,
> optionally using SSL/TLS
> encryption.
>
> virt-viewer is the required client for the debian based proxmox ve. That's
> also the environ-
> ment for which it was tested at runtime (only on x86_64).
>
> I have successfully compiled it for x86_64, aarch64 and qemumips. Other
> platforms might work
> (as long as gobject-introspection is available), but are untested.
> Adding the vnc protocol would pull in a layer dependency on meta-gnome.
>
> Signed-off-by: Markus Volk <[email protected]>
> ---
>  .../virt-viewer/virt-viewer_11.0.bb           | 29 +++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 recipes-extended/virt-viewer/virt-viewer_11.0.bb
>
> diff --git a/recipes-extended/virt-viewer/virt-viewer_11.0.bb
> b/recipes-extended/virt-viewer/virt-viewer_11.0.bb
> new file mode 100644
> index 0000000..d71e558
> --- /dev/null
> +++ b/recipes-extended/virt-viewer/virt-viewer_11.0.bb
> @@ -0,0 +1,29 @@
> +SUMMARY = "Virtual Machine Viewer"
> +LICENSE = "GPL-2.0-only"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
> +
> +# for ovirt support librest-0.7 and libgovirt would be needed
> +DEPENDS = " \
> +       desktop-file-utils-native \
> +       glib-2.0 \
> +       gtk+3 \
>

gtk+3 was a concern about a new dependency, but I just double checked and
since it is part of the main meta-openembedded layer, it isn't a new
dependency.

Bruce



> +       libxml2 \
> +"
> +
> +SRC_URI = "git://
> gitlab.com/virt-viewer/virt-viewer.git;protocol=https;branch=master"
> +
> +SRCREV = "1e99e5e4f409da91638eb79067ec738994c28ef5"
> +PV = "11.0+git${SRCPV}"
> +S = "${WORKDIR}/git"
> +
> +PACKAGECONFIG ?= "libvirt spice vte"
> +
> +PACKAGECONFIG[libvirt] = "-Dlibvirt=enabled,-Dlibvirt=disabled,libvirt
> libvirt-glib"
> +PACKAGECONFIG[spice] = "-Dspice=enabled,-Dspice=disabled,spice-gtk
> spice-protocol"
> +PACKAGECONFIG[vnc] = "-Dvnc=enabled,-Dvnc=disabled,gtk-vnc"
> +PACKAGECONFIG[vte] = "-Dvte=enabled,-Dvte=disabled,vte"
> +
> +inherit meson pkgconfig gtk-icon-cache mime mime-xdg gobject-introspection
> +
> +FILES:${PN} += "${datadir}"
> +GIR_MESON_OPTION = ''
> --
> 2.34.1
>
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7673): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7673
Mute This Topic: https://lists.yoctoproject.org/mt/94714508/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to