Skip to contentSkip to conversation

Feature request: Add btop resource monitor

PATCH Jan Claußen 2 participants 3 messages Oct 14, 2023 – Oct 16, 2023

lore
Share & tools
lore
#0 lore raw

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
parent d59f6c752927f7846dc11c4aa00a2d0c9860e75c
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 +0200

recipes-support: Add btop

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 \
+"
#1 lore raw

Non-essential utilities like this should be going to one of the layers in meta-openembedded.

Alex

Quoted 53 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. The Cmake support is listed as community maintained though, if that is a show stopper.

tree 7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
parent d59f6c752927f7846dc11c4aa00a2d0c9860e75c
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 +0200

recipes-support: Add btop

meta-oe/recipes-support/btop/btop_1.2.13.bb new file +23 -1
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 \
+"
 
 
-=-=-=-=-=-=-=-=-=-=-=-

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/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

I already sent a request to meta-oe. So this request here is cancelled.

Quoted 54 lines · Alexander Kanavin

Non-essential utilities like this should be going to one of the layers in meta-openembedded.

Alex

Quoted 47 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. The Cmake support is listed as community maintained though, if that is a show stopper.

tree 7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
parent d59f6c752927f7846dc11c4aa00a2d0c9860e75c
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 +0200

recipes-support: Add btop

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 \
+"