Skip to contentSkip to conversation

package/dtui: new package

Buildroot Thomas Petazzoni via buildroot 1 participant 1 message May 30

lore
Share & tools
lore
#0 lore raw

commit: https://gitlab.com/buildroot.org/buildroot/-/commit/8c73968354a75608b24ea59877471f4568cc824e
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/next

DTUI is a small TUI for introspecting the state of the system/session D-Bus. It shows current services and lets you introspect objects and their interfaces.

This package is built with Rust/Cargo.

Upstream: https://github.com/Troels51/dtui
License: MIT

---
 DEVELOPERS             |  3 +++
 package/Config.in      |  1 +
 package/dtui/Config.in | 18 ++++++++++++++++++
 package/dtui/dtui.hash |  3 +++
 package/dtui/dtui.mk   | 13 +++++++++++++
 5 files changed, 38 insertions(+)
DEVELOPERS +3 -0
index 0d67faa0e2..1adeaf7efe 100644
@@ -704,6 +704,9 @@ F:	package/perl-sys-mmap/
 F:	package/perl-time-parsedate/
 F:	package/perl-x10/
 
+N:	Christopher Obbard <[email protected]>
+F:	package/dtui/
+
 N:	Colin Foster <[email protected]>
 F:	package/python-tftpy/
 F:	package/rauc-hawkbit-updater/
package/Config.in +1 -0
index c4f279efbb..19c4ac2221 100644
@@ -2811,6 +2811,7 @@ menu "System tools"
 	source "package/docker-credential-acr-env/Config.in"
 	source "package/docker-credential-gcr/Config.in"
 	source "package/docker-engine/Config.in"
+	source "package/dtui/Config.in"
 	source "package/earlyoom/Config.in"
 	source "package/efibootmgr/Config.in"
 	source "package/efivar/Config.in"
package/dtui/Config.in new file +18 -0
new file mode 100644
index 0000000000..65d51df7d5
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_DTUI
+	bool "dtui"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
+	select BR2_PACKAGE_DBUS # runtime
+	select BR2_PACKAGE_HOST_RUSTC
+	help
+	  dtui is a minimal TUI for introspecting the state of the
+	  system/session D-Bus. It shows current services and lets
+	  you introspect objects and their interfaces.
+
+	  https://github.com/Troels51/dtui
+
+comment "dtui needs a toolchain w/ threads"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/dtui/dtui.hash new file +3 -0
new file mode 100644
index 0000000000..a1189ba0d1
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  59d430ad546c7a0af3a1fce08aaf05dc17e9b295ba56dbfbd64ddb67e3525ba2  dtui-3.0.0-cargo5.tar.gz
+sha256  b7b3cd0d92fc6638f0a7bd2306d715c747d040c6d851ed821a45c5538663e57a  LICENSE
package/dtui/dtui.mk new file +13 -0
new file mode 100644
index 0000000000..fad5f818b4
@@ -0,0 +1,13 @@
+################################################################################
+#
+# dtui
+#
+################################################################################
+
+DTUI_VERSION = 3.0.0
+DTUI_SITE = $(call github,Troels51,dtui,v$(DTUI_VERSION))
+
+DTUI_LICENSE = MIT
+DTUI_LICENSE_FILES = LICENSE
+
+$(eval $(cargo-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot