diff mbox series

Feature request: Add btop resource monitor

Message ID 90ECC4F9-39B9-4C5E-A2EB-BAAC45DFC28F@getmailspring.com
State New
Headers show
Series Feature request: Add btop resource monitor | expand

Commit Message

Jan Claußen Oct. 14, 2023, 9:06 p.m. UTC
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 <jan.claussen10@web.de> Sat Oct 14 22:56:45 2023 +0200
committer Jan Claußen <jan.claussen10@web.de> Sat Oct 14 22:56:45 2023 +0200

recipes-support: Add btop

Comments

Alexander Kanavin Oct. 16, 2023, 1:41 p.m. UTC | #1
Non-essential utilities like this should be going to one of the layers
in meta-openembedded.

Alex


On Sat, 14 Oct 2023 at 23:07, Jan Claußen <jan.claussen10@web.de> 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.
>
> tree 7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
> parent d59f6c752927f7846dc11c4aa00a2d0c9860e75c
> author Jan Claußen <jan.claussen10@web.de> Sat Oct 14 22:56:45 2023 +0200
> committer Jan Claußen <jan.claussen10@web.de> Sat Oct 14 22:56:45 2023 +0200
>
> recipes-support: Add btop
>
>
> diff --git a/meta-oe/recipes-support/btop/btop_1.2.13.bb b/meta-oe/recipes-support/btop/btop_1.2.13.bb
> new file mode 100644
> index 000000000..f780a993a
> --- /dev/null
> +++ b/meta-oe/recipes-support/btop/btop_1.2.13.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "Resource monitor that shows usage and stats for processor, memory, disks, network and processes."
> +HOMEPAGE = "https://github.com/aristocratos/btop"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> +SECTION = "console/utils"
> +
> +SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main"
> +SRCREV = "2a864f6f2ea60df16b3f015885eb3c18a48b9b78"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +FILES:${PN} += " \
> +    /usr/share/icons \
> +    /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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Jan Claußen Oct. 16, 2023, 2:36 p.m. UTC | #2
I already sent a request to meta-oe. So this request here is cancelled.

On Okt. 16 2023, at 3:41 pm, Alexander Kanavin <alex.kanavin@gmail.com> wrote:
> Non-essential utilities like this should be going to one of the layers
> in meta-openembedded.
>
> Alex
>
> On Sat, 14 Oct 2023 at 23:07, Jan Claußen <jan.claussen10@web.de> 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.
> >
> > tree 7370f6d34c4f1a7d3aed8ef4dc334de1e271e4b3
> > parent d59f6c752927f7846dc11c4aa00a2d0c9860e75c
> > author Jan Claußen <jan.claussen10@web.de> Sat Oct 14 22:56:45 2023 +0200
> > committer Jan Claußen <jan.claussen10@web.de> Sat Oct 14 22:56:45 2023 +0200
> >
> > recipes-support: Add btop
> >
> >
> > diff --git a/meta-oe/recipes-support/btop/btop_1.2.13.bb b/meta-oe/recipes-support/btop/btop_1.2.13.bb
> > new file mode 100644
> > index 000000000..f780a993a
> > --- /dev/null
> > +++ b/meta-oe/recipes-support/btop/btop_1.2.13.bb
> > @@ -0,0 +1,23 @@
> > +SUMMARY = "Resource monitor that shows usage and stats for processor, memory, disks, network and processes."
> > +HOMEPAGE = "https://github.com/aristocratos/btop"
> > +LICENSE = "Apache-2.0"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> > +SECTION = "console/utils"
> > +
> > +SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main"
> > +SRCREV = "2a864f6f2ea60df16b3f015885eb3c18a48b9b78"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +inherit cmake
> > +
> > +FILES:${PN} += " \
> > + /usr/share/icons \
> > + /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 \
> > +"
> >
> >
> > 
> >
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/btop/btop_1.2.13.bb b/meta-oe/recipes-support/btop/btop_1.2.13.bb
new file mode 100644
index 000000000..f780a993a
--- /dev/null
+++ b/meta-oe/recipes-support/btop/btop_1.2.13.bb
@@ -0,0 +1,23 @@ 
+SUMMARY = "Resource monitor that shows usage and stats for processor, memory, disks, network and processes."
+HOMEPAGE = "https://github.com/aristocratos/btop"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+SECTION = "console/utils"
+
+SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main"
+SRCREV = "2a864f6f2ea60df16b3f015885eb3c18a48b9b78"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+FILES:${PN} += " \
+ /usr/share/icons \
+ /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 \
+"