Page MenuHomeFreeBSD

D13499.1795050745.diff
No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None

D13499.1795050745.diff

Index: x11/Makefile
===================================================================
--- x11/Makefile
+++ x11/Makefile
@@ -106,6 +106,7 @@
SUBDIR += gtkterm2
SUBDIR += guake
SUBDIR += gxkb
+ SUBDIR += hhpc
SUBDIR += hs-X11
SUBDIR += hs-X11-xft
SUBDIR += hs-xmobar
Index: x11/hhpc/Makefile
===================================================================
--- /dev/null
+++ x11/hhpc/Makefile
@@ -0,0 +1,32 @@
+# Created by: Dmitri Goutnik <dg@syrec.org>
+# $FreeBSD$
+
+PORTNAME= hhpc
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.3.1
+CATEGORIES= x11
+
+MAINTAINER= dg@syrec.org
+COMMENT= Small X11 utility to hide the mouse pointer when unused
+
+LICENSE= BSD3CLAUSE
+
+USES= gmake pkgconfig
+USE_XORG= x11
+USE_GITHUB= yes
+GH_ACCOUNT= aktau
+CFLAGS+= -I${LOCALBASE}/include
+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>
Index: x11/hhpc/distinfo
===================================================================
--- /dev/null
+++ x11/hhpc/distinfo
@@ -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
Index: x11/hhpc/files/patch-Makefile
===================================================================
--- /dev/null
+++ x11/hhpc/files/patch-Makefile
@@ -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)
Index: x11/hhpc/pkg-descr
===================================================================
--- /dev/null
+++ x11/hhpc/pkg-descr
@@ -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

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 19, 1:12 AM (18 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41836524
Default Alt Text
D13499.1795050745.diff (2 KB)

Event Timeline