summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-12-27 07:56:36 +0100
committerKhem Raj <raj.khem@gmail.com>2025-12-28 08:14:39 -0800
commitfe9219f6352bb2dd12ac12ed350046e70aa32798 (patch)
treec5295d54c7223d8ab1be2679a71be6c0745f372f
parent8cab2b2977f7cfbbf7bf1aa617070163e2eaf002 (diff)
downloadmeta-openembedded-fe9219f6352bb2dd12ac12ed350046e70aa32798.tar.gz
tigervnc: compare vendored xserver version to oe-core's xserver
TigerVNC compiles its own xserver from a separate tarball, it doesn't use oe-core's xserver for most of the compilation. The vendored xserver code should be still kept in sync with oe-core to minimize incompatibilities, feature and bug-discrepepancies (...) However it is easy to miss when xserver is updated in oe-core, TigerVNC's xserver gets out of sync frequently. This change adds a small check before do_configure that compares the vendored and oe-core's xserver version, and issues a warning if TigerVNC recipe needs to be synced to oe-core. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb
index 9fb7abf8f3..efc166dfa6 100644
--- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb
+++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb
@@ -44,6 +44,16 @@ do_patch_xserver () {
44 patch -p1 -b --suffix .vnc --directory ${XSERVER_SOURCE_DIR} <${S}/unix/xserver21.patch 44 patch -p1 -b --suffix .vnc --directory ${XSERVER_SOURCE_DIR} <${S}/unix/xserver21.patch
45} 45}
46 46
47# It is very easy to miss xserver updates in oe-core, and this recipe's xserver
48# gets out of sync due to this. Hopefully this warning will help.
49do_configure[prefuncs] += "do_verify_xserver_version"
50do_verify_xserver_version() {
51 OE_CORE_XSERVER_VERSION=$(pkg-config --modversion xorg-server)
52 if [ "$OE_CORE_XSERVER_VERSION" != "${XORG_PV}" ]; then
53 bbwarn "TigerVNC xorg-server version (${XORG_PV}) is different from oe-core's xorg-xserver version ($OE_CORE_XSERVER_VERSION)"
54 fi
55}
56
47EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb \ 57EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb \
48 --disable-xwin --disable-xephyr --disable-kdrive --with-pic \ 58 --disable-xwin --disable-xephyr --disable-kdrive --with-pic \
49 --disable-static --disable-xinerama \ 59 --disable-static --disable-xinerama \