Yes, the CMake support was added two months ago and the release is from 2022. Cmake is also not supported by the main developer who seems to favor an advanced Makefile. In any case, it is easier to fix than the Makefile. I will go with the git version for now then until there is a new release.
On Nov. 12 2023, at 6:20 pm, Khem Raj <[email protected]> wrote: > On Sun, Nov 12, 2023 at 8:25 AM Jan Claußen <[email protected]> wrote: > > > > I am trying with the tarball but it is quite hard, since it doesn't come > > with a CMakeLists.txt. > > There is a recipe here, but it involves a lot of patching which could > > potentially be painful to maintain > > > > https://github.com/aristocratos/btop/issues/330#issuecomment-1123685779 > > > > is it because cmake support was added later ? in that case maybe using > git version is ok > > > On Nov. 11 2023, at 8:01 pm, Khem Raj <[email protected]> wrote: > > > > On Sat, Nov 11, 2023 at 10:38 AM Jan Claußen <[email protected]> wrote: > > > > > > It also needs a utf-8 locale to work. Else you have to force utf-8 mode > > > with a flag. I haven't included this as dependency at this point. > > > > you want to express all that is needed to get it running amicably. > > keeping in mind that we have glibc and musl based systems to service > > it will be good to check it on musl too. > > > > > > > > On Nov. 11 2023, at 7:35 pm, Jan Claußen <[email protected]> wrote: > > > > > > Glad that it arrived now! This is a really great resource monitor. It is > > > building from the git repository. Do you think it is better to use the > > > release instead? > > > > > > On Nov. 11 2023, at 7:30 pm, Khem Raj <[email protected]> wrote: > > > > > > Thanks for your contribution Jan > > > > > > On Sat, Nov 11, 2023 at 10:26 AM Jan Claußen <[email protected]> > > > wrote: > > > > > > > > --- > > > > meta-oe/recipes-support/btop/btop_1.2.13.bb | 23 +++++++++++++++++++++ > > > > 1 file changed, 23 insertions(+) > > > > create mode 100644 meta-oe/recipes-support/btop/btop_1.2.13.bb > > > > > > > > diff --git a/meta-oe/recipes-support/btop/btop_1.2.13.bb > > > > b/meta-oe/recipes-support/btop/btop_1.2.13.bb > > > > new file mode 100644 > > > > index 000000000..f780a993a > > > > --- /dev/null > > > > +++ b/meta-oe/recipes-support/btop/btop_1.2.13.bb > > > > @@ -0,0 +1,23 @@ > > > > +SUMMARY = "Resource monitor that shows usage and stats for processor, > > > > memory, disks, network and processes." > > > > +HOMEPAGE = "https://github.com/aristocratos/btop" > > > > +LICENSE = "Apache-2.0" > > > > +LIC_FILES_CHKSUM = > > > > "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" > > > > +SECTION = "console/utils" > > > > + > > > > +SRC_URI = > > > > "git://github.com/aristocratos/btop.git;protocol=https;branch=main" > > > > +SRCREV = "2a864f6f2ea60df16b3f015885eb3c18a48b9b78" > > > > + > > > > +S = "${WORKDIR}/git" > > > > + > > > > +inherit cmake > > > > + > > > > +FILES:${PN} += " \ > > > > + /usr/share/icons \ > > > > > > Lets use ${datadir} instead of hardcoded /usr/share > > > > > > > + /usr/share/icons/hicolor \ > > > > + /usr/share/icons/hicolor/48x48 \ > > > > + /usr/share/icons/hicolor/scalable \ > > > > + /usr/share/icons/hicolor/48x48/apps \ > > > > + /usr/share/icons/hicolor/48x48/apps/btop.png \ > > > > + /usr/share/icons/hicolor/scalable/apps \ > > > > + /usr/share/icons/hicolor/scalable/apps/btop.svg \ > > > > +" > > > > -- > > > > 2.42.0 > > > > > > > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#106595): https://lists.openembedded.org/g/openembedded-devel/message/106595 Mute This Topic: https://lists.openembedded.org/mt/102530478/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
