Feature request: Add btop resource monitor
A message that is not in the archive (sent off-list or not yet received): [email protected]
Another thing is that btop is dependent on a utf-8 locale being set. You can still run it with the --force-utf8 flag though. Should this be set by the recipe as well?
Quoted 51 lines · Jan Claußen
Hi guys,
I would like to add btop to the openembedded-core. The package does now support cmake, which eases the maintenance effort.
Before it would have involved a lot of patching as seen here. (https://github.com/aristocratos/btop/issues/330) The Cmake support is listed as community maintained though, if that is a show stopper.tree
7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
parentd59f6c752927f7846dc11c4aa00a2d0c9860e75c
author Jan Claußen <[email protected]> Sat Oct 14 22:56:45 2023 +0200 committer Jan Claußen <[email protected]> Sat Oct 14 22:56:45 2023 +0200recipes-support: Add btop
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +23
-1@@ -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 \ +" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#189122): https://lists.openembedded.org/g/openembedded-core/message/189122
Mute This Topic: https://lists.openembedded.org/mt/101967134/6966789
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 10 lines · Jan Claußen
Another thing is that btop is dependent on a utf-8 locale being set. You can still run it with the --force-utf8 flag though. Should this be set by the recipe as well?
On Okt. 14 2023, at 11:06 pm, Jan Claußen <[email protected]> wrote:
Hi guys,
I would like to add btop to the openembedded-core. The package does now support cmake, which eases the maintenance effort. Before it would have involved a lot of patching as seen here. The Cmake support is listed as community maintained though, if that is a show stopper.
Feels more like meta-oe rather than oe-core (and the recipe path you have suggests that's what you intended!)
Quoted 19 lines
tree
7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
parentd59f6c752927f7846dc11c4aa00a2d0c9860e75c
author Jan Claußen <[email protected]> Sat Oct 14 22:56:45 2023 +0200 committer Jan Claußen <[email protected]> Sat Oct 14 22:56:45 2023 +0200recipes-support: Add btop
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5
-0@@ -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 \
You only need the top level directory as the packaging recursively globs. Also this should be ${datadir}/icons
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 \ +" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#189123): https://lists.openembedded.org/g/openembedded-core/message/189123
Mute This Topic: https://lists.openembedded.org/mt/101967134/3618097
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 1 line
Alex Kiernan
Yes, I just sent it to the wrong mailing list apparently.
Quoted 66 lines · Alex Kiernan
Quoted 10 lines · Jan Claußen
Another thing is that btop is dependent on a utf-8 locale being set. You can still run it with the --force-utf8 flag though. Should this be set by the recipe as well?
On Okt. 14 2023, at 11:06 pm, Jan Claußen <[email protected]> wrote:
Hi guys,
I would like to add btop to the openembedded-core. The package does now support cmake, which eases the maintenance effort. Before it would have involved a lot of patching as seen here. The Cmake support is listed as community maintained though, if that is a show stopper.
Feels more like meta-oe rather than oe-core (and the recipe path you have suggests that's what you intended!)
Quoted 19 lines
tree
7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
parentd59f6c752927f7846dc11c4aa00a2d0c9860e75c
author Jan Claußen <[email protected]> Sat Oct 14 22:56:45 2023 +0200 committer Jan Claußen <[email protected]> Sat Oct 14 22:56:45 2023 +0200recipes-support: Add btop
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +5
-0@@ -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 \You only need the top level directory as the packaging recursively globs. Also this should be ${datadir}/icons
meta-oe/recipes-support/btop/btop_1.2.13.bb line 23
Quoted 13 lines
meta-oe/recipes-support/btop/btop_1.2.13.bb new file +8
-0+ /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 \ +"--
Alex Kiernan