[oe] [meta-oe][PATCH 1/3] libvncserver: Update to latest version

Eddie James eajames at linux.ibm.com
Mon Dec 3 15:55:22 UTC 2018



On 12/03/2018 09:43 AM, Eddie James wrote:
>
>
> On 12/02/2018 10:46 PM, Khem Raj wrote:
>> On Sun, Dec 2, 2018 at 12:40 PM akuster808 <akuster808 at gmail.com> wrote:
>>>
>>>
>>> On 12/2/18 11:13 AM, Khem Raj wrote:
>>>> From: Eddie James <eajames at linux.ibm.com>
>>>>
>>>> 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 at linux.ibm.com>
>>>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>>>> ---
>>>>   .../libvncserver/libvncserver_0.9.11.bb       | 25 
>>>> -------------------
>>>>   .../libvncserver/libvncserver_git.bb          | 23 +++++++++++++++++
>>>>   2 files changed, 23 insertions(+), 25 deletions(-)
>>>>   delete mode 100644 
>>>> meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb
>>>>   create mode 100644 
>>>> meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb
>>>>
>>>> diff --git 
>>>> a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb 
>>>> b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb
>>>> deleted file mode 100644
>>>> index 38dac06e64..0000000000
>>>> --- a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb
>>>> +++ /dev/null
>>>> @@ -1,25 +0,0 @@
>>>> -DESCRIPTION = "library for easy implementation of a RDP/VNC server"
>>>> -HOMEPAGE = "https://libvnc.github.io"
>>>> -SECTION = "libs"
>>>> -PRIORITY = "optional"
>>>> -LICENSE = "GPLv2"
>>>> -LIC_FILES_CHKSUM = 
>>>> "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"
>>>> -
>>>> -DEPENDS += "zlib libsdl jpeg libpng gtk+ libgcrypt nettle gnutls gmp"
>>>> -
>>>> -PACKAGECONFIG ??= 
>>>> "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
>>>> -PACKAGECONFIG[systemd] = ",,systemd"
>>>> -
>>>> -RDEPENDS_${PN} += "libpng gtk+ libgcrypt"
>>>> -
>>>> -inherit distro_features_check autotools binconfig pkgconfig
>>>> -
>>>> -REQUIRED_DISTRO_FEATURES = "x11"
>>> X11 was dropped. is it handled in some on the fashion?
>> what caused the x11 dep in first place ? if it was gtk+ then this has 
>> been
>> dropped. 

Yes, as far as I can tell there is no dependency on X11 in the latest 
libvncserver. Some of the optional dependencies may require X11 
(libsdl2?) but that's handled by packageconfig and by the libsdl recipe 
I would assume.

Thanks for sending this to the list btw, had real trouble with my first 
attempt :)

Eddie



More information about the Openembedded-devel mailing list