diff --git a/sysutils/fsearch/Makefile b/sysutils/fsearch/Makefile index 17d5b7263fd1..8148b5897dd0 100644 --- a/sysutils/fsearch/Makefile +++ b/sysutils/fsearch/Makefile @@ -1,30 +1,32 @@ PORTNAME= fsearch -PORTVERSION= 0.2.3 -PORTREVISION= 4 +PORTVERSION= 0.3.2 CATEGORIES= sysutils MAINTAINER= danfe@FreeBSD.org COMMENT= Fast file search utility for Unix-like systems WWW= https://cboxdoerfer.github.io/fsearch/ LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/License +BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libicuuc.so:devel/icu \ libpcre2-8.so:devel/pcre2 USE_GITHUB= yes GH_ACCOUNT= cboxdoerfer USES= meson gettext-tools gnome pkgconfig USE_GNOME= cairo gdkpixbuf gtk30 post-patch: @${PRINTF} '\n%s\n%s;\n' int \ 'strverscmp(const char *, const char *)' \ >> ${WRKSRC}/src/fsearch_string_utils.h + @${REINPLACE_CMD} -e '/#include /d' \ + ${WRKSRC}/src/fsearch.c \ + ${WRKSRC}/src/fsearch_database_file.c @${REINPLACE_CMD} -e 's,time_t,int64_t,g' \ ${WRKSRC}/src/fsearch_time_utils.h \ ${WRKSRC}/src/tests/test_time_utils.c .include diff --git a/sysutils/fsearch/distinfo b/sysutils/fsearch/distinfo index 7cc0ddf2c76f..398192eb0513 100644 --- a/sysutils/fsearch/distinfo +++ b/sysutils/fsearch/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1691240179 -SHA256 (cboxdoerfer-fsearch-0.2.3_GH0.tar.gz) = b3c576bf1230da7c374d00bb32d72686b940b4dee80d941495acfdd5437bf117 -SIZE (cboxdoerfer-fsearch-0.2.3_GH0.tar.gz) = 677180 +TIMESTAMP = 1789924312 +SHA256 (cboxdoerfer-fsearch-0.3.2_GH0.tar.gz) = 2c9bc7de9ac1ba72232cb4d66a750fe04210fdae96273f04316b6616fc098308 +SIZE (cboxdoerfer-fsearch-0.3.2_GH0.tar.gz) = 1056127 diff --git a/sysutils/fsearch/files/patch-src_fsearch__time__utils.c b/sysutils/fsearch/files/patch-src_fsearch__time__utils.c index c6def574e2fa..6be6fe6d3d38 100644 --- a/sysutils/fsearch/files/patch-src_fsearch__time__utils.c +++ b/sysutils/fsearch/files/patch-src_fsearch__time__utils.c @@ -1,34 +1,32 @@ ---- src/fsearch_time_utils.c.orig 2022-08-22 10:06:20 UTC +--- src/fsearch_time_utils.c.orig 2026-09-20 17:11:52 UTC +++ src/fsearch_time_utils.c -@@ -1,11 +1,11 @@ - #define _GNU_SOURCE - +@@ -1,9 +1,9 @@ -#include "fsearch_time_utils.h" - #include #include #include +#include "fsearch_time_utils.h" + typedef enum FsearchDateTimeType { FSEARCH_DATE_TIME_TYPE_SECOND, FSEARCH_DATE_TIME_TYPE_MINUTE, -@@ -377,7 +377,7 @@ parse_implicit_date_time_constants(const char *str, st +@@ -376,7 +376,7 @@ parse_implicit_date_time_constants(const char *str, st } static bool -parse_date_time_constants(const char *str, time_t *time_start_out, time_t *time_end_out) { +parse_date_time_constants(const char *str, int64_t *time_start_out, int64_t *time_end_out) { struct tm tm_start = {}; struct tm tm_end = {}; -@@ -469,7 +469,7 @@ round_down_tm_to_reference_with_date_time_accuracy(str +@@ -468,7 +468,7 @@ round_down_tm_to_reference_with_date_time_accuracy(str } bool -fsearch_date_time_parse_interval(const char *str, time_t *time_start_out, time_t *time_end_out) { +fsearch_date_time_parse_interval(const char *str, int64_t *time_start_out, int64_t *time_end_out) { if (parse_date_time_constants(str, time_start_out, time_end_out)) { return true; } diff --git a/sysutils/fsearch/pkg-plist b/sysutils/fsearch/pkg-plist index 4472f194d199..4b86aa591384 100644 --- a/sysutils/fsearch/pkg-plist +++ b/sysutils/fsearch/pkg-plist @@ -1,39 +1,56 @@ bin/fsearch -share/man/man1/fsearch.1.gz share/applications/io.github.cboxdoerfer.FSearch.desktop +share/help/C/fsearch/figures/FSearch.png +share/help/C/fsearch/index.page +share/help/C/fsearch/legal.xml +share/help/C/fsearch/search_syntax.page +share/help/C/fsearch/search_syntax_escaping.page +share/help/C/fsearch/search_syntax_functions.page +share/help/C/fsearch/search_syntax_modifiers.page +share/help/C/fsearch/search_syntax_operators.page +share/help/C/fsearch/search_syntax_wildcards.page share/icons/hicolor/scalable/apps/io.github.cboxdoerfer.FSearch.svg share/locale/ar/LC_MESSAGES/fsearch.mo -share/locale/ber/LC_MESSAGES/fsearch.mo share/locale/bg/LC_MESSAGES/fsearch.mo share/locale/ca/LC_MESSAGES/fsearch.mo 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/et/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/frc/LC_MESSAGES/fsearch.mo +share/locale/ga/LC_MESSAGES/fsearch.mo share/locale/gl/LC_MESSAGES/fsearch.mo share/locale/he/LC_MESSAGES/fsearch.mo share/locale/hu/LC_MESSAGES/fsearch.mo share/locale/id/LC_MESSAGES/fsearch.mo share/locale/ie/LC_MESSAGES/fsearch.mo share/locale/it/LC_MESSAGES/fsearch.mo share/locale/ja/LC_MESSAGES/fsearch.mo +share/locale/ka/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 +share/locale/prs/LC_MESSAGES/fsearch.mo share/locale/pt/LC_MESSAGES/fsearch.mo share/locale/pt_BR/LC_MESSAGES/fsearch.mo +share/locale/ro/LC_MESSAGES/fsearch.mo share/locale/ru/LC_MESSAGES/fsearch.mo share/locale/sk/LC_MESSAGES/fsearch.mo share/locale/sv/LC_MESSAGES/fsearch.mo share/locale/te/LC_MESSAGES/fsearch.mo share/locale/tr/LC_MESSAGES/fsearch.mo share/locale/tzm/LC_MESSAGES/fsearch.mo share/locale/uk/LC_MESSAGES/fsearch.mo +share/locale/ur/LC_MESSAGES/fsearch.mo +share/locale/zgh/LC_MESSAGES/fsearch.mo share/locale/zh_CN/LC_MESSAGES/fsearch.mo -share/metainfo/io.github.cboxdoerfer.FSearch.appdata.xml +share/locale/zh_Hant/LC_MESSAGES/fsearch.mo +share/man/man1/fsearch.1.gz +share/metainfo/io.github.cboxdoerfer.FSearch.metainfo.xml