small adjustments to build with debian buster, not yet complete without description of how to get libjson-c-dev >= 0.13

fastflo 2019-03-11 18:38:55 +01:00
parent dfa5802245
commit e7854defff

@ -35,15 +35,13 @@ Finally, we can install sway itself.
Note: If `apt-get install` tries to use lots of bandwidth and space, please try adding ` -o APT::Install-Recommends=0 -o APT::Install-Suggests=0` at the end of the command, to skip downloading optional dependencies.
````
sudo apt-get install libpcre3 libpcre3-dev libcairo2 libcairo2-dev libpango1.0-0 libpango1.0-dev asciidoc libjson-c3 libjson-c-dev libcap-dev xsltproc libpam0g-dev
sudo apt-get install meson libelogind-dev libpcre3 libpcre3-dev libcairo2 libcairo2-dev libpango1.0-0 libpango1.0-dev asciidoc libjson-c3 libjson-c-dev libcap-dev xsltproc libpam0g-dev
git clone https://github.com/SirCmpwn/sway.git
cd sway/
git checkout 0.15
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_SYSCONFDIR=/etc ..
make
sudo make install
git checkout 1.0
meson build # this will need libjson-c-dev >= 0.13 which is currently not in debian buster
ninja -C build
sudo ninja -C build install
````
Note: Installing libgdk-pixbuf2.0-0 and libgdk-pixbuf2.0-dev helped me get rid of a pixbuf2.0 required but not found error message on a fresh install of Debian 9.6.