Updated Compiling (markdown)

Michael Carlberg 2017-01-26 13:16:15 +01:00
parent f2fe83a5c1
commit d7216bfcbb
1 changed files with 42 additions and 11 deletions

@ -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
~~~