Date: Wed, 1 Feb 2023 02:43:01 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ef9d19bab65c - main - deskutils/keep-presence: New port: Prevent system from becoming idle Message-ID: <202302010243.3112h1CS092029@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ef9d19bab65c40af52361a8e55a8b0fe69904904 commit ef9d19bab65c40af52361a8e55a8b0fe69904904 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-02-01 02:42:03 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-02-01 02:42:57 +0000 deskutils/keep-presence: New port: Prevent system from becoming idle --- deskutils/Makefile | 1 + deskutils/keep-presence/Makefile | 33 +++++++++++++++++++++++++++++++++ deskutils/keep-presence/distinfo | 3 +++ deskutils/keep-presence/pkg-descr | 4 ++++ 4 files changed, 41 insertions(+) diff --git a/deskutils/Makefile b/deskutils/Makefile index 6e55b2dc5cd0..613137f614a5 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -140,6 +140,7 @@ SUBDIR += kdepim-addons SUBDIR += kdepim-runtime SUBDIR += keditbookmarks + SUBDIR += keep-presence SUBDIR += kfind SUBDIR += kmail SUBDIR += kmail-account-wizard diff --git a/deskutils/keep-presence/Makefile b/deskutils/keep-presence/Makefile new file mode 100644 index 000000000000..4f90cb3ca3cf --- /dev/null +++ b/deskutils/keep-presence/Makefile @@ -0,0 +1,33 @@ +PORTNAME= keep-presence +DISTVERSION= 1.0.6 # repo not tagged +CATEGORIES= deskutils + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Prevent system from becoming idle +WWW= https://github.com/moses-palmer/pynput + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/../LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynput>0:x11/py-pynput@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +USE_GITHUB= yes +GH_ACCOUNT= carrot69 +GH_TAGNAME= a6cf974 + +WRKSRC_SUBDIR= src + +NO_ARCH= yes + +POST_PLIST= fix-plist + +post-install: + @${MV} ${STAGEDIR}${PREFIX}/bin/keep-presence.py ${STAGEDIR}${PREFIX}/bin/keep-presence + +fix-plist: + @${REINPLACE_CMD} -e "s|bin/keep-presence\.py|bin/keep-presence|" ${TMPPLIST} + +.include <bsd.port.mk> diff --git a/deskutils/keep-presence/distinfo b/deskutils/keep-presence/distinfo new file mode 100644 index 000000000000..f92750dc15b8 --- /dev/null +++ b/deskutils/keep-presence/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1675218791 +SHA256 (carrot69-keep-presence-1.0.6-a6cf974_GH0.tar.gz) = 48af305cdfc9964cf87a215efea4d81a11182c0bb73c9b72280f10941e5fd807 +SIZE (carrot69-keep-presence-1.0.6-a6cf974_GH0.tar.gz) = 2546740 diff --git a/deskutils/keep-presence/pkg-descr b/deskutils/keep-presence/pkg-descr new file mode 100644 index 000000000000..12230e021175 --- /dev/null +++ b/deskutils/keep-presence/pkg-descr @@ -0,0 +1,4 @@ +keep-presence is a program moves the mouse or press a key when it detects that +you are away. +It won't do anything if you are using your computer. +Useful to trick your machine to think you are still working with it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302010243.3112h1CS092029>