From owner-svn-ports-all@freebsd.org Tue Jun 9 11:04:06 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AED5B3285F8; Tue, 9 Jun 2020 11:04:06 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49h6gp4D4Rz4JJm; Tue, 9 Jun 2020 11:04:06 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8C3711492C; Tue, 9 Jun 2020 11:04:06 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 059B46eY096068; Tue, 9 Jun 2020 11:04:06 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 059B45QM096063; Tue, 9 Jun 2020 11:04:05 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202006091104.059B45QM096063@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 9 Jun 2020 11:04:05 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/sysutils: . angrysearch angrysearch/files X-SVN-Commit-Revision: 538302 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 11:04:06 -0000 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 +# $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 + +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