Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2020 19:17:45 +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: r541129 - in head: . x11 x11/keynav
Message-ID:  <202007031917.063JHjnR009796@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Jul  3 19:17:45 2020
New Revision: 541129
URL: https://svnweb.freebsd.org/changeset/ports/541129

Log:
  - Revive, update to the latest original author's GitHub snapshot
  - Make sure reported version does not depend on the day of build
  - Define LICENSE; install more complete set of documentation and
    example files; transfer maintainership to the new volunteer
  
  PR:	240406

Added:
  head/x11/keynav/
     - copied from r439825, head/x11/keynav/
Modified:
  head/MOVED
  head/x11/Makefile
  head/x11/keynav/Makefile
  head/x11/keynav/distinfo

Modified: head/MOVED
==============================================================================
--- head/MOVED	Fri Jul  3 19:17:39 2020	(r541128)
+++ head/MOVED	Fri Jul  3 19:17:45 2020	(r541129)
@@ -9201,7 +9201,6 @@ databases/jdbm2||2017-04-30|Has expired: Unfetchable f
 databases/akonadi-googledata||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
 lang/ofc||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
 comms/esmska||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
-x11/keynav||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
 x11/hotwire-shell||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
 security/fuzzdb||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
 security/truecrack||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Fri Jul  3 19:17:39 2020	(r541128)
+++ head/x11/Makefile	Fri Jul  3 19:17:45 2020	(r541129)
@@ -115,6 +115,7 @@
     SUBDIR += keybinder
     SUBDIR += keybinder-gtk3
     SUBDIR += keyboardcast
+    SUBDIR += keynav
     SUBDIR += kf5-frameworkintegration
     SUBDIR += kf5-frameworks
     SUBDIR += kf5-kactivities

Modified: head/x11/keynav/Makefile
==============================================================================
--- head/x11/keynav/Makefile	Sun Apr 30 14:26:41 2017	(r439825)
+++ head/x11/keynav/Makefile	Fri Jul  3 19:17:45 2020	(r541129)
@@ -1,35 +1,47 @@
 # $FreeBSD$
 
 PORTNAME=	keynav
-DISTVERSION=	0.20110708.0
-PORTREVISION=	2
+PORTVERSION=	0.20180821.0	# to match the output of `keynav -v'
 PORTEPOCH=	1
 CATEGORIES=	x11
-MASTER_SITES=	http://semicomplete.googlecode.com/files/
 
-MAINTAINER=	wxs@FreeBSD.org
+MAINTAINER=	karlo@klarinet.osamsb.hr
 COMMENT=	Quickly select a portion of the screen using minimal keystrokes
 
-BROKEN=		Unfetchable (google code has gone away)
-DEPRECATED=	Unfetchable for more than six months (google code has gone away)
-EXPIRATION_DATE=	2017-04-30
-BROKEN_aarch64=	Fails to build: undefined reference to xdo_mouselocation
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-LIB_DEPENDS=	libxdo.so:x11/xdotool \
-		libcairo.so:graphics/cairo
+LIB_DEPENDS=	libxdo.so:x11/xdotool
 
-USES=		gmake pkgconfig
-USE_GNOME=	glib20
-USE_XORG=	xtst x11 xinerama
+USES=		gmake gnome pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	jordansissel
+GH_TAGNAME=	78f9e07
+USE_GNOME=	cairo glib20
+USE_XORG=	x11 xext xinerama xrandr
 
 PLIST_FILES=	bin/keynav
-PORTEXAMPLES=	keynavrc
+PORTDOCS=	CHANGELIST README.md TODO
+PORTEXAMPLES=	keynavrc keynavrc.jordan test.sh
 
-OPTIONS_DEFINE=	EXAMPLES
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
+post-extract:
+	@${MV} ${WRKSRC}/examples/keynavrc.jordan ${WRKSRC}
+# default RELEASE="$(date +%Y%m%d)", should not depend on the build date
+	@${PRINTF} "MAJOR=0\nRELEASE=%s\nREVISION=0\n" \
+		${PORTVERSION:S/./ /g:[2]} > ${WRKSRC}/VERSION
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/keynav ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/keynavrc ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} \
+		${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/x11/keynav/distinfo
==============================================================================
--- head/x11/keynav/distinfo	Sun Apr 30 14:26:41 2017	(r439825)
+++ head/x11/keynav/distinfo	Fri Jul  3 19:17:45 2020	(r541129)
@@ -1,2 +1,3 @@
-SHA256 (keynav-0.20110708.0.tar.gz) = 1f39c7181bf2f6185946afc35bdcca28ec15fed012a4b57bef57fb1125943fbe
-SIZE (keynav-0.20110708.0.tar.gz) = 21124
+TIMESTAMP = 1534813771
+SHA256 (jordansissel-keynav-0.20180821.0-78f9e07_GH0.tar.gz) = 448fbbddf5c7fa4888e67f6708089b04587ac33d36770cbc5bb79087d6cf1793
+SIZE (jordansissel-keynav-0.20180821.0-78f9e07_GH0.tar.gz) = 28796



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