From nobody Sat Nov 18 20:22:59 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 4SXlZW6jC2z51ZkF; Sat, 18 Nov 2023 20:22:59 +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 4SXlZW633sz4V9k; Sat, 18 Nov 2023 20:22:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700338979; 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=AHoL7B+ZshUllYVkYaTbS8TEPsvxrutvYtzgz5Wc15A=; b=bMV6yS6WiwfrZN0H2h+j0fqK9u4PhYauITZcMQtVG79DmNxXJy3Syeaj/l7KiW4woQSd3R MQCYRI0kkfADy0N2NTzCXX1jH/muMG/qgMBEcglMlT7QW2S18jYZo+rgBzVg1u2jVO9ghb rk1jA8qfI1AR0g4AsdMIPW5tCWHdWGe8QijqMbbFW3zofLdoVxZUoo+HR7mD3jMMyRpgVi LgRPgEEVWcyWHfzIEEz7sDmaonhOOmCPGI8+ylb3fObtQF2kCs8vENCJAKZRROEf3uor1a 5tw2QZg+1961M/Xyxr+6C7vCZemuuhoe5NfDp6G5ThSw5I1L8L3KlvvPvFPA9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700338979; 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=AHoL7B+ZshUllYVkYaTbS8TEPsvxrutvYtzgz5Wc15A=; b=lkcsQ85AbxCZlyJGFwGcL249QlFC44XQ8oS2WZ3unpOjSR0pIc1wbGQ+z2QW2U6nUgqjpr SWBT6KAkx8CeuXGEMsQGR2L84qpaIPsG/E3JyYMZyhohfce50ockNHFDSjqW5vUTvN+aF+ qrk1JzFJ0CKKIEeHL1x+FnblepjCuNfzELfe0yom4oG28skOKYsox+6RNKCZvkR0+JrcIv OwNzTu/3uDu282D82o80dEHtjZufgAk/dLyH3cWr+RSiFRoL0Qo8C8drOYvPv3ocliTRb2 R+zYytrnTG/nG3JCnLADO6fn/8dUNPPzz/Ur9G6iFAmoxImOkIAYDEYshLNgEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700338979; a=rsa-sha256; cv=none; b=rgs9DE0qht9wOrDPCZZdOpnuyw6bNWFpeWJcn3Cag/+d2gqgr8lr/2Ydr692WApqnPvUzy PJqiyBmlGGR72uTMVZsoe21jGGr8se42Spz3PDUAcxBLlNiO2H53GTIbq2NZkUZ96vhfaF xY7UHPGnu120MYYrmS4DRbRXzIFm6aHH5tYo6b8gSp83Rdc2qDAAQokbDPbCoMS+DMmUId pCWF7IWTOgAv7jw0ATwGA5KcdWb0iKC2JsDYw4mFDPomnU8a+XARyNIFwI9K88wNqQEAaE aUBFsg4HOUGqIiRO2sgO/Jt/r4Ob0tvA6GI8B6QmPf2VRzGMN4AQBDHPg9nLZA== 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 4SXlZW4cXlzh8q; Sat, 18 Nov 2023 20:22:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AIKMxWQ016052; Sat, 18 Nov 2023 20:22:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AIKMxhc016049; Sat, 18 Nov 2023 20:22:59 GMT (envelope-from git) Date: Sat, 18 Nov 2023 20:22:59 GMT Message-Id: <202311182022.3AIKMxhc016049@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: e167afd981bb - main - x11/wlopm: Wayland output power management 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e167afd981bb3bc9dfc22add54e1e301bfe30394 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=e167afd981bb3bc9dfc22add54e1e301bfe30394 commit e167afd981bb3bc9dfc22add54e1e301bfe30394 Author: Tino Engel AuthorDate: 2023-11-16 21:27:12 +0000 Commit: Robert Clausecker CommitDate: 2023-11-18 20:20:44 +0000 x11/wlopm: Wayland output power management wlopm - Wayland output power management Simple client implementing zwlr-output-power-management-v1. WWW: https://git.sr.ht/~leon_plickat/wlopm PR: 275141 --- x11/Makefile | 1 + x11/wlopm/Makefile | 33 +++++++++++++++++++++++++++++++++ x11/wlopm/distinfo | 3 +++ x11/wlopm/files/patch-Makefile | 11 +++++++++++ x11/wlopm/pkg-descr | 3 +++ 5 files changed, 51 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 594b6c92f838..b4235edf5ee5 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -432,6 +432,7 @@ SUBDIR += wl-clipboard SUBDIR += wl-mirror SUBDIR += wlogout + SUBDIR += wlopm SUBDIR += wlr-randr SUBDIR += wlr-which-key SUBDIR += wlrctl diff --git a/x11/wlopm/Makefile b/x11/wlopm/Makefile new file mode 100644 index 000000000000..aca7d49a76a1 --- /dev/null +++ b/x11/wlopm/Makefile @@ -0,0 +1,33 @@ +PORTNAME= wlopm +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.0 +CATEGORIES= x11 wayland +MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/ +DISTNAME= ${DISTVERSIONFULL} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= tino.engel@mail.de +COMMENT= Wayland output power management +WWW= https://git.sr.ht/~leon_plickat/wlopm + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= wayland-scanner:graphics/wayland +LIB_DEPENDS= libwayland-client.so:graphics/wayland + +USES= gmake localbase:ldflags + +ALL_TARGET= wlopm +CFLAGS+= -Wno-strict-prototypes +LIBS= -lwayland-client +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONFULL} + +PLIST_FILES= bin/wlopm \ + share/man/man1/wlopm.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/wlopm ${STAGEDIR}${PREFIX}/bin/wlopm + ${INSTALL_MAN} ${WRKSRC}/wlopm.1 ${STAGEDIR}${PREFIX}/share/man/man1/wlopm.1 + +.include diff --git a/x11/wlopm/distinfo b/x11/wlopm/distinfo new file mode 100644 index 000000000000..fbeda9111949 --- /dev/null +++ b/x11/wlopm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1700117590 +SHA256 (wlopm/v0.1.0.tar.gz) = f9a7ec03a412e602420ab11d0eea872f6d30dfe5cfee93cd3d0289e4fbbb3aa1 +SIZE (wlopm/v0.1.0.tar.gz) = 19004 diff --git a/x11/wlopm/files/patch-Makefile b/x11/wlopm/files/patch-Makefile new file mode 100644 index 000000000000..b98b847e0173 --- /dev/null +++ b/x11/wlopm/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2023-11-18 08:35:21 UTC ++++ Makefile +@@ -4,7 +4,7 @@ PREFIX=/usr/local + BINDIR=$(PREFIX)/bin + MANDIR=$(PREFIX)/share/man + +-CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result ++CFLAGS+=-Wall -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result + LIBS=-lwayland-client + OBJ=wlopm.o wlr-output-power-management-unstable-v1.o + GEN=wlr-output-power-management-unstable-v1.c wlr-output-power-management-unstable-v1.h diff --git a/x11/wlopm/pkg-descr b/x11/wlopm/pkg-descr new file mode 100644 index 000000000000..7270a6c78082 --- /dev/null +++ b/x11/wlopm/pkg-descr @@ -0,0 +1,3 @@ +wlopm - Wayland output power management + +Simple client for switching displays in Wayland on and off.