Skip to contentSkip to conversation

recipes-support: Add btop

PATCH In review Jan Claußen 2 participants 23 messages Nov 11, 2023 – Nov 18, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 recipes-support: Add btop

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +23 -0
new file mode 100644
index 000000000..f780a993a
@@ -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 \
+ /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

#2 lore raw

Thanks for your contribution Jan

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

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?

Quoted 52 lines · Khem Raj

Thanks for your contribution Jan

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

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.

Quoted 56 lines · Jan Claußen

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?

Quoted 52 lines · Khem Raj

Thanks for your contribution Jan

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

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

Quoted 68 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#7 lore raw
Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#8 lore raw

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.

Quoted 81 lines · Khem Raj
Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#9 lore raw

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

Quoted 85 lines · Jan Claußen

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.

Quoted 81 lines · Khem Raj
Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#10 lore raw

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#11 lore raw

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

Quoted 93 lines · Khem Raj

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#12 lore raw

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#13 lore raw

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

Quoted 105 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base
eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#14 lore raw
Quoted 4 lines · Jan Claußen

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 108 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#15 lore raw

How did you build it? I have sent you a PM on IRC

Quoted 118 lines · Khem Raj
Quoted 4 lines · Jan Claußen

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 108 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#16 lore raw

So I have just tested btop on musl succesfully.

I am questioning the need for the locales though. You can run btop with the --utf-force flag and it will work well. If you want to run it without this flag, you'll need to not only install the locales, but also add LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

to /etc/profile as a minimum. This would force the user to use these locales. It would also require a .bbappend on base-files and I don't think that this is a good idea.

Quoted 122 lines · Jan Claußen

How did you build it? I have sent you a PM on IRC

Quoted 118 lines · Khem Raj
Quoted 4 lines · Jan Claußen

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 108 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#17 lore raw
Quoted 3 lines · Jan Claußen

So I have just tested btop on musl succesfully.

OK

Quoted 5 lines

I am questioning the need for the locales though. You can run btop with the --utf-force flag and it will work well. If you want to run it without this flag, you'll need to not only install the locales, but also add

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

yeah if it can work without it, that would be great

Quoted 125 lines

to /etc/profile as a minimum. This would force the user to use these locales. It would also require a .bbappend on base-files and I don't think that this is a good idea.

On Nov. 12 2023, at 9:24 pm, Jan Claußen <[email protected]> wrote:

How did you build it? I have sent you a PM on IRC

On Nov. 12 2023, at 9:21 pm, Khem Raj <[email protected]> wrote:

Quoted 4 lines · Jan Claußen

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 108 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#18 lore raw

So in this case it shoule be alright like this. The developer will have to take care to set its proper locale, but apart from that everything works.

From b242979231f4f32243b99cb8312fe4de07b0d87b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Clau=C3=9Fen?= <[email protected]>
Date: Sat, 18 Nov 2023 14:45:27 +0100
Subject: [PATCH] meta-oe: recipes-support: Add btop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Adds btop, the shell-based resource monitor that shows usage and stats for processor, memory, disks, network and processes.

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +23 -0
new file mode 100644
index 000000000..a944fe7b5
@@ -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 = "9edbf27f1b6d5844a97325fcda732762ba086a99"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN} += " \
+ ${datadir}/icons \
+ ${datadir}/icons/hicolor \
+ ${datadir}/icons/hicolor/48x48 \
+ ${datadir}/icons/hicolor/scalable \
+ ${datadir}/icons/hicolor/48x48/apps \
+ ${datadir}/icons/hicolor/48x48/apps/btop.png \
+ ${datadir}/icons/hicolor/scalable/apps \
+ ${datadir}/icons/hicolor/scalable/apps/btop.svg \
+"

--
2.42.1

Quoted 139 lines · Khem Raj
Quoted 3 lines · Jan Claußen

So I have just tested btop on musl succesfully.

OK

Quoted 5 lines

I am questioning the need for the locales though. You can run btop with the --utf-force flag and it will work well. If you want to run it without this flag, you'll need to not only install the locales, but also add

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

yeah if it can work without it, that would be great

Quoted 125 lines

to /etc/profile as a minimum. This would force the user to use these locales. It would also require a .bbappend on base-files and I don't think that this is a good idea.

On Nov. 12 2023, at 9:24 pm, Jan Claußen <[email protected]> wrote:

How did you build it? I have sent you a PM on IRC

On Nov. 12 2023, at 9:21 pm, Khem Raj <[email protected]> wrote:

Quoted 4 lines · Jan Claußen

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 108 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#19 lore raw

thats fine and thanks for update. However, if you can resend it via git format-patch && git send-email then tools I use will capture the v2 properly.

Quoted 193 lines · Jan Claußen

So in this case it shoule be alright like this. The developer will have to take care to set its proper locale, but apart from that everything works.

From b242979231f4f32243b99cb8312fe4de07b0d87b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Clau=C3=9Fen?= <[email protected]>
Date: Sat, 18 Nov 2023 14:45:27 +0100
Subject: [PATCH] meta-oe: recipes-support: Add btop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Adds btop, the shell-based resource monitor that shows usage and stats for processor, memory, disks, network and processes.

---
 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
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +23 -1
new file mode 100644
index 000000000..a944fe7b5
@@ -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 = "9edbf27f1b6d5844a97325fcda732762ba086a99"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN} += " \
+    ${datadir}/icons \
+    ${datadir}/icons/hicolor \
+    ${datadir}/icons/hicolor/48x48 \
+    ${datadir}/icons/hicolor/scalable \
+    ${datadir}/icons/hicolor/48x48/apps \
+    ${datadir}/icons/hicolor/48x48/apps/btop.png \
+    ${datadir}/icons/hicolor/scalable/apps \
+    ${datadir}/icons/hicolor/scalable/apps/btop.svg \
+"
--

2.42.1

On Nov. 14 2023, at 9:43 pm, Khem Raj <[email protected]> wrote:

Quoted 3 lines · Jan Claußen

So I have just tested btop on musl succesfully.

OK

Quoted 5 lines

I am questioning the need for the locales though. You can run btop with the --utf-force flag and it will work well. If you want to run it without this flag, you'll need to not only install the locales, but also add

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

yeah if it can work without it, that would be great

Quoted 125 lines

to /etc/profile as a minimum. This would force the user to use these locales. It would also require a .bbappend on base-files and I don't think that this is a good idea.

On Nov. 12 2023, at 9:24 pm, Jan Claußen <[email protected]> wrote:

How did you build it? I have sent you a PM on IRC

On Nov. 12 2023, at 9:21 pm, Khem Raj <[email protected]> wrote:

Quoted 4 lines · Jan Claußen

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 108 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#20 lore raw

No idea if I did that right now. I really don't understand why you guys use the email based merge requests, but well.

Quoted 199 lines · Khem Raj

thats fine and thanks for update. However, if you can resend it via git format-patch && git send-email then tools I use will capture the v2 properly.

Quoted 193 lines · Jan Claußen

So in this case it shoule be alright like this. The developer will have to take care to set its proper locale, but apart from that everything works.

From b242979231f4f32243b99cb8312fe4de07b0d87b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Clau=C3=9Fen?= <[email protected]>
Date: Sat, 18 Nov 2023 14:45:27 +0100
Subject: [PATCH] meta-oe: recipes-support: Add btop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Adds btop, the shell-based resource monitor that shows usage and stats for processor, memory, disks, network and processes.

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +23 -1
new file mode 100644
index 000000000..a944fe7b5
@@ -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 = "9edbf27f1b6d5844a97325fcda732762ba086a99"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN} += " \
+ ${datadir}/icons \
+ ${datadir}/icons/hicolor \
+ ${datadir}/icons/hicolor/48x48 \
+ ${datadir}/icons/hicolor/scalable \
+ ${datadir}/icons/hicolor/48x48/apps \
+ ${datadir}/icons/hicolor/48x48/apps/btop.png \
+ ${datadir}/icons/hicolor/scalable/apps \
+ ${datadir}/icons/hicolor/scalable/apps/btop.svg \
+"
--

2.42.1

On Nov. 14 2023, at 9:43 pm, Khem Raj <[email protected]> wrote:

Quoted 3 lines · Jan Claußen

So I have just tested btop on musl succesfully.

OK

Quoted 5 lines

I am questioning the need for the locales though. You can run btop with the --utf-force flag and it will work well. If you want to run it without this flag, you'll need to not only install the locales, but also add

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

yeah if it can work without it, that would be great

Quoted 125 lines

to /etc/profile as a minimum. This would force the user to use these locales. It would also require a .bbappend on base-files and I don't think that this is a good idea.

On Nov. 12 2023, at 9:24 pm, Jan Claußen <[email protected]> wrote:

How did you build it? I have sent you a PM on IRC

On Nov. 12 2023, at 9:21 pm, Khem Raj <[email protected]> wrote:

Quoted 4 lines · Jan Claußen

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 108 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]> wrote:

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:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#21 lore raw
Quoted 3 lines · Jan Claußen

No idea if I did that right now. I really don't understand why you guys use the email based merge requests, but well.

I can talk about it over a beer :)
Thanks for treading along.

Quoted 255 lines · Khem Raj

thats fine and thanks for update. However, if you can resend it via git format-patch && git send-email then tools I use will capture the v2 properly.

Quoted 2 lines · Jan Claußen

So in this case it shoule be alright like this. The developer will have

to take care to set its proper locale, but apart from that everything works.

Quoted 10 lines

From b242979231f4f32243b99cb8312fe4de07b0d87b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Clau=C3=9Fen?= <[email protected]>
Date: Sat, 18 Nov 2023 14:45:27 +0100
Subject: [PATCH] meta-oe: recipes-support: Add btop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Adds btop, the shell-based resource monitor that shows usage and stats

for processor, memory, disks, network and processes.

Review

Quoted 8 lines

---
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

(quoted diff) +0 -0

b/meta-oe/recipes-support/btop/btop_1.2.13.bb

meta-oe/recipes-support/btop/btop_1.2.13.bb line 1

Quoted 6 lines

new file mode 100644
index 000000000..a944fe7b5

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +1 -0
@@ -0,0 +1,23 @@
+SUMMARY = "Resource monitor that shows usage and stats for processor,

memory, disks, network and processes."

meta-oe/recipes-support/btop/btop_1.2.13.bb

Quoted 6 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +6 -0
+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"

Quoted 22 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +16 -1
+SRCREV = "9edbf27f1b6d5844a97325fcda732762ba086a99"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN} += " \
+ ${datadir}/icons \
+ ${datadir}/icons/hicolor \
+ ${datadir}/icons/hicolor/48x48 \
+ ${datadir}/icons/hicolor/scalable \
+ ${datadir}/icons/hicolor/48x48/apps \
+ ${datadir}/icons/hicolor/48x48/apps/btop.png \
+ ${datadir}/icons/hicolor/scalable/apps \
+ ${datadir}/icons/hicolor/scalable/apps/btop.svg \
+"
--

2.42.1

On Nov. 14 2023, at 9:43 pm, Khem Raj <[email protected]> wrote:

On Tue, Nov 14, 2023 at 12:38 PM Jan Claußen <[email protected]>

Quoted 7 lines · wrote:
Quoted 3 lines

So I have just tested btop on musl succesfully.

OK

Quoted 1 line

I am questioning the need for the locales though. You can run btop

with the --utf-force flag and it will work well. If you want to run it without this flag, you'll need to not only install the locales, but also add

Quoted 8 lines
Quoted 4 lines

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

yeah if it can work without it, that would be great

Quoted 1 line

to /etc/profile as a minimum. This would force the user to use these

locales. It would also require a .bbappend on base-files and I don't think that this is a good idea.

Quoted 2 lines
Quoted 2 lines

On Nov. 12 2023, at 9:24 pm, Jan Claußen <[email protected]>

Quoted 6 lines · wrote:
Quoted 6 lines

How did you build it? I have sent you a PM on IRC

On Nov. 12 2023, at 9:21 pm, Khem Raj <[email protected]> wrote:

On Sun, Nov 12, 2023 at 10:51 AM Jan Claußen <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines

No, it is an issue I have with images for the Pi Zero. I haven't

build anything for musl at all, although it would probably a good choice for the Pi Zero.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I have no issues using Raspberry Pi OS or other distros btw, so the

device is not the issue

Quoted 7 lines
Quoted 7 lines

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 3 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images

?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

On Sun, Nov 12, 2023 at 10:23 AM Jan Claußen <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Unfortunately I can't test it unless this gets solved (or I buy a

different Raspberry Pi)

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected]> wrote:

TCLIBC=musl bitbake <recipe>

On Sun, Nov 12, 2023 at 9:24 AM Jan Claußen <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

How to test it against musl btw? Build a musl-based system for

Raspberry Pi and see if it runs?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Nov. 12 2023, at 6:20 pm, Khem Raj <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Sun, Nov 12, 2023 at 8:25 AM Jan Claußen <

Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I am trying with the tarball but it is quite hard, since it

doesn't come with a CMakeLists.txt.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

There is a recipe here, but it involves a lot of patching

which could potentially be painful to maintain

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

https://github.com/aristocratos/btop/issues/330#issuecomment-1123685779

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

is it because cmake support was added later ? in that case maybe

using

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

git version is ok

Quoted 1 line

On Nov. 11 2023, at 8:01 pm, Khem Raj <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Sat, Nov 11, 2023 at 10:38 AM Jan Claußen <

Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

you want to express all that is needed to get it running

amicably.

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

keeping in mind that we have glibc and musl based systems to

service

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

it will be good to check it on musl too.

Quoted 2 lines

On Nov. 11 2023, at 7:35 pm, Jan Claußen <

Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Nov. 11 2023, at 7:30 pm, Khem Raj <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Thanks for your contribution Jan

On Sat, Nov 11, 2023 at 10:26 AM Jan Claußen <

Quoted 3 lines · [email protected]> wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

---
meta-oe/recipes-support/btop/btop_1.2.13.bb | 23

+++++++++++++++++++++

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
1 file changed, 23 insertions(+)

create mode 100644 meta-oe/recipes-support/btop/

btop_1.2.13.bb

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-support/btop/btop_1.2.13.bb

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

meta-oe/recipes-support/btop/btop_1.2.13.bb line 1

Quoted 6 lines

new file mode 100644
index 000000000..f780a993a

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +1 -0
@@ -0,0 +1,23 @@
+SUMMARY = "Resource monitor that shows usage and stats

for processor, memory, disks, network and processes."

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

meta-oe/recipes-support/btop/btop_1.2.13.bb

Quoted 3 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +3 -0
+HOMEPAGE = "https://github.com/aristocratos/btop"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

meta-oe/recipes-support/btop/btop_1.2.13.bb

Quoted 3 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +3 -0
+SECTION = "console/utils"
+
+SRC_URI = "git://

github.com/aristocratos/btop.git;protocol=https;branch=main"

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

meta-oe/recipes-support/btop/btop_1.2.13.bb

Quoted 8 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -0
+SRCREV = "2a864f6f2ea60df16b3f015885eb3c18a48b9b78"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN} += " \
+ /usr/share/icons \

Lets use ${datadir} instead of hardcoded /usr/share

Quoted 11 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#106559):

https://lists.openembedded.org/g/openembedded-devel/message/106559

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Mute This Topic:

https://lists.openembedded.org/mt/102530478/1997914

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Group Owner:

[email protected]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Unsubscribe:

https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#22 lore raw

Maybe on the next Yocto summit! :)

Quoted 213 lines · Khem Raj
Quoted 1 line · Jan Claußen

No idea if I did that right now. I really don't understand why you guys use the email based merge requests, but well.

I can talk about it over a beer :)
Thanks for treading along.

Quoted 202 lines · Khem Raj
Quoted 199 lines

thats fine and thanks for update. However, if you can resend it via git format-patch && git send-email then tools I use will capture the v2 properly.

Quoted 193 lines · Jan Claußen

So in this case it shoule be alright like this. The developer will have to take care to set its proper locale, but apart from that everything works.

From b242979231f4f32243b99cb8312fe4de07b0d87b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Clau=C3=9Fen?= <[email protected] (mailto:[email protected])>
Date: Sat, 18 Nov 2023 14:45:27 +0100
Subject: [PATCH] meta-oe: recipes-support: Add btop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Adds btop, the shell-based resource monitor that shows usage and stats for processor, memory, disks, network and processes.

Signed-off-by Jan Claußen <[email protected] (mailto:[email protected])>

---
meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb) | 23 +++++++++++++++++++++

1 file changed, 23 insertions(+)

create mode 100644 meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb)

meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb) new file +23 -1
new file mode 100644
index 000000000..a944fe7b5
@@ -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 (http://github.com/aristocratos/btop.git;protocol=https;branch=main)"
+SRCREV = "9edbf27f1b6d5844a97325fcda732762ba086a99"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN} += " \
+ ${datadir}/icons \
+ ${datadir}/icons/hicolor \
+ ${datadir}/icons/hicolor/48x48 \
+ ${datadir}/icons/hicolor/scalable \
+ ${datadir}/icons/hicolor/48x48/apps \
+ ${datadir}/icons/hicolor/48x48/apps/btop.png \
+ ${datadir}/icons/hicolor/scalable/apps \
+ ${datadir}/icons/hicolor/scalable/apps/btop.svg \
+"
--

2.42.1

On Nov. 14 2023, at 9:43 pm, Khem Raj <[email protected] (mailto:[email protected])> wrote:

Quoted 3 lines · Jan Claußen

So I have just tested btop on musl succesfully.

OK

Quoted 5 lines

I am questioning the need for the locales though. You can run btop with the --utf-force flag and it will work well. If you want to run it without this flag, you'll need to not only install the locales, but also add

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

yeah if it can work without it, that would be great

Quoted 125 lines

to /etc/profile as a minimum. This would force the user to use these locales. It would also require a .bbappend on base-files and I don't think that this is a good idea.

On Nov. 12 2023, at 9:24 pm, Jan Claußen <[email protected] (mailto:[email protected])> wrote:

How did you build it? I have sent you a PM on IRC

On Nov. 12 2023, at 9:21 pm, Khem Raj <[email protected] (mailto:[email protected])> wrote:

Quoted 4 lines · Jan Claußen

No, it is an issue I have with images for the Pi Zero. I haven't build anything for musl at all, although it would probably a good choice for the Pi Zero.

I have no issues using Raspberry Pi OS or other distros btw, so the device is not the issue

As one point I have pi0 running fine perhaps something has regressed in meta-raspberrypi :( these things need TLC to keep going.

Quoted 108 lines · Khem Raj

hmm is that just seen with musl and works ok with glibc based images ?

TCLIBC=musl bitbake core-image-base

eg. will produce a musl based image which is expected to work

Quoted 99 lines · Jan Claußen

Unfortunately I can't test it unless this gets solved (or I buy a different Raspberry Pi)

https://github.com/agherzan/meta-raspberrypi/issues/1229

On Nov. 12 2023, at 6:43 pm, Khem Raj <[email protected] (mailto:[email protected])> wrote:

TCLIBC=musl bitbake <recipe>

Quoted 89 lines · Jan Claußen

How to test it against musl btw? Build a musl-based system for Raspberry Pi and see if it runs?

On Nov. 12 2023, at 6:23 pm, Jan Claußen <[email protected] (mailto:[email protected])> wrote:

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] (mailto:[email protected])> wrote:

Quoted 6 lines · Jan Claußen

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

Quoted 69 lines · Khem Raj
Quoted 2 lines · Jan Claußen

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.

Quoted 59 lines · Jan Claußen

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] (mailto:[email protected])> wrote:

Thanks for your contribution Jan

Quoted 17 lines · Jan Claußen

---
meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb) | 23 +++++++++++++++++++++

1 file changed, 23 insertions(+)

create mode 100644 meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb)

meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb) new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb) line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb) new file +10 -0
+
+SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main (http://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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb (http://btop_1.2.13.bb) new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected] (mailto:openembedded-devel%[email protected])
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected] (mailto:[email protected])]
-=-=-=-=-=-=-=-=-=-=-=-

#23 lore raw
In reply to Jan Claußen
Quoted 3 lines · Jan Claußen

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?

Building from release is always better since we can build upon the release testing the package might have done, but there are exceptions to rule if
there are no release e.g. or if the release contains serious problems we cant afford to have or features we need.

Quoted 54 lines · Khem Raj

Thanks for your contribution Jan

Quoted 17 lines · Jan Claußen

---
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

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5 -0
new file mode 100644
index 000000000..f780a993a
@@ -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"

meta-oe/recipes-support/btop/btop_1.2.13.bb line 15

Quoted 10 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +10 -0
+
+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

Quoted 19 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8 -1
+ /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 (#106559): https://lists.openembedded.org/g/openembedded-devel/message/106559
Mute This Topic: https://lists.openembedded.org/mt/102530478/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-