libvncserver: Update to latest version
PATCH 1/3 libvncserver: Update to latest version
From: Eddie James <[email protected]>
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.
--- .../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
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0 -25
@@ -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" - -SRC_URI = "https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${PV}.tar.gz" -SRC_URI[md5sum] = "7f06104d5c009813e95142932c4ddb06" -SRC_URI[sha256sum] = "193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894" - -S = "${WORKDIR}/${BPN}-LibVNCServer-${PV}" - -TARGET_LDFLAGS += "-lgcrypt"
meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb new file +23 -0
@@ -0,0 +1,23 @@ +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" + +PACKAGECONFIG ??= "gcrypt gnutls jpeg png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} sdl zlib" +PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" +PACKAGECONFIG[gnutls] = ",,gnutls" +PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" +PACKAGECONFIG[openssl] = ",,openssl" +PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" +PACKAGECONFIG[systemd] = ",,systemd" +PACKAGECONFIG[sdl] = ",,libsdl2" +PACKAGECONFIG[zlib] = ",,zlib" + +inherit cmake + +SRC_URI = "git://github.com/LibVNC/libvncserver" +SRCREV = "f997b5a75fa171d79c5e568b7157fba83c8d8355" + +S = "${WORKDIR}/git"
Signature · 1 line
2.19.2
PATCH 2/3 libzip: add libzip 0.9
From: Niklas Johansson <[email protected]>
libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted.
Version 0.9 is a little dated and the newest version is 1.5.1. However, there are some breaking API changes between versions, so this older version is needed.
--- meta-oe/recipes-extended/libzip/files/LICENSE | 31 +++++++++++++++++++ meta-oe/recipes-extended/libzip/libzip_0.9.bb | 16 ++++++++++ 2 files changed, 47 insertions(+) create mode 100644 meta-oe/recipes-extended/libzip/files/LICENSE create mode 100644 meta-oe/recipes-extended/libzip/libzip_0.9.bb
meta-oe/recipes-extended/libzip/files/LICENSE new file +31 -0
@@ -0,0 +1,31 @@ +Copyright (C) 1999-2017 Dieter Baron and Thomas Klausner + +The authors can be contacted at <[email protected]> + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
meta-oe/recipes-extended/libzip/libzip_0.9.bb new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "C library for reading, creating, and modifying zip archives" +SECTION = "libs" +HOMEPAGE = "http://www.nih.at/libzip" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file:///LICENSE;md5=01f8b1b8da6403739094396e15b1e722" +DEPENDS = "zlib" +PR = "r1" + +inherit autotools + +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI = "http://www.nih.at/${PN}/${PN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "56b9f11c1eee5eed189a20183d7e06b0" +SRC_URI[sha256sum] = "23a8c3624122a3777bb4ac3be4a867fd0bed7f3aacb8f1d0b68fc459cfb035fc"
Signature · 1 line
2.19.2
Re: [meta-oe][PATCH 2/3] libzip: add libzip 0.9
Quoted 63 lines · Khem Raj
From: Niklas Johansson <[email protected]>
libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted.
Version 0.9 is a little dated and the newest version is 1.5.1. However, there are some breaking API changes between versions, so this older version is needed.
Signed-off-by Niklas Johansson <[email protected]>Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-extended/libzip/files/LICENSE | 31 +++++++++++++++++++ meta-oe/recipes-extended/libzip/libzip_0.9.bb | 16 ++++++++++ 2 files changed, 47 insertions(+) create mode 100644 meta-oe/recipes-extended/libzip/files/LICENSE create mode 100644 meta-oe/recipes-extended/libzip/libzip_0.9.bbmeta-oe/recipes-extended/libzip/files/LICENSE new file +31
-0@@ -0,0 +1,31 @@ +Copyright (C) 1999-2017 Dieter Baron and Thomas Klausner + +The authors can be contacted at <[email protected]> + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.meta-oe/recipes-extended/libzip/libzip_0.9.bb new file +0
-0
meta-oe/recipes-extended/libzip/libzip_0.9.bb line 7
Quoted 7 lines
meta-oe/recipes-extended/libzip/libzip_0.9.bb new file +7
-0@@ -0,0 +1,16 @@ +DESCRIPTION = "C library for reading, creating, and modifying zip archives" +SECTION = "libs" +HOMEPAGE = "http://www.nih.at/libzip" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file:///LICENSE;md5=01f8b1b8da6403739094396e15b1e722" +DEPENDS = "zlib" +PR = "r1"
Why PR ?
- armin
Quoted 9 lines
meta-oe/recipes-extended/libzip/libzip_0.9.bb new file +9
-0+ +inherit autotools + +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI = "http://www.nih.at/${PN}/${PN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "56b9f11c1eee5eed189a20183d7e06b0" +SRC_URI[sha256sum] = "23a8c3624122a3777bb4ac3be4a867fd0bed7f3aacb8f1d0b68fc459cfb035fc"
PATCH 3/3 packagegroup-meta-oe.bb: Exclude from world builds
In reply to Khem RajIt does not parse, since it has many unmet rdepends
--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +2 -0
@@ -1,5 +1,7 @@ SUMMARY = "Meta-oe ptest packagegroups" +EXCLUDE_FROM_WORLD = "1" + inherit packagegroup PROVIDES = "${PACKAGES}"
Signature · 1 line
2.19.2
Re: [meta-oe][PATCH 3/3] packagegroup-meta-oe.bb: Exclude from world builds
My patches fix this issue though, no need to exclude if you take them.
Alex
Quoted 28 lines · Khem Raj
It does not parse, since it has many unmet rdepends
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 ++ 1 file changed, 2 insertions(+)meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +2
-1@@ -1,5 +1,7 @@ SUMMARY = "Meta-oe ptest packagegroups" +EXCLUDE_FROM_WORLD = "1" + inherit packagegroup PROVIDES = "${PACKAGES}" --2.19.2
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-oe][PATCH 3/3] packagegroup-meta-oe.bb: Exclude from world builds
Quoted 3 lines · Alexander Kanavin
My patches fix this issue though, no need to exclude if you take them.
Am afraid they don't see
http://jenkins.nas-admin.org/view/OE/job/oe_world_qemuarm/945/consoleFull
Quoted 30 lines
Alex
Quoted 28 lines · Khem Raj
It does not parse, since it has many unmet rdepends
Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 ++ 1 file changed, 2 insertions(+)meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +2
-1@@ -1,5 +1,7 @@ SUMMARY = "Meta-oe ptest packagegroups" +EXCLUDE_FROM_WORLD = "1" + inherit packagegroup PROVIDES = "${PACKAGES}" --2.19.2
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-oe][PATCH 3/3] packagegroup-meta-oe.bb: Exclude from world builds
Quoted 5 lines · Khem Raj
Quoted 2 lines
My patches fix this issue though, no need to exclude if you take them.
Am afraid they don't see
http://jenkins.nas-admin.org/view/OE/job/oe_world_qemuarm/945/consoleFull
Right, mcelog recipe has:COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
So packagegroup-meta-oe should probably be excluded from world, but keep my patches as well, they do fix issues for those who would use it explicitly.
Alex
Quoted 32 lines · Khem Raj
From: Eddie James <[email protected]>
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 <[email protected]>Signed-off-by Khem Raj <[email protected]>--- .../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.bbmeta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0
-7@@ -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" -
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb line 17
Quoted 10 lines
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0
-10-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?
- armin
Quoted 37 lines
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0
-8- -SRC_URI = "https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${PV}.tar.gz" -SRC_URI[md5sum] = "7f06104d5c009813e95142932c4ddb06" -SRC_URI[sha256sum] = "193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894" - -S = "${WORKDIR}/${BPN}-LibVNCServer-${PV}" - -TARGET_LDFLAGS += "-lgcrypt"meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb new file +23
-0@@ -0,0 +1,23 @@ +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" + +PACKAGECONFIG ??= "gcrypt gnutls jpeg png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} sdl zlib" +PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" +PACKAGECONFIG[gnutls] = ",,gnutls" +PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" +PACKAGECONFIG[openssl] = ",,openssl" +PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" +PACKAGECONFIG[systemd] = ",,systemd" +PACKAGECONFIG[sdl] = ",,libsdl2" +PACKAGECONFIG[zlib] = ",,zlib" + +inherit cmake + +SRC_URI = "git://github.com/LibVNC/libvncserver" +SRCREV = "f997b5a75fa171d79c5e568b7157fba83c8d8355" + +S = "${WORKDIR}/git"
Quoted 40 lines · On Sun, Dec 2, 2018 at 12:40 PM akuster808 <[email protected]> wrote:
Quoted 36 lines · Khem Raj
From: Eddie James <[email protected]>
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 <[email protected]>Signed-off-by Khem Raj <[email protected]>--- .../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.bbmeta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0
-11@@ -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"
Quoted 8 lines
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb line 17
Quoted 6 lines
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0
-6- -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.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 53 lines · Eddie James
Quoted 50 lines · Khem Raj
Quoted 49 lines · On Sun, Dec 2, 2018 at 12:40 PM akuster808 <[email protected]> wrote:
Quoted 38 lines · Khem Raj
From: Eddie James <[email protected]>
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 <[email protected]>Signed-off-by Khem Raj <[email protected]>---
.../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
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0
-6@@ -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"
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0
-4- -DEPENDS += "zlib libsdl jpeg libpng gtk+ libgcrypt nettle gnutls gmp" - -PACKAGECONFIG ??="${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb line 17
Quoted 7 lines
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.11.bb deleted +0
-7-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?
Quoted 2 lines
Quoted 2 lines
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