Go to file
Marc Ferland 2156942867
libvncserver: fix generated LibVNCServerTargets.cmake
The currently generated LibVNCServerTargets.cmake will include the
following 'set_target_properties':

    set_target_properties(LibVNCServer::vncclient PROPERTIES
      INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
      INTERFACE_LINK_LIBRARIES "systemd;/usr/lib/libz.so;/usr/lib/liblzo2.so;/usr/lib/libjpeg.so;/usr/lib/libgcrypt.so;/usr/lib/libgnutls.so"
    )

INTERFACE_LINK_LIBRARIES here points to absolute paths which hardcodes
the library paths. From CMake doc [1]:

    Note that it is not advisable to populate the INTERFACE_LINK_LIBRARIES
    of a target with absolute paths to dependencies. That would hard-code
    into installed packages the library file paths for dependencies as
    found on the machine the package was made on.

This breaks krfb build (kde desktop sharing server) since CMake cannot
find these libraries. Removing the absolute paths solves the issue.

Note: I also added a 'inherit pkgconfig' since libvncserver uses it to
detect libsystemd presence.

1: https://cmake.org/cmake/help/latest/prop_tgt/INTERFACE_LINK_LIBRARIES.html

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-26 11:27:12 -07:00
contrib contrib: oe-stylize: Use Python3 explicitly 2023-06-04 22:29:46 -07:00
meta-filesystems bindfs: upgrade 1.18.1 -> 1.18.2 2025-08-20 07:35:07 -07:00
meta-gnome sysprof: upgrade 47.2 -> 48.0 2025-08-25 20:07:20 -07:00
meta-initramfs klibc: Use libgcc for compiler runtime with clang on arm 2025-07-18 21:22:17 -07:00
meta-multimedia clight: add recipe 2025-08-18 17:58:58 -07:00
meta-networking networkmanager: Fix build with clang-21 2025-08-21 13:15:39 -07:00
meta-oe libvncserver: fix generated LibVNCServerTargets.cmake 2025-08-26 11:27:12 -07:00
meta-perl logcheck: correct the SRC_URI 2025-08-25 20:07:19 -07:00
meta-python python3-zstandard: upgrade 0.23.0 -> 0.24.0 2025-08-21 13:15:39 -07:00
meta-webserver nginx: patch CVE-2025-53859 in stable 2025-08-25 20:07:19 -07:00
meta-xfce xfce4-screenshooter: Upgrade to 1.11.2 2025-07-16 08:52:06 -07:00
.b4-config
.gitignore
COPYING.MIT
README.md

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to suppliment OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories