BSD Ports

x11-wm/sway 1.12 FreeBSD

i3-compatible Wayland compositor

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
0d4ebdd15c
License
MIT
Categories
x11-wm, wayland
Package size
5147.3 KiB, 5727.8 KiB installed

Description

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.

In the other systems

The newest version among them is 1.12, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDx11-wm/sway1.12 newestnone known-[email protected]2026-07-01
OpenBSDwayland/sway by name1.12 newestno data-The OpenBSD ports mailing-list <[email protected]>-
MidnightBSDx11-wm/sway1.11_1no data-[email protected]-
HardenedBSDx11-wm/sway1.12 newestno data-[email protected]-
GhostBSDx11-wm/sway1.12 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install sway

From the ports tree:

cd /usr/ports/x11-wm/sway/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sway>0:x11-wm/sway

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.121.12-1.111.12
FreeBSD:14:quarterly1.121.12n/a1.111.12
FreeBSD:15:latest1.121.12n/a1.111.11
FreeBSD:15:quarterly1.121.12n/an/an/a
FreeBSD:16:latest1.121.12n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 2

Library 9

The full lists below include those, and their dependencies in turn.

Build dependencies 141

The first 100 are listed.

Run dependencies 137

The first 100 are listed.

No port depends on this one.

Configuration

Options name: x11-wm_sway

OptionDefaultDescription
BASUonTray in swaybar via basu
MANPAGESonBuild and/or install manual pages
PIXBUFonGDK-PixBuf library support
SWAYBGonDefault command to set background
X11onX11 (graphics) support
USES
compiler:c11 gnome meson pkgconfig xorg
Service scripts
none
Conflicts with
sway-devel swayfx

Message after installing

Notes:
- sway(1) can use mac_priority(4) to avoid stutter during high load

Files

Manual pages 10
  • sway(1)
  • sway(5)
  • sway-bar(5)
  • sway-input(5)
  • sway-ipc(7)
  • sway-output(5)
  • swaybar-protocol(7)
  • swaymsg(1)
  • swaynag(1)
  • swaynag(5)
pkg-plist 32
  • bin/sway
  • bin/swaybar
  • bin/swaymsg
  • bin/swaynag
  • @sample etc/sway/config.sample
  • share/man/man1/sway.1.gz
  • share/man/man1/swaymsg.1.gz
  • share/man/man1/swaynag.1.gz
  • share/man/man5/sway-bar.5.gz
  • share/man/man5/sway-input.5.gz
  • share/man/man5/sway-output.5.gz
  • share/man/man5/sway.5.gz
  • share/man/man5/swaynag.5.gz
  • share/man/man7/sway-ipc.7.gz
  • share/man/man7/swaybar-protocol.7.gz
  • share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640_Portrait.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_1366x768.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536_Portrait.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024.png
  • share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024_Portrait.png
  • share/bash-completion/completions/sway
  • share/bash-completion/completions/swaybar
  • share/bash-completion/completions/swaymsg
  • share/fish/vendor_completions.d/sway.fish
  • share/fish/vendor_completions.d/swaymsg.fish
  • share/fish/vendor_completions.d/swaynag.fish
  • share/wayland-sessions/sway.desktop
  • share/zsh/site-functions/_sway
  • share/zsh/site-functions/_swaymsg
distinfo 1
FileSizeSHA256
swaywm-sway-1.12_GH0.tar.gz5.590239e+0629ca7caac960d13e02d8213418d91a5422c7c23102a283ceab944c57c5e1efcf

Commit history 1

DateCommitCreditsLog message
0d4ebdd15c Rene Ladan 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