aml: add new recipe
PATCH 1/2 aml: add new recipe
Add a new recipe for aml (Andri's Main Loop) v0.3.0. It is required for neatvnc which is required for building Weston with VNC backend.
--- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-graphics/aml/aml_git.bb | 35 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-graphics/aml/aml_git.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -894,3 +894,4 @@ RECIPE_MAINTAINER:pn-xz = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zip = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zlib = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zstd = "Alexander Kanavin <[email protected]>" +RECIPE_MAINTAINER:pn-aml = "Leon Anavi <[email protected]>"
meta/recipes-graphics/aml/aml_git.bb new file +35 -0
@@ -0,0 +1,35 @@ +SUMMARY = "Andri's Main Loop" +DESCRIPTION = "Andri's Main Loop" +HOMEPAGE = "https://github.com/any1/aml" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://COPYING;md5=e6f3cfaa39204b96e14b68b9d50d3e4e" + +SRC_URI = "git://github.com/any1/aml;branch=master;protocol=https" + +SRCREV = "b83f3576ce4187d9285f06e9066ef43a691464d4" + +PV = "0.3.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" + +PACKAGE_BEFORE_PN += "${PN}-examples" +ALLOW_EMPTY:${PN}-examples = "1" +FILES:${PN}-examples = "${bindir}" + +inherit meson pkgconfig + +AML_EXAMPLES = "ticker nested-ticker reader" + +do_install:append () { + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then + install -d ${D}${bindir} + for bin in ${AML_EXAMPLES}; do + install -m 0755 ${B}/examples/$bin ${D}${bindir} + done + fi +} + +BBCLASSEXTEND = "native"
Signature · 1 line
2.39.2
PATCH 2/2 neatvnc: add new recipe
Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC server library with a clean interface. It is required for building Weston with VNC backend.
--- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-graphics/neatvnc/neatvnc_git.bb | 40 ++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 meta/recipes-graphics/neatvnc/neatvnc_git.bb
meta/conf/distro/include/maintainers.inc +1 -0
@@ -895,3 +895,4 @@ RECIPE_MAINTAINER:pn-zip = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zlib = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zstd = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER:pn-aml = "Leon Anavi <[email protected]>" +RECIPE_MAINTAINER:pn-neatvnc = "Leon Anavi <[email protected]>"
meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +40 -0
@@ -0,0 +1,40 @@ +SUMMARY = "A liberally licensed VNC server library" +DESCRIPTION = "This is a liberally licensed VNC server library that's intended to be fast and neat." +HOMEPAGE = "https://github.com/any1/neatvnc" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" + +SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https" + +SRCREV = "8b3dc1ae6099dcfa73aec3ae11df2fdc58540d14" + +PV = "0.6.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +DEPENDS = "libdrm pixman aml zlib" + +PACKAGECONFIG ??= "tls" +PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" +PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng" + +PACKAGE_BEFORE_PN += "${PN}-examples" +ALLOW_EMPTY:${PN}-examples = "1" +FILES:${PN}-examples = "${bindir}" + +NEATVNC_EXAMPLES = "draw png-server" + +inherit meson pkgconfig + +do_install:append () { + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then + install -d ${D}${bindir} + for bin in ${NEATVNC_EXAMPLES}; do + install -m 0755 ${B}/examples/$bin ${D}${bindir} + done + fi +} + +BBCLASSEXTEND = "native"
Signature · 1 line
2.39.2
Re: [OE-core] [PATCH 2/2] neatvnc: add new recipe
Both this, and aml recipe should go to meta-oe, unless there is a use case for having them in oe-core.
Alex
Quoted 79 lines · Leon Anavi
Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC server library with a clean interface. It is required for building Weston with VNC backend.
Signed-off-by Leon Anavi <[email protected]>--- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-graphics/neatvnc/neatvnc_git.bb | 40 ++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 meta/recipes-graphics/neatvnc/neatvnc_git.bbmeta/conf/distro/include/maintainers.inc +1
-0@@ -895,3 +895,4 @@ RECIPE_MAINTAINER:pn-zip = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zlib = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zstd = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER:pn-aml = "Leon Anavi <[email protected]>" +RECIPE_MAINTAINER:pn-neatvnc = "Leon Anavi <[email protected]>"meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +40
-1@@ -0,0 +1,40 @@ +SUMMARY = "A liberally licensed VNC server library" +DESCRIPTION = "This is a liberally licensed VNC server library that's intended to be fast and neat." +HOMEPAGE = "https://github.com/any1/neatvnc" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" + +SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https" + +SRCREV = "8b3dc1ae6099dcfa73aec3ae11df2fdc58540d14" + +PV = "0.6.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +DEPENDS = "libdrm pixman aml zlib" + +PACKAGECONFIG ??= "tls" +PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" +PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng" + +PACKAGE_BEFORE_PN += "${PN}-examples" +ALLOW_EMPTY:${PN}-examples = "1" +FILES:${PN}-examples = "${bindir}" + +NEATVNC_EXAMPLES = "draw png-server" + +inherit meson pkgconfig + +do_install:append () { + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then + install -d ${D}${bindir} + for bin in ${NEATVNC_EXAMPLES}; do + install -m 0755 ${B}/examples/$bin ${D}${bindir} + done + fi +} + +BBCLASSEXTEND = "native" --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186621): https://lists.openembedded.org/g/openembedded-core/message/186621
Mute This Topic: https://lists.openembedded.org/mt/100918320/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH 2/2] neatvnc: add new recipe
Hi Alex,
Quoted 2 lines · Alexander Kanavin
Both this, and aml recipe should go to meta-oe, unless there is a use case for having them in oe-core.
Without these 2 recipes Weston 12 fails to build if PACKAGECONFIG includes vnc:
Missing or unbuildable dependency chain was: ['weston', 'neatvnc']
In this case neatvnc and aml are dependencies of weston and in my opinion they should be in the same layer. However, if you insist I can submit the patches to meta-oe.
Best regards,
Leon
Quoted 82 lines
Alex
Quoted 78 lines · Leon Anavi
Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC server library with a clean interface. It is required for building Weston with VNC backend.
Signed-off-by Leon Anavi <[email protected]>--- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-graphics/neatvnc/neatvnc_git.bb | 40 ++++++++++++++++++++ 2 files changed, 41 insertions(+)create mode 100644 meta/recipes-graphics/neatvnc/neatvnc_git.bb
meta/conf/distro/include/maintainers.inc +1
-0@@ -895,3 +895,4 @@ RECIPE_MAINTAINER:pn-zip = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zlib = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zstd = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER:pn-aml = "Leon Anavi <[email protected]>" +RECIPE_MAINTAINER:pn-neatvnc = "Leon Anavi <[email protected]>"meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +40
-1@@ -0,0 +1,40 @@ +SUMMARY = "A liberally licensed VNC server library" +DESCRIPTION = "This is a liberally licensed VNC server library that's intended to be fast and neat." +HOMEPAGE = "https://github.com/any1/neatvnc" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" + +SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https" + +SRCREV = "8b3dc1ae6099dcfa73aec3ae11df2fdc58540d14" + +PV = "0.6.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +DEPENDS = "libdrm pixman aml zlib" + +PACKAGECONFIG ??= "tls" +PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" +PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng" + +PACKAGE_BEFORE_PN += "${PN}-examples" +ALLOW_EMPTY:${PN}-examples = "1" +FILES:${PN}-examples = "${bindir}" + +NEATVNC_EXAMPLES = "draw png-server" + +inherit meson pkgconfig + +do_install:append () { + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then + install -d ${D}${bindir} + for bin in ${NEATVNC_EXAMPLES}; do + install -m 0755 ${B}/examples/$bin ${D}${bindir} + done + fi +} + +BBCLASSEXTEND = "native" --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186621): https://lists.openembedded.org/g/openembedded-core/message/186621
Mute This Topic: https://lists.openembedded.org/mt/100918320/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com
Re: [OE-core] [PATCH 2/2] neatvnc: add new recipe
Quoted 8 lines · Leon Anavi
Without these 2 recipes Weston 12 fails to build if PACKAGECONFIG includes vnc:
Missing or unbuildable dependency chain was: ['weston', 'neatvnc']
In this case neatvnc and aml are dependencies of weston and in my opinion they should be in the same layer. However, if you insist I can submit the patches to meta-oe.
The criteria for oe-core are:
a) core feature needed for a typical embedded system
b) hard dependency of something in a)
Optional features go to meta-oe typically. Otherwise, oe-core would just grow uncontrollably.
Alex
Re: [OE-core] [PATCH 2/2] neatvnc: add new recipe
Quoted 9 lines · Alexander Kanavin
Quoted 8 lines · Leon Anavi
Without these 2 recipes Weston 12 fails to build if PACKAGECONFIG includes vnc:
Missing or unbuildable dependency chain was: ['weston', 'neatvnc']
In this case neatvnc and aml are dependencies of weston and in my opinion they should be in the same layer. However, if you insist I can submit the patches to meta-oe.
Quoted 6 lines
The criteria for oe-core are:
a) core feature needed for a typical embedded system
b) hard dependency of something in a)Optional features go to meta-oe typically. Otherwise, oe-core would just grow uncontrollably.
OK, I will wait for Khem's reply about tls in neatvnc and resubmit the patches to meta-oe.
Best regards, Leon
Quoted 2 lines
Alex
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com
Re: [OE-core] [PATCH 2/2] neatvnc: add new recipe
In reply to Leon AnaviQuoted 33 lines · Leon Anavi
Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC server library with a clean interface. It is required for building Weston with VNC backend.
Signed-off-by Leon Anavi <[email protected]>--- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-graphics/neatvnc/neatvnc_git.bb | 40 ++++++++++++++++++++ 2 files changed, 41 insertions(+)create mode 100644 meta/recipes-graphics/neatvnc/neatvnc_git.bb
meta/conf/distro/include/maintainers.inc +1
-0@@ -895,3 +895,4 @@ RECIPE_MAINTAINER:pn-zip = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zlib = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zstd = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER:pn-aml = "Leon Anavi <[email protected]>" +RECIPE_MAINTAINER:pn-neatvnc = "Leon Anavi <[email protected]>"meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +7
-0@@ -0,0 +1,40 @@ +SUMMARY = "A liberally licensed VNC server library" +DESCRIPTION = "This is a liberally licensed VNC server library that's intended to be fast and neat." +HOMEPAGE = "https://github.com/any1/neatvnc" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" + +SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https"
meta/recipes-graphics/neatvnc/neatvnc_git.bb line 17
Quoted 10 lines
meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +10
-0+ +SRCREV = "8b3dc1ae6099dcfa73aec3ae11df2fdc58540d14" + +PV = "0.6.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +DEPENDS = "libdrm pixman aml zlib" + +PACKAGECONFIG ??= "tls"
Can you check if it can support tls without gnutls/nettle ? if not then can we keep the default to not enable it.
Quoted 34 lines
meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +23
-1+PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" +PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng" + +PACKAGE_BEFORE_PN += "${PN}-examples" +ALLOW_EMPTY:${PN}-examples = "1" +FILES:${PN}-examples = "${bindir}" + +NEATVNC_EXAMPLES = "draw png-server" + +inherit meson pkgconfig + +do_install:append () { + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', d)}; then + install -d ${D}${bindir} + for bin in ${NEATVNC_EXAMPLES}; do + install -m 0755 ${B}/examples/$bin ${D}${bindir} + done + fi +} + +BBCLASSEXTEND = "native" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#186621): https://lists.openembedded.org/g/openembedded-core/message/186621
Mute This Topic: https://lists.openembedded.org/mt/100918320/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH 2/2] neatvnc: add new recipe
Hi Khem,
Quoted 42 lines · Khem Raj
Quoted 41 lines · Leon Anavi
Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC server library with a clean interface. It is required for building Weston with VNC backend.
Signed-off-by Leon Anavi <[email protected]>---
meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-graphics/neatvnc/neatvnc_git.bb | 40 ++++++++++++++++++++2 files changed, 41 insertions(+)create mode 100644 meta/recipes-graphics/neatvnc/neatvnc_git.bb
meta/conf/distro/include/maintainers.inc +0
-0@@ -895,3 +895,4 @@ RECIPE_MAINTAINER:pn-zip = "Denys Dmytriyenko<[email protected]>"
RECIPE_MAINTAINER:pn-zlib = "Denys Dmytriyenko <[email protected]>" RECIPE_MAINTAINER:pn-zstd = "Alexander Kanavin <[email protected]>" RECIPE_MAINTAINER:pn-aml = "Leon Anavi <[email protected]>"meta/conf/distro/include/maintainers.inc +1
-0+RECIPE_MAINTAINER:pn-neatvnc = "Leon Anavi <[email protected]>"meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +2
-0@@ -0,0 +1,40 @@ +SUMMARY = "A liberally licensed VNC server library" +DESCRIPTION = "This is a liberally licensed VNC server librarythat's intended to be fast and neat."
meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +3
-0+HOMEPAGE = "https://github.com/any1/neatvnc" +LICENSE = "ISC" +LIC_FILES_CHKSUM ="file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7"
meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +7
-0+ +SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https" + +SRCREV = "8b3dc1ae6099dcfa73aec3ae11df2fdc58540d14" + +PV = "0.6.0+git${SRCPV}" +
Quoted 8 lines
meta/recipes-graphics/neatvnc/neatvnc_git.bb line 17
Quoted 5 lines
meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +5
-0+S = "${WORKDIR}/git" + +DEPENDS = "libdrm pixman aml zlib" + +PACKAGECONFIG ??= "tls"Can you check if it can support tls without gnutls/nettle ? if not then can we keep the default to not enable it.
Sorry, do_configure of neatvnc fails if tls is in PACKAGECONFIG without gnutls:
ERROR: Dependency "gnutls" not found, tried pkgconfig
In order to get VNC backend in Weston 12 working we need tls enabled in neatvnc. Because of this I added tls by default in PACKAGECONFIG of neatvnc. Should I remove it regarding these circumstances?
Best regards,
Leon
Quoted 37 lines
Quoted 37 lines
meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +4
-0+PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" +PACKAGECONFIG[benchmarks] ="-Dbenchmarks=true,-Dbenchmarks=false,libpng"
meta/recipes-graphics/neatvnc/neatvnc_git.bb new file +11
-0+ +PACKAGE_BEFORE_PN += "${PN}-examples" +ALLOW_EMPTY:${PN}-examples = "1" +FILES:${PN}-examples = "${bindir}" + +NEATVNC_EXAMPLES = "draw png-server" + +inherit meson pkgconfig + +do_install:append () { + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true','false', d)}; then
+ install -d ${D}${bindir}
+ for bin in ${NEATVNC_EXAMPLES}; do
+ install -m 0755 ${B}/examples/$bin ${D}${bindir} + done
+ fimeta/recipes-graphics/neatvnc/neatvnc_git.bb new file +3
-1+} + +BBCLASSEXTEND = "native" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#186621): https://lists.openembedded.org/g/openembedded-core/message/186621
Mute This Topic: https://lists.openembedded.org/mt/100918320/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com