* [Buildroot] [PATCH] package/wtfutil: new package
@ 2022-04-20 20:01 Yann E. MORIN
2022-04-21 7:22 ` Arnout Vandecappelle
2022-04-23 16:26 ` Arnout Vandecappelle
0 siblings, 2 replies; 4+ messages in thread
From: Yann E. MORIN @ 2022-04-20 20:01 UTC (permalink / raw)
To: buildroot; +Cc: Yann E. MORIN
Some of wtfutils modules (i.e. plugins) can call to external tools, so
it needs to fork(), so needs an MMU.
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
$ ./utils/test-pkg -c wtf.cfg -d $(pwd)/test-pkg -k -p wtfutil -a
andes-nds32 [ 1/45]: SKIPPED
arm-aarch64 [ 2/45]: OK
bootlin-aarch64-glibc [ 3/45]: OK
bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED
bootlin-armv5-uclibc [ 5/45]: OK
bootlin-armv7-glibc [ 6/45]: OK
bootlin-armv7m-uclibc [ 7/45]: SKIPPED
bootlin-armv7-musl [ 8/45]: OK
bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED
bootlin-m68k-68040-uclibc [10/45]: SKIPPED
bootlin-microblazeel-uclibc [11/45]: SKIPPED
bootlin-mipsel32r6-glibc [12/45]: SKIPPED
bootlin-mipsel-uclibc [13/45]: SKIPPED
bootlin-nios2-glibc [14/45]: SKIPPED
bootlin-openrisc-uclibc [15/45]: SKIPPED
bootlin-powerpc64le-power8-glibc [16/45]: OK
bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED
bootlin-riscv32-glibc [18/45]: SKIPPED
bootlin-riscv64-glibc [19/45]: SKIPPED
bootlin-riscv64-musl [20/45]: SKIPPED
bootlin-sh4-uclibc [21/45]: SKIPPED
bootlin-sparc64-glibc [22/45]: SKIPPED
bootlin-sparc-uclibc [23/45]: SKIPPED
bootlin-x86-64-glibc [24/45]: OK
bootlin-x86-64-musl [25/45]: OK
bootlin-x86-64-uclibc [26/45]: OK
bootlin-xtensa-uclibc [27/45]: SKIPPED
br-arm-basic [28/45]: OK
br-arm-full-nothread [29/45]: OK
br-arm-full-static [30/45]: SKIPPED
br-i386-pentium4-full [31/45]: OK
br-i386-pentium-mmx-musl [32/45]: OK
br-mips64-n64-full [33/45]: OK
br-mips64r6-el-hf-glibc [34/45]: SKIPPED
br-powerpc-603e-basic-cpp [35/45]: SKIPPED
br-powerpc64-power7-glibc [36/45]: SKIPPED
linaro-aarch64-be [37/45]: SKIPPED
linaro-aarch64 [38/45]: OK
linaro-arm [39/45]: OK
sourcery-arm-armv4t [40/45]: SKIPPED
sourcery-arm [41/45]: OK
sourcery-arm-thumb2 [42/45]: OK
sourcery-mips64 [43/45]: FAILED
sourcery-mips [44/45]: SKIPPED
sourcery-nios2 [45/45]: SKIPPED
45 builds, 26 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed
The failing one is not even a build failure of wtfutil itself, but
really just host-go that fails to build, because of some issues because
of missing GOMIPS64 setting for soft-float, which when fixed opens
another can of worms of itself...
---
package/Config.in | 1 +
package/wtfutil/Config.in | 8 ++++++++
package/wtfutil/wtfutil.hash | 2 ++
package/wtfutil/wtfutil.mk | 12 ++++++++++++
4 files changed, 23 insertions(+)
create mode 100644 package/wtfutil/Config.in
create mode 100644 package/wtfutil/wtfutil.hash
create mode 100644 package/wtfutil/wtfutil.mk
diff --git a/package/Config.in b/package/Config.in
index 20d7156cea..f1e8b64e0d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2500,6 +2500,7 @@ comment "Utilities"
source "package/tmux/Config.in"
source "package/ttyd/Config.in"
source "package/which/Config.in"
+ source "package/wtfutil/Config.in"
source "package/xmlstarlet/Config.in"
source "package/xxhash/Config.in"
source "package/ytree/Config.in"
diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in
new file mode 100644
index 0000000000..8c3efcea5d
--- /dev/null
+++ b/package/wtfutil/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_WTFUTIL
+ bool "wtfutil"
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
+ help
+ WTF is the personal information dashboard for your terminal.
+
+ https://wtfutil.com/
diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash
new file mode 100644
index 0000000000..deb162794e
--- /dev/null
+++ b/package/wtfutil/wtfutil.hash
@@ -0,0 +1,2 @@
+sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz
+sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md
diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk
new file mode 100644
index 0000000000..6e841411a9
--- /dev/null
+++ b/package/wtfutil/wtfutil.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# wtfutil
+#
+################################################################################
+
+WTFUTIL_VERSION = 0.41.0
+WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION))
+WTFUTIL_LICENSE = MPL-2.0
+WTFUTIL_LICENSE_FILES = LICENSE.md
+
+$(eval $(golang-package))
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/wtfutil: new package
2022-04-20 20:01 [Buildroot] [PATCH] package/wtfutil: new package Yann E. MORIN
@ 2022-04-21 7:22 ` Arnout Vandecappelle
2022-04-21 15:39 ` Yann E. MORIN
2022-04-23 16:26 ` Arnout Vandecappelle
1 sibling, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2022-04-21 7:22 UTC (permalink / raw)
To: Yann E. MORIN, buildroot
On 20/04/2022 22:01, Yann E. MORIN wrote:
> Some of wtfutils modules (i.e. plugins) can call to external tools, so
Modules are not optional?
> it needs to fork(), so needs an MMU.
>
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
[snip]
> diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in
> new file mode 100644
> index 0000000000..8c3efcea5d
> --- /dev/null
> +++ b/package/wtfutil/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_WTFUTIL
> + bool "wtfutil"
> + depends on BR2_USE_MMU # fork()
> + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
> + help
> + WTF is the personal information dashboard for your terminal.
> +
> + https://wtfutil.com/
> diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash
> new file mode 100644
> index 0000000000..deb162794e
> --- /dev/null
> +++ b/package/wtfutil/wtfutil.hash
> @@ -0,0 +1,2 @@
> +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz
> +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md
> diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk
> new file mode 100644
> index 0000000000..6e841411a9
> --- /dev/null
> +++ b/package/wtfutil/wtfutil.mk
> @@ -0,0 +1,12 @@
> +################################################################################
> +#
> +# wtfutil
> +#
> +################################################################################
> +
> +WTFUTIL_VERSION = 0.41.0
> +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION))
If the upstream repository is called wtf, and the help text says "WTF is ...",
why do you call it wtfutil?
Regards,
Arnout
> +WTFUTIL_LICENSE = MPL-2.0
> +WTFUTIL_LICENSE_FILES = LICENSE.md
> +
> +$(eval $(golang-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/wtfutil: new package
2022-04-21 7:22 ` Arnout Vandecappelle
@ 2022-04-21 15:39 ` Yann E. MORIN
0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2022-04-21 15:39 UTC (permalink / raw)
To: Arnout Vandecappelle; +Cc: buildroot
On 2022-04-21 09:22 +0200, Arnout Vandecappelle spake thusly:
> On 20/04/2022 22:01, Yann E. MORIN wrote:
> >Some of wtfutils modules (i.e. plugins) can call to external tools, so
> Modules are not optional?
As far as I can see, no. All modules are builtin into the wtfutil
executable, and there is no way to provide out-of-tree modules loaded at
runtime. And indeed, using the word 'plugins' was wrong (well, they can
only be plugged in at build time).
Also this is go, everything is static in that world.
Upstream would however like to go for an actual, real plugin mechanism,
but it seems the go ecosystem is not making that easy:
https://github.com/wtfutil/wtf/issues/1092#issuecomment-892312321
[--SNIP--]
> >+WTFUTIL_VERSION = 0.41.0
> >+WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION))
> If the upstream repository is called wtf, and the help text says "WTF is
> ...", why do you call it wtfutil?
The website is wtfutil.com. The utility is named wtfutil. It is packaged
as wtfutil in some distro repositories already (Homebrew, macports,
Arch...).
The README.md also states:
WTF (aka 'wtfutil') is the personal information dashboard for your
terminal, providing at-a-glance access to your very important but
infrequently-needed stats and data.
Finally, wtf on its own is a bit on the tendentious side; using the
longer name tones the term down a bit.
Yeah, that is not all entirely convincing, but I believe wtfutil to be a
better name overall...
Regards,
Yann E. MORIN.
> Regards,
> Arnout
>
> >+WTFUTIL_LICENSE = MPL-2.0
> >+WTFUTIL_LICENSE_FILES = LICENSE.md
> >+
> >+$(eval $(golang-package))
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/wtfutil: new package
2022-04-20 20:01 [Buildroot] [PATCH] package/wtfutil: new package Yann E. MORIN
2022-04-21 7:22 ` Arnout Vandecappelle
@ 2022-04-23 16:26 ` Arnout Vandecappelle
1 sibling, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2022-04-23 16:26 UTC (permalink / raw)
To: Yann E. MORIN, buildroot
On 20/04/2022 22:01, Yann E. MORIN wrote:
> Some of wtfutils modules (i.e. plugins) can call to external tools, so
> it needs to fork(), so needs an MMU.
>
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Applied to master, thanks.
Regards,
Arnout
>
> ---
> $ ./utils/test-pkg -c wtf.cfg -d $(pwd)/test-pkg -k -p wtfutil -a
> andes-nds32 [ 1/45]: SKIPPED
> arm-aarch64 [ 2/45]: OK
> bootlin-aarch64-glibc [ 3/45]: OK
> bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED
> bootlin-armv5-uclibc [ 5/45]: OK
> bootlin-armv7-glibc [ 6/45]: OK
> bootlin-armv7m-uclibc [ 7/45]: SKIPPED
> bootlin-armv7-musl [ 8/45]: OK
> bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED
> bootlin-m68k-68040-uclibc [10/45]: SKIPPED
> bootlin-microblazeel-uclibc [11/45]: SKIPPED
> bootlin-mipsel32r6-glibc [12/45]: SKIPPED
> bootlin-mipsel-uclibc [13/45]: SKIPPED
> bootlin-nios2-glibc [14/45]: SKIPPED
> bootlin-openrisc-uclibc [15/45]: SKIPPED
> bootlin-powerpc64le-power8-glibc [16/45]: OK
> bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED
> bootlin-riscv32-glibc [18/45]: SKIPPED
> bootlin-riscv64-glibc [19/45]: SKIPPED
> bootlin-riscv64-musl [20/45]: SKIPPED
> bootlin-sh4-uclibc [21/45]: SKIPPED
> bootlin-sparc64-glibc [22/45]: SKIPPED
> bootlin-sparc-uclibc [23/45]: SKIPPED
> bootlin-x86-64-glibc [24/45]: OK
> bootlin-x86-64-musl [25/45]: OK
> bootlin-x86-64-uclibc [26/45]: OK
> bootlin-xtensa-uclibc [27/45]: SKIPPED
> br-arm-basic [28/45]: OK
> br-arm-full-nothread [29/45]: OK
> br-arm-full-static [30/45]: SKIPPED
> br-i386-pentium4-full [31/45]: OK
> br-i386-pentium-mmx-musl [32/45]: OK
> br-mips64-n64-full [33/45]: OK
> br-mips64r6-el-hf-glibc [34/45]: SKIPPED
> br-powerpc-603e-basic-cpp [35/45]: SKIPPED
> br-powerpc64-power7-glibc [36/45]: SKIPPED
> linaro-aarch64-be [37/45]: SKIPPED
> linaro-aarch64 [38/45]: OK
> linaro-arm [39/45]: OK
> sourcery-arm-armv4t [40/45]: SKIPPED
> sourcery-arm [41/45]: OK
> sourcery-arm-thumb2 [42/45]: OK
> sourcery-mips64 [43/45]: FAILED
> sourcery-mips [44/45]: SKIPPED
> sourcery-nios2 [45/45]: SKIPPED
> 45 builds, 26 skipped, 1 build failed, 0 legal-info failed, 0 show-info failed
>
> The failing one is not even a build failure of wtfutil itself, but
> really just host-go that fails to build, because of some issues because
> of missing GOMIPS64 setting for soft-float, which when fixed opens
> another can of worms of itself...
> ---
> package/Config.in | 1 +
> package/wtfutil/Config.in | 8 ++++++++
> package/wtfutil/wtfutil.hash | 2 ++
> package/wtfutil/wtfutil.mk | 12 ++++++++++++
> 4 files changed, 23 insertions(+)
> create mode 100644 package/wtfutil/Config.in
> create mode 100644 package/wtfutil/wtfutil.hash
> create mode 100644 package/wtfutil/wtfutil.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 20d7156cea..f1e8b64e0d 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -2500,6 +2500,7 @@ comment "Utilities"
> source "package/tmux/Config.in"
> source "package/ttyd/Config.in"
> source "package/which/Config.in"
> + source "package/wtfutil/Config.in"
> source "package/xmlstarlet/Config.in"
> source "package/xxhash/Config.in"
> source "package/ytree/Config.in"
> diff --git a/package/wtfutil/Config.in b/package/wtfutil/Config.in
> new file mode 100644
> index 0000000000..8c3efcea5d
> --- /dev/null
> +++ b/package/wtfutil/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_WTFUTIL
> + bool "wtfutil"
> + depends on BR2_USE_MMU # fork()
> + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
> + help
> + WTF is the personal information dashboard for your terminal.
> +
> + https://wtfutil.com/
> diff --git a/package/wtfutil/wtfutil.hash b/package/wtfutil/wtfutil.hash
> new file mode 100644
> index 0000000000..deb162794e
> --- /dev/null
> +++ b/package/wtfutil/wtfutil.hash
> @@ -0,0 +1,2 @@
> +sha256 d15b2e8833d31d5b1ad7b4317777dc7aa045124d1d91994f02c9b5709f09fef3 wtfutil-0.41.0.tar.gz
> +sha256 b59f3dbd83c6aa4e003b6eafa80bc53f0629e4d164e8b125c56869c2603dbc8f LICENSE.md
> diff --git a/package/wtfutil/wtfutil.mk b/package/wtfutil/wtfutil.mk
> new file mode 100644
> index 0000000000..6e841411a9
> --- /dev/null
> +++ b/package/wtfutil/wtfutil.mk
> @@ -0,0 +1,12 @@
> +################################################################################
> +#
> +# wtfutil
> +#
> +################################################################################
> +
> +WTFUTIL_VERSION = 0.41.0
> +WTFUTIL_SITE = $(call github,wtfutil,wtf,v$(WTFUTIL_VERSION))
> +WTFUTIL_LICENSE = MPL-2.0
> +WTFUTIL_LICENSE_FILES = LICENSE.md
> +
> +$(eval $(golang-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-23 16:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20 20:01 [Buildroot] [PATCH] package/wtfutil: new package Yann E. MORIN
2022-04-21 7:22 ` Arnout Vandecappelle
2022-04-21 15:39 ` Yann E. MORIN
2022-04-23 16:26 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox