mirror of https://github.com/polybar/polybar.git
Remove Ubuntu 17.04 issue
17.04 is EOL since 2018
parent
d22309e8f6
commit
4229fe9f8e
|
@ -10,7 +10,6 @@ This page lists some of the issues one can encounter when using polybar. Either
|
|||
- [Error While Loading Shared Libraries: libjsoncpp](#error-while-loading-shared-libraries-libjsoncpp)
|
||||
- [Setting Module Backgrounds when using Gradients](#setting-module-backgrounds-when-using-gradients)
|
||||
- [`override-redirect` in i3](#override-redirect-in-i3)
|
||||
- [Version Mismatch between `xcb-proto` and `libxcb-randr0-dev` on Ubuntu 17.04](#version-mismatch-between-xcb-proto-and-libxcb-randr0-dev-on-ubuntu-1704)
|
||||
|
||||
|
||||
## `Failed to get root pixmap, default to black (is there a wallpaper?)`
|
||||
|
@ -114,27 +113,3 @@ This behaviour was introduced in [`#831`](https://github.com/polybar/polybar/pul
|
|||
|
||||
If you are using i3-gaps (>= 4.17), you can set `gaps top X` or `gaps bottom X` in your i3 config to reserve space for the bar where `X` is the number of pixels you want to reserve. **Note:** On multi-monitor setups this will be applied to all monitors.
|
||||
|
||||
## Version Mismatch between `xcb-proto` and `libxcb-randr0-dev` on Ubuntu 17.04
|
||||
**Problem:** On Ubuntu 17.04 (and possibly others), the `xcb-proto` version does not match the version of the `libxcb-*` packages, especially `libxcb-randr0-dev`. This creates problems with the header files. If you get the following or a similar compiler error, this fix may be for you:
|
||||
~~~
|
||||
lib/xpp/include/xpp/proto/randr.hpp:3026:42: error: use of undeclared identifier 'xcb_randr_get_monitors_reply'; did you mean 'xcb_randr_get_providers_reply'?
|
||||
~~~
|
||||
|
||||
**Fix:** You will need to downgrade to `xcb-proto` to version `1.11-1`, I didn't have any luck with using `apt` to downgrade, so I grabbed the source files from [launchpad](https://launchpad.net/ubuntu/+source/xcb-proto/1.11-1) and compiled from source.
|
||||
You have to get both `xcb-proto_1.11.orig.tar.gz` and `xcb-proto_1.11-1.diff.gz`.
|
||||
|
||||
Now remove the already installed `xcb-proto` package and run the following command inside the folder where you downloaded the files to. This will compile `xcb-proto-1.11-1` and install it on your system.
|
||||
~~~bash
|
||||
tar -xzvf xcb-proto_1.11.orig.tar.gz
|
||||
gzip -d xcb-proto_1.11-1.diff.gz
|
||||
cd xcb-proto-1.11
|
||||
patch -p1 <../xcb-proto_1.11-1.diff
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
~~~
|
||||
Note that it will not be installed via `apt` and thus to uninstall you'll need to run `sudo make uninstall` from within the `xcb-proto-1.11` folder.
|
||||
|
||||
Now you should be able to compile polybar without problems, just clear the build directory first.
|
||||
|
||||
This issue was discovered in [`#644`](https://github.com/polybar/polybar/issues/644), you will find more details there.
|
||||
|
|
Loading…
Reference in New Issue