Sway is a tiling Wayland compositor and a drop-in replacement for the
i3 window manager for X11. It works with your existing i3 configuration
and supports most of i3's features, plus a few extras.
===> The following configuration options are available for sway-1.12:
BASU=on: Tray in swaybar via basu
MANPAGES=on: Build and/or install manual pages
PIXBUF=on: GDK-PixBuf library support
SWAYBG=on: Default command to set background
X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
Affects: users of x11-wm/cage, x11-wm/hikari, x11-wm/labwc, x11-wm/sway, x11-wm/wayfire
Author: jbeich@FreeBSD.org
Reason:
SUID option has been removed in favor of seatd-launch(1) which doesn't
require special handling in every consumer and doesn't bypass group
permissions. If you've already enabled seatd service or use consolekit2
then nothing changes. Otherwise,
$ sway
00:00:00.001 [ERROR] [wlr] [libseat] [libseat/libseat.c:83] No backend was able to open a seat
00:00:00.001 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.001 [ERROR] [wlr] [backend/session/session.c:218] Failed to load session backend
00:00:00.001 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session
00:00:00.001 [ERROR] [sway/server.c:53] Unable to create backend
can be fixed by
$ ck-launch-session sway
or
$ seatd-launch sway
or
# sysrc seatd_enable=YES
# service seatd start
$ sway
Replace "sway" with your compositor e.g., "cage", "hikari", "labwc", "wayfire".
Port Moves
port moved here from x11-wm/sway-devel on 2024-10-27 REASON: Out of date: use x11-wm/sway for now
Number of commits found: 120 (showing only 100 on this page) #
Mk/bsd.port.mk: mark 14.3 unsupported
all: drop supoprt for FreeBSD 14.3
While here clean up some leftovers from FreeBSD 13
Reviewed by: adamw, jbeich, kirill_varnakov.com, saheed, sunpoet
Approved by: portmgr (implicit)
Differential Revision: https://reviews.freebsd.org/D57282
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
x11-wm/sway: revert 2 recent commits to redo with swayfx
This reverts commit 352b91f2c8f531378c1224b3a6f6210a88711b49.
This reverts commit a873107d61d87133f66a9e56fbd7126f8504ced3.
x11-wm/sway: document amdgpu regression after bb43067a6928
Updating to RC1 on /latest was done precisely to discover regressions
with plenty of time to debug before the next /quarterly branches.
Other wlroots019 consumers are likely affected as well, so there's no
point in backing out just because of amdgpu.
PR: 286311
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move
The GTK 1-based gdk-pixbuf has not existed for some time.
No functional or package changes.
x11-toolkits/wlroots: always add version suffix
Prevent dependency churn (e.g., 1b744b687e87, 20de9a1b52e1) during
future minor updates. Upstream API is versioned since 0.18, so consumers
and external CI should depend on a pinned package to avoid bumps.
Inpsired by: Void Linux
x11-servers/xwayland: drop HiDPI patches to unblock updates
- Rootful HiDPI[1] introduces non-trivial conflicts to rootless HiDPI
- AUR[2] tracks Xwayland releases, so may not help with rebases
- Sway should probably adopt zero scaling from Mir/KWin/Hyprland
- Xwayland usage has reduced since 2020
[1] https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1197
[2] https://aur.archlinux.org/packages/xorg-xwayland-hidpi-xprop
This reverts commit 466f3a1eabfe2acf82e64e2c388759a5b0e4276d.
This reverts commit 843e295cf33f9d2652c7b2e0d4ea0b2bc14e9c59.
This reverts commit dce99729d741f14bc81d941d29b70a8a7147298c.
PR: 278495
Approved by: manu
x11-toolkits/wlroots: dedup *_DEPENDS in consumers
LIB_DEPENDS against a port with non-default USE_LDCONFIG can desync
RUN_DEPENDS and BUILD_DEPENDS, leading to incorrectly registered
dependencies when built in a dirty environment.
$ make install -C x11-toolkits/wlroots
$ make install -C x11-wm/hikari
$ pkg info -xr wlroots
wlroots-0.17.1:
hikari-2.3.3_4
wlroots015-0.15.1_2:
$ make run-depends-list -C x11-wm/hikari | fgrep wlroots
/usr/ports/main/x11-toolkits/wlroots015
$ make actual-package-depends -C x11-wm/hikari | fgrep wlroots
"wlroots": {origin: "x11-toolkits/wlroots", version: "0.17.1"}
x11-wm/sway: suggest mac_priority(4) after b22b6eeffd22
FreeBSD lacks setcap(8) + CAP_SYS_NICE, so permissions to set realtime
priorities like SCHED_RR are group-wide and disabled by default.
$ sway
[...]
00:00:00.024 [INFO] [sway/realtime.c:35] Failed to set scheduling priority to 0
[...]
https://github.com/swaywm/sway/commit/a3a82efbf6b5
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/
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
x11-wm/sway-devel: add new port
Mainly useful for testing bleeding edge wlroots co-installed under
non-default PREFIX due to many API-breaking changes.
x11-wm/sway: unbreak build with Clang 13
../sway/commands.c:470:23: error: variable 'context' set but not used
[-Werror,-Wunused-but-set-variable]
enum command_context context = 0;
^
PR: 258813
sysutils/seatd: drop SUID option after b8a20cd29e54
It's not possible to restrict setuid bit to "video" group without also
breaking compositor nesting (e.g., hikari on sway). So, leave setuid
handling to a dedicated executable. seatd-launch works similar to
ck-launch-session by starting the daemon on demand.
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
Bump portrevision for devel/evdev-proto
Bump portrevision on everything with a build dependency on
devel/evdev-proto, to chace the update of evdev-proto in r550442.
x11-wm/sway: unbreak X11=off build after r535134
../sway/commands/xwayland/scale.c:23:12: error: no member named 'xwayland' in
'struct sway_server'
if(server.xwayland.wlr_xwayland != NULL) {
~~~~~~ ^
../sway/commands/xwayland/scale.c:24:3: error: implicit declaration of function
'wlr_xwayland_set_scale' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
wlr_xwayland_set_scale(server.xwayland.wlr_xwayland, scale);
^
../sway/commands/xwayland/scale.c:24:3: note: did you mean 'xwayland_cmd_scale'?
../sway/commands/xwayland/scale.c:7:21: note: 'xwayland_cmd_scale' declared here
struct cmd_results *xwayland_cmd_scale(int argc, char **argv) {
^
../sway/commands/xwayland/scale.c:24:33: error: no member named 'xwayland' in
'struct sway_server'
wlr_xwayland_set_scale(server.xwayland.wlr_xwayland, scale);
~~~~~~ ^
PR: 246498
Reported by: shamaz.mazum@gmail.com
x11-wm/sway: fix required wlroots version
Subproject directory not found and wlroots.wrap file not found
Subproject subprojects/wlroots is buildable: NO (disabling)
Dependency wlroots found: NO found '0.10.0' but need: '<0.10.0' ; matched:
'>=0.9.0'
Run-time dependency wlroots found: NO (tried cmake)
meson.build:73:1: ERROR: Invalid version of dependency, need 'wlroots'
['<0.10.0'] found '0.10.0'.
Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330