Files
buildroot/package/sway/Config.in
Bernd Kuhls e8466476c4 package/sway: needs pcre2 instead of pcre
Buildroot commit 0645cb39e0 bumped the
package from 1.7 to 1.8.1.

Upstream included commit
f614f35e73
in version 1.8 to switch from pcre to pcre2 but the buildroot package
was not updated accordingly.

Pcre2 was already selected by pango -> libglib2 -> pcre2 so this bug was
never noticed.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-04-06 18:05:11 +02:00

72 lines
2.0 KiB
Plaintext

config BR2_PACKAGE_SWAY
bool "sway"
depends on BR2_PACKAGE_SYSTEMD # is required by the sd-bus provider
depends on !BR2_STATIC_LIBS # wlroots
depends on BR2_TOOLCHAIN_HAS_THREADS # pango, wlroots
depends on BR2_PACKAGE_HAS_LIBEGL # wlroots
depends on BR2_PACKAGE_HAS_LIBGLES # wlroots
depends on BR2_PACKAGE_HAS_LIBGBM # wlroots
depends on BR2_PACKAGE_HAS_UDEV # wlroots
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, pango
depends on BR2_USE_WCHAR # pango
depends on BR2_USE_MMU # pango
depends on BR2_INSTALL_LIBSTDCPP # pango
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango
select BR2_PACKAGE_WLROOTS
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_PCRE2
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_CAIRO_PNG
select BR2_PACKAGE_PANGO
select BR2_PACKAGE_XKEYBOARD_CONFIG # runtime
help
i3-compatible Wayland compositor
Note:
The default sway config uses the foot package as the
default terminal. If you plan on using the default
config, it is recommended to select the foot package!
https://github.com/swaywm/sway
if BR2_PACKAGE_SWAY
config BR2_PACKAGE_SWAY_SWAYBAR
bool "swaybar"
select BR2_PACKAGE_DEJAVU
select BR2_PACKAGE_JQ if BR2_PACKAGE_BASH_COMPLETION # Runtime
select BR2_PACKAGE_WMENU # Runtime
help
Enable support for swaybar
if BR2_PACKAGE_SWAY_SWAYBAR
config BR2_PACKAGE_SWAY_SWAYBAR_TRAY
bool "swaybar tray"
help
Enable support for swaybar tray
endif # BR2_PACKAGE_SWAY_SWAYBAR
config BR2_PACKAGE_SWAY_SWAYNAG
bool "swaynag"
help
Enable support for swaynag
endif # BR2_PACKAGE_SWAY
comment "sway needs systemd, udev, EGL, OpenGL ES and GBM support"
depends on !BR2_PACKAGE_SYSTEMD || \
!BR2_PACKAGE_HAS_UDEV || \
!BR2_PACKAGE_HAS_LIBEGL || \
!BR2_PACKAGE_HAS_LIBGLES || \
!BR2_PACKAGE_HAS_LIBGBM
comment "sway needs a toolchain w/ wchar, threads, C++, dynamic library, gcc >= 4.9"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_INSTALL_LIBSTDCPP || \
BR2_STATIC_LIBS