Package Details: sway-git 1.10.r7343.9704152-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
Submitter: None
Maintainer: GreyXor
Last Packager: GreyXor
Votes: 146
Popularity: 1.04
First Submitted: 2015-08-16 14:05 (UTC)
Last Updated: 2024-05-21 16:36 (UTC)

Dependencies (30)

Required by (45)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 19 Next › Last »

d3m3vilurr commented on 2023-08-09 03:52 (UTC)

all contrib scripts was splitted @Rucikir, can you make new sway-contrib pkg?

my temp solution is just restore scripts on the sway-git pkg unlike @Billli11 's temp solution

diff --git a/PKGBUILD b/PKGBUILD
index b9c83cb..d6407f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,8 +40,10 @@ backup=(etc/sway/config)
 arch=("i686" "x86_64")
 url="https://swaywm.org"
 source=("${pkgname%-*}::git+https://github.com/swaywm/sway.git"
+       "sway-contrib::git+https://github.com/OctopusET/sway-contrib.git"
        50-systemd-user.conf)
 sha512sums=('SKIP'
+            'SKIP'
             'c2b7d808f4231f318e03789015624fd4cf32b81434b15406570b4e144c0defc54e216d881447e6fd9fc18d7da608cccb61c32e0e1fab2f1fe2750acf812d3137')
 provides=("sway")
 conflicts=("sway")
@@ -68,8 +70,9 @@ package() {

         cd "$_pkgname"
        install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+       cd "../sway-contrib"
        for util in autoname-workspaces.py inactive-windows-transparency.py grimshot; do
-               install -Dm755 "contrib/$util" -t "$pkgdir/usr/share/$pkgname/scripts"
+               install -Dm755 "$util" -t "$pkgdir/usr/share/$pkgname/scripts"
        done
 }

Billli11 commented on 2023-08-03 04:25 (UTC) (edited on 2023-08-03 04:26 (UTC) by Billli11)

For those who don't use any script in /usr/share/sway-git/scripts

You can just remove the line in PKGBUILD

    for util in autoname-workspaces.py inactive-windows-transparency.py grimshot; do
            install -Dm755 "contrib/$util" -t "$pkgdir/usr/share/$pkgname/scripts"
    done

to fix building for now

 PKGBUILD | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index b9c83cb..530ae68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -68,9 +68,6 @@ package() {

         cd "$_pkgname"
    install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-   for util in autoname-workspaces.py inactive-windows-transparency.py grimshot; do
-       install -Dm755 "contrib/$util" -t "$pkgdir/usr/share/$pkgname/scripts"
-   done
 }

 post_upgrade() {

treeshateorcs commented on 2023-04-12 03:50 (UTC) (edited on 2023-04-12 03:51 (UTC) by treeshateorcs)

 -> wlroots-git-0.17.0.r6188.9affcaa9-1 already made -- skipping build
 -> Found git repo: gitlab.freedesktop.org/wlroots/wlroots.git
loading packages...
resolving dependencies...
looking for conflicting packages...
:: wlroots-git and wlroots are in conflict. Remove wlroots? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing wlroots breaks dependency 'libwlroots.so=11-64' required by sway
 -> exit status 1

taba commented on 2022-11-24 02:01 (UTC)

Why does this package have to be so annoyingly different from the one in the official repo.

Severus commented on 2022-10-31 14:13 (UTC)

please add XDG_CURRENT_DESKTOP to 50-systemd-user.conf as uptodate with official package ( it required by flameshot and other need to read this variable )

Rucikir commented on 2022-08-08 17:15 (UTC)

Try updating wlroots-git first, Support for this new protocol was recently merged. https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/b24b50ec0c1c54a14acf34df2c95b37043d15b49

zwastik commented on 2022-08-08 15:07 (UTC) (edited on 2022-08-08 15:12 (UTC) by zwastik)

Found ninja-1.11.0 at /usr/bin/ninja
ninja: Entering directory `/home/user/.src/sway-git/src/build'
[65/288] Compiling C object sway/sway.p/server.c.o
FAILED: sway/sway.p/server.c.o
cc -Isway/sway.p -Isway -I../sway/sway -Iinclude -I../sway/include -Iprotocols -I/usr/include/cairo -I/usr/include/lzo -I/usr/i nclude/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/inc lude/sysprof-4 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0 -I/usr/include/p ango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -flto=auto -fdiagnostics-color=always -D_FILE_OFFS ET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O0 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-br aces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.8-dev-ebf441b3 (" DATE ", branch '"'"'master'"'"')"' -fmacro-p refix-map=../sway/= -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fst ack-clash-protection -fcf-protection -g -fvar-tracking-assignments -ffile-prefix-map=/home/oiu7/.src/sway-git/src=/usr/src/debu g -fPIE -pthread -MD -MQ sway/sway.p/server.c.o -MF sway/sway.p/server.c.o.d -o sway/sway.p/server.c.o -c ../sway/sway/server.c
../sway/sway/server.c:26:10: fatal error: wlr/types/wlr_single_pixel_buffer_v1.h: No such file or directory
26 | #include <wlr/types/wlr_single_pixel_buffer_v1.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[74/288] Compiling C object sway/sway.p/swaynag.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...

yrlf commented on 2022-06-21 10:59 (UTC)

@whynothugo, @Rucikir:

That is part of the output of the strip step of makepkg. Usually, it strips all debug info from the binaries and libraries. However, if makepkg is configured to strip AND leave in debug info, then it will specifically try to create a separate file with all of the debug info and with links to all of the source files for that debug info.

makepkg will then create a *-debug package with all of those debug info files and all the referenced sources.

This last step seems to fail for some of the object files provided by gcc (likely crt0.o, crtbegin.o, crti.o, crtn.o) that contain debug info, but reference files on the machine of the packager who built the ArchLinux gcc package.

The only way to fix this is a) completely strip the objects in the gcc package b) provide a gcc-debug package that ships these files so they can be found either way that is not a bug in sway-git