Package Details: sway-git 1.10.r7343.9704152-1

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
Submitter: None
Maintainer: GreyXor
Last Packager: GreyXor
Votes: 146
Popularity: 1.21
First Submitted: 2015-08-16 14:05 (UTC)
Last Updated: 2024-05-21 16:36 (UTC)

Required by (46)

Sources (3)

Latest Comments

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

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/
$ yay -Q sway-git
sway-git 1.10.r7373.274a5fc-1
$ ldd /usr/bin/sway | grep libwlroots => /usr/lib/ (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 got updated to

sway: error while loading shared libraries: cannot open shared object file: No such file or directory

yrlf commented on 2024-06-02 09:32 (UTC)

@rekman: at least yay will automatically update wlroots-git first if both sway-git and wlroots-git are in the package list, but won't rebuild sway-git if only wlroots-git is in the package list.

wlroots-git being a makedepend would not change that.

However, it would be an interesting feature to add to AUR helpers to automatically add all reverse-dependencies from the AUR to the list of packages to rebuild. Should not be impossible to do.

rekman commented on 2024-06-01 21:08 (UTC)

wlroots-git usually needs to be built and installed before sway-git so that the latter's build process can find the right library and header files. AUR helpers (e.g., paru) don't know this, so a -Su operation can fail; one needs to do something like paru -S wlroots-git && paru -Su. If wlroots-git were listed as a make dependency, would that help automated tools build wlroots-git first?

GreyXor commented on 2024-05-30 16:01 (UTC)

fixed in wlroots-git

markimget commented on 2024-05-28 04:39 (UTC)

I'm guessing this commit broke sway-git. wlroots-git is now providing instead of the this package expects. Had to symlink locally to get sway-git to work.

taba commented on 2024-05-10 03:59 (UTC)

Seems I had to update other things in the dependency chain.

markimget commented on 2024-05-09 22:00 (UTC)

@GreyXor you're right. paru installs it correctly and pacaur let me down there. thanks!

tkna commented on 2024-04-13 04:27 (UTC) (edited on 2024-04-13 04:32 (UTC) by tkna)

@taba No problem in my environment. Try paru -Sd wlroots-git sway-git etc.

taba commented on 2024-04-05 02:45 (UTC)

../sway-git/sway/server.c: In function ‘handle_renderer_lost’:
../sway-git/sway/server.c:203:9: error: implicit declaration of function ‘wlr_compositor_set_renderer’; did you mean ‘wlr_compositor_create’? [-Werror=implicit-function-declaration]
  203 |         wlr_compositor_set_renderer(server->compositor, renderer);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         wlr_compositor_create