From b94f84605d6d6d8d3c17a42a72fc3b01df69ab7f Mon Sep 17 00:00:00 2001 From: Arijit Dey <65700195+arijit79@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:36:59 +0530 Subject: [PATCH] README: Write about required dependencies (#111) * doc(README): Write about required dependencies * doc(README): Fix typo --- README.md | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index deca591..0209bff 100644 --- a/README.md +++ b/README.md @@ -13,19 +13,41 @@ Hyprpaper is a blazing fast wallpaper utility for Hyprland with the ability to d [Arch Linux](https://archlinux.org/packages/community/x86_64/hyprpaper/): `pacman -S hyprpaper` -### Manual: +## Manual: + +### Dependencies +The development files of these packages need to be installed on the system for `hyprpaper` to build correctly. +(Development packages are usually suffixed with `-dev` or `-devel` in most distros' repos). +- wayland +- wayland-protocols +- pango +- cairo +- file +- libglvnd +- libglvnd-core +- libjpeg-turbo + +Also `gcc-c++` and `ninja` needs to installed. + +To install all of these in Fedora, run this command: +``` +sudo dnf install wayland-devel wayland-protocols-devel pango-devel cairo-devel file-devel libglvnd-devel libglvnd-core-devel libjpeg-turbo-devel gcc-c++ +``` + +On OpenSUSE: +``` +sudo zypper install ninja gcc-c++ wayland-protocols-devel Mesa-libGLESv3-devel file-devel +``` + +### Building + ``` git clone https://github.com/hyprwm/hyprpaper cd hyprpaper make all ``` -*the output binary will be in `./build/`, copy it to your PATH, e.g. `/usr/bin`* -#### Dependencies -On OpenSUSE: -``` -sudo zypper install ninja gcc-c++ wayland-protocols-devel Mesa-libGLESv3-devel file-devel -``` +*the output binary will be in `./build/`, copy it to your PATH, e.g. `/usr/bin`* # Usage