From nobody Mon Feb 21 17:04:38 2022 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 5296C19C99B8; Mon, 21 Feb 2022 17:04: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 4K2TDk1qrNz4tJL; Mon, 21 Feb 2022 17:04:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645463078; 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=GKXm4oIMwL3KxMtd6fLGTbTJXpw1Y4Q7ppUCPQ+jF4g=; b=DrqfTGyO8uAGzp2IF4hj8VdZgXtB1uttfaueEldNuNulfJVL/EPO8/1V6pFaxBq1hjfrtN 8CwEs0YMmDERER+aalx5UshhM3G87F1tZYkv6fIGosO99cWWMvEtrT/5YmvMqw7Ch0GfWM H4gLgJ4VcKeJc3t54nCoZxXtDvq+3o2hU4Sfug2G7wbY4vLA9NHXFFoPRPlEQrBvA+98Jq UlXOIp0feSmefYsICS1VMCV3ylhxRCrQl/t+CeqhyYxcZXhKFUptOniHSF4jldWcuYq/3R pxsbjUzkLv5D2uuguVga9CTSwAgMbl2nbCgTpiNDywjfNMip+Tavnay8DcfpZg== 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 1ECDF14490; Mon, 21 Feb 2022 17:04:38 +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 21LH4c2B062291; Mon, 21 Feb 2022 17:04:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21LH4ctS062290; Mon, 21 Feb 2022 17:04:38 GMT (envelope-from git) Date: Mon, 21 Feb 2022 17:04:38 GMT Message-Id: <202202211704.21LH4ctS062290@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: 4ae14ebeac23 - main - x11/wl-mirror: add new port 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4ae14ebeac238aef26fa234429f14eec5a5cb03d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645463078; 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=GKXm4oIMwL3KxMtd6fLGTbTJXpw1Y4Q7ppUCPQ+jF4g=; b=VWJolRpHWmNcvCrOIIUeUBGdZvZsXyPde/BO9PoZUL9yWTAdOE43S1/a9eNTC1osye1kAF ZTwNGU3Ghzrz4qwNic8bIJw00AU2GGT7TbSP/bkctCXa+3IbYSqBbrooF4z6nKVVZmjgQ4 3TtG000JWoMEiQNcaOkQNH1gGPB6SOhSaVKNWbmaQo9/+iTw2FDP8OXKYGvmDQ3sdIMcvV 9YxCV6VNf8F8Fq+NjWR9jrFDAa3r6gljDykFDlM4TJYKRiQqizsBTzM4ubfpJ33G+bQ+W3 NKcWxUZeGtbJk2nR3u4ksmKgciLGXgrC/ywIt18BhN33QRZ/qj4oDYlnzf7vBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645463078; a=rsa-sha256; cv=none; b=YHERwYSwJ5gdGjfBWVptBmgM89CSyRx+yRC3gkCsOJX2Gbt4+3EgOLvRhSJuAltH9IRW1R aLjtPxJDlO19xwaD3JsAYWLLiepVhuk+L3ZlgWEdJzmsLL+k86LoWuOS3tPQt2s/F2ELnD dwLQncxd79SZv0aRBMtrd9omOfTUlgqOWfNt9mMwr+rFlwgFGLlT0VP3iRc0vccWH/vrTx nxkxRWVO60piUcWR8rpmv8RQLHCKUt/wsJUMKTf/XdiMfEgXZhQpU4N6GJU7D8UliDUesF DTCT84XwimjZF2rhAJasz+ZyS4TqIxTiCl8gNYYjDecwImhCMJ2p9kY6d3SVAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ae14ebeac238aef26fa234429f14eec5a5cb03d commit 4ae14ebeac238aef26fa234429f14eec5a5cb03d Author: Jan Beich AuthorDate: 2022-01-01 01:36:20 +0000 Commit: Jan Beich CommitDate: 2022-02-21 17:04:18 +0000 x11/wl-mirror: add new port wl-mirror attempts to provide a solution to sway's lack of output mirroring by mirroring an output onto a client surface. Features: - Mirror an output onto a resizable window - Mirror an output onto another output by fullscreening the window - Reacts to changes in output scale - Preserves aspect ratio - Corrects for flipped or rotated outputs - Supports custom flips or rotations - Supports mirroring custom regions of outputs - Supports receiving additional options on stdin for changing the mirrored screen or region on the fly (works best when used with pipectl) https://github.com/Ferdi265/wl-mirror --- x11/Makefile | 1 + x11/wl-mirror/Makefile | 29 +++++++++++++++++++++++++++++ x11/wl-mirror/distinfo | 5 +++++ x11/wl-mirror/pkg-descr | 15 +++++++++++++++ 4 files changed, 50 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 6c4783b0c77a..3bbde49a3128 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -392,6 +392,7 @@ SUBDIR += wezterm SUBDIR += wf-shell SUBDIR += wl-clipboard + SUBDIR += wl-mirror SUBDIR += wlogout SUBDIR += wlr-randr SUBDIR += wlrctl diff --git a/x11/wl-mirror/Makefile b/x11/wl-mirror/Makefile new file mode 100644 index 000000000000..2850ab626126 --- /dev/null +++ b/x11/wl-mirror/Makefile @@ -0,0 +1,29 @@ +PORTNAME= wl-mirror +DISTVERSIONPREFIX= v +DISTVERSION= 0.8.1 +CATEGORIES= x11 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Simple Wayland output mirror client + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols +LIB_DEPENDS= libwayland-egl.so:graphics/wayland + +USES= cmake gl localbase:ldflags +USE_GITHUB= yes +USE_GITLAB= nodefault +USE_GL= glesv2 egl +GH_ACCOUNT= Ferdi265 +GL_TUPLE= https://gitlab.freedesktop.org:wlroots:wlr-protocols:d998ee6fc64ea7e066014023653d1271b7702c09:wlrproto/proto/wlr-protocols +PLIST_FILES= bin/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} 's,/usr,${LOCALBASE},' ${WRKSRC}/CMakeLists.txt + +pre-configure: + @${TOUCH} ${WRKSRC_wlrproto}/.git + +.include diff --git a/x11/wl-mirror/distinfo b/x11/wl-mirror/distinfo new file mode 100644 index 000000000000..1e4410a76587 --- /dev/null +++ b/x11/wl-mirror/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1641000980 +SHA256 (Ferdi265-wl-mirror-v0.8.1_GH0.tar.gz) = 933fcbbc1ffd98821887731d2b7f02d0ea5298db478d7f1d118f269c37a947ad +SIZE (Ferdi265-wl-mirror-v0.8.1_GH0.tar.gz) = 32683 +SHA256 (wlroots-wlr-protocols-d998ee6fc64ea7e066014023653d1271b7702c09_GL0.tar.gz) = b5bb4a054321beb900378aa4ceb4f8f68d840f2e8c70defcc9d6ba644ab18959 +SIZE (wlroots-wlr-protocols-d998ee6fc64ea7e066014023653d1271b7702c09_GL0.tar.gz) = 22764 diff --git a/x11/wl-mirror/pkg-descr b/x11/wl-mirror/pkg-descr new file mode 100644 index 000000000000..cb86c052b6c5 --- /dev/null +++ b/x11/wl-mirror/pkg-descr @@ -0,0 +1,15 @@ +wl-mirror attempts to provide a solution to sway's lack of output +mirroring by mirroring an output onto a client surface. + +Features: +- Mirror an output onto a resizable window +- Mirror an output onto another output by fullscreening the window +- Reacts to changes in output scale +- Preserves aspect ratio +- Corrects for flipped or rotated outputs +- Supports custom flips or rotations +- Supports mirroring custom regions of outputs +- Supports receiving additional options on stdin for changing the mirrored + screen or region on the fly (works best when used with pipectl) + +WWW: https://github.com/Ferdi265/wl-mirror