* [meta-oe][patch 1/4] libcec: workaround wrong choice of PYTHON_PKG_DIR when building on Debian
@ 2020-09-09 8:41 Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch] New terminal emulator: st 0.8.4 Yann Dirson
` (4 more replies)
0 siblings, 5 replies; 10+ messages in thread
From: Yann Dirson @ 2020-09-09 8:41 UTC (permalink / raw)
To: openembedded-devel; +Cc: Yann Dirson
From: Yann Dirson <yann@blade-group.com>
As described in https://github.com/Pulse-Eight/libcec/issues/530 the
cmake code looks at the host to make decisions about the target, and
we can't even override this with a flag.
Signed-off-by: Yann Dirson <yann@blade-group.com>
---
...buggy-test-confusing-host-and-target.patch | 31 +++++++++++++++++++
.../recipes-extended/libcec/libcec_6.0.2.bb | 1 +
2 files changed, 32 insertions(+)
create mode 100644 meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch
diff --git a/meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch b/meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch
new file mode 100644
index 000000000..7c29e15e2
--- /dev/null
+++ b/meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch
@@ -0,0 +1,31 @@
+From 8ce50bf569ec2d931735180079bbe507730626c8 Mon Sep 17 00:00:00 2001
+From: Yann Dirson <yann@blade-group.com>
+Date: Mon, 7 Sep 2020 18:17:21 +0200
+Subject: [PATCH] Remove buggy test confusing host and target
+
+---
+ src/libcec/cmake/CheckPlatformSupport.cmake | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake b/src/libcec/cmake/CheckPlatformSupport.cmake
+index 1d99bd8..31dac4f 100644
+--- a/src/libcec/cmake/CheckPlatformSupport.cmake
++++ b/src/libcec/cmake/CheckPlatformSupport.cmake
+@@ -266,14 +266,6 @@ else()
+ DESTINATION python/cec)
+ endif()
+ else()
+- if(EXISTS "/etc/os-release")
+- file(READ "/etc/os-release" OS_RELEASE)
+- string(REGEX MATCH "ID(_LIKE)?=debian" IS_DEBIAN ${OS_RELEASE})
+- if (IS_DEBIAN)
+- SET(PYTHON_PKG_DIR "dist-packages")
+- endif()
+- endif()
+-
+ if (NOT PYTHON_PKG_DIR)
+ SET(PYTHON_PKG_DIR "site-packages")
+ endif()
+--
+2.28.0
+
diff --git a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
index 894ee52f9..c4aeb8c55 100644
--- a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
@@ -13,6 +13,7 @@ SRCREV = "29d82c80bcc62be2878a9ac080de7eb286c4beb9"
SRC_URI = "git://github.com/Pulse-Eight/libcec.git;branch=release \
file://0001-CheckPlatformSupport.cmake-Do-not-hardcode-lib-path.patch \
file://0001-Enhance-reproducibility.patch \
+ file://0001-Remove-buggy-test-confusing-host-and-target.patch \
"
S = "${WORKDIR}/git"
--
2.28.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-oe][patch] New terminal emulator: st 0.8.4
2020-09-09 8:41 [meta-oe][patch 1/4] libcec: workaround wrong choice of PYTHON_PKG_DIR when building on Debian Yann Dirson
@ 2020-09-09 8:41 ` Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch 2/4] libcec: build with Linux CEC API Yann Dirson
` (3 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Yann Dirson @ 2020-09-09 8:41 UTC (permalink / raw)
To: openembedded-devel; +Cc: Yann Dirson
From: Yann Dirson <yann@blade-group.com>
Can be used as a replacement for matchbox-terminal, with much less
dependencies (does not need gtk and vte), and supports "-e" flag.
Signed-off-by: Yann Dirson <yann@blade-group.com>
---
meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 28 +++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb
diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
new file mode 100644
index 000000000..7d7c20e46
--- /dev/null
+++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
@@ -0,0 +1,28 @@
+SECTION = "shadow"
+LICENSE = "MIT-X"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=04c3ca13a702147c62db90f556c5b3ca"
+SRC_URI = " \
+ http://dl.suckless.org/${BPN}/${BPN}-${PV}.tar.gz \
+"
+
+inherit pkgconfig
+
+SRC_URI[sha256sum] = "d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6"
+
+DEPENDS += "libx11 libxft fontconfig"
+
+RDEPENDS_${PN} += "libx11-locale"
+
+do_compile() {
+ make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm -lutil `pkg-config --libs x11 fontconfig xft`'
+}
+
+# don't use "make install" which builds terminfo, already in
+# ncurses-terminfo (and requires ncurses-native for "tic")
+
+do_install() {
+ mkdir -p ${D}${bindir}
+ install -m755 ${B}/st ${D}${bindir}/
+}
+
+RRECOMMENDS_${PN} += "ncurses-terminfo"
--
2.28.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-oe][patch 2/4] libcec: build with Linux CEC API
2020-09-09 8:41 [meta-oe][patch 1/4] libcec: workaround wrong choice of PYTHON_PKG_DIR when building on Debian Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch] New terminal emulator: st 0.8.4 Yann Dirson
@ 2020-09-09 8:41 ` Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch 3/4] libcec: rename libcec-tools to libcec-examples Yann Dirson
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Yann Dirson @ 2020-09-09 8:41 UTC (permalink / raw)
To: openembedded-devel; +Cc: Yann Dirson
From: Yann Dirson <yann@blade-group.com>
The Linux CEC API is available in linux-kernel-headers 4.10 and newer,
and supported since libcec 5.0.0, though they still default to the
legacy Raspberry Pi API.
Signed-off-by: Yann Dirson <yann@blade-group.com>
---
meta-oe/recipes-extended/libcec/libcec_6.0.2.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
index c4aeb8c55..94d967f4c 100644
--- a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
@@ -20,6 +20,10 @@ S = "${WORKDIR}/git"
inherit cmake pkgconfig
+# default config is for RaspberryPi API, use the Linux 4.10+ API by default
+PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0"
+EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
+
# Put client tools into a separate package
PACKAGE_BEFORE_PN += "${PN}-tools"
FILES_${PN}-tools = "${bindir}"
--
2.28.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-oe][patch 3/4] libcec: rename libcec-tools to libcec-examples
2020-09-09 8:41 [meta-oe][patch 1/4] libcec: workaround wrong choice of PYTHON_PKG_DIR when building on Debian Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch] New terminal emulator: st 0.8.4 Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch 2/4] libcec: build with Linux CEC API Yann Dirson
@ 2020-09-09 8:41 ` Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch 4/4] libcec: split the python example into a separate package Yann Dirson
[not found] ` <163310FD7A955869.2635@lists.openembedded.org>
4 siblings, 0 replies; 10+ messages in thread
From: Yann Dirson @ 2020-09-09 8:41 UTC (permalink / raw)
To: openembedded-devel; +Cc: Yann Dirson
From: Yann Dirson <yann@blade-group.com>
Those are really not general-usage tools, just examples of the API usage.
Let's use a more explicit package name.
Signed-off-by: Yann Dirson <yann@blade-group.com>
---
meta-oe/recipes-extended/libcec/libcec_6.0.2.bb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
index 94d967f4c..f55801c39 100644
--- a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
@@ -24,10 +24,10 @@ inherit cmake pkgconfig
PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0"
EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
-# Put client tools into a separate package
-PACKAGE_BEFORE_PN += "${PN}-tools"
-FILES_${PN}-tools = "${bindir}"
-RDEPENDS_${PN}-tools = "python3-${BPN} python3-core"
+# Put client examples into a separate package
+PACKAGE_BEFORE_PN += "${PN}-examples"
+FILES_${PN}-examples = "${bindir}"
+RDEPENDS_${PN}-examples = "python3-${BPN} python3-core"
# Create the wrapper for python3
PACKAGES += "python3-${BPN}"
--
2.28.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [meta-oe][patch 4/4] libcec: split the python example into a separate package
2020-09-09 8:41 [meta-oe][patch 1/4] libcec: workaround wrong choice of PYTHON_PKG_DIR when building on Debian Yann Dirson
` (2 preceding siblings ...)
2020-09-09 8:41 ` [meta-oe][patch 3/4] libcec: rename libcec-tools to libcec-examples Yann Dirson
@ 2020-09-09 8:41 ` Yann Dirson
[not found] ` <163310FD7A955869.2635@lists.openembedded.org>
4 siblings, 0 replies; 10+ messages in thread
From: Yann Dirson @ 2020-09-09 8:41 UTC (permalink / raw)
To: openembedded-devel; +Cc: Yann Dirson
From: Yann Dirson <yann@blade-group.com>
It does not provide more functionality than the C-based examples, so
is of little value on a target except for checking the python module
is working.
Signed-off-by: Yann Dirson <yann@blade-group.com>
---
meta-oe/recipes-extended/libcec/libcec_6.0.2.bb | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
index f55801c39..48be1fdac 100644
--- a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
@@ -24,10 +24,11 @@ inherit cmake pkgconfig
PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0"
EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
-# Put client examples into a separate package
-PACKAGE_BEFORE_PN += "${PN}-examples"
+# Put client examples into separate packages
+PACKAGE_BEFORE_PN += "${PN}-examples-python ${PN}-examples"
+FILES_${PN}-examples-python = "${bindir}/py*"
FILES_${PN}-examples = "${bindir}"
-RDEPENDS_${PN}-examples = "python3-${BPN} python3-core"
+RDEPENDS_${PN}-examples-python = "python3-${BPN} python3-core"
# Create the wrapper for python3
PACKAGES += "python3-${BPN}"
--
2.28.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [oe] [meta-oe][patch] New terminal emulator: st 0.8.4
[not found] ` <163310FD7A955869.2635@lists.openembedded.org>
@ 2020-09-09 8:45 ` Yann Dirson
0 siblings, 0 replies; 10+ messages in thread
From: Yann Dirson @ 2020-09-09 8:45 UTC (permalink / raw)
To: Yann Dirson; +Cc: openembeded-devel, Yann Dirson
[-- Attachment #1: Type: text/plain, Size: 1862 bytes --]
Sorry this patch should not be in this series, resending
Le mer. 9 sept. 2020 à 10:42, Yann Dirson via lists.openembedded.org
<yann.dirson=blade-group.com@lists.openembedded.org> a écrit :
> From: Yann Dirson <yann@blade-group.com>
>
> Can be used as a replacement for matchbox-terminal, with much less
> dependencies (does not need gtk and vte), and supports "-e" flag.
>
> Signed-off-by: Yann Dirson <yann@blade-group.com>
> ---
> meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 28 +++++++++++++++++++
> 1 file changed, 28 insertions(+)
> create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>
> diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> new file mode 100644
> index 000000000..7d7c20e46
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> @@ -0,0 +1,28 @@
> +SECTION = "shadow"
> +LICENSE = "MIT-X"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=04c3ca13a702147c62db90f556c5b3ca"
> +SRC_URI = " \
> + http://dl.suckless.org/${BPN}/${BPN}-${PV}.tar.gz \
> +"
> +
> +inherit pkgconfig
> +
> +SRC_URI[sha256sum] =
> "d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6"
> +
> +DEPENDS += "libx11 libxft fontconfig"
> +
> +RDEPENDS_${PN} += "libx11-locale"
> +
> +do_compile() {
> + make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm
> -lutil `pkg-config --libs x11 fontconfig xft`'
> +}
> +
> +# don't use "make install" which builds terminfo, already in
> +# ncurses-terminfo (and requires ncurses-native for "tic")
> +
> +do_install() {
> + mkdir -p ${D}${bindir}
> + install -m755 ${B}/st ${D}${bindir}/
> +}
> +
> +RRECOMMENDS_${PN} += "ncurses-terminfo"
> --
> 2.28.0
>
>
>
--
Yann Dirson <yann@blade-group.com>
Blade / Shadow -- http://shadow.tech
[-- Attachment #2: Type: text/html, Size: 3187 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [oe] [meta-oe][patch] New terminal emulator: st 0.8.4
2020-09-02 21:32 ` Yann Dirson
@ 2020-09-02 23:08 ` Khem Raj
0 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2020-09-02 23:08 UTC (permalink / raw)
To: Yann Dirson; +Cc: openembeded-devel, Yann Dirson
On Wed, Sep 2, 2020 at 2:32 PM Yann Dirson <yann.dirson@blade-group.com> wrote:
>
>
>
> Le mer. 2 sept. 2020 à 21:04, Yann Dirson via lists.openembedded.org <yann.dirson=blade-group.com@lists.openembedded.org> a écrit :
>>
>>
>>
>> Le mer. 2 sept. 2020 à 20:37, Khem Raj <raj.khem@gmail.com> a écrit :
>>>
>>> On Wed, Sep 2, 2020 at 10:46 AM Yann Dirson <yann.dirson@blade-group.com> wrote:
>>> >
>>> > From: Yann Dirson <yann@blade-group.com>
>>> >
>>> > Can be used as a replacement for matchbox-terminal, with much less
>>> > dependencies (does not need gtk and vte), and supports "-e" flag.
>>> >
>>>
>>> can you add it to
>>> meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb as well
>>> and see if you can build meta-oe-ptest-image
>>
>>
>> Running now, will send an updated version once it has passed, looks like it's going to use some CPU :)
>
>
> Well, isn't there some CI runner somewhere with already a full sstate-cache ?
>
> The qemux86-64 build fails in webkitgtk whose build takes up so much RAM my poor brand new laptop OoMs...
>
Oh, yes it will run in CI if you added it to packagegroup and sent a v2
>>
>> While preparing for that though, I stumbled on a strange issue (I'm not using the tools for that usually,
>> but I confess it is convenient ;):
>>
>> build (master=)$ bitbake-layers add-layer ../../meta-openembedded/meta-networking/
>> NOTE: Starting bitbake server...
>>
>> build (master=)$ bitbake-layers add-layer ../../meta-openembedded/meta-filesystems/
>> NOTE: Starting bitbake server...
>> Traceback (most recent call last):
>> File "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/bin/bitbake-layers", line 95, in <module>
>> ret = main()
>> File "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/bin/bitbake-layers", line 63, in main
>> tinfoil.prepare(True)
>> File "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/tinfoil.py", line 410, in prepare
>> self.run_command('parseConfiguration')
>> File "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/tinfoil.py", line 466, in run_command
>> raise TinfoilCommandFailed(result[1])
>> bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
>> File "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/command.py", line 81, in runCommand
>> result = command_method(self, commandline)
>> File "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/command.py", line 280, in parseConfiguration
>> command.cooker.parseConfiguration()
>> File "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/cooker.py", line 426, in parseConfiguration
>> self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
>> File "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/cooker.py", line 1255, in handleCollections
>> raise CollectionError("Errors during parsing layer configuration")
>> bb.cooker.CollectionError: Errors during parsing layer configuration
>>
>>
>> Same problem after adding it by hand, trying to add meta-python. Adding that one by hand as well does the trick.
>>
>>>
>>> > Signed-off-by: Yann Dirson <yann@blade-group.com>
>>> > ---
>>> > meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 28 +++++++++++++++++++
>>> > 1 file changed, 28 insertions(+)
>>> > create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>>> >
>>> > diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>>> > new file mode 100644
>>> > index 000000000..7d7c20e46
>>> > --- /dev/null
>>> > +++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>>> > @@ -0,0 +1,28 @@
>>> > +SECTION = "shadow"
>>> > +LICENSE = "MIT-X"
>>> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=04c3ca13a702147c62db90f556c5b3ca"
>>> > +SRC_URI = " \
>>> > + http://dl.suckless.org/${BPN}/${BPN}-${PV}.tar.gz \
>>> > +"
>>> > +
>>> > +inherit pkgconfig
>>> > +
>>> > +SRC_URI[sha256sum] = "d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6"
>>> > +
>>> > +DEPENDS += "libx11 libxft fontconfig"
>>> > +
>>> > +RDEPENDS_${PN} += "libx11-locale"
>>> > +
>>> > +do_compile() {
>>> > + make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm -lutil `pkg-config --libs x11 fontconfig xft`'
>>> > +}
>>> > +
>>> > +# don't use "make install" which builds terminfo, already in
>>> > +# ncurses-terminfo (and requires ncurses-native for "tic")
>>> > +
>>> > +do_install() {
>>> > + mkdir -p ${D}${bindir}
>>> > + install -m755 ${B}/st ${D}${bindir}/
>>> > +}
>>> > +
>>> > +RRECOMMENDS_${PN} += "ncurses-terminfo"
>>> > --
>>> > 2.28.0
>>> >
>>> >
>>
>>
>>
>> --
>> Yann Dirson <yann@blade-group.com>
>> Blade / Shadow -- http://shadow.tech
>>
>>
>
>
>
> --
> Yann Dirson <yann@blade-group.com>
> Blade / Shadow -- http://shadow.tech
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [oe] [meta-oe][patch] New terminal emulator: st 0.8.4
[not found] ` <16310CDC982F58B4.28345@lists.openembedded.org>
@ 2020-09-02 21:32 ` Yann Dirson
2020-09-02 23:08 ` Khem Raj
0 siblings, 1 reply; 10+ messages in thread
From: Yann Dirson @ 2020-09-02 21:32 UTC (permalink / raw)
To: Yann Dirson; +Cc: Khem Raj, openembeded-devel, Yann Dirson
[-- Attachment #1: Type: text/plain, Size: 4748 bytes --]
Le mer. 2 sept. 2020 à 21:04, Yann Dirson via lists.openembedded.org
<yann.dirson=blade-group.com@lists.openembedded.org> a écrit :
>
>
> Le mer. 2 sept. 2020 à 20:37, Khem Raj <raj.khem@gmail.com> a écrit :
>
>> On Wed, Sep 2, 2020 at 10:46 AM Yann Dirson <yann.dirson@blade-group.com>
>> wrote:
>> >
>> > From: Yann Dirson <yann@blade-group.com>
>> >
>> > Can be used as a replacement for matchbox-terminal, with much less
>> > dependencies (does not need gtk and vte), and supports "-e" flag.
>> >
>>
>> can you add it to
>> meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb as well
>> and see if you can build meta-oe-ptest-image
>>
>
> Running now, will send an updated version once it has passed, looks like
> it's going to use some CPU :)
>
Well, isn't there some CI runner somewhere with already a full sstate-cache
?
The qemux86-64 build fails in webkitgtk whose build takes up so much RAM my
poor brand new laptop OoMs...
> While preparing for that though, I stumbled on a strange issue (I'm not
> using the tools for that usually,
> but I confess it is convenient ;):
>
> build (master=)$ bitbake-layers add-layer
> ../../meta-openembedded/meta-networking/
> NOTE: Starting bitbake server...
>
> build (master=)$ bitbake-layers add-layer
> ../../meta-openembedded/meta-filesystems/
> NOTE: Starting bitbake server...
> Traceback (most recent call last):
> File
> "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/bin/bitbake-layers",
> line 95, in <module>
> ret = main()
> File
> "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/bin/bitbake-layers",
> line 63, in main
> tinfoil.prepare(True)
> File
> "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/tinfoil.py",
> line 410, in prepare
> self.run_command('parseConfiguration')
> File
> "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/tinfoil.py",
> line 466, in run_command
> raise TinfoilCommandFailed(result[1])
> bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
> File
> "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/command.py",
> line 81, in runCommand
> result = command_method(self, commandline)
> File
> "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/command.py",
> line 280, in parseConfiguration
> command.cooker.parseConfiguration()
> File
> "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/cooker.py",
> line 426, in parseConfiguration
> self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
> File
> "/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/cooker.py",
> line 1255, in handleCollections
> raise CollectionError("Errors during parsing layer configuration")
> bb.cooker.CollectionError: Errors during parsing layer configuration
>
>
> Same problem after adding it by hand, trying to add meta-python. Adding
> that one by hand as well does the trick.
>
>
>> > Signed-off-by: Yann Dirson <yann@blade-group.com>
>> > ---
>> > meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 28 +++++++++++++++++++
>> > 1 file changed, 28 insertions(+)
>> > create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>> >
>> > diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>> b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>> > new file mode 100644
>> > index 000000000..7d7c20e46
>> > --- /dev/null
>> > +++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>> > @@ -0,0 +1,28 @@
>> > +SECTION = "shadow"
>> > +LICENSE = "MIT-X"
>> > +LIC_FILES_CHKSUM =
>> "file://LICENSE;md5=04c3ca13a702147c62db90f556c5b3ca"
>> > +SRC_URI = " \
>> > + http://dl.suckless.org/${BPN}/${BPN}-${PV}.tar.gz \
>> > +"
>> > +
>> > +inherit pkgconfig
>> > +
>> > +SRC_URI[sha256sum] =
>> "d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6"
>> > +
>> > +DEPENDS += "libx11 libxft fontconfig"
>> > +
>> > +RDEPENDS_${PN} += "libx11-locale"
>> > +
>> > +do_compile() {
>> > + make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm
>> -lutil `pkg-config --libs x11 fontconfig xft`'
>> > +}
>> > +
>> > +# don't use "make install" which builds terminfo, already in
>> > +# ncurses-terminfo (and requires ncurses-native for "tic")
>> > +
>> > +do_install() {
>> > + mkdir -p ${D}${bindir}
>> > + install -m755 ${B}/st ${D}${bindir}/
>> > +}
>> > +
>> > +RRECOMMENDS_${PN} += "ncurses-terminfo"
>> > --
>> > 2.28.0
>> >
>> >
>>
>
>
> --
> Yann Dirson <yann@blade-group.com>
> Blade / Shadow -- http://shadow.tech
>
>
>
--
Yann Dirson <yann@blade-group.com>
Blade / Shadow -- http://shadow.tech
[-- Attachment #2: Type: text/html, Size: 7395 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [oe] [meta-oe][patch] New terminal emulator: st 0.8.4
2020-09-02 18:36 ` [oe] " Khem Raj
@ 2020-09-02 19:04 ` Yann Dirson
[not found] ` <16310CDC982F58B4.28345@lists.openembedded.org>
1 sibling, 0 replies; 10+ messages in thread
From: Yann Dirson @ 2020-09-02 19:04 UTC (permalink / raw)
To: Khem Raj; +Cc: openembeded-devel, Yann Dirson
[-- Attachment #1: Type: text/plain, Size: 4137 bytes --]
Le mer. 2 sept. 2020 à 20:37, Khem Raj <raj.khem@gmail.com> a écrit :
> On Wed, Sep 2, 2020 at 10:46 AM Yann Dirson <yann.dirson@blade-group.com>
> wrote:
> >
> > From: Yann Dirson <yann@blade-group.com>
> >
> > Can be used as a replacement for matchbox-terminal, with much less
> > dependencies (does not need gtk and vte), and supports "-e" flag.
> >
>
> can you add it to
> meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb as well
> and see if you can build meta-oe-ptest-image
>
Running now, will send an updated version once it has passed, looks like
it's going to use some CPU :)
While preparing for that though, I stumbled on a strange issue (I'm not
using the tools for that usually,
but I confess it is convenient ;):
build (master=)$ bitbake-layers add-layer
../../meta-openembedded/meta-networking/
NOTE: Starting bitbake server...
build (master=)$ bitbake-layers add-layer
../../meta-openembedded/meta-filesystems/
NOTE: Starting bitbake server...
Traceback (most recent call last):
File
"/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/bin/bitbake-layers",
line 95, in <module>
ret = main()
File
"/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/bin/bitbake-layers",
line 63, in main
tinfoil.prepare(True)
File
"/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/tinfoil.py",
line 410, in prepare
self.run_command('parseConfiguration')
File
"/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/tinfoil.py",
line 466, in run_command
raise TinfoilCommandFailed(result[1])
bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
File
"/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/command.py",
line 81, in runCommand
result = command_method(self, commandline)
File
"/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/command.py",
line 280, in parseConfiguration
command.cooker.parseConfiguration()
File
"/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/cooker.py",
line 426, in parseConfiguration
self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
File
"/home/yann/shadow/meta-blade/meta-shadow-os/poky/bitbake/lib/bb/cooker.py",
line 1255, in handleCollections
raise CollectionError("Errors during parsing layer configuration")
bb.cooker.CollectionError: Errors during parsing layer configuration
Same problem after adding it by hand, trying to add meta-python. Adding
that one by hand as well does the trick.
> > Signed-off-by: Yann Dirson <yann@blade-group.com>
> > ---
> > meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 28 +++++++++++++++++++
> > 1 file changed, 28 insertions(+)
> > create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> >
> > diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> > new file mode 100644
> > index 000000000..7d7c20e46
> > --- /dev/null
> > +++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> > @@ -0,0 +1,28 @@
> > +SECTION = "shadow"
> > +LICENSE = "MIT-X"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=04c3ca13a702147c62db90f556c5b3ca"
> > +SRC_URI = " \
> > + http://dl.suckless.org/${BPN}/${BPN}-${PV}.tar.gz \
> > +"
> > +
> > +inherit pkgconfig
> > +
> > +SRC_URI[sha256sum] =
> "d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6"
> > +
> > +DEPENDS += "libx11 libxft fontconfig"
> > +
> > +RDEPENDS_${PN} += "libx11-locale"
> > +
> > +do_compile() {
> > + make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm
> -lutil `pkg-config --libs x11 fontconfig xft`'
> > +}
> > +
> > +# don't use "make install" which builds terminfo, already in
> > +# ncurses-terminfo (and requires ncurses-native for "tic")
> > +
> > +do_install() {
> > + mkdir -p ${D}${bindir}
> > + install -m755 ${B}/st ${D}${bindir}/
> > +}
> > +
> > +RRECOMMENDS_${PN} += "ncurses-terminfo"
> > --
> > 2.28.0
> >
> >
>
--
Yann Dirson <yann@blade-group.com>
Blade / Shadow -- http://shadow.tech
[-- Attachment #2: Type: text/html, Size: 6180 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [oe] [meta-oe][patch] New terminal emulator: st 0.8.4
2020-09-02 17:46 Yann Dirson
@ 2020-09-02 18:36 ` Khem Raj
2020-09-02 19:04 ` Yann Dirson
[not found] ` <16310CDC982F58B4.28345@lists.openembedded.org>
0 siblings, 2 replies; 10+ messages in thread
From: Khem Raj @ 2020-09-02 18:36 UTC (permalink / raw)
To: Yann Dirson; +Cc: openembeded-devel, Yann Dirson
On Wed, Sep 2, 2020 at 10:46 AM Yann Dirson <yann.dirson@blade-group.com> wrote:
>
> From: Yann Dirson <yann@blade-group.com>
>
> Can be used as a replacement for matchbox-terminal, with much less
> dependencies (does not need gtk and vte), and supports "-e" flag.
>
can you add it to
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb as well
and see if you can build meta-oe-ptest-image
> Signed-off-by: Yann Dirson <yann@blade-group.com>
> ---
> meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 28 +++++++++++++++++++
> 1 file changed, 28 insertions(+)
> create mode 100644 meta-oe/recipes-graphics/suckless/st_0.8.4.bb
>
> diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> new file mode 100644
> index 000000000..7d7c20e46
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb
> @@ -0,0 +1,28 @@
> +SECTION = "shadow"
> +LICENSE = "MIT-X"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=04c3ca13a702147c62db90f556c5b3ca"
> +SRC_URI = " \
> + http://dl.suckless.org/${BPN}/${BPN}-${PV}.tar.gz \
> +"
> +
> +inherit pkgconfig
> +
> +SRC_URI[sha256sum] = "d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6"
> +
> +DEPENDS += "libx11 libxft fontconfig"
> +
> +RDEPENDS_${PN} += "libx11-locale"
> +
> +do_compile() {
> + make INCS='-I. `pkg-config --cflags x11 fontconfig xft`' LIBS='-lm -lutil `pkg-config --libs x11 fontconfig xft`'
> +}
> +
> +# don't use "make install" which builds terminfo, already in
> +# ncurses-terminfo (and requires ncurses-native for "tic")
> +
> +do_install() {
> + mkdir -p ${D}${bindir}
> + install -m755 ${B}/st ${D}${bindir}/
> +}
> +
> +RRECOMMENDS_${PN} += "ncurses-terminfo"
> --
> 2.28.0
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-09-09 8:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 8:41 [meta-oe][patch 1/4] libcec: workaround wrong choice of PYTHON_PKG_DIR when building on Debian Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch] New terminal emulator: st 0.8.4 Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch 2/4] libcec: build with Linux CEC API Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch 3/4] libcec: rename libcec-tools to libcec-examples Yann Dirson
2020-09-09 8:41 ` [meta-oe][patch 4/4] libcec: split the python example into a separate package Yann Dirson
[not found] ` <163310FD7A955869.2635@lists.openembedded.org>
2020-09-09 8:45 ` [oe] [meta-oe][patch] New terminal emulator: st 0.8.4 Yann Dirson
-- strict thread matches above, loose matches on Subject: below --
2020-09-02 17:46 Yann Dirson
2020-09-02 18:36 ` [oe] " Khem Raj
2020-09-02 19:04 ` Yann Dirson
[not found] ` <16310CDC982F58B4.28345@lists.openembedded.org>
2020-09-02 21:32 ` Yann Dirson
2020-09-02 23:08 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.