notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
sway i3-compatible Wayland compositor
1.11.r1 x11-wm on this many watch lists=6 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.10.1_1Version of this port present on the latest quarterly branch.
Maintainer: jbeich@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-01-06 13:28:39
Last Update: 2025-04-21 22:58:27
Commit Hash: bb43067
People watching this port, also watch:: pkg, htop, seatd, ffmpeg, wl-clipboard
Also Listed In: wayland
License: MIT
WWW:
https://swaywm.org/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (38 items)
Collapse this list.
  1. /usr/local/share/licenses/sway-1.11.r1/catalog.mk
  2. /usr/local/share/licenses/sway-1.11.r1/LICENSE
  3. /usr/local/share/licenses/sway-1.11.r1/MIT
  4. bin/sway
  5. bin/swaybar
  6. bin/swaymsg
  7. bin/swaynag
  8. @sample etc/sway/config.sample
  9. share/man/man1/sway.1.gz
  10. share/man/man1/swaymsg.1.gz
  11. share/man/man1/swaynag.1.gz
  12. share/man/man5/sway-bar.5.gz
  13. share/man/man5/sway-input.5.gz
  14. share/man/man5/sway-output.5.gz
  15. share/man/man5/sway.5.gz
  16. share/man/man5/swaynag.5.gz
  17. share/man/man7/sway-ipc.7.gz
  18. share/man/man7/swaybar-protocol.7.gz
  19. share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640.png
  20. share/backgrounds/sway/Sway_Wallpaper_Blue_1136x640_Portrait.png
  21. share/backgrounds/sway/Sway_Wallpaper_Blue_1366x768.png
  22. share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png
  23. share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536.png
  24. share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536_Portrait.png
  25. share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024.png
  26. share/backgrounds/sway/Sway_Wallpaper_Blue_768x1024_Portrait.png
  27. share/bash-completion/completions/sway
  28. share/bash-completion/completions/swaybar
  29. share/bash-completion/completions/swaymsg
  30. share/fish/vendor_completions.d/sway.fish
  31. share/fish/vendor_completions.d/swaymsg.fish
  32. share/fish/vendor_completions.d/swaynag.fish
  33. share/wayland-sessions/sway.desktop
  34. share/zsh/site-functions/_sway
  35. share/zsh/site-functions/_swaymsg
  36. @owner
  37. @group
  38. @mode
Collapse this list.
Dependency lines:
  • sway>0:x11-wm/sway
Conflicts:
CONFLICTS_INSTALL:
  • sway-devel
  • swayfx
To install the port:
cd /usr/ports/x11-wm/sway/ && make install clean
To add the package, run one of these commands:
  • pkg install x11-wm/sway
  • pkg install sway
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: sway
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1745148670 SHA256 (swaywm-sway-1.11-rc1_GH0.tar.gz) = 12a6b49378d3a73bcd7e07f5a23655a63fc6b3d0b233eb0319dd5fd092b8a85a SIZE (swaywm-sway-1.11-rc1_GH0.tar.gz) = 5583472

Packages (timestamps in pop-ups are UTC):
sway
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.10.1_11.10.1_11.5.1_1-1.10.1_1---
FreeBSD:13:quarterly1.10.1_11.10.1_1--1.10.1_1-1.8.1_21.8.1_2
FreeBSD:14:latest1.10.1_11.10.1_1--1.10.1_11.8.1_1-1.8.1_1
FreeBSD:14:quarterly1.10.11.10.1_1--1.10.1_1-1.8.1_21.8.1_2
FreeBSD:15:latest1.10.1_11.10.1_1n/a-n/a-1.8.1_3-
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. evdev-proto>0 : devel/evdev-proto
  2. wayland-protocols>=1.24 : graphics/wayland-protocols
  3. scdoc>=1.9.2 : textproc/scdoc
  4. meson : devel/meson
  5. ninja : devel/ninja
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. pixman-1.pc : x11/pixman
  8. xcb.pc : x11/libxcb
Runtime dependencies:
  1. swaybg : x11/swaybg
  2. pixman-1.pc : x11/pixman
  3. xcb.pc : x11/libxcb
Library dependencies:
  1. libjson-c.so : devel/json-c
  2. libevdev.so : devel/libevdev
  3. libudev.so : devel/libudev-devd
  4. libpcre2-8.so : devel/pcre2
  5. libdrm.so : graphics/libdrm
  6. libwayland-egl.so : graphics/wayland
  7. libwlroots-0.19.so : x11-toolkits/wlroots019
  8. libinput.so : x11/libinput
  9. libxkbcommon.so : x11/libxkbcommon
  10. libbasu.so : devel/basu
  11. libxcb-icccm.so : x11/xcb-util-wm
  12. libcairo.so : graphics/cairo
  13. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  14. libglib-2.0.so : devel/glib20
  15. libintl.so : devel/gettext-runtime
  16. libharfbuzz.so : print/harfbuzz
  17. libpango-1.0.so : x11-toolkits/pango
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for sway-1.11.r1: 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
Options name:
x11-wm_sway
USES:
compiler:c11 gnome meson pkgconfig xorg
pkg-message:
For install:
Notes: - sway(1) can use mac_priority(4) to avoid stutter during high load
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/swaywm/sway/tar.gz/1.11-rc1?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2021-09-12
    Affects: 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: 105 (showing only 5 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.b.2.204
16 Jan 2019 19:17:40
Revision:490501Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.204

Changes:	https://github.com/swaywm/sway/compare/2573606b...70637b40
Changes:	https://github.com/swaywm/wlroots/compare/10a2c4ed...10b1de6e
1.0.b.2.189_1
15 Jan 2019 20:42:13
Revision:490400Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: improve default config

- Don't hardcode urxvt
- Make Windows key work
1.0.b.2.189
15 Jan 2019 18:06:50
Revision:490395Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: explain why SUID is enabled

Sway needs setuid bit on DRM when (e)logind isn't available. When
running only on X11 setuid bit can be disabled.
1.0.b.2.189
15 Jan 2019 00:52:45
Revision:490329Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: update to 1.0.b.2.189

The last beta is several months old, so use a snapshot to help users
evaluate the current state.

Changes:	https://github.com/swaywm/sway/compare/1.0-beta.2...2573606b
Changes:	https://github.com/swaywm/wlroots/compare/0.2...10a2c4ed
1.0.b.2
06 Jan 2019 13:28:25
Revision:489493Original commit files touched by this commit
jbeich search for other commits by this committer
x11-wm/sway: add new port

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.

https://swaywm.org/

Number of commits found: 105 (showing only 5 on this page)

«  1 | 2