From owner-svn-ports-all@freebsd.org Tue Jun 9 14:06: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 8E0E832E4C1; Tue, 9 Jun 2020 14:06: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 49hBjp3DfRz4fvq; Tue, 9 Jun 2020 14:06: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 6A22316C73; Tue, 9 Jun 2020 14:06: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 059E66xB007387; Tue, 9 Jun 2020 14:06:06 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 059E66dO007386; Tue, 9 Jun 2020 14:06:06 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202006091406.059E66dO007386@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 14:06:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538316 - in head/sysutils/angrysearch: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/sysutils/angrysearch: . files X-SVN-Commit-Revision: 538316 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 14:06:06 -0000 Author: danfe Date: Tue Jun 9 14:06:05 2020 New Revision: 538316 URL: https://svnweb.freebsd.org/changeset/ports/538316 Log: - Add run-time dependency on xdg-open(1) - Soften the wording in the COMMENT text - Regenerate the patch to make it shorter Modified: head/sysutils/angrysearch/Makefile head/sysutils/angrysearch/files/patch-scandir.py Modified: head/sysutils/angrysearch/Makefile ============================================================================== --- head/sysutils/angrysearch/Makefile Tue Jun 9 13:56:20 2020 (r538315) +++ head/sysutils/angrysearch/Makefile Tue Jun 9 14:06:05 2020 (r538316) @@ -6,9 +6,11 @@ PORTVERSION= 1.0.2 # untagged, but specified in the se CATEGORIES= sysutils python MAINTAINER= danfe@FreeBSD.org -COMMENT= Quick search GUI tool for Unix systems +COMMENT= Quick search GUI tool for Unix-like systems LICENSE= GPLv2 + +RUN_DEPENDS= xdg-open:devel/xdg-utils USE_GITHUB= yes GH_ACCOUNT= DoTheEvo Modified: head/sysutils/angrysearch/files/patch-scandir.py ============================================================================== --- head/sysutils/angrysearch/files/patch-scandir.py Tue Jun 9 13:56:20 2020 (r538315) +++ head/sysutils/angrysearch/files/patch-scandir.py Tue Jun 9 14:06:05 2020 (r538316) @@ -1,10 +1,9 @@ --- scandir.py.orig 2018-07-28 20:12:38 UTC +++ scandir.py -@@ -428,7 +428,18 @@ elif sys.platform.startswith(('linux', 'darwin')) or ' +@@ -428,6 +428,17 @@ 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), @@ -16,7 +15,6 @@ + ('d_pad1', ctypes.c_ushort), + ('d_name', ctypes.c_char * 256), + ) -+ else: + else: _fields_ = ( ('d_ino', ctypes.c_uint32), # must be uint32, not ulong - ('d_reclen', ctypes.c_ushort),