git: 40064a34ae1f - main - sysutils/fsearch: update the port to the latest version 0.2.1

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Fri, 19 Aug 2022 04:10:06 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=40064a34ae1f40a34cb93cb3dd31f91b823c0d80

commit 40064a34ae1f40a34cb93cb3dd31f91b823c0d80
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-08-19 04:04:38 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-08-19 04:04:38 +0000

    sysutils/fsearch: update the port to the latest version 0.2.1
    
    The build system was migrated away from GNU autotools, adjust
    dependencies accordingly.
    
    Reported by:    portscout
---
 sysutils/fsearch/Makefile                                 | 15 ++++-----------
 sysutils/fsearch/distinfo                                 | 10 +++-------
 sysutils/fsearch/files/patch-src_fsearch__string__utils.c |  8 ++++----
 sysutils/fsearch/pkg-plist                                |  5 ++++-
 4 files changed, 15 insertions(+), 23 deletions(-)

diff --git a/sysutils/fsearch/Makefile b/sysutils/fsearch/Makefile
index 5fa28938669b..f6f1c398af83 100644
--- a/sysutils/fsearch/Makefile
+++ b/sysutils/fsearch/Makefile
@@ -1,30 +1,23 @@
 PORTNAME=	fsearch
-PORTVERSION=	0.1.4
+PORTVERSION=	0.2.1
 CATEGORIES=	sysutils
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES=	7f602118e0de9f524e71.diff:-p1 f0ee01b40156ddb36651.diff:-p1
-
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Fast file search utility for Unix-like systems
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/License
 
-BUILD_DEPENDS=	${LOCALBASE}/share/aclocal/ax_check_compile_flag.m4:devel/autoconf-archive
 LIB_DEPENDS=	libicuuc.so:devel/icu \
-		libpcre.so:devel/pcre
+		libpcre2-8.so:devel/pcre2
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	cboxdoerfer
 
-USES=		autoreconf compiler:c++11-lang gettext gmake gnome pkgconfig
-GNU_CONFIGURE=	yes
-USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool
+USES=		meson gettext-tools gnome pkgconfig
+USE_GNOME=	cairo gdkpixbuf2 gtk30
 
 post-patch:
-	@${REINPLACE_CMD} -e 's,v=UNKNOWN,v=${DISTVERSION},' \
-		${WRKSRC}/build-aux/git-version-gen
 	@${PRINTF} '\n%s\n%s;\n' int \
 		'strverscmp(const char *, const char *)' \
 		>> ${WRKSRC}/src/fsearch_string_utils.h
diff --git a/sysutils/fsearch/distinfo b/sysutils/fsearch/distinfo
index ad28d7c70e39..cb27f4cf38d2 100644
--- a/sysutils/fsearch/distinfo
+++ b/sysutils/fsearch/distinfo
@@ -1,7 +1,3 @@
-TIMESTAMP = 1657035129
-SHA256 (cboxdoerfer-fsearch-0.1.4_GH0.tar.gz) = 289c19136f89712100ff8f6ad4e7cbbdfbd2938a7c076c85c45658f5c36fc7fd
-SIZE (cboxdoerfer-fsearch-0.1.4_GH0.tar.gz) = 506441
-SHA256 (7f602118e0de9f524e71.diff) = e8450734c460fc837dbde12e15f97dcb4fb4af376516acbae9cf7874bc07f531
-SIZE (7f602118e0de9f524e71.diff) = 695
-SHA256 (f0ee01b40156ddb36651.diff) = ce12c4b2212189abe2d8a8839c81d3105be71781aa7fce30851dcac7f9ef9beb
-SIZE (f0ee01b40156ddb36651.diff) = 1747
+TIMESTAMP = 1660758625
+SHA256 (cboxdoerfer-fsearch-0.2.1_GH0.tar.gz) = 5fb8f8280ea4417d949b055bbd576161a42d360727abea3d7e9c9300c978a650
+SIZE (cboxdoerfer-fsearch-0.2.1_GH0.tar.gz) = 675832
diff --git a/sysutils/fsearch/files/patch-src_fsearch__string__utils.c b/sysutils/fsearch/files/patch-src_fsearch__string__utils.c
index 6f847df9fe24..3c61ea1ee27f 100644
--- a/sysutils/fsearch/files/patch-src_fsearch__string__utils.c
+++ b/sysutils/fsearch/files/patch-src_fsearch__string__utils.c
@@ -1,8 +1,8 @@
---- src/fsearch_string_utils.c.orig	2022-01-29 18:56:49 UTC
+--- src/fsearch_string_utils.c.orig	2022-08-17 17:50:25 UTC
 +++ src/fsearch_string_utils.c
-@@ -214,3 +214,91 @@ fs_str_split(const char *src) {
- 
-     return (char **)g_ptr_array_free(new, FALSE);
+@@ -164,3 +164,91 @@ fsearch_string_starts_with_interval(char *str, char **
+     *end_ptr = str;
+     return false;
  }
 +
 +/* Compare strings while treating digits characters numerically.
diff --git a/sysutils/fsearch/pkg-plist b/sysutils/fsearch/pkg-plist
index 7ab0d448348f..bb3e8b172687 100644
--- a/sysutils/fsearch/pkg-plist
+++ b/sysutils/fsearch/pkg-plist
@@ -1,6 +1,6 @@
 bin/fsearch
 man/man1/fsearch.1.gz
-share/applications/fsearch.desktop
+share/applications/io.github.cboxdoerfer.FSearch.desktop
 share/icons/hicolor/scalable/apps/io.github.cboxdoerfer.FSearch.svg
 share/locale/ar/LC_MESSAGES/fsearch.mo
 share/locale/ber/LC_MESSAGES/fsearch.mo
@@ -10,6 +10,7 @@ share/locale/de/LC_MESSAGES/fsearch.mo
 share/locale/el/LC_MESSAGES/fsearch.mo
 share/locale/en_GB/LC_MESSAGES/fsearch.mo
 share/locale/es/LC_MESSAGES/fsearch.mo
+share/locale/eu/LC_MESSAGES/fsearch.mo
 share/locale/fi/LC_MESSAGES/fsearch.mo
 share/locale/fr/LC_MESSAGES/fsearch.mo
 share/locale/gl/LC_MESSAGES/fsearch.mo
@@ -21,6 +22,7 @@ share/locale/it/LC_MESSAGES/fsearch.mo
 share/locale/ja/LC_MESSAGES/fsearch.mo
 share/locale/ko/LC_MESSAGES/fsearch.mo
 share/locale/lt/LC_MESSAGES/fsearch.mo
+share/locale/mr/LC_MESSAGES/fsearch.mo
 share/locale/nb_NO/LC_MESSAGES/fsearch.mo
 share/locale/nl/LC_MESSAGES/fsearch.mo
 share/locale/pl/LC_MESSAGES/fsearch.mo
@@ -34,3 +36,4 @@ share/locale/tr/LC_MESSAGES/fsearch.mo
 share/locale/tzm/LC_MESSAGES/fsearch.mo
 share/locale/uk/LC_MESSAGES/fsearch.mo
 share/locale/zh_CN/LC_MESSAGES/fsearch.mo
+share/metainfo/io.github.cboxdoerfer.FSearch.appdata.xml