Message ID | 20221029154116.3128371-1-f_l_k@t-online.de |
---|---|
State | Under Review |
Headers | show |
Series | [meta-openembedded,1/3] gtk-vnc: add recipe | expand |
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>] > -=-=-=-=-=-=-=-=-=-=-=- >
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 >> >> >> >>
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] > -=-=-=-=-=-=-=-=-=-=-=- >
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"
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