summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/spice
Commit message (Collapse)AuthorAgeFilesLines
* spice-gtk: Fix build with lld linkerKhem Raj2023-06-141-0/+2
| | | | | | | | | | | | | | | | lld flags errors when checking for --version-script linker option since the export file specifies symbols which do not exist during link, so in a way it is right, however bfd linker works fine and ignores this error. perhaps the meson check should be improved but until them lets add --undefined-version option to linker when using lld Fixes aarch64-yoe-linux-ld.lld: error: TOPDIR/build/tmp/work/cortexa72-cortexa53-crypto-mx8-yoe-linux/spice-gtk/0.42-r0/git/src/spice-glib-sym-file:1: unknown directive: spice_audio_get >>> spice_audio_get >>> ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-gtk: respect gobject-introspection-dataMartin Jansa2023-05-031-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * without gobject-introspection-data in DISTRO_FEATURES the bbclass correctly disables it: $ bitbake-getvar -r spice-gtk EXTRA_OEMESON # # $EXTRA_OEMESON [6 operations] # :append /OE/build/oe-core/openembedded-core/meta/classes-recipe/meson.bbclass:44 # " ${PACKAGECONFIG_CONFARGS}" # :prepend[class-target] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:28 # "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}" # :prepend[class-native] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:33 # "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}" # :prepend[class-nativesdk] /OE/build/oe-core/openembedded-core/meta/classes-recipe/gobject-introspection.bbclass:34 # "${@['', '${GIRMESONBUILD}'][d.getVar('GIR_MESON_OPTION') != '']}" # set /OE/build/oe-core/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb:49 # "-Dpie=true -Dvapi=enabled" # :append[libc-musl] /OE/build/oe-core/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.42.bb:50 # " -Dcoroutine=libucontext" # pre-expansion value: # "${@['', '${GIRMESONTARGET}'][d.getVar('GIR_MESON_OPTION') != '']}-Dpie=true -Dvapi=enabled ${PACKAGECONFIG_CONFARGS}" EXTRA_OEMESON="-Dintrospection=false -Dpie=true -Dvapi=enabled " and prevents build failure: http://errors.yoctoproject.org/Errors/Details/702789/ Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig) ../git/meson.build:346:0: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig * it just needs GIR_MESON_*_FLAG to be set to avoid: meson.build:4:0: ERROR: Value "false" (of type "string") for combo option "Check for GObject instrospection requirements" is not one of the choices. Possible choices are (as string): "enabled", "disabled", "auto". * and enable vapi only when introspection is enabled, use PACKAGECONFIG for that to avoid: meson.build:358:4: ERROR: Problem encountered: VAPI support requested without introspection Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-gtk: Update to version 0.42Fabio Estevam2023-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | Update to version 0.42: v0.42 ===== - !115 - Fix compilation on win32 with EGL - !114 - spice-widget: fix hotspot position on Wayland/HiDPI - !112 - meson: Allow building on a Wayland-only environment - !110 - usb-backend: Fix devices not being enumerated - !108 - spicy: Add keyboard shortcuts for copy/paste sync - Require meson >= 0.56 The original recipe name was spice-gtk_0.4.1.bb, but the spice-gtk repo tags the releases as 0.41, not 0.4.1, so update it accordingly. Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-gtk: Use libucontext for coroutines on muslKhem Raj2022-12-271-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-gtk: add opengl to REQUIRED_DISTRO_FEATURESMingli Yu2022-12-091-1/+3
| | | | | | | | | | | Fixes: ERROR: Nothing PROVIDES 'libepoxy' (but /build/layers/meta-openembedded/meta-networking/recipes-support/spice/spice-gtk_0.4.1.bb DEPENDS on or otherwise requires it) libepoxy was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'spice-gtk', 'libepoxy'] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-gtk: add missing license informationMarkus Volk2022-12-081-2/+7
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-gtk: add recipeMarkus Volk2022-11-011-0/+43
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: Include aarch64 to COMPATIBLE_HOSTFabio Estevam2022-10-101-1/+1
| | | | | | | | Allow spice to be built on ARM64 as well, so add aarch64 entry to COMPATIBLE_HOST. Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: ignore patched CVEsDavide Gardenal2022-07-061-0/+6
| | | | | | | | | | | | The following CVEs are already patched so we can ignore them: - CVE-2016-0749 - CVE-2016-2150 - CVE-2018-10893 This is caused by inaccurate CPE in the NVD database. Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-042-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-protocol: upgrade 0.14.3 -> 0.14.4Wang Mingyu2022-02-241-1/+1
| | | | | | | | | | Major changes in 0.14.4 ======================= * Fix enum deprecation warning for visual studio * Fix documentation typos in stream-device.h Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-protocol: upgrade to 1.14.3Ross Burton2022-02-032-28/+19
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: set correct LICENSERoss Burton2022-02-031-1/+1
| | | | | | | Remove BSD, as this package is entirely LGPL2+. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-033-4/+4
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* usbredir: upgrade 0.8.0 -> 0.9.0zangrc2021-04-081-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: make conpatible to autoconf-2.70Hongxu Jia2021-02-052-0/+49
| | | | | | | | | | | In order to build with autoconf 2.7, explicitly link to jpeg lib since lib jpeg is already in DEPENDS ... | checking for jpeglib.h... ../git/configure: line 16008: CPP: command not found ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: Add leading whitespace for append operatorKhem Raj2020-11-151-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-protocol: upgrade 0.14.0 -> 0.14.1Wang Mingyu2020-03-171-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: Use python3 and modules during buildKhem Raj2020-01-241-3/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-networking: Remove using python2Khem Raj2020-01-221-1/+1
| | | | | | | This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice-protocol: Clarify BSD license variantChristophe PRIOUZEAU2019-10-241-1/+1
| | | | | | | The License of spice-protocol is BSD-3-Clause. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "spice: Drop broken native"Martin Jansa2019-10-011-1/+2
| | | | | | | | | | | This reverts commit 5f32fd6b08d79b9a4d1bffb9b2bcbc535a5b27d2. * fixed by restricting -Wno-error=address-of-packed-member only for target, spice-native is still useful for qemu-native when spice PACKAGECONFIG is enabled Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: ignore all warnings not just address-of-packed-memberMartin Jansa2019-10-011-1/+1
| | | | | | | | | | * with older native gcc on host this will break spice-native with: cc1: error: -Werror=address-of-packed-member: no option -Waddress-of-packed-member because older gcc doesn't recognize address-of-packed-member warning to work around this ignore them all Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: Drop broken nativeRobert Yang2019-09-251-2/+1
| | | | | | | | | | | | $ bitbake spice-native checking whether the C compiler works... no configure: error: in `/path/to/spice-native/0.14.2+gitAUTOINC+7cbd70b931_4fc4c2db36-r0/build': configure: error: C compiler cannot create executables It's a broken native recipe which means no ones need it any more, so remove it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: append to CFLAGS instead of +=Martin Jansa2019-06-151-1/+1
| | | | | | | | | | | | | | | * so that -Wno-address-of-packed-member is used for all the builds not only for target builds * with native it was overwritten with BUILD_CFLAGS and for nativesdk with BUILDSDK_CFLAGS * this issue isn't specific for gcc-9 as the original commit said, I see nativesdk-spice failing on older hosts with gcc-7 with the same issue * also use -Wno-error=address-of-packed-member instead of -Wno-address-of-packed-member so that there is still a warning, just not fatal for the build in combination with -Werror. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: fix compile errors on 32bit systemHongzhi.Song2019-06-152-0/+97
| | | | | | | | | | | | | | | | | | | | | | There are folowing compile errors on Linux 32bit system: red-channel.c:207:73: error: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Werror=format=] |207| red_channel_debug(self, "thread_id 0x%" G_GSIZE_MODIFIER "x", ~~~~~~~~~~~~~~~~~~~~~^ self->priv->thread_id); ~~~~~~~~~~~~~~~~~~~~~^ On 32bit system, #define G_GSIZE_MODIFIER "". But the type of 'self->priv->thread_id' is 'unsigned long int' which should match '%lx' not '%x'. So we should recovery the <0x%" G_GSIZE_MODIFIER "x"> to <0x%lx">. And others files modification are similar to G_GSIZE_MODIFIER. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice,spice-protocol: Uprev to 0.14.0Khem Raj2019-05-234-59/+17
| | | | | | | | | | | | | Drop the patch for fixing printf formatting, its fixed differently upstream Forward port pthread_t printf patch Add -Wno-address-of-packed-member needed with gcc9 replace _append += with just _append syntax Signed-off-by: Khem Raj <raj.khem@gmail.com>
* usbredir: update to 0.8.0Oleksandr Kravchuk2019-04-091-2/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: cleanup leftover patch from upgrade to 0.13.90Martin Jansa2018-09-142-37/+0
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: fix compile error on 32bit systemChangqing Li2018-09-142-0/+37
| | | | | | | | | | Fix below compile error on 32bit system, since input argument is uLong, but use format %d: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Werror=format=] Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: Upgrade 0.14.0 -> 0.14.1zhe.he@windriver.com2018-09-051-4/+7
| | | | | | | | | | | Adjust location of spice-common source as new spice asks spice-common to be put under "subprojects" directory. Disable -Werror when building with clang for the moment. Some non-trivial changes need to be made to fix the warnings clang give. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: Uprev to latest and add opus PKGCONFIGJason Wessel2018-06-181-2/+3
| | | | | | | | | | | In the uprev, spice now expects to compile with libopus by default. This patch adds a PKGCONFIG option for libopus such that it will still compile as it has in the past. Compilation has been tested with and without opus support. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: Fix build with muslKhem Raj2018-06-172-0/+67
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: Update to git hash to pick up gcc8 fixes.Jeremy Puhlman2018-06-141-1/+1
| | | | | Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spice: use latest versionMartin Jansa2018-05-172-9/+5
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* usbredir: add new recipeMartin Jansa2018-05-171-0/+21
| | | | | | | * can be used by qemu to redirect usb devices from virt-manager to qemu Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* spice: upgrade to 0.13.90 versionMartin Jansa2018-05-1710-423/+73
| | | | | | | | | | | | | | | | | * 0.13.0 is needed for opengl support, see qemu commit: https://git.qemu.org/?p=qemu.git;a=commitdiff;h=474114b7305cc1be7c2ee8ba5267be159a9d56e3 +# if SPICE_SERVER_VERSION >= 0x000d00 /* release 0.13.0 */ +# define HAVE_SPICE_GL 1 otherwise trying to run qemu with -spice gl=on fails with: qemu-system-x86_64: -spice gl=on: Invalid parameter 'gl' * spice-protocol is built separately since 0.12.6 * spice-protocol submodule has been removed,, spice-protocol must now be installed when building spice-server * celt051 is optional since 0.12.5, use PACKAGECONFIG for it * Added Opus support. Celt support will be obsoleted in a future release. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* spice: fix build with FORTIFY_SOURCES already defined in native gccMartin Jansa2018-05-172-15/+54
| | | | | | | | * e.g. on gentoo hosts * use 4 spaces for indentation Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* spice: fix dependency on python-pyparsing, add support for native(sdk)Martin Jansa2018-05-171-3/+7
| | | | | | | | | | | | * drop PR * add +git to PV * drop python-pyparsing dependency, because python-pyparsing is in meta-python * replace dependency on python-pyparsing with python-pyparsing-native which is used to generate client/generated_marshallers.cpp Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* spice: import from meta-cloud-servicesMartin Jansa2018-05-177-0/+427
* http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/commit/recipes-support/spice/spice_git.bb?id=19f0c979abbc72a300c0b1cb92f9328f96728f5a * will be used by qemu-native to provide a way for headless servers to export accelerated (virglrenderer) graphics to remove clients Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>