From nobody Sat Mar 11 05:06:47 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 4PYW9h1jZwz3x9gn; Sat, 11 Mar 2023 05:06:48 +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 4PYW9h19zNz3ktK; Sat, 11 Mar 2023 05:06:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678511208; 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=nAegW/xZH3KXnjfa/v7J/zlSTqGt+9Im8jJzNht4id4=; b=rlzYPkiA+xKZn1NardVtl9oEygVt5iWvYUtnxJxntAeTqk8UMMrJ5JFbY5KIv+PdKEwVZ4 CqZ5HOPiOd066WAeDwM/cdw4Rbkc4pUeZVgET57yCBpqVQP38L+1vHnmL0PevyGbG1HdZE vfcy8flEKBBuIKoc4f0XQuQ9WU0x6Lg1APTgjR6Zvgdf2xM6y+9EHPCC/8+CDibbNkLTlp +msSHKXY0MrXLfCx/PEaHHQBpK8pqq6BW+Q12l4EXHSIMiZjrdEIt9BFKu4qh8jXvusYB5 8jaLJjdqJVdSZLQ31HBV8gbYZAayEYQ/pH+R7lMAeQq+kH9/p3qJZ5AROwaxmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678511208; 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=nAegW/xZH3KXnjfa/v7J/zlSTqGt+9Im8jJzNht4id4=; b=muMP3dOudLj4HxGZvPVfFx7ZyAHrkQ/lgVwg9KXwJuEabmYqWKGPnyQm8Z1N7DOlZWLDin UsTTnO3vdXQDkmqhHJb6s7uUVC4jN7fNyqHwbkXsLbVJT2v/ZqPklfXyJ4nCMOISacBESJ HbYI/fEYbibgaghSpe2DDbQr8pVHSaeWHC5wVpUQrnm6LXD4p9KsV5AHJwr4cnazvwYbSn E7y2I25+zrzw6JO1Uk84rqNJ1InC5Su+vLUq7yd1a7dI7F8xpWFU5IEuM1ojiS9yUFKAMy GdTBNbjuc5bk9Y1ajKmBL32HSpN/7s3Oye55cum2kz44qpsMl+FQlWFdoLuC8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678511208; a=rsa-sha256; cv=none; b=of509RS/xNhU8sGFOu7dP9FmT4JWJhhtq2Majn/QfkOavHEO0ClIvA8n7jXmkV7GeIitxp kzknkJTLYwHguYaFSlB5U2bMJ0HsdBJOZ7tcfpn+Z8OMeY6+ziGDNbT5LzYQ+0YNrJ9ZY1 qV5tnqjLv+bQFO0q0mERU1pqhuzTChw+2/lUmqjrlOi+ct76z5DKayfUw85iRsJmwk95/E zn3csP6E6GkyW4wZwCyqH3D0L5/rerJaKgv2rm0WjGoaw4b/TKag7hkzBRx0AJPVefvidr RC95LNGSzLq/uCdow5tuOvNC5SAzHKuCudvCuE+TYJHFfel0SVLpIxJvmYJ8fg== 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 4PYW9h0D58zHTL; Sat, 11 Mar 2023 05:06:48 +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 32B56lEt036170; Sat, 11 Mar 2023 05:06:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32B56ldO036169; Sat, 11 Mar 2023 05:06:47 GMT (envelope-from git) Date: Sat, 11 Mar 2023 05:06:47 GMT Message-Id: <202303110506.32B56ldO036169@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: 6feac27b7b1c - main - x11-wm/swayfx: 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: 6feac27b7b1c271e52540d2e01d5a35b1d80095c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=6feac27b7b1c271e52540d2e01d5a35b1d80095c commit 6feac27b7b1c271e52540d2e01d5a35b1d80095c Author: Jan Beich AuthorDate: 2023-03-11 03:56:24 +0000 Commit: Jan Beich CommitDate: 2023-03-11 05:05:58 +0000 x11-wm/swayfx: add new port Sway is an incredible window manager, and certainly one of the most well established wayland window managers. However, it is restricted to only include the functionality that existed in i3. This fork ditches the simple wlr_renderer, and replaces it with our fx_renderer, capable of rendering with fancy GLES2 effects. This, along with a couple of minor changes, expands sway's featureset to include the following: + Anti-aliased rounded corners, borders, and titlebars + Shadows + Dim unfocused windows + Per application saturation control: Allows the user to set the saturation (Digital Vibrance) for specific applications. Great for some FPS games! + Scratchpad treated as minimize: Allows docks, or panels with a taskbar, to correctly interpret minimize / unminimize requests https://github.com/WillPower3309/swayfx/ --- x11-wm/Makefile | 1 + x11-wm/sway/Makefile | 13 ++++++++----- x11-wm/swayfx/Makefile | 18 ++++++++++++++++++ x11-wm/swayfx/distinfo | 7 +++++++ x11-wm/swayfx/pkg-descr | 15 +++++++++++++++ 5 files changed, 49 insertions(+), 5 deletions(-) diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 0ec1af17c189..f17774e0e7aa 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -101,6 +101,7 @@ SUBDIR += stumpwm SUBDIR += subtle SUBDIR += sway + SUBDIR += swayfx SUBDIR += tinywm SUBDIR += transset SUBDIR += treewm diff --git a/x11-wm/sway/Makefile b/x11-wm/sway/Makefile index 729f745945b2..8151edd6c261 100644 --- a/x11-wm/sway/Makefile +++ b/x11-wm/sway/Makefile @@ -1,5 +1,6 @@ PORTNAME= sway -DISTVERSION= 1.8.1 +DISTVERSION?= 1.8.1 +PORTREVISION?= 0 CATEGORIES= x11-wm wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ @@ -7,8 +8,8 @@ PATCHFILES+= cd9d1038a822.patch:-p1 # https://github.com/swaywm/sway/pull/5090 PATCHFILES+= f98ca3ab7ca1.patch:-p1 # https://github.com/swaywm/sway/pull/5090 MAINTAINER= jbeich@FreeBSD.org -COMMENT= i3-compatible Wayland compositor -WWW= https://swaywm.org/ +COMMENT?= i3-compatible Wayland compositor +WWW?= https://swaywm.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE @@ -27,12 +28,14 @@ LIB_DEPENDS= libjson-c.so:devel/json-c \ USES= compiler:c11 gl gnome meson pkgconfig xorg USE_GITHUB= yes -USE_GL= glesv2 +USE_GL+= glesv2 USE_GNOME= cairo pango USE_XORG= pixman -GH_ACCOUNT= swaywm +GH_ACCOUNT?= swaywm MESON_ARGS= -Dsd-bus-provider=basu +CONFLICTS_INSTALL?= ${PORTNAME}fx + OPTIONS_DEFINE= BASU MANPAGES PIXBUF SWAYBG X11 OPTIONS_DEFAULT=BASU MANPAGES PIXBUF SWAYBG X11 OPTIONS_SUB= yes diff --git a/x11-wm/swayfx/Makefile b/x11-wm/swayfx/Makefile new file mode 100644 index 000000000000..ce1f21e1c9a1 --- /dev/null +++ b/x11-wm/swayfx/Makefile @@ -0,0 +1,18 @@ +DISTVERSION= 0.2 +PORTREVISION= 0 +PKGNAMESUFFIX= ${GH_PROJECT:S/${PORTNAME}//} + +COMMENT= Sway, but with eye candy! +WWW= https://github.com/WillPower3309/swayfx + +MASTERDIR= ${.CURDIR}/../sway +DESCR= ${.CURDIR}/pkg-descr +DISTINFO_FILE= ${.CURDIR}/distinfo + +GH_ACCOUNT= WillPower3309 +GH_PROJECT= swayfx +USE_GL= egl + +CONFLICTS_INSTALL= ${PORTNAME} + +.include "${MASTERDIR}/Makefile" diff --git a/x11-wm/swayfx/distinfo b/x11-wm/swayfx/distinfo new file mode 100644 index 000000000000..d59e2b3eb4b5 --- /dev/null +++ b/x11-wm/swayfx/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1678506984 +SHA256 (WillPower3309-swayfx-0.2_GH0.tar.gz) = fe5f6070b9b3fc97fafb1bfe1caddce71458632ef4fb884a9ec28d1a458b4e55 +SIZE (WillPower3309-swayfx-0.2_GH0.tar.gz) = 5534158 +SHA256 (cd9d1038a822.patch) = 266891cbe27a67f81740879dbe39819e3bf0f17b681bdc93087ae05987c2f88d +SIZE (cd9d1038a822.patch) = 8968 +SHA256 (f98ca3ab7ca1.patch) = b3a427b6edbf1c89bbf5fdeb5e3fc4c6708478e6d2031fcead87d29bf5c409fa +SIZE (f98ca3ab7ca1.patch) = 2673 diff --git a/x11-wm/swayfx/pkg-descr b/x11-wm/swayfx/pkg-descr new file mode 100644 index 000000000000..6954582d1dd9 --- /dev/null +++ b/x11-wm/swayfx/pkg-descr @@ -0,0 +1,15 @@ +Sway is an incredible window manager, and certainly one of the most +well established wayland window managers. However, it is restricted to +only include the functionality that existed in i3. This fork ditches +the simple wlr_renderer, and replaces it with our fx_renderer, capable +of rendering with fancy GLES2 effects. This, along with a couple of +minor changes, expands sway's featureset to include the following: + ++ Anti-aliased rounded corners, borders, and titlebars ++ Shadows ++ Dim unfocused windows ++ Per application saturation control: Allows the user to set the + saturation (Digital Vibrance) for specific applications. Great for + some FPS games! ++ Scratchpad treated as minimize: Allows docks, or panels with a + taskbar, to correctly interpret minimize / unminimize requests