From patchwork Sat Oct 14 21:06:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jan_Clau=C3=9Fen?= X-Patchwork-Id: 32205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50F14CDB465 for ; Sat, 14 Oct 2023 21:07:11 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.4]) by mx.groups.io with SMTP id smtpd.web10.75134.1697317622299509727 for ; Sat, 14 Oct 2023 14:07:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=jan.claussen10@web.de header.s=s29768273 header.b=hXh4MZJc; spf=pass (domain: web.de, ip: 212.227.15.4, mailfrom: jan.claussen10@web.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1697317620; x=1697922420; i=jan.claussen10@web.de; bh=0cDe2/yn9xbz0HFpDrjSRDNEmgJMaswhAPzvtSbQmYM=; h=X-UI-Sender-Class:Date:From:To:Subject; b=hXh4MZJczqsRfJw/ZTXMbGVR/uKte1Xp0vapzG2XyeadKvBTehemzPkPWL0p3RN7rh0iQsUXLnJ RkswWkHj/MM0VHlJNkrHCKqjsvpTw2wjr7WZRv5TOD1f8FouZYEeLzRljtG3Nw5vp+7osNNS9NDlD ygKm7U6hqFOp/EwMossGgdx35j9UYnWqv7YtbvNv1I2Soq3yL14b/VdzRYnIA2UtGUgXfR328EUNc nN1RXKRMskPY0Uo9ZTMvP5cKBtmTpQ2Zgbw6fc/UkiIjnZ0dqpNgHV8x7asRBHdfBqIyYwSS17ycP h7eDlLSioPUaT6/95MYXZH3AjK1Sc/6ouTgw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from x1-yoga ([134.101.223.234]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MPaMQ-1rDIpy1l2Y-00MpXy for ; Sat, 14 Oct 2023 23:07:00 +0200 Date: Sat, 14 Oct 2023 23:06:59 +0200 From: =?utf-8?q?Jan_Clau=C3=9Fen?= To: " =?utf-8?q?openembedded-core=40lists=2Eopenembedded=2Eorg?= " Message-ID: <90ECC4F9-39B9-4C5E-A2EB-BAAC45DFC28F@getmailspring.com> Subject: Feature request: Add btop resource monitor X-Mailer: Mailspring MIME-Version: 1.0 X-Provags-ID: V03:K1:C6cFnJirmsEtyG4PRNfrfJvwlOaygAKBnCpCN6SKUUZW2XN4lp4 oylZ61+wKxBZAs0B3ZHVpBGru8ZmBtH6BOnsp8m/e14EqGyOCmUS6u08hdLU970LWoBeGFJ Jf+5h9pOAI6btPWFLIHPOGOmu1/K8qcUYrWqrhEyYncSN3Q8OGkCciq5Ewui8oa0w+t45yj 9IZjynTmQwqF3jvdqWwgg== UI-OutboundReport: notjunk:1;M01:P0:S+harv1MG4c=;Ws8dsEY+V0ZIjZSh1+KIwkGKr9G 59Pt3YGJ1NpspjjYJyiS6LSNl34hsej3YyvBrIW7KPnmnrKSWvmBrHrrrayrWRvZQcrbm5Om6 xbhzQ0yd51PYSrNFXfNo+DDd+TV9XKwUK1kks4CJG68ZW9hs5CKx7kk64/bnFTWzOB5PiRvi5 AuDZE42UGu7N0ISNwFZ7mfASukjfkilMFrXg5yED5kBMzXPLew48GAmU3p0W4EdenRfyobO2Q hqfMgs+AKpFXME4gsmG60ahOxo0mrpnXad51iSLm4S1p18LNr9jjr3VBJofsSVKXnGMURGaHk 4fHBVq9TuVLarzJ46UWZDt1AFfkfobMN0wMARCIjwiWeOp04S3zRczO4z4ulP9u7/az1Vx8gw maxQx65X1GYMtwd0y023ez10n59s076z2wiVVlmwFWqNHlrMZSTrTVUV+8c3HrUqqQHIs2yuq 3FmF/KjODNV49jdvU1A3dVURlxq8ef8Mcwp4EjlMG2Mt3CABid47QaSQuxo8mWJ44EDE687Cp eftc/iengVsYZFSd/jG0/YuhDihBDmi83nEtqsxlKdXKOQ7zpohBX7p4krPUVbBvWkvZfe6es kF5GpzBnlP244fUsz75K6LoC36sU38Hh7ZO6j4K7+YRgKuJ+1gyDGu4Gj59uMfDHuG2k/Fvk9 U5tI2cOsGNw9YbmDGqaDJclZD1SoMl/72CVxYj4NIz1mBBbtI3Kwf2sSp1nlKO6mJAdlWHGou WvlbBS54feRFMDocDisgEKalD381Mfr4pIaa410FD07bEzhO41jzpeTpSiKiT87dwk8Hfwv6q Gok53tAzQsfugKYUV46BWFKnNj7+cS3z7mhU7BKnvYIQvuitBqjhZ4CbLf6S5CKeONgR/+nEw mjqxRZYN3g9JQIG5yMyDJDNbd79vnMJ8ju03g8rmIQNzeWlBIT3LGe8dVDlztaaFdtkhIRNO+ 7obXMQ== List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 14 Oct 2023 21:07:11 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/189122 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 Sat Oct 14 22:56:45 2023 +0200 committer Jan Claußen 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 \ +"