Package Details: sway-git 1.9.r7273.a4e8533-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: 145
Popularity: 1.18
First Submitted: 2015-08-16 14:05 (UTC)
Last Updated: 2024-01-24 20:08 (UTC)

Required by (45)

Sources (3)

Latest Comments

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

tkna commented on 2023-09-07 11:50 (UTC) (edited on 2023-09-07 11:53 (UTC) by tkna)

@Pooh Please make sure your wlroots-git is up-to-date before compiling sway-git. https://aur.archlinux.org/cgit/aur.git/tree/sway-git.install?h=sway-git Uninstall wlroots-git first, and the update should happen automatically.

Pooh commented on 2023-09-07 10:58 (UTC)

@tkna I have wlroots-git installed

tkna commented on 2023-09-06 20:20 (UTC) (edited on 2023-09-06 20:27 (UTC) by tkna)

@Pooh No problem in my environment. Have you uninstalled wlroots and wlroots-git? If that doesn't work, try renaming the /home/pooh/.cache/yay/sway-git directory. Also, when posting long logs, it is better to use a pastbin service such as paste.rs. https://wiki.archlinux.org/title/List_of_applications#Pastebin_services

Pooh commented on 2023-09-06 19:55 (UTC) (edited on 2023-09-07 11:04 (UTC) by Pooh)

fail build

../sway-git/sway/desktop/output.c:636:47: предупреждение: initialization of «struct wlr_render_pass *» from «int» makes pointer from integer without a cast [-Wint-conversion]
../sway-git/sway/desktop/output.c:667:14: предупреждение: неявная декларация функции «wlr_render_pass_submit» [-Wimplicit-function-declaration]
  667 |         if (!wlr_render_pass_submit(render_pass)) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
../sway-git/sway/desktop/output.c: В функции «handle_gamma_control_set_gamma»:
../sway-git/sway/desktop/output.c:1072:43: ошибка: некорректное использование неопределенного типа «const struct wlr_gamma_control_manager_v1_set_gamma_event»
 1072 |         struct sway_output *output = event->output->data;
      |                                           ^~
ninja: build stopped: subcommand failed.
==> ОШИБКА: Произошел сбой в build().
    Прерывание...
 -> ошибка сборки: sway-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
sway-git - exit status 4

full log → https://paste.rs/52j2j.bash

willemw commented on 2023-09-03 16:56 (UTC) (edited on 2023-09-20 05:22 (UTC) by willemw)

Can you please change the (provide) names in 'optdepends' back to the common (provide) names (swaybg, swayidle and swaylock), unless there is a reason to restrict those packages to the *-git packages?

GreyXor commented on 2023-08-29 07:31 (UTC) (edited on 2023-08-31 08:10 (UTC) by GreyXor)

Sure, thanks for the review. I have removed ${_pkgname}

tkna commented on 2023-08-28 19:07 (UTC) (edited on 2023-08-28 21:56 (UTC) by tkna)

In this case, I feel that ${_pkgname} is not absolutely necessary and can be replaced with ${pkgname%-git} https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette

GreyXor commented on 2023-08-26 08:57 (UTC) (edited on 2023-08-31 08:09 (UTC) by GreyXor)

Thank you for noting the regression that appeared in my last commit. I have:

  • Addressed the naming anomaly in both conflicts and provides.

  • Removed tests, considering that sway does not have any.

  • Removed the debug build. I believe it should be left to the user's discretion.

willemw commented on 2023-08-26 05:58 (UTC)

The name in the provides and conflicts arrays should be "${pkgname%-git}". The name in the source array should be $pkgname to "make it unique enough" in case $srdir is the same for all package builds.

The package also builds without options=(debug).