* [Buildroot] [PATCH 1/1] package/fd: new package
@ 2024-02-23 20:30 Saeed Kazemi
2024-08-02 21:59 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Saeed Kazemi @ 2024-02-23 20:30 UTC (permalink / raw)
To: buildroot; +Cc: Saeed Kazemi
A simple, fast and user-friendly alternative to 'find'
https://github.com/sharkdp/fd.git
Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/fd/Config.in | 12 ++++++++++++
package/fd/fd.hash | 4 ++++
package/fd/fd.mk | 12 ++++++++++++
5 files changed, 30 insertions(+)
create mode 100644 package/fd/Config.in
create mode 100644 package/fd/fd.hash
create mode 100644 package/fd/fd.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 0f065bfafb..bf022512a5 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2731,6 +2731,7 @@ F: package/biosdevname/
N: Saeed Kazemi <kazemi.ms@gmail.com>
F: package/eza/
+F: package/fd/
F: package/procs/
N: Sam Lancia <sam@gpsm.co.uk>
diff --git a/package/Config.in b/package/Config.in
index bf0fe078b9..090fa80a29 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -182,6 +182,7 @@ menu "Development tools"
source "package/diffutils/Config.in"
source "package/dos2unix/Config.in"
source "package/findutils/Config.in"
+ source "package/fd/Config.in"
source "package/flex/Config.in"
source "package/gawk/Config.in"
source "package/gettext/Config.in"
diff --git a/package/fd/Config.in b/package/fd/Config.in
new file mode 100644
index 0000000000..10f295cb20
--- /dev/null
+++ b/package/fd/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_FD
+ bool "fd"
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+ select BR2_PACKAGE_HOST_RUSTC
+ help
+ fd is a program to find entries in your filesystem. It is a
+ simple, fast and user-friendly alternative to find. While it
+ does not aim to support all of find's powerful functionality,
+ it provides sensible (opinionated) defaults for a majority of
+ use cases.
+
+ https://github.com/sharkdp/fd.git
diff --git a/package/fd/fd.hash b/package/fd/fd.hash
new file mode 100644
index 0000000000..7950055efa
--- /dev/null
+++ b/package/fd/fd.hash
@@ -0,0 +1,4 @@
+# Locally computed
+sha256 49d57704f1a75b20a770d50538818ec003f42a5c19a39a682639b5e72e72ee7d fd-9.0.0.tar.gz
+sha256 73c83c60d817e7df1943cb3f0af81e4939a8352c9a96c2fd00451b1116fa635c LICENSE-APACHE
+sha256 322cfc7aa0c774d0eca3b2610f1d414de3ddbd7d8dd4b9dea941a13a6eb07455 LICENSE-MIT
diff --git a/package/fd/fd.mk b/package/fd/fd.mk
new file mode 100644
index 0000000000..316da418ea
--- /dev/null
+++ b/package/fd/fd.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# fd
+#
+################################################################################
+
+FD_VERSION = 9.0.0
+FD_SITE = $(call github,sharkdp,fd,v$(FD_VERSION))
+FD_LICENSE = Apache-2.0 or MIT
+FD_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
+
+$(eval $(cargo-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/fd: new package
2024-02-23 20:30 [Buildroot] [PATCH 1/1] package/fd: new package Saeed Kazemi
@ 2024-08-02 21:59 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-02 21:59 UTC (permalink / raw)
To: Saeed Kazemi; +Cc: buildroot
Hello Saeed,
On Fri, 23 Feb 2024 21:30:31 +0100
Saeed Kazemi <kazemi.ms@gmail.com> wrote:
> A simple, fast and user-friendly alternative to 'find'
>
> https://github.com/sharkdp/fd.git
>
> Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com>
Thanks, I've applied! I had to fix two small things.
> diff --git a/package/Config.in b/package/Config.in
> index bf0fe078b9..090fa80a29 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -182,6 +182,7 @@ menu "Development tools"
> source "package/diffutils/Config.in"
> source "package/dos2unix/Config.in"
> source "package/findutils/Config.in"
> + source "package/fd/Config.in"
Alphabetic ordering was not correct here, and it was spotted by "make
check-package".
> diff --git a/package/fd/fd.hash b/package/fd/fd.hash
> new file mode 100644
> index 0000000000..7950055efa
> --- /dev/null
> +++ b/package/fd/fd.hash
> @@ -0,0 +1,4 @@
> +# Locally computed
> +sha256 49d57704f1a75b20a770d50538818ec003f42a5c19a39a682639b5e72e72ee7d fd-9.0.0.tar.gz
The file name and hash changed, because between the moment your patch
was submitted and now, we did some changes in the cargo-package
vendoring logic (so basically, not your fault!).
Thanks for this contribution!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-02 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23 20:30 [Buildroot] [PATCH 1/1] package/fd: new package Saeed Kazemi
2024-08-02 21:59 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox