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: 1.68
First Submitted: 2015-08-16 14:05 (UTC)
Last Updated: 2025-04-24 21:03 (UTC)

Required by (52)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 20 Next › Last »

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.

coolguy019 commented on 2024-07-28 07:24 (UTC)

Should we consider adding swaybg as a dependency for desktop backgrounds?

yrlf commented on 2024-07-15 16:31 (UTC) (edited on 2024-07-15 16:32 (UTC) by yrlf)

@graph: you just need to rebuild/reinstall both wlroots-git and sway-git. After rebuilding, everything is fine:

$ yay -Ql wlroots-git | grep libwlroots
wlroots-git /usr/lib/libwlroots-0.19.so
$ yay -Q sway-git
sway-git 1.10.r7373.274a5fc-1
$ ldd /usr/bin/sway | grep libwlroots
        libwlroots-0.19.so => /usr/lib/libwlroots-0.19.so (0x000078c9e9f33000)

The .install file of sway-git even notes that you should rebuild wlroots-git and sway-git together. If you update one, but not the other, then you are bound to get issues like this.

graph commented on 2024-07-15 16:13 (UTC)

Needs an update since https://aur.archlinux.org/packages/wlroots-git got updated to libwlroots-0.19.so.

sway: error while loading shared libraries: libwlroots-0.18.so: cannot open shared object file: No such file or directory