From ca96697f209f6077762b932a5735d437ef02b42b Mon Sep 17 00:00:00 2001 From: s0mn Date: Sat, 6 Jul 2019 10:02:31 -0400 Subject: [PATCH] Updated Compiling (markdown) --- Compiling.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Compiling.md b/Compiling.md index 672af5d..136a358 100644 --- a/Compiling.md +++ b/Compiling.md @@ -19,6 +19,11 @@ The following dependencies are only needed during compilation, you can remove th **Note:** You only need either `gcc` or `clang`. +All above dependencies paste-friendly for dnf (includes both `gcc` and `clang`): +```bash +sudo dnf install -y gcc-c++ clang git cmake @development-tools python3-sphinx +``` + ### Dependencies These are the hard dependencies, you cannot build or run polybar without them: @@ -35,6 +40,11 @@ All above dependencies paste-friendly for apt: apt install build-essential git cmake cmake-data pkg-config python3-sphinx libcairo2-dev libxcb1-dev libxcb-util0-dev libxcb-randr0-dev libxcb-composite0-dev python-xcbgen xcb-proto libxcb-image0-dev libxcb-ewmh-dev libxcb-icccm4-dev ``` +All above dependencies paste-friendly for dnf: +```bash +sudo dnf install -y cairo-devel xcb-util-devel libxcb-devel xcb-proto xcb-util-image-devel xcb-util-wm-devel +``` + ### Optional Dependencies These dependencies enable optional features in polybar, if they are installed during compilation: @@ -58,6 +68,11 @@ All above dependencies paste-friendly for apt: apt install libxcb-xkb-dev libxcb-xrm-dev libxcb-cursor-dev libasound2-dev libpulse-dev i3-wm libjsoncpp-dev libmpdclient-dev libcurl4-openssl-dev libnl-genl-3-dev ``` +All above dependencies paste-friendly for dnf: +```bash +sudo dnf install -y xcb-util-xrm-devel xcb-util-cursor-devel alsa-lib-devel pulseaudio-libs-devel i3-ipc jsoncpp-devel libmpdclient-devel libcurl-devel wireless-tools-devel libnl3-devel +``` + **Note:** If you have enabled any optional feature during installation, the dependencies for that feature need to remain installed, otherwise polybar may not start. ## Building