Le mer. 2 sept. 2020 à 21:04, Yann Dirson via lists.openembedded.org <[email protected]> a écrit :
> > > Le mer. 2 sept. 2020 à 20:37, Khem Raj <[email protected]> a écrit : > >> On Wed, Sep 2, 2020 at 10:46 AM Yann Dirson <[email protected]> >> wrote: >> > >> > From: Yann Dirson <[email protected]> >> > >> > 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 <[email protected]> >> > --- >> > 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 <[email protected]> > Blade / Shadow -- http://shadow.tech > > > -- Yann Dirson <[email protected]> Blade / Shadow -- http://shadow.tech
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#86844): https://lists.openembedded.org/g/openembedded-devel/message/86844 Mute This Topic: https://lists.openembedded.org/mt/76588293/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
