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.06
First Submitted: 2015-08-16 14:05 (UTC)
Last Updated: 2024-05-21 16:36 (UTC)

Required by (45)

Sources (3)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 18 Next › Last »

rsansores commented on 2019-03-02 19:16 (UTC)

@jpoppe Thanks for the scdoc workaround.

jpoppe commented on 2019-03-02 10:14 (UTC) (edited on 2019-03-02 10:16 (UTC) by jpoppe)

It is indeed a problem with: scdoc 1.9.1

Quick and dirty fix:

git clone https://git.sr.ht/~sircmpwn/scdoc && cd scdoc && make && sudo mv /usr/bin/scdoc /usr/bin/scdoc.dist && sudo cp scdoc /usr/bin/scdoc

install sway with your aur manager

sudo mv /usr/bin/scdoc.dist /usr/bin/scdoc

kurolox commented on 2019-03-02 10:06 (UTC)

Yeah, the bug it's reported here. It seems like it's a specific issue on scdoc 1.9.1, which is the version in the repository at the time I'm writting this.

https://github.com/swaywm/sway/issues/3792

So either downgrade to 1.9.0, wait for 1.9.2 to hit the repositories, or go with my workaround.

hawara commented on 2019-03-02 09:33 (UTC) (edited on 2019-03-02 09:36 (UTC) by hawara)

@SirCmpwn: Still fails:

Dependency scdoc found: YES 1.9.1
Program scdoc found: YES (/usr/bin/scdoc)

ninja: Entering directory `/home/hawara/.cache/yay/sway-git/src/build'
[4/273] Generating sway-ipc.7 with a custom command.
FAILED: sway-ipc.7 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-ipc.7.scd > sway-ipc.7'
Error at 268:3: Tables cannot be indented
[9/273] Generating swaynag.5 with a custom command.
ninja: build stopped: subcommand failed.

scdoc 1.9.1 is the latest available in Arch repos.

<deleted-account> commented on 2019-03-01 19:44 (UTC)

Update scdoc.

kurolox commented on 2019-03-01 07:03 (UTC) (edited on 2019-03-01 08:50 (UTC) by kurolox)

I'm having issues trying to update this. scdoc is installed. Removing the sway-ipc.7 from the ninja.build and finishing the build manually works as a workaround.

==> Starting build()...
ninja: Entering directory `/home/kuro/.cache/yay/sway-git/src/build'
[5/273] Generating sway-ipc.7 with a custom command.
FAILED: sway-ipc.7 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-ipc.7.scd > sway-ipc.7'
Error at 268:3: Tables cannot be indented
[10/273] Generating swaynag.5 with a custom command.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: sway-git

timsn commented on 2019-02-28 19:05 (UTC) (edited on 2019-02-28 19:07 (UTC) by timsn)

I had to install the scdoc package manually to make the build process of the latest version run.

==> Starting build()...
ninja: Entering directory `/home/me/.cache/yay/sway-git/src/build'
[7/273] Generating sway-ipc.7 with a custom command.
FAILED: sway-ipc.7 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-ipc.7.scd > sway-ipc.7'
Error at 217:1: Expected either '|' or ':'
[16/273] Generating 'protocols/8998617@@client_protos@sta/xdg-shell-client-protocol.h'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

<deleted-account> commented on 2019-02-22 22:56 (UTC)

Please stop flagging this package, people. It's not outdated.

dgolub commented on 2019-02-15 12:41 (UTC)

Hello,

Trying to update sway-git on Manjaro system. An incompatibility btw sway-git and scdoc 1.6.1 found:

ninja: Entering directory `/home/dgolub/.cache/pacaur/sway-git/src/build'
[3/266] Generating sway-output.5 with a custom command.
FAILED: sway-output.5 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-output.5.scd > sway-output.5'
Error at 13:56: Cannot nest inline formatting (began with * at 13:41)
[5/266] Generating sway.5 with a custom command.
FAILED: sway.5 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway.5.scd > sway.5'
Error at 61:9: Cannot nest inline formatting (began with * at 61:1)
[6/266] Generating sway-bar.5 with a custom command.
FAILED: sway-bar.5 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-bar.5.scd > sway-bar.5'
Error at 13:8: Cannot nest inline formatting (began with * at 13:1)
[7/266] Generating sway-input.5 with a custom command.
FAILED: sway-input.5 
/usr/bin/sh -c '/usr/bin/scdoc < ../sway/sway/sway-input.5.scd > sway-input.5'
Error at 10:70: Cannot nest inline formatting (began with * at 10:55)
[12/266] Generating 'protocols/8998617@@client_protos@sta/xdg-output-unstable-v1-client-protocol.h'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

I must change source code for man pages: '_' in the word is a highlight marker in scdoc, so I need to escape it with '\'. Does 'scdoc' version 1.8 from Arch packages work? If so, I'll ask Manjaro maintainers to update a package.

D.