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
This commit is contained in:
Alexey Dokuchaev 2022-08-19 04:04:38 +00:00
parent ced29daafb
commit 40064a34ae
4 changed files with 15 additions and 23 deletions

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -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