Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 14:06:06 +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: r538316 - in head/sysutils/angrysearch: . files
Message-ID:  <202006091406.059E66dO007386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006091406.059E66dO007386>