Date: Sat, 11 Mar 2023 05:06:47 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6feac27b7b1c - main - x11-wm/swayfx: add new port Message-ID: <202303110506.32B56ldO036169@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=6feac27b7b1c271e52540d2e01d5a35b1d80095c commit 6feac27b7b1c271e52540d2e01d5a35b1d80095c Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-03-11 03:56:24 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303110506.32B56ldO036169>