From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 05 Aug 2024 08:55:46 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sardC-006PCz-2Z for lore@lore.pengutronix.de; Mon, 05 Aug 2024 08:55:46 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sardC-0000tW-D4; Mon, 05 Aug 2024 08:55:46 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sarXP-0003oy-Un; Mon, 05 Aug 2024 08:49:47 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sarXP-004eBm-Hy; Mon, 05 Aug 2024 08:49:47 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sarXP-003jhG-1e; Mon, 05 Aug 2024 08:49:47 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 5 Aug 2024 08:49:47 +0200 Message-Id: <20240805064947.890635-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240719140155.722372-1-p.zabel@pengutronix.de> References: <20240719140155.722372-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] btop: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Philipp Zabel Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as c11c1f4f64c5f0e04f3d69d3ec323ce5d0974488. Michael [sent from post-receive hook] On Mon, 05 Aug 2024 08:49:47 +0200, Philipp Zabel wrote: > Signed-off-by: Philipp Zabel > Message-Id: <20240719140155.722372-1-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/btop.in b/rules/btop.in > new file mode 100644 > index 000000000000..4b5011299517 > --- /dev/null > +++ b/rules/btop.in > @@ -0,0 +1,8 @@ > +## SECTION=shell_and_console > +config BTOP > + tristate > + select HOST_CMAKE > + prompt "btop" > + help > + Resource monitor that shows usage and stats for processor, memory, > + disks, network and processes. > diff --git a/rules/btop.make b/rules/btop.make > new file mode 100644 > index 000000000000..35f5527052dc > --- /dev/null > +++ b/rules/btop.make > @@ -0,0 +1,64 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2024 by Philipp Zabel > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_BTOP) += btop > + > +# > +# Paths and names > +# > +BTOP_VERSION := 1.3.2 > +BTOP_MD5 := 04ff8d32e7bf748705fe34dfea50c628 > +BTOP := btop-$(BTOP_VERSION) > +BTOP_SUFFIX := tar.gz > +BTOP_URL := https://github.com/aristocratos/btop/archive/v$(BTOP_VERSION).$(BTOP_SUFFIX) > +BTOP_SOURCE := $(SRCDIR)/$(BTOP).$(BTOP_SUFFIX) > +BTOP_DIR := $(BUILDDIR)/$(BTOP) > +BTOP_LICENSE := Apache-2.0 > +BTOP_LICENSE_FILES := \ > + file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +BTOP_CONF_TOOL := cmake > +BTOP_CONF_OPT := \ > + $(CROSS_CMAKE_USR) \ > + -DBTOP_FORTIFY=ON \ > + -DBTOP_GPU=ON \ > + -DBTOP_LTO=OFF \ > + -DBTOP_PEDANTIC=OFF \ > + -DBTOP_RSMI_STATIC=OFF \ > + -DBTOP_STATIC=OFF \ > + -DBTOP_USE_MOLD=OFF \ > + -DBTOP_WERROR=OFF > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/btop.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, btop) > + @$(call install_fixup, btop,PRIORITY,optional) > + @$(call install_fixup, btop,SECTION,base) > + @$(call install_fixup, btop,AUTHOR,"Philipp Zabel ") > + @$(call install_fixup, btop,DESCRIPTION,A monitor of resources) > + > + @$(call install_copy, btop, 0, 0, 0755, -, /usr/bin/btop) > + @$(call install_tree, btop, 0, 0, -, /usr/share/btop/themes) > + > + @$(call install_finish, btop) > + > + @$(call touch) > + > +# vim: syntax=make