From nobody Tue May 30 02:23:37 2023 X-Original-To: dev-commits-ports-all@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 4QVbmV1hDCz4XbQD; Tue, 30 May 2023 02:23:38 +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 4QVbmV19V6z44m6; Tue, 30 May 2023 02:23:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685413418; 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=YqTB3lE86rEh9RgSBPfuK8JqmHiIC+7BQpgidnJdP0I=; b=BNp58bJQpn0gr8/RQzGYP6VYWJNHCx9qSLHAe4LmMzXd3uUAEKOIcjU2rrAINj8u4HtT/x wzVPNU0Q8nzxLNItWFJMikkAOuP6zrIo3rzruavvzBt0djlByl6xy6C7rHE+RfvcoEXfcD ZTdQMLFZ48Fukhew3y/4aSfF2pV5F47QQUnbLWxu6zT3uXBchyuu4FS4Y0vL1vsCL9nD0a /UbOpetDtCdw/ThDs3yUOvXPKzx7GAPl18IZcy+T0/jJb2BlmANAORlRzWOXkyeCKv2XYp HFPmwkdnlFI0QBBX4CgASFTpsuYI5HjCqaaQhUFvx1br5pB2L1XDC4Q6ifUo2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685413418; 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=YqTB3lE86rEh9RgSBPfuK8JqmHiIC+7BQpgidnJdP0I=; b=YY1IY2TkY2SrDP7OLhq1bIZD7djcyO2Yn9s9K4jPX6dn5KCoPiuj9Ki8K+EyZ2urfab+4t BYSayUnyX0eQwstAs/DNSKFNs+/JYV5yRBFL2Lsl1zIHjZlaY9d5pOqCNUgDl75Q4UUY1K 2wLDyosmPI/rLHMIblt/NIouFP8C5l1A+zWOxbNdLgsR9JE02Nu9v/LkH82w5aMu7tb+XO RzSGWmkQ3ZM2GzKCDRDXGgK8WIxgEb90zyFCvmuJp27aLT4ehyMqY7I9G3ogGFnORm6p29 uONFvq8G86n+R5q07fcFwQGRrQQy60xUpw/eq7Mr02H9EFzjOgsSx7w3MMhG0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685413418; a=rsa-sha256; cv=none; b=XzqT3j38v8X0TJpzc5f2UBf0rzUOWhtLKtKgArzQ518XFnNd/Ff0oXqQgq28r5OfgWTl55 0yCs4sY83M75BHAcUiTf9mE9XGP1bLL01EPT/U42bM9VDsFQPAS/YwoHnRtUcdWhxWEEBC 4T1w/UTkcJyOwpGv2llifamprtyIzn/Hv9jQvkykJXGP9PfUTZ0Jto6efnCTFQ5V78N0zY EMiEkUGC00653oRcZWHzGRtlcgD7zwdU5eHxuZRFagWwnzYOW94HS5KNePE6/Xhpd8hu8U q0QPn8baCHN9UwZ0DkSqmWt0gH2nJM4ZsBcFNs7Ihf/wIWajhJP5zae28gkuzA== 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 4QVbmT73ymzbyt; Tue, 30 May 2023 02:23:37 +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 34U2Nb76061404; Tue, 30 May 2023 02:23:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34U2NbTE061403; Tue, 30 May 2023 02:23:37 GMT (envelope-from git) Date: Tue, 30 May 2023 02:23:37 GMT Message-Id: <202305300223.34U2NbTE061403@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: c5533629d712 - main - x11/wayidle: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c5533629d7125ec3def23383d869812120e5e7c9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5533629d7125ec3def23383d869812120e5e7c9 commit c5533629d7125ec3def23383d869812120e5e7c9 Author: Jan Beich AuthorDate: 2023-05-29 14:22:29 +0000 Commit: Jan Beich CommitDate: 2023-05-30 02:22:01 +0000 x11/wayidle: add new port Wayidle waits until the Wayland compositor reports being N seconds idle. If a command was specified, it will "exec" into that command, otherwise, it will exit zero. Wayidle is designed for usage is shell scripts or execline scripts. https://sr.ht/~whynothugo/wayidle --- x11/Makefile | 1 + x11/wayidle/Makefile | 19 ++++++++++++++++++ x11/wayidle/Makefile.crates | 23 +++++++++++++++++++++ x11/wayidle/distinfo | 49 +++++++++++++++++++++++++++++++++++++++++++++ x11/wayidle/pkg-descr | 5 +++++ 5 files changed, 97 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 586222390f75..315d179fadd2 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -416,6 +416,7 @@ SUBDIR += wapanel SUBDIR += way-displays SUBDIR += waybar + SUBDIR += wayidle SUBDIR += wayland-logout SUBDIR += waylock SUBDIR += wayout diff --git a/x11/wayidle/Makefile b/x11/wayidle/Makefile new file mode 100644 index 000000000000..62fa00ab6f49 --- /dev/null +++ b/x11/wayidle/Makefile @@ -0,0 +1,19 @@ +PORTNAME= wayidle +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.1 +CATEGORIES= x11 wayland +MASTER_SITES= https://git.sr.ht/~whynothugo/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ +# XXX Teach USES=cargo to not override default DISTFILES +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Wait for wayland compositor idle timeouts +WWW= https://sr.ht/~whynothugo/wayidle + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENCE.md + +USES= cargo +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/x11/wayidle/Makefile.crates b/x11/wayidle/Makefile.crates new file mode 100644 index 000000000000..62c4087609d4 --- /dev/null +++ b/x11/wayidle/Makefile.crates @@ -0,0 +1,23 @@ +CARGO_CRATES= anyhow-1.0.71 \ + autocfg-1.1.0 \ + bitflags-1.3.2 \ + cfg-if-1.0.0 \ + convert_case-0.6.0 \ + lexopt-0.3.0 \ + libc-0.2.144 \ + memchr-2.5.0 \ + memoffset-0.7.1 \ + nix-0.26.2 \ + proc-macro2-1.0.59 \ + quick-xml-0.28.2 \ + quote-1.0.28 \ + static_assertions-1.1.0 \ + syn-2.0.18 \ + thiserror-1.0.40 \ + thiserror-impl-1.0.40 \ + unicode-ident-1.0.9 \ + unicode-segmentation-1.10.1 \ + wayrs-client-0.10.4 \ + wayrs-protocols-0.10.5 \ + wayrs-scanner-0.10.3 \ + wayrs-utils-0.6.0 diff --git a/x11/wayidle/distinfo b/x11/wayidle/distinfo new file mode 100644 index 000000000000..7ba5f694ab1e --- /dev/null +++ b/x11/wayidle/distinfo @@ -0,0 +1,49 @@ +TIMESTAMP = 1685370149 +SHA256 (wayidle-v0.1.1.tar.gz) = f71d7c9f62d39b254b11a716e7ba7da9ae81224bacb8b273ab5d9595b9fa6b7d +SIZE (wayidle-v0.1.1.tar.gz) = 4511 +SHA256 (rust/crates/anyhow-1.0.71.crate) = 9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8 +SIZE (rust/crates/anyhow-1.0.71.crate) = 43808 +SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa +SIZE (rust/crates/autocfg-1.1.0.crate) = 13272 +SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a +SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/convert_case-0.6.0.crate) = ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca +SIZE (rust/crates/convert_case-0.6.0.crate) = 18675 +SHA256 (rust/crates/lexopt-0.3.0.crate) = baff4b617f7df3d896f97fe922b64817f6cd9a756bb81d40f8883f2f66dcb401 +SIZE (rust/crates/lexopt-0.3.0.crate) = 24767 +SHA256 (rust/crates/libc-0.2.144.crate) = 2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1 +SIZE (rust/crates/libc-0.2.144.crate) = 682092 +SHA256 (rust/crates/memchr-2.5.0.crate) = 2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d +SIZE (rust/crates/memchr-2.5.0.crate) = 65812 +SHA256 (rust/crates/memoffset-0.7.1.crate) = 5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4 +SIZE (rust/crates/memoffset-0.7.1.crate) = 8556 +SHA256 (rust/crates/nix-0.26.2.crate) = bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a +SIZE (rust/crates/nix-0.26.2.crate) = 277973 +SHA256 (rust/crates/proc-macro2-1.0.59.crate) = 6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b +SIZE (rust/crates/proc-macro2-1.0.59.crate) = 44360 +SHA256 (rust/crates/quick-xml-0.28.2.crate) = 0ce5e73202a820a31f8a0ee32ada5e21029c81fd9e3ebf668a40832e4219d9d1 +SIZE (rust/crates/quick-xml-0.28.2.crate) = 156462 +SHA256 (rust/crates/quote-1.0.28.crate) = 1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488 +SIZE (rust/crates/quote-1.0.28.crate) = 28382 +SHA256 (rust/crates/static_assertions-1.1.0.crate) = a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f +SIZE (rust/crates/static_assertions-1.1.0.crate) = 18480 +SHA256 (rust/crates/syn-2.0.18.crate) = 32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e +SIZE (rust/crates/syn-2.0.18.crate) = 240648 +SHA256 (rust/crates/thiserror-1.0.40.crate) = 978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac +SIZE (rust/crates/thiserror-1.0.40.crate) = 18709 +SHA256 (rust/crates/thiserror-impl-1.0.40.crate) = f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f +SIZE (rust/crates/thiserror-impl-1.0.40.crate) = 15138 +SHA256 (rust/crates/unicode-ident-1.0.9.crate) = b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0 +SIZE (rust/crates/unicode-ident-1.0.9.crate) = 41978 +SHA256 (rust/crates/unicode-segmentation-1.10.1.crate) = 1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36 +SIZE (rust/crates/unicode-segmentation-1.10.1.crate) = 98416 +SHA256 (rust/crates/wayrs-client-0.10.4.crate) = 8efff4d6e2a63569d0c26cc6213523d5cf633abc5f43298265efddc4f084692b +SIZE (rust/crates/wayrs-client-0.10.4.crate) = 49942 +SHA256 (rust/crates/wayrs-protocols-0.10.5.crate) = b9a43b66e8242067ed8b3f5aa8d546d1098697d16f578878b9e90c2022ddbba2 +SIZE (rust/crates/wayrs-protocols-0.10.5.crate) = 146538 +SHA256 (rust/crates/wayrs-scanner-0.10.3.crate) = 4a9a9c400010b242c478a119bffb9cacc02ddffac2e48e1232c2e16afab71691 +SIZE (rust/crates/wayrs-scanner-0.10.3.crate) = 7818 +SHA256 (rust/crates/wayrs-utils-0.6.0.crate) = 50eff17f453e530f0fefd22355c6b3e97dc85b80425f556c63c541ac31928041 +SIZE (rust/crates/wayrs-utils-0.6.0.crate) = 9012 diff --git a/x11/wayidle/pkg-descr b/x11/wayidle/pkg-descr new file mode 100644 index 000000000000..cde70095babe --- /dev/null +++ b/x11/wayidle/pkg-descr @@ -0,0 +1,5 @@ +Wayidle waits until the Wayland compositor reports being N seconds +idle. If a command was specified, it will "exec" into that command, +otherwise, it will exit zero. + +Wayidle is designed for usage is shell scripts or execline scripts.