Package Details: sway-git 1.11.r7536.0e19d85-1

Git Clone URL: https://aur.archlinux.org/sway-git.git (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: https://github.com/swaywm/sway
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.094057
First Submitted: 2015-08-16 14:05 (UTC)
Last Updated: 2025-04-24 21:03 (UTC)

Dependencies (27)

Required by (55)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 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.