29 Commits

Author SHA1 Message Date
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
Moritz Haase
0cf509d681
libvncserver: upgrade 0.9.14 -> 0.9.15
Also pull in a patch to support builds with CMake 4+ that hasn't made it into a
release yet.

Release notes are available at [0].

[0]: https://github.com/LibVNC/libvncserver/releases/tag/LibVNCServer-0.9.15

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-15 00:25:29 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Markus Volk
f6c1afac5b
libvncserver: make use of virtual/libsdl2
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-25 14:47:10 -07:00
Markus Volk
578071e46f
libvncserver: fix reproducibility issue
remove STAGING_DIR_HOST from the LibVNCServerTargets.cmake file

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-09 12:35:15 -08:00
Lee Chee Yang
658fb2a8ef libvncserver: update to 0.9.14
0.9.14 represents a gradual improvement over 0.9.13 with lots of
developments all over the place. 40 issues and pull requests were
closed/merged with this release. Highlights on the LibVNCServer side are
a refined multi-threaded implementation, support for Unicode clipboard
data

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-22 07:36:16 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Alexander Kanavin
4a4abee38a libvncserver: disable ffmpeg support due to incompatiblility with ffmpeg 5.0
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-25 09:13:09 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
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>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
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>
2021-08-03 10:21:25 -07:00
Oleksandr Kravchuk
8a887e30e0 libvncserver: update to 0.9.13
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:52:14 -07:00
Martin Jansa
c66896149c libvncserver: don't enable sasl support by default
* cyrus-sasl is in meta-networking and meta-oe doesn't depend on meta-networking

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-26 07:17:58 -08:00
Armin Kuster
1e951df523 libvncserver: fix build depends issue
only include ffmpeg if correct license is defined

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-23 15:03:15 -08:00
Maxime Roussin-Bélanger
5ea25a1d72 libvncserver: add missing cmake configration option to packageconfig
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-05 23:01:06 -08:00
Kai Kang
27ea5e7059 libvncserver: update to latest commit 1354f7f
Update libvncserver to latest git commit 1354f7f which could help to fix
do_package error when multilib is enabled:

| Files/directories were installed but not shipped in any package:
|   /usr/lib/libvncclient.so.0.9.12
|   /usr/lib/libvncclient.so.1
|   /usr/lib/libvncclient.so
|   /usr/lib/libvncserver.so.0.9.12
|   /usr/lib/libvncserver.so.1
|   /usr/lib/libvncserver.so
|   /usr/lib/pkgconfig
|   /usr/lib/pkgconfig/libvncserver.pc
|   /usr/lib/pkgconfig/libvncclient.pc

Rename recipe name from _git.bb to _${version}.bb as well.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:34:20 -07:00
Martin Jansa
04ff199cb9 libvncserver: set PV in the recipe
* last SRCREV bump commit says:
  libvncserver: Update to latest commit post 0.9.12
  but there is no PV in the recipe, so the version was just:
  git-r0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-11 23:35:30 -07:00
Brad Bishop
44725208af libvncserver: enable split client/server packages
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Randy MacLeod
bd6803523c libvncserver: make PACKAGECONFIG flags explicit
Set all the PACKAGECONFIG enable/disable flags explicitly
rather than rely on assumed defaults. This also makes it
clear what the intended configuration is in log files.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-28 13:51:46 -08:00
Randy MacLeod
12351cdd21 libvncserver: Update to latest commit post 0.9.12
Update to latest git HEAD rather than just 0.9.12 since
that includes a fix for CVE-2018-15127.

Support for lzo in addition to a bundled minilzo was added
upstream so add a PACKAGECONFIG[lzo] and add it to the default config.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-28 13:51:46 -08:00
Maxime Roussin-Bélanger
b2480dbeb6 libvncserver: fix configure argument on openssl when disabled
When openssl is not included in the PACKAGECONFIG it
shouldn't try to compile with openssl.

libvncserver CMakeLists.txt activates all of its options and
tries to find libssl.so. CMake finds it inside the native
sysroot which could be the wrong architecture when linking.

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-22 00:52:44 -08:00
Maxime Roussin-Bélanger
587cdd42bb libvncserver: Make PACKAGECONFIG easier to read by making the list multiline
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-22 00:52:44 -08:00
Eddie James
5add8e838f libvncserver: Update to latest version
The latest release of libvncserver is almost two years old. A number of
security fixes and enhancements have recently been committed. Since the repo
is stable, point the recipe to the latest commit.

libvncserver switched from autotools to cmake, so update the recipe as
necessary, and add PACKAGECONFIG options to allow a more minimal build and
install.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-03 08:56:52 -08:00
Armin Kuster
684c52226e libvncserver: only include when x11 in DISTRO_FEATURES
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 09:59:33 -07:00
Martin Jansa
ec9e5ed062 recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long
  time and nobody showed any interest to fix them
* remove all unused .patch and .inc files as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
Kyle Russell
69c2c10a9d libvncserver: upgrade to 0.9.11
- Updates the SRC_URI to pull from the github project instead of debian
- Removes the need for the configure.ac patch since the github archive
  still contains the webclient directory, no impact to built packages
- sha1.c patch now included on 0.9.11
- adds systemd dependency for distros building with systemd
- removes conf flag for libva since that support has been removed in
  0.9.11

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-19 19:30:44 +02:00
Khem Raj
a14aa989b9 libvncserver: Fix build with security flags on and disable libva
When libva is present it detects it and then fails to build
until the support is fixed, lets disable it

Add a patch to fix issue found when compiling with
security flags turned on

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-13 11:19:11 +01:00
Martin Jansa
289217bbc3 meta-oe: fix indentation
* remove tabs which sneaked in since last cleanup
* meta-oe layers are using consistent indentation with 4 spaces, see
  http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:28 +02:00
Yi Zhao
28583c1ad6 libvncserver: fix PN -> BPN for multilib
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-04 14:56:41 +01:00
Ioan-Adrian Ratiu
50d303bc46 meta-oe: recipes-graphics: add libvncserver recipe
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:55 +01:00