From d7216bfcbbb268974bb5110dcc4f0de2a81d8834 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Thu, 26 Jan 2017 13:16:15 +0100 Subject: [PATCH] Updated Compiling (markdown) --- Compiling.md | 53 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 42 insertions(+), 11 deletions(-) diff --git a/Compiling.md b/Compiling.md index 72bebf5..15b1ca8 100644 --- a/Compiling.md +++ b/Compiling.md @@ -1,15 +1,46 @@ -## apt-get +## Dependencies -### Required libraries -~~~ -cmake cmake-data -libcairo2-dev libxcb1-dev -libxcb-ewmh-dev libxcb-icccm4-dev libxcb-image0-dev -libxcb-randr0-dev libxcb-util0-dev libxcb-xkb-dev -pkg-config python-xcbgen xcb-proto +### apt-get +~~~ sh +# Required +cmake +cmake-data +libcairo2-dev +libxcb1-dev +libxcb-ewmh-dev +libxcb-icccm4-dev +libxcb-image0-dev +libxcb-randr0-dev +libxcb-util0-dev +libxcb-xkb-dev +pkg-config +python-xcbgen +xcb-proto + +# Enables support for getting values from the X resource db +libxcb-xrm-dev + +# Enables the internal i3 module +i3-wm + +# Enables the internal volume module +libasound2-dev + +# Enables the internal mpd module +libmpdclient-dev + +# Enables the internal network module +libiw-dev + +# Enables the internal github module +libcurl4-openssl-dev ~~~ -### Optional dependencies for extended module support -~~~ -i3-wm libasound2-dev libmpdclient-dev libiw-dev libcurl4-openssl-dev +## Building +~~~ sh +git clone --recursive https://github.com/jaagr/polybar +mkdir polybar/build +cd polybar/build +cmake .. +sudo make install ~~~ \ No newline at end of file