wiki/packaging: Mention recommended deps
Browse files at this commitc22d8358c293f5e66748d8ac20600e6b114f9743Parent: 4d058e61 changed file +19 -0
- docs/wiki/Packaging-niri.md +19 -0
docs/wiki/Packaging-niri.mdmodified+19 -0
| @@ -30,6 +30,25 @@ Doing this will make niri appear in GDM and other display managers. | |||
| 30 | 30 | ||
| 31 | See the [Integrating niri](./Integrating-niri.md) page for further information on distribution integration. | 31 | See the [Integrating niri](./Integrating-niri.md) page for further information on distribution integration. |
| 32 | 32 | ||
| 33 | +### Recommended dependencies | ||
| 34 | + | ||
| 35 | +First of all, make sure niri depends on `libwayland-server`. | ||
| 36 | +This library is currently loaded dynamically, so it's not picked up as a dependency at niri build time. | ||
| 37 | + | ||
| 38 | +Then, the following dependencies are optional, but strongly recommended. | ||
| 39 | +Set them as automatically-installed optional dependencies, if possible. | ||
| 40 | + | ||
| 41 | +- `xwayland-satellite`: required to run X11 applications (Steam, Discord, etc.). | ||
| 42 | +- `xdg-desktop-portal-gnome`: required for screencasting. | ||
| 43 | +- `xdg-desktop-portal-gtk`: configured as the fallback portal in `niri-portals.conf`. | ||
| 44 | +(This is in general the standard fallback portal that you want installed.) | ||
| 45 | +- `gnome-keyring`: configured as the Secret portal provider in `niri-portals.conf`. | ||
| 46 | +- Your distro's GPU driver package, such as `mesa-dri-drivers` and `mesa-libEGL`. | ||
| 47 | +Working hardware acceleration is required for running niri. | ||
| 48 | +- Some notification daemon like `mako`, generally required for apps to work correctly. | ||
| 49 | + | ||
| 50 | +Finally, you may want to auto-install some of the applications bound in niri's [default configuration file](https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl) (search for `spawn`), such as `alacritty` and `fuzzel`. | ||
| 51 | + | ||
| 33 | ### Running tests | 52 | ### Running tests |
| 34 | 53 | ||
| 35 | A bulk of our tests spawn niri compositor instances and test Wayland clients. | 54 | A bulk of our tests spawn niri compositor instances and test Wayland clients. |