All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-openembedded][PATCH 1/3] gtk-vnc: add recipe
@ 2022-10-29 15:41 Markus Volk
  2022-10-29 15:41 ` [meta-openembedded][PATCH 2/3] spice-gtk: " Markus Volk
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Markus Volk @ 2022-10-29 15:41 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../gtk-vnc/gtk-vnc_1.3.1.bb                  | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb

diff --git a/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb b/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb
new file mode 100644
index 000000000..36eb8ca19
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb
@@ -0,0 +1,26 @@
+SUMMARY = "A VNC client viewer widget for GTK"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4339efb5fd592e45b9e2641de9fe734f"
+
+DEPENDS = " \
+    gdk-pixbuf \
+    glib-2.0 \
+    gnutls \
+    gtk+3 \
+    libgcrypt \
+    libx11 \
+    zlib \
+"
+
+GNOMEBASEBUILDCLASS = "meson"
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+GIR_MESON_OPTION = ""
+
+PACKAGECONFIG[pulseaudio] = "-Dpulseaudio=enabled,-Dpulseaudio=disabled,pulseaudio"
+PACKAGECONFIG[sasl] = "-Dsasl=enabled,-Dsasl=disabled,cyrus-sasl"
+
+PACKAGECONFIG ??= "pulseaudio sasl"
+
+inherit pkgconfig gnomebase gettext gobject-introspection vala features_check
+
+SRC_URI[archive.sha256sum] = "512763ac4e0559d0158b6682ca5dd1a3bd633f082f5e4349d7158e6b5f80f1ce"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-openembedded][PATCH 2/3] spice-gtk: add recipe
  2022-10-29 15:41 [meta-openembedded][PATCH 1/3] gtk-vnc: add recipe Markus Volk
@ 2022-10-29 15:41 ` Markus Volk
  2022-10-29 15:41 ` [meta-openembedded][PATCH 3/3] spice: build with opus and opengl Markus Volk
       [not found] ` <172294851D2ECF2D.19890@lists.openembedded.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Markus Volk @ 2022-10-29 15:41 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../recipes-support/spice/spice-gtk_0.4.1.bb  | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 meta-networking/recipes-support/spice/spice-gtk_0.4.1.bb

diff --git a/meta-networking/recipes-support/spice/spice-gtk_0.4.1.bb b/meta-networking/recipes-support/spice/spice-gtk_0.4.1.bb
new file mode 100644
index 000000000..b878a5d5e
--- /dev/null
+++ b/meta-networking/recipes-support/spice/spice-gtk_0.4.1.bb
@@ -0,0 +1,43 @@
+SUMMARY = "A Gtk client and libraries for SPICE remote desktop servers."
+HOMEPAGE = "https://spice-space.org"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRCREV = "74e673d7c3d9cd281d85c691fbc520107066da01"
+
+SRC_URI = "gitsm://gitlab.freedesktop.org/spice/spice-gtk.git;protocol=https;branch=master"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = " \
+	${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland wayland-native wayland-protocols', '', d)} \
+	acl \
+	cyrus-sasl \
+	gstreamer1.0 \
+	gstreamer1.0-plugins-base \
+	gstreamer1.0-vaapi \
+	gtk+3 \
+	jpeg \
+	json-glib \
+	libcap-ng \
+	libepoxy \
+	libopus \
+	libusb1 \
+	lz4 \
+	pixman \
+	polkit \
+	python3-pyparsing-native \
+	python3-six-native \
+	spice-protocol \
+	usbredir \
+	usbutils \
+	zlib \
+"
+
+RDEPENDS:${PN} = "python3-pyparsing python3-six"
+
+inherit meson pkgconfig vala gobject-introspection
+
+EXTRA_OEMESON = "-Dpie=true -Dvapi=enabled -Dintrospection=enabled"
+
+FILES:${PN} += "${datadir}"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-openembedded][PATCH 3/3] spice: build with opus and opengl
  2022-10-29 15:41 [meta-openembedded][PATCH 1/3] gtk-vnc: add recipe Markus Volk
  2022-10-29 15:41 ` [meta-openembedded][PATCH 2/3] spice-gtk: " Markus Volk
@ 2022-10-29 15:41 ` Markus Volk
       [not found] ` <172294851D2ECF2D.19890@lists.openembedded.org>
  2 siblings, 0 replies; 6+ messages in thread
From: Markus Volk @ 2022-10-29 15:41 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Markus Volk

  - remove COMPATIBLE_HOSTS whitelist because I was able to compile this for qemumips also

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-networking/recipes-support/spice/spice_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb
index b3e687476..69e220050 100644
--- a/meta-networking/recipes-support/spice/spice_git.bb
+++ b/meta-networking/recipes-support/spice/spice_git.bb
@@ -47,7 +47,7 @@ CFLAGS:append = " -Wno-error"
 
 PACKAGECONFIG:class-native = ""
 PACKAGECONFIG:class-nativesdk = ""
-PACKAGECONFIG ?= "sasl"
+PACKAGECONFIG ?= "sasl ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} opus"
 
 PACKAGECONFIG[celt051] = "--enable-celt051,--disable-celt051,celt051"
 PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard,"
@@ -58,8 +58,6 @@ PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus,"
 PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,,"
 PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama,"
 
-COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux'
-
 BBCLASSEXTEND = "native nativesdk"
 
 EXTRA_OECONF:append:toolchain-clang = " --disable-werror"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [oe] [meta-openembedded][PATCH 3/3] spice: build with opus and opengl
       [not found] ` <172294851D2ECF2D.19890@lists.openembedded.org>
@ 2022-10-29 15:50   ` Markus Volk
       [not found]   ` <17229508563226DE.31302@lists.openembedded.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Markus Volk @ 2022-10-29 15:50 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2381 bytes --]

These recipes are needed to compile virt-viewer, for which I have also 
created a recipe. I would send it as a proposal to meta-virtualization, 
but I'm not sure which mailing list would be the right one?

I have done compilation tests for x86_64, aarch64 and mipsqemu with 
gcc. Fingers crossed for clang.

Runtime tested with proxmox on x86_64

Am Sa, 29. Okt 2022 um 17:41:16 +0200 schrieb Markus Volk 
<f_l_k@t-online.de>:
>   - remove COMPATIBLE_HOSTS whitelist because I was able to compile 
> this for qemumips also
> 
> Signed-off-by: Markus Volk <f_l_k@t-online.de 
> <mailto:f_l_k@t-online.de>>
> ---
>  meta-networking/recipes-support/spice/spice_git.bb | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/meta-networking/recipes-support/spice/spice_git.bb 
> b/meta-networking/recipes-support/spice/spice_git.bb
> index b3e687476..69e220050 100644
> --- a/meta-networking/recipes-support/spice/spice_git.bb
> +++ b/meta-networking/recipes-support/spice/spice_git.bb
> @@ -47,7 +47,7 @@ CFLAGS:append = " -Wno-error"
> 
>  PACKAGECONFIG:class-native = ""
>  PACKAGECONFIG:class-nativesdk = ""
> -PACKAGECONFIG ?= "sasl"
> +PACKAGECONFIG ?= "sasl ${@bb.utils.filter 
> <mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'opengl', d)} opus"
> 
>  PACKAGECONFIG[celt051] = "--enable-celt051,--disable-celt051,celt051"
>  PACKAGECONFIG[smartcard] = 
> "--enable-smartcard,--disable-smartcard,libcacard,"
> @@ -58,8 +58,6 @@ PACKAGECONFIG[opus] = 
> "--enable-opus,--disable-opus,libopus,"
>  PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,,"
>  PACKAGECONFIG[xinerama] = 
> "--enable-xinerama,--disable-xinerama,libxinerama,"
> 
> -COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux'
> -
>  BBCLASSEXTEND = "native nativesdk"
> 
>  EXTRA_OECONF:append:toolchain-clang = " --disable-werror"
> --
> 2.34.1
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#99343): 
> <https://lists.openembedded.org/g/openembedded-devel/message/99343>
> Mute This Topic: <https://lists.openembedded.org/mt/94649076/3618223>
> Group Owner: openembedded-devel+owner@lists.openembedded.org 
> <mailto:openembedded-devel+owner@lists.openembedded.org>
> Unsubscribe: 
> <https://lists.openembedded.org/g/openembedded-devel/unsub> 
> [f_l_k@t-online.de <mailto:f_l_k@t-online.de>]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


[-- Attachment #2: Type: text/html, Size: 2854 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oe] [meta-openembedded][PATCH 3/3] spice: build with opus and opengl
       [not found]   ` <17229508563226DE.31302@lists.openembedded.org>
@ 2022-10-30  6:41     ` Markus Volk
  2022-10-31  0:47       ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Volk @ 2022-10-30  6:41 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2322 bytes --]

After I had a closer look at the spice configure log it turned out, 
that the dependencies and the autotools configure options were quite 
outdated and partly wrong. For that reason i did a rework for the spice 
recipe, upgradet to 0.15.1 and switched the buildsystem over to meson. 
I've sent a v2 for the spice.bb

Am Sa, 29. Okt 2022 um 17:50:54 +0200 schrieb Markus Volk 
<f_l_k@t-online.de>:
> These recipes are needed to compile virt-viewer, for which I have 
> also created a recipe. I would send it as a proposal to 
> meta-virtualization, but I'm not sure which mailing list would be the 
> right one?
> 
> I have done compilation tests for x86_64, aarch64 and mipsqemu with 
> gcc. Fingers crossed for clang.
> 
> Runtime tested with proxmox on x86_64
> 
> Am Sa, 29. Okt 2022 um 17:41:16 +0200 schrieb Markus Volk 
> <f_l_k@t-online.de>:
>>   - remove COMPATIBLE_HOSTS whitelist because I was able to compile 
>> this for qemumips also
>> 
>> Signed-off-by: Markus Volk <f_l_k@t-online.de 
>> <mailto:f_l_k@t-online.de>>
>> ---
>>  meta-networking/recipes-support/spice/spice_git.bb | 4 +---
>>  1 file changed, 1 insertion(+), 3 deletions(-)
>> 
>> diff --git a/meta-networking/recipes-support/spice/spice_git.bb 
>> b/meta-networking/recipes-support/spice/spice_git.bb
>> index b3e687476..69e220050 100644
>> --- a/meta-networking/recipes-support/spice/spice_git.bb
>> +++ b/meta-networking/recipes-support/spice/spice_git.bb
>> @@ -47,7 +47,7 @@ CFLAGS:append = " -Wno-error"
>> 
>>  PACKAGECONFIG:class-native = ""
>>  PACKAGECONFIG:class-nativesdk = ""
>> -PACKAGECONFIG ?= "sasl"
>> +PACKAGECONFIG ?= "sasl ${@bb.utils.filter 
>> <mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'opengl', d)} opus"
>> 
>>  PACKAGECONFIG[celt051] = 
>> "--enable-celt051,--disable-celt051,celt051"
>>  PACKAGECONFIG[smartcard] = 
>> "--enable-smartcard,--disable-smartcard,libcacard,"
>> @@ -58,8 +58,6 @@ PACKAGECONFIG[opus] = 
>> "--enable-opus,--disable-opus,libopus,"
>>  PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,,"
>>  PACKAGECONFIG[xinerama] = 
>> "--enable-xinerama,--disable-xinerama,libxinerama,"
>> 
>> -COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux'
>> -
>>  BBCLASSEXTEND = "native nativesdk"
>> 
>>  EXTRA_OECONF:append:toolchain-clang = " --disable-werror"
>> --
>> 2.34.1
>> 
>> 
>> 
>> 


[-- Attachment #2: Type: text/html, Size: 2681 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oe] [meta-openembedded][PATCH 3/3] spice: build with opus and opengl
  2022-10-30  6:41     ` Markus Volk
@ 2022-10-31  0:47       ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2022-10-31  0:47 UTC (permalink / raw)
  To: Markus Volk; +Cc: openembedded-devel

seeing some errors regarding polkit dependency I think it should be
guarded with appropriate distro feature.

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/2139

On Sat, Oct 29, 2022 at 11:42 PM Markus Volk <f_l_k@t-online.de> wrote:
>
> After I had a closer look at the spice configure log it turned out, that the dependencies and the autotools configure options were quite outdated and partly wrong. For that reason i did a rework for the spice recipe, upgradet to 0.15.1 and switched the buildsystem over to meson. I've sent a v2 for the spice.bb
>
> Am Sa, 29. Okt 2022 um 17:50:54 +0200 schrieb Markus Volk <f_l_k@t-online.de>:
>
> These recipes are needed to compile virt-viewer, for which I have also created a recipe. I would send it as a proposal to meta-virtualization, but I'm not sure which mailing list would be the right one?
>
> I have done compilation tests for x86_64, aarch64 and mipsqemu with gcc. Fingers crossed for clang.
>
> Runtime tested with proxmox on x86_64
>
> Am Sa, 29. Okt 2022 um 17:41:16 +0200 schrieb Markus Volk <f_l_k@t-online.de>:
>
> - remove COMPATIBLE_HOSTS whitelist because I was able to compile this for qemumips also Signed-off-by: Markus Volk <f_l_k@t-online.de> --- meta-networking/recipes-support/spice/spice_git.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb index b3e687476..69e220050 100644 --- a/meta-networking/recipes-support/spice/spice_git.bb +++ b/meta-networking/recipes-support/spice/spice_git.bb @@ -47,7 +47,7 @@ CFLAGS:append = " -Wno-error" PACKAGECONFIG:class-native = "" PACKAGECONFIG:class-nativesdk = "" -PACKAGECONFIG ?= "sasl" +PACKAGECONFIG ?= "sasl ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} opus" PACKAGECONFIG[celt051] = "--enable-celt051,--disable-celt051,celt051" PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard," @@ -58,8 +58,6 @@ PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus," PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,," PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama," -COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux' - BBCLASSEXTEND = "native nativesdk" EXTRA_OECONF:append:toolchain-clang = " --disable-werror"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#99349): https://lists.openembedded.org/g/openembedded-devel/message/99349
> Mute This Topic: https://lists.openembedded.org/mt/94660290/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-31  0:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-29 15:41 [meta-openembedded][PATCH 1/3] gtk-vnc: add recipe Markus Volk
2022-10-29 15:41 ` [meta-openembedded][PATCH 2/3] spice-gtk: " Markus Volk
2022-10-29 15:41 ` [meta-openembedded][PATCH 3/3] spice: build with opus and opengl Markus Volk
     [not found] ` <172294851D2ECF2D.19890@lists.openembedded.org>
2022-10-29 15:50   ` [oe] " Markus Volk
     [not found]   ` <17229508563226DE.31302@lists.openembedded.org>
2022-10-30  6:41     ` Markus Volk
2022-10-31  0:47       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.