summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-10-11 19:52:26 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-10-11 20:08:44 -0600
commitab87410023a139c124bccb2817e567a7fa4fabab (patch)
tree16e5413ae3549ac5f9c95018a5a5c3b6e05a8492
parent7085057f6d75a259a399e6e0e65291804d7ceb18 (diff)
clarify the dependencies needed by dwl
Note that previous df131cdb78c6e3e79c3fafa522f0e4f6b43d2ab4 libX11 headers were also required for building (but not for runtime) Also, I want to apologize to the packagers for do not list *all* the required dependencies before.
-rw-r--r--README.md20
1 files changed, 17 insertions, 3 deletions
diff --git a/README.md b/README.md
index aa4591b..62ae872 100644
--- a/README.md
+++ b/README.md
@@ -50,14 +50,28 @@ Feature *non-goals* for the main codebase include:
## Building dwl
-dwl has only two dependencies: `wlroots` and `wayland-protocols`.
+dwl has the following dependencies:
+```
+libinput
+wayland
+wlroots (compiled with the libinput backend)
+xkbcommon
+wayland-protocols (compile-time only)
+pkg-config (compile-time only)
+```
+If you enable X11 support:
+```
+libxcb
+libxcb-wm
+wlroots (compiled with X11 support)
+Xwayland (runtime only)
+```
Simply install these (and their `-devel` versions if your distro has separate
development packages) and run `make`. If you wish to build against a Git
version of wlroots, check out the [wlroots-next branch].
-To enable XWayland, you should also install xorg-xwayland and uncomment its flag
-in `config.mk`.
+To enable XWayland, you should uncomment its flags in `config.mk`.
## Configuration