Index: head/sysutils/fsearch/Makefile =================================================================== --- head/sysutils/fsearch/Makefile (revision 539407) +++ head/sysutils/fsearch/Makefile (revision 539408) @@ -1,25 +1,25 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= fsearch -DISTVERSION= 0.1beta2 -PORTREVISION= 3 +DISTVERSION= 0.1beta4 +DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= danfe@FreeBSD.org -COMMENT= Search utility focusing on performance and advanced features +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= libpcre.so:devel/pcre 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 .include Index: head/sysutils/fsearch/distinfo =================================================================== --- head/sysutils/fsearch/distinfo (revision 539407) +++ head/sysutils/fsearch/distinfo (revision 539408) @@ -1,3 +1,3 @@ -TIMESTAMP = 1493302986 -SHA256 (cboxdoerfer-fsearch-0.1beta2_GH0.tar.gz) = 46d4bf3a488f426c1044f822a99632c2bb6b85517b6e67ad0e8a507a4c4c526f -SIZE (cboxdoerfer-fsearch-0.1beta2_GH0.tar.gz) = 135870 +TIMESTAMP = 1582545022 +SHA256 (cboxdoerfer-fsearch-v0.1beta4_GH0.tar.gz) = a8664990194e476f7349c68e7c74c3eb56b5091fd6ef4a9f6581c3e408900464 +SIZE (cboxdoerfer-fsearch-v0.1beta4_GH0.tar.gz) = 160390 Index: head/sysutils/fsearch/files/patch-src_string__utils.c =================================================================== --- head/sysutils/fsearch/files/patch-src_string__utils.c (revision 539407) +++ head/sysutils/fsearch/files/patch-src_string__utils.c (revision 539408) @@ -1,41 +1,30 @@ ---- src/string_utils.c.orig 2016-10-16 16:07:25 UTC +--- src/string_utils.c.orig 2020-02-24 11:50:22 UTC +++ src/string_utils.c -@@ -17,6 +17,7 @@ +@@ -16,6 +16,7 @@ + along with this program; if not, see . */ - #define _GNU_SOURCE +#include #include #include - #include -@@ -52,9 +53,6 @@ fourbyte_strstr(const unsigned char *h, - return *h ? (char *)h-3 : 0; + #include +@@ -62,3 +63,19 @@ fs_str_copy (char *dest, char *end, const char *src) + return ptr; } --#define MAX(a,b) ((a)>(b)?(a):(b)) --#define MIN(a,b) ((a)<(b)?(a):(b)) -- - #define BITOP(a,b,op) \ - ((a)[(size_t)(b)/(8*sizeof *(a))] op (size_t)1<<((size_t)(b)%(8*sizeof *(a)))) - -@@ -220,3 +218,20 @@ fsearch_strstr (const char *haystack, - { - return my_strstr (haystack, needle); - } -+ +int +strverscmp (const char *s1, + const char *s2) +{ + gchar *tmp1, *tmp2; + gint ret; + + tmp1 = g_utf8_collate_key_for_filename(s1, -1); + tmp2 = g_utf8_collate_key_for_filename(s2, -1); + + ret = strcmp(tmp1, tmp2); + + g_free(tmp1); + g_free(tmp2); + return ret; +} Index: head/sysutils/fsearch/files/patch-src_string__utils.h =================================================================== --- head/sysutils/fsearch/files/patch-src_string__utils.h (revision 539407) +++ head/sysutils/fsearch/files/patch-src_string__utils.h (revision 539408) @@ -1,10 +1,10 @@ ---- src/string_utils.h.orig 2016-10-16 16:07:25 UTC +--- src/string_utils.h.orig 2020-02-24 11:50:22 UTC +++ src/string_utils.h -@@ -28,3 +28,7 @@ const char * - fsearch_strcasestr (const char *haystack, - const char *needle, - size_t needle_len); +@@ -30,3 +30,7 @@ char * + fs_str_copy (char *dest, + char *end, + const char *src); + +int +strverscmp (const char *s1, + const char *s2); Index: head/sysutils/fsearch/pkg-descr =================================================================== --- head/sysutils/fsearch/pkg-descr (revision 539407) +++ head/sysutils/fsearch/pkg-descr (revision 539408) @@ -1,11 +1,11 @@ FSearch is a fast file search utility, inspired by Everything Search Engine. It is written in C and based on GTK+3. It features: - Instant (as you type) results - Wildcard support and regular expression support - Filter support (only search for files, folders or everything) - Include and exclude specific folders to be indexed - Fast sort by file name, path, size, or modification time - Customizable interface -WWW: http://www.fsearch.org/ +WWW: http://cboxdoerfer.github.io/fsearch/ Index: head/sysutils/fsearch/pkg-plist =================================================================== --- head/sysutils/fsearch/pkg-plist (revision 539407) +++ head/sysutils/fsearch/pkg-plist (revision 539408) @@ -1,16 +1,25 @@ bin/fsearch share/applications/fsearch.desktop +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/es/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 share/locale/hu/LC_MESSAGES/fsearch.mo +share/locale/id/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/nb_NO/LC_MESSAGES/fsearch.mo share/locale/nl/LC_MESSAGES/fsearch.mo +share/locale/pl/LC_MESSAGES/fsearch.mo share/locale/pt/LC_MESSAGES/fsearch.mo -share/locale/pt-br/LC_MESSAGES/fsearch.mo +share/locale/pt_BR/LC_MESSAGES/fsearch.mo share/locale/ru/LC_MESSAGES/fsearch.mo share/locale/sk/LC_MESSAGES/fsearch.mo +share/locale/tr/LC_MESSAGES/fsearch.mo +share/locale/uk/LC_MESSAGES/fsearch.mo share/locale/zh_CN/LC_MESSAGES/fsearch.mo -share/locale/zh_Hans/LC_MESSAGES/fsearch.mo