From nobody Wed Feb 01 02:43:01 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P65nL0qsVz3bnr2; Wed, 1 Feb 2023 02:43:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P65nK5Sb0z4Jtc; Wed, 1 Feb 2023 02:43:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675219381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H91D9fuH6Ol39bI9HQVnRPPJomAeNjq53nj8M1twz7I=; b=AAk7oesuStY9hHnDgarToARZdJKvdni/RX+fHDsT9P6116wvQ5ORlbOoOsoqLtkxI8Y407 G1sg6uuc2R3v1fAQI1Lkv742N1hvhHNoOlOOA8kaNrSUkYV6jqYr90fzOL+kGVMi7goxpb hN4Z0yei3Wsr8DjQovoooVyWlO0R3zVvYdyUk3hNdjj5Fde46N4Mi4jkjAGtMdx15D5Cjw aVWKzwW6o1YBD0URM+BlsUKuP6aiHAL0xd1yyHV8ezmZ//5dWfIwbj6/OHv9sKRXRqZC51 fBy09i7GsWYVKnoxe0Y5ZLRfexuH0JqB3Ybv0o7hhOjF6+IgBppz5VBF5acMbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675219381; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H91D9fuH6Ol39bI9HQVnRPPJomAeNjq53nj8M1twz7I=; b=MZhsfF3FiXLNtI97Ys8WAZP2hczE26DzSCv4DuLHNlQ/UxqD6PoYu08Rayo4eXZoP1ejKZ Dw6atPJMRHki9J71qneuXryCVouOQbRHzmrBcZ/NciIsSt1CuTw4abuYQjGfoomR/OZVG0 PwT195AIB/hSryIzCuH0gT0lTyHO1Z+oWI0JxYc71E/oQ8vfio+DWtb3WFG6n8mrPP0vut 0wg1oGbSm7buuKnlYZHGpqnOh47H5jtvBbPTwTzPEin8NukVUxyryqbzMEjp7k+21iHJB5 84RFmUVfYeJ3BSgdiYM7OQlnBRcx7u0QO3a3UhLBVtARQ7T+4MbrLLF1DziLmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675219381; a=rsa-sha256; cv=none; b=h8Qf/U57oL0xSUiRaPpvWXArTwcPcTQjjAIztq9rxcCYa0+/6vlj2w3//SuBMBOtEZ5VOC qUaH2nLs0hh0YRDAAcKgA5EouQmwz5jgrlOFx4dD7+GzIUyDxxYr9NBCcVXeF9mdrmJ0Pk eTKpzzERJDx0g04wag0HAiKSQlbmMstsYr5zhY+dwMWJQwfe29ZQ2ETxfCrVKbeBNzjvN+ 6JtHRZ7bs4Xcl4vVlwDYaq4B48BjIaGYGHZiG34qMIJqVG42o558xHP8i/FezDVV9FiByY NrWF0s4kORjZpF9Rpf4rN7ImX+UO05DswUVAY+yHBMznwwHjyRN7sGKilZfxZA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P65nK49zwz1CGG; Wed, 1 Feb 2023 02:43:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3112h1dV092030; Wed, 1 Feb 2023 02:43:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3112h1CS092029; Wed, 1 Feb 2023 02:43:01 GMT (envelope-from git) Date: Wed, 1 Feb 2023 02:43:01 GMT Message-Id: <202302010243.3112h1CS092029@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: ef9d19bab65c - main - deskutils/keep-presence: New port: Prevent system from becoming idle List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ef9d19bab65c40af52361a8e55a8b0fe69904904 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ef9d19bab65c40af52361a8e55a8b0fe69904904 commit ef9d19bab65c40af52361a8e55a8b0fe69904904 Author: Yuri Victorovich AuthorDate: 2023-02-01 02:42:03 +0000 Commit: Yuri Victorovich 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 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.