svn commit: r456690 - in head/x11: . hhpc hhpc/files
Yuri Victorovich
yuri at FreeBSD.org
Mon Dec 18 22:39:39 UTC 2017
Author: yuri
Date: Mon Dec 18 22:39:38 2017
New Revision: 456690
URL: https://svnweb.freebsd.org/changeset/ports/456690
Log:
New port: x11/hhpc: Small and easy to use console text editor
PR: 224345
Submitted by: Dmitri Goutnik <dg at syrec.org>
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D13499
Added:
head/x11/hhpc/
head/x11/hhpc/Makefile (contents, props changed)
head/x11/hhpc/distinfo (contents, props changed)
head/x11/hhpc/files/
head/x11/hhpc/files/patch-Makefile (contents, props changed)
head/x11/hhpc/pkg-descr (contents, props changed)
Modified:
head/x11/Makefile
Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile Mon Dec 18 22:24:12 2017 (r456689)
+++ head/x11/Makefile Mon Dec 18 22:39:38 2017 (r456690)
@@ -106,6 +106,7 @@
SUBDIR += gtkterm2
SUBDIR += guake
SUBDIR += gxkb
+ SUBDIR += hhpc
SUBDIR += hs-X11
SUBDIR += hs-X11-xft
SUBDIR += hs-xmobar
Added: head/x11/hhpc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/hhpc/Makefile Mon Dec 18 22:39:38 2017 (r456690)
@@ -0,0 +1,31 @@
+# Created by: Dmitri Goutnik <dg at syrec.org>
+# $FreeBSD$
+
+PORTNAME= hhpc
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.3.1
+CATEGORIES= x11
+
+MAINTAINER= dg at syrec.org
+COMMENT= Small X11 utility to hide the mouse pointer when unused
+
+LICENSE= BSD3CLAUSE
+
+USES= gmake localbase pkgconfig
+USE_XORG= x11
+USE_GITHUB= yes
+GH_ACCOUNT= aktau
+ALL_TARGET= release
+
+PLIST_FILES= bin/hhpc
+
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/hhpc ${STAGEDIR}${PREFIX}/bin/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
Added: head/x11/hhpc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/hhpc/distinfo Mon Dec 18 22:39:38 2017 (r456690)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513268001
+SHA256 (aktau-hhpc-v0.3.1_GH0.tar.gz) = f75cc4c4542d833e2aa9fbc3bfd2b658b6a21354d5d546dad49eb0efc6134417
+SIZE (aktau-hhpc-v0.3.1_GH0.tar.gz) = 5487
Added: head/x11/hhpc/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/hhpc/files/patch-Makefile Mon Dec 18 22:39:38 2017 (r456690)
@@ -0,0 +1,23 @@
+--- Makefile.orig 2014-08-25 15:37:45 UTC
++++ Makefile
+@@ -51,7 +51,7 @@ CFLAGS_COMMON ?= \
+ -pedantic \
+ -std=c99
+
+-CFLAGS ?= $(CFLAGS_COMMON)
++CFLAGS += $(CFLAGS_COMMON)
+
+ CC ?= cc $(CFLAGS)
+
+@@ -66,10 +66,7 @@ debug: CFLAGS += $(WARN) \
+ -DDEBUG
+ debug: $(EXECUTABLE)
+
+-release: CFLAGS += \
+- -s \
+- -O2 \
+- -DNDEBUG
++release: CFLAGS += -DNDEBUG
+ release: $(EXECUTABLE)
+
+ $(EXECUTABLE): $(OBJECTS)
Added: head/x11/hhpc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/hhpc/pkg-descr Mon Dec 18 22:39:38 2017 (r456690)
@@ -0,0 +1,13 @@
+hhpc is an utility that hides the mouse pointer in X11. It functions by
+grabbing your mouse pointer at startup and replacing its bitmap with an
+empty one (thus hiding it). Then, it waits for the X server to notify it
+when a user tries to move or click the pointer. At this point, hhpc
+relinquishes control, replays the action the user just tried to execute and
+waits for the specified number of seconds (flag -i) before trying to grab
+the pointer and hide it again.
+
+Should hhpc not work out for you, unclutter is a good alternative. hhpc was
+created because unclutter doesn't seem to interoperate properly with
+hardware accelerated surfaces like those of video players using VAAPI.
+
+WWW: https://github.com/aktau/hhpc
More information about the svn-ports-head
mailing list