Package Details: sway-disable-titlebar 1.9-3

Git Clone URL: https://aur.archlinux.org/sway-disable-titlebar.git (read-only, click to copy)
Package Base: sway-disable-titlebar
Description: Tiling Wayland compositor and replacement for the i3 window manager (added disable_titlebar open - PR #8026)
Upstream URL: https://swaywm.org/
Licenses: MIT
Conflicts: sway, sway-git, sway-rc
Provides: sway
Submitter: fossdd
Maintainer: fossdd
Last Packager: fossdd
Votes: 1
Popularity: 0.008050
First Submitted: 2024-04-18 21:11 (UTC)
Last Updated: 2024-07-16 11:28 (UTC)

Dependencies (33)

Required by (46)

Sources (5)

Latest Comments

fossdd commented on 2024-07-16 11:29 (UTC)

Should work again, thanks for the reminder!

neozumm commented on 2024-07-16 07:34 (UTC)

No longer buillds if wlroots0.17 (not wlroots, since the package is version 0.18+ now) is installed. I assume some tweak is needed to the mason.build file but i was unable to do it correctly.

Subproject  wlroots is buildable: NO (disabling)
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Found CMake: /usr/bin/cmake (3.30.0)
Run-time dependency wlroots found: NO (tried pkgconfig and cmake)

sway-1.9/meson.build:47:10: ERROR: Dependency "wlroots" not found, tried pkgconfig and cmake

fossdd commented on 2024-05-13 20:36 (UTC)

thanks, fixed

neozumm commented on 2024-05-13 20:31 (UTC)

Latest version does not build as-is. Needs the following change:

diff --git a/PKGBUILD b/PKGBUILD
index d8ff52d..ef621be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -65,7 +65,7 @@ validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48'  # Simon Ser
               '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault

 prepare() {
-  cd "$_pkgname-$_pkgver"
+  cd "$_pkgname-$pkgver"

   patch --forward --strip=1 --input=../8026.patch

@@ -75,13 +75,13 @@ prepare() {

 build() {
   mkdir -p build
-  arch-meson build "$_pkgname-$_pkgver" -D sd-bus-provider=libsystemd -D werror=false -D b_ndebug=true
+  arch-meson build "$_pkgname-$pkgver" -D sd-bus-provider=libsystemd -D werror=false -D b_ndebug=true
   ninja -C build
 }

 package() {
   DESTDIR="$pkgdir" ninja -C build install
-  install -Dm644 "$_pkgname-$_pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 "$_pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
   install -Dm644 50-systemd-user.conf -t "$pkgdir/etc/sway/config.d/"
   install -Dm644 sway-portals.conf "$pkgdir/usr/share/xdg-desktop-portal/sway-portals.conf"
 }