AUR (en) - sway-git
Arch Linux User Repository
Packages
Forums
Wiki
GitLab
Security
AUR
AUR Home
Packages
Search Criteria
Package Details: sway-git 1.11.r7536.0e19d85-1
Package Actions
View PKGBUILD
View Changes
Download snapshot
Search wiki
Git Clone URL:
(read-only, click to copy)
Package Base:
sway-git
Description:
Tiling Wayland compositor and replacement for the i3 window manager (git development version)
Upstream URL:
Keywords:
compositor
development
git
i3
manager
sway
tiling
wayland
window
wlroots
wm
Licenses:
MIT
Conflicts:
sway
Provides:
sway, wayland-compositor
Submitter:
None
Maintainer:
GreyXor
Last Packager:
GreyXor
Votes:
151
Popularity:
0.82
First Submitted:
2015-08-16 14:05 (UTC)
2025-04-24 21:03 (UTC)
Dependencies (27)
cairo
cairo-git
AUR
gdk-pixbuf2
gdk-pixbuf2-git
AUR
gdk-pixbuf2-noglycin
AUR
json-c
json-c-git
AUR
libdrm
libdrm-git
AUR
libevdev
libevdev-git
AUR
libinput
libinput-git
AUR
libinput-multiplier
AUR
libinput-no-gestures
AUR
libinput-nowacom-git
AUR
libinput-epp
AUR
libinput-epp
AUR
libinput-three-finger-drag
AUR
libinput-noaccum
AUR
libxcb
libxcb-git
AUR
libxkbcommon
libxkbcommon-git
AUR
pango
pango-git
AUR
pango-nothai-git
AUR
pcre2
pcre2-git
AUR
pixman
pixman-git
AUR
wayland
wayland-asan-git
AUR
wayland-chromium
AUR
wayland-git
AUR
wlroots-git
AUR
wlroots-asan-git
AUR
wlroots-hidpi-xprop-git
AUR
xcb-util-wm
git
git-git
AUR
git-gl
AUR
git-wd40
AUR
(make)
libcap
(make)
meson
meson-git
AUR
(make)
scdoc
scdoc-git
AUR
(make)
wayland-protocols
wayland-protocols-git
AUR
(make)
foot
foot-ext-underline-git
AUR
foot-transparency-git
AUR
foot-lv
AUR
foot-git
AUR
(optional) – Terminal emulator used in default configuration
Show 7 more dependencies...
Required by (73)
aw-watcher-window-wayland-git
(requires sway)
(optional)
dvd-screensaver-sway-git
(requires sway)
(optional)
flashfocus
(requires sway)
(optional)
focal-sway-git
(requires sway)
greetd-dms-greeter-git
(requires sway)
(optional)
greetd-qtgreet
(requires sway)
(optional)
greetd-regreet-git
(requires wayland-compositor)
hyprlax
(requires sway)
(optional)
hyprlax-bin
(requires wayland-compositor)
hyprlax-git
(requires sway)
(optional)
hyprvoice-bin
(requires sway)
(optional)
i3-workspace-groups-enhanced
(requires sway)
(optional)
i3a
(requires sway)
(optional)
i3stat
(requires sway)
(optional)
i3stat-bin
(requires sway)
(optional)
i3stat-git
(requires sway)
(optional)
i3wins
(requires sway)
(optional)
i3wsr
(requires sway)
(optional)
javelin-git
(requires sway)
lava-desktop
(requires sway)
(optional)
Show 53 more...
Sources (3)
50-systemd-user.conf
sway-git
sway-portals.conf
Latest Comments
 ..
20
Next ›
Last »
maderios commented on
2025-09-09 08:20 (UTC)
@GreyXor I always rebuild wlroots-git first before sway-git building. I did that yesterday. I tried again today, two git repositories were updated, it builds fine. Git is git...
GreyXor commented on
2025-09-08 18:35 (UTC)
maderios you have to build wlroots-git first
with paru you can do : paru -S --rebuild wlroots-git sway-git
maderios commented on
2025-09-08 18:28 (UTC)
(edited on 2025-09-08 18:29 (UTC) by
maderios
Build fails
makepkg -SicC
[38/299] Compiling C object sway/sway.p/commands.c.o
FAILED: sway/sway.p/commands.c.o
ccache cc -Isway/sway.p -Isway -I../sway-git/sway -Iinclude -I../sway-git/include -Iprotocols -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/wlroots-0.20 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wno-format-zero-length -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.12-dev-aaab7f961 (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-git/= -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ sway/sway.p/commands.c.o -MF sway/sway.p/commands.c.o.d -o sway/sway.p/commands.c.o -c ../sway-git/sway/commands.c
In file included from ../sway-git/include/sway/tree/view.h:7,
from ../sway-git/include/sway/criteria.h:8,
from ../sway-git/sway/commands.c:10:
/usr/include/wlroots-0.20/wlr/types/wlr_tearing_control_v1.h:17:10: fatal error: tearing-control-v1-protocol.h: No such file or directory
17 | #include "tearing-control-v1-protocol.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[41/299] Compiling C object sway/sway.p/criteria.c.o
FAILED: sway/sway.p/criteria.c.o
ccache cc -Isway/sway.p -Isway -I../sway-git/sway -Iinclude -I../sway-git/include -Iprotocols -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/wlroots-0.20 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wno-format-zero-length -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.12-dev-aaab7f961 (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-git/= -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ sway/sway.p/criteria.c.o -MF sway/sway.p/criteria.c.o.d -o sway/sway.p/criteria.c.o -c ../sway-git/sway/criteria.c
In file included from ../sway-git/include/sway/tree/view.h:7,
from ../sway-git/include/sway/criteria.h:8,
from ../sway-git/sway/criteria.c:7:
/usr/include/wlroots-0.20/wlr/types/wlr_tearing_control_v1.h:17:10: fatal error: tearing-control-v1-protocol.h: No such file or directory
17 | #include "tearing-control-v1-protocol.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[42/299] Compiling C object sway/sway.p/config.c.o
FAILED: sway/sway.p/config.c.o
ccache cc -Isway/sway.p -Isway -I../sway-git/sway -Iinclude -I../sway-git/include -Iprotocols -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/wlroots-0.20 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wno-format-zero-length -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.12-dev-aaab7f961 (" __DATE__ ", branch '"'"'master'"'"')"' -fmacro-prefix-map=../sway-git/= -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ sway/sway.p/config.c.o -MF sway/sway.p/config.c.o.d -o sway/sway.p/config.c.o -c ../sway-git/sway/config.c
In file included from ../sway-git/include/sway/tree/view.h:7,
from ../sway-git/include/sway/criteria.h:8,
from ../sway-git/sway/config.c:24:
/usr/include/wlroots-0.20/wlr/types/wlr_tearing_control_v1.h:17:10: fatal error: tearing-control-v1-protocol.h: No such file or directory
17 | #include "tearing-control-v1-protocol.h"
etc... (too many characters)
yrlf commented on
2025-04-23 16:29 (UTC)
The current sed call in
pkgver
can't deal with the version being 1.11-rc1 instead of 1.10-dev. This breaks the pkgver so that the version is
.r7536.0e19d85
instead of
1.11.r7536.0e19d85
I suggest the following patch to the PKGBUILD:
diff --git a/PKGBUILD b/PKGBUILD
index 1579d40..e7ad041 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -72,7 +72,7 @@ prepare() {
pkgver() {
set -o pipefail
- meson introspect --projectinfo build-pkgver | sed -n 's/.*"version": "\([^"]*\)".*/\1/;s/-dev//p' | tr -d '\n'
+ meson introspect --projectinfo build-pkgver | sed -n 's/.*"version": "\([^"]*\)".*/\1/;s/-\(dev\|rc[0-9]\+\)//p' | tr -d '\n'
cd "$pkgname"
printf ".r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
6511918 commented on
2025-03-11 12:41 (UTC)
The dependency list includes packages that do not need to be listed because they can be safely assumed to be installed on every system, such as
glib2
glibc
and
systemd-libs
. Is there a particular reason for that or were they just added by mistake?
rekman commented on
2024-10-15 21:35 (UTC)
Builds fine on
aarch64
JL2210 commented on
2024-08-16 01:07 (UTC)
Please add
wayland-compositor
to
provides=
so regreet works
markboston commented on
2024-08-16 00:34 (UTC)
this will no longer build on my system. i get this error before all hell breaks loose. FAILED: sway/sway.p/server.c.o
tkna commented on
2024-07-28 09:07 (UTC)
(edited on 2024-07-28 09:08 (UTC) by
tkna
@coolguy019 Can you build or run without it? If not, I imagine you don't need it. Sorry if I am wrong.
 ..
20
Next ›
Last »
aurweb
v6.3.4
Report issues
here
Copyright © 2004-2026 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.