Package Details: dwl 0.7-1

Git Clone URL: https://aur.archlinux.org/dwl.git (read-only, click to copy)
Package Base: dwl
Description: Simple, hackable dynamic tiling Wayland compositor (dwm for Wayland)
Upstream URL: https://codeberg.org/dwl/dwl
Licenses: GPL
Submitter: djpohly
Maintainer: FabioLolix (thule)
Last Packager: thule
Votes: 10
Popularity: 1.27
First Submitted: 2020-12-25 08:31 (UTC)
Last Updated: 2024-10-30 23:34 (UTC)

Latest Comments

1 2 Next › Last »

ThunderSquirrel commented on 2024-09-06 15:12 (UTC)

dwl was updated to version 0.7, which works fine with wlroots 0.18

0mark commented on 2024-07-30 05:39 (UTC)

Arch now (i think this is new, but not sure) has to version of wlroots: just "wlroots" which is the current version (currently 0.18) and "wlroots0.17". But the latter one has its .pc file in a non-standard location. To get it work in a pinch: export PKG_CONFIG_PATH='/usr/lib/wlroots0.17/pkgconfig' then run makepkg.

Or add the line to the PKGBUILD. Look at the sway package, i got it from there too :) Sidenote to maintainer: the dependency to wlroots needs to be updated too.

ryuta commented on 2023-11-29 17:22 (UTC) (edited on 2023-11-29 17:22 (UTC) by ryuta)

Despite locate wlr_idle.h /usr/include/wlroots0.16/wlr/types/wlr_idle.h dwl does not compile :


==> Making package: dwl 0.4-2 (Wed Nov 29 18:19:31 2023)
==> Retrieving sources...
  -> Found dwl-0.4.tar.gz
  -> Found config.h
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    dwl-0.4.tar.gz ... Passed
    config.h ... Passed
:: (1/1) Parsing SRCINFO: dwl
==> Making package: dwl 0.4-2 (Wed Nov 29 18:19:31 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found dwl-0.4.tar.gz
  -> Found config.h
==> Validating source files with sha256sums...
    dwl-0.4.tar.gz ... Passed
    config.h ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting dwl-0.4.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: dwl 0.4-2 (Wed Nov 29 18:19:32 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
cp config.def.h config.h
`pkg-config --variable=wayland_scanner wayland-scanner` server-header \
    `pkg-config --variable=pkgdatadir wayland-protocols`/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.h
`pkg-config --variable=wayland_scanner wayland-scanner` server-header \
    protocols/wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.h
c99  `pkg-config --cflags wlroots wayland-server xkbcommon libinput ` -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"`git describe --tags --dirty 2>/dev/null || echo 0.4`\"  -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-sign-compare -Wshadow -Wunused-macros -Werror=strict-prototypes -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -c util.c
c99  `pkg-config --cflags wlroots wayland-server xkbcommon libinput ` -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"`git describe --tags --dirty 2>/dev/null || echo 0.4`\"  -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-sign-compare -Wshadow -Wunused-macros -Werror=strict-prototypes -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -c dwl.c
dwl.c:25:10: fatal error: wlr/types/wlr_idle.h: No such file or directory
   25 | #include <wlr/types/wlr_idle.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:60: dwl.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: dwl-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
dwl - exit status 4

Any idea ?

ldev commented on 2023-07-04 20:34 (UTC)

Modification to the PKGBUILD so it automatically applies patches that are in the dwl directory

optdepends=('xorg-xwayland: for XWayland support')
source=("$pkgname-$pkgver.tar.gz::https://github.com/djpohly/$pkgname/archive/v$pkgver.tar.gz"
         config.h
         *.patch)
 sha256sums=('f03a260b169019ebdbfd6db1b19a3dc7861ba33609644581c530be019f22274c'
             'SKIP'
             'SKIP')

 prepare() {
    cd "$srcdir/$pkgname-$pkgver"

    # Apply patches
    patches="$srcdir/*.patch"
    for file in $patches ; do
       echo "Applying patch '$file'"
       patch -d $srcdir/$pkgname-$pkgver < $file
    done

ldev commented on 2023-07-04 20:09 (UTC) (edited on 2023-07-04 20:11 (UTC) by ldev)

Why is there a checksum for the config.h file? Isn't that file supposed to be edited.

source=("$pkgname-$pkgver.tar.gz::https://github.com/djpohly/$pkgname/archive/v$pkgver.tar.gz"
        config.h)
sha256sums=('f03a260b169019ebdbfd6db1b19a3dc7861ba33609644581c530be019f22274c'
            'SKIP') # change this to SKIP

djpohly commented on 2023-04-16 21:52 (UTC)

Fixed, thanks!

eatsaq commented on 2023-04-16 19:06 (UTC)

The PKGBUILD doesn't support XWayland correctly.

# Uncomment to compile with XWayland support
sed -i -e '/-DXWAYLAND/s/^#//' config.mk  # This line is present
sed -i -e '/^#XLIBS/s/^#//' config.mk     # Missing, add me

djpohly commented on 2021-03-10 15:35 (UTC)

Haha, I wrote the README... you'd think I would have noticed that. ;-) Thanks!