Thanks for pointing it out. I've updated the way custom config.h works - if you leave the empty file in place, the default configuration will be used, and if you provide your own, it will be copied in. This way the AUR package doesn't have to manually track changes to upstream config.h options.
Search Criteria
Package Details: dwl-git 0.8.dev.r46.8424576-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/dwl-git.git (read-only, click to copy) |
---|---|
Package Base: | dwl-git |
Description: | Simple, hackable dynamic tiling Wayland compositor (dwm for Wayland) |
Upstream URL: | https://codeberg.org/dwl/dwl |
Licenses: | GPL |
Conflicts: | dwl |
Provides: | dwl |
Submitter: | djpohly |
Maintainer: | FabioLolix (thule) |
Last Packager: | thule |
Votes: | 2 |
Popularity: | 0.38 |
First Submitted: | 2020-12-25 08:29 (UTC) |
Last Updated: | 2024-10-30 23:32 (UTC) |
Dependencies (5)
- wlroots-gitAUR (wlroots-asan-gitAUR, wlroots-displaylink-gitAUR, wlroots-hidpi-xprop-gitAUR, wayfire-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- make (make-gitAUR) (make)
- wayland-protocols (wayland-protocols-gitAUR) (make)
- xorg-xwayland (xorg-xwayland-gitAUR, xorg-xwayland-hidpi-xpropAUR, xorg-xwayland-bug865-issue1578AUR) (optional) – for XWayland support
Required by (0)
Sources (2)
djpohly commented on 2022-06-07 20:24 (UTC) (edited on 2022-06-07 20:25 (UTC) by djpohly)
kelen commented on 2022-06-07 17:05 (UTC)
Hi djpohly, The error seems to be caused by different versions of config.h. Please re-upload config.h
<deleted-account> commented on 2021-03-17 09:11 (UTC)
Who is not going to change the lines of PKGBUILD. There is a comment in the PKGBUILD about this, but it was not clear to me what exactly I should do.
It was: source=('git+https://github.com/djpohly/dwl')
became: source=('git+https://github.com/djpohly/dwl#branch=wlroots-next')
<deleted-account> commented on 2021-03-17 08:15 (UTC)
After upgrade system with pacman -Syu. Can not make.
==> Starting build()... cc -march=x86-64 -mtune=generic -O2 -fno-plt -I. -DWLR_USE_UNSTABLE -std=c99 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/uuid -D_FORTIFY_SOURCE=2 -c -o dwl.o dwl.c dwl.c: In function 'keypress': dwl.c:1287:22: error: 'WLR_KEY_PRESSED' undeclared (first use in this function); did you mean 'WLR_BUTTON_PRESSED'? 1287 | if (event->state == WLR_KEY_PRESSED) | ^~~~~~~~~~~~~~~ | WLR_BUTTON_PRESSED dwl.c:1287:22: note: each undeclared identifier is reported only once for each function it appears in dwl.c: In function 'setup': dwl.c:1998:18: error: too many arguments to function 'wlr_backend_autocreate' 1998 | if (!(backend = wlr_backend_autocreate(dpy, NULL))) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from dwl.c:15: /usr/include/wlr/backend.h:35:21: note: declared here 35 | struct wlr_backend wlr_backend_autocreate(struct wl_display display); | ^~~~~~~~~~~~~~~~~~~~~~ make: *** [<builtin>: dwl.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting...
djpohly commented on 2021-02-20 04:40 (UTC)
Unfortunately, I can't reproduce this. If I start with a clean directory with only the PKGBUILD in it, the package builds successfully. Maybe if someone else has the same problem, they will be able to provide the solution.
<deleted-account> commented on 2021-02-20 04:23 (UTC)
I deleted the clone but it doesn't help.
LANG=en makepkg -c ==> Making package: dwl-git 0.1.r188.848d89b-1 (Sat Feb 20 15:23:31 2021) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning dwl git repo... Cloning into bare repository '/var/local/cache/pacman/src/dwl'... remote: Enumerating objects: 40, done. remote: Counting objects: 100% (40/40), done. remote: Compressing objects: 100% (30/30), done. remote: Total 1637 (delta 21), reused 23 (delta 10), pack-reused 1597 Receiving objects: 100% (1637/1637), 434.92 KiB | 281.00 KiB/s, done. Resolving deltas: 100% (1071/1071), done. ==> Validating source files with md5sums... dwl ... Skipped ==> Extracting sources... -> Creating working copy of dwl git repo... fatal: invalid reference: origin/HEAD ==> ERROR: Failure while creating working copy of dwl git repo Aborting...
djpohly commented on 2021-02-19 15:24 (UTC)
The dwl repository has been split into two branches to reduce the number of support requests caused by not reading the README. :) The default "main" branch is for building against wlroots release, and you can edit the PKGBUILD to use the "wlroots-next" branch for building against wlroots-git.
If makepkg is confused, you might also need to remove the existing clone.
<deleted-account> commented on 2021-02-19 09:07 (UTC)
fatal: invalid reference: origin/HEAD ==> ERROR: Failure while creating working copy of dwl git repo Aborting...
<deleted-account> commented on 2021-01-14 06:59 (UTC)
Helped by replacing wlroots on wlroots-git.
Pinned Comments
djpohly commented on 2021-02-19 15:24 (UTC)
The dwl repository has been split into two branches to reduce the number of support requests caused by not reading the README. :) The default "main" branch is for building against wlroots release, and you can edit the PKGBUILD to use the "wlroots-next" branch for building against wlroots-git.
If makepkg is confused, you might also need to remove the existing clone.