Date: Tue, 9 Jun 2020 11:04:05 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538302 - in head/sysutils: . angrysearch angrysearch/files Message-ID: <202006091104.059B45QM096063@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Tue Jun 9 11:04:05 2020 New Revision: 538302 URL: https://svnweb.freebsd.org/changeset/ports/538302 Log: Clone of the David Carpenter's "Everything" search engine, which locates files and folders by their name instantly, for Unix-like systems. WWW: https://github.com/DoTheEvo/ANGRYsearch Added: head/sysutils/angrysearch/ head/sysutils/angrysearch/Makefile (contents, props changed) head/sysutils/angrysearch/distinfo (contents, props changed) head/sysutils/angrysearch/files/ head/sysutils/angrysearch/files/patch-scandir.py (contents, props changed) head/sysutils/angrysearch/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Tue Jun 9 11:03:04 2020 (r538301) +++ head/sysutils/Makefile Tue Jun 9 11:04:05 2020 (r538302) @@ -37,6 +37,7 @@ SUBDIR += and SUBDIR += android-file-transfer SUBDIR += android-file-transfer-qt5 + SUBDIR += angrysearch SUBDIR += ansible SUBDIR += ansible-sysrc SUBDIR += ansible27 Added: head/sysutils/angrysearch/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/angrysearch/Makefile Tue Jun 9 11:04:05 2020 (r538302) @@ -0,0 +1,29 @@ +# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= angrysearch +PORTVERSION= 1.0.2 # untagged, but specified in the setup.py +CATEGORIES= sysutils python + +MAINTAINER= danfe@FreeBSD.org +COMMENT= Quick search GUI tool for Unix systems + +LICENSE= GPLv2 + +USE_GITHUB= yes +GH_ACCOUNT= DoTheEvo +GH_PROJECT= ANGRYsearch +GH_TAGNAME= 6f8fccc + +USES= python pyqt:5 +USE_PYTHON= autoplist distutils noflavors +USE_PYQT= core_run gui_run widgets_run + +post-patch: + @${REINPLACE_CMD} -e 's,Linux,${OPSYS}, ; s,linux,${OPSYS:tl}, \ + ; s,/usr/share,${PREFIX}/share,' ${WRKSRC}/setup.py \ + ${WRKSRC}/angrysearch.desktop + +.include <bsd.port.mk> + +PATCH_ARGS+= -l Added: head/sysutils/angrysearch/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/angrysearch/distinfo Tue Jun 9 11:04:05 2020 (r538302) @@ -0,0 +1,3 @@ +TIMESTAMP = 1532808758 +SHA256 (DoTheEvo-ANGRYsearch-1.0.2-6f8fccc_GH0.tar.gz) = cff66028d346e86c70a6911608fba1ee03e48dc5062c65313564df38b75acf95 +SIZE (DoTheEvo-ANGRYsearch-1.0.2-6f8fccc_GH0.tar.gz) = 504698 Added: head/sysutils/angrysearch/files/patch-scandir.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/angrysearch/files/patch-scandir.py Tue Jun 9 11:04:05 2020 (r538302) @@ -0,0 +1,22 @@ +--- scandir.py.orig 2018-07-28 20:12:38 UTC ++++ scandir.py +@@ -428,7 +428,18 @@ elif sys.platform.startswith(('linux', 'darwin')) or ' + ('d_type', ctypes.c_byte), + ('d_name', ctypes.c_char * 256), + ) +- else: ++ elif sys.platform.startswith('freebsd') and int(sys.platform[7:]) > 11: ++ _fields_ = ( ++ ('d_ino', ctypes.c_uint64), ++ ('d_off', ctypes.c_uint64), ++ ('d_reclen', ctypes.c_ushort), ++ ('d_type', ctypes.c_byte), ++ ('d_pad0', ctypes.c_byte), ++ ('d_namlen', ctypes.c_ushort), ++ ('d_pad1', ctypes.c_ushort), ++ ('d_name', ctypes.c_char * 256), ++ ) ++ else: + _fields_ = ( + ('d_ino', ctypes.c_uint32), # must be uint32, not ulong + ('d_reclen', ctypes.c_ushort), Added: head/sysutils/angrysearch/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/angrysearch/pkg-descr Tue Jun 9 11:04:05 2020 (r538302) @@ -0,0 +1,9 @@ +Clone of the David Carpenter's "Everything" search engine, which locates +files and folders by their name instantly, for Unix-like systems. + +This simple file search crawls available disks creating a database that +can be searched using quick and responsive graphical interface. +Notable difference is that by default, the entire paths are searched, +not just file and folder names. + +WWW: https://github.com/DoTheEvo/ANGRYsearch
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006091104.059B45QM096063>