This also adds scdoc as a dependency.
scdoc is almost as easy as markdown and therefore it's much nicer to
write and maintain manpages making use of it instead of plain roff.
It works on Wayland and X11 and acts as a complement to margin. Exact
behavior is as follows:
- If width factor is 0, width minus margin is used.
- If width multiplied by factor is greater than width minus margin,
width minus is used. (so margin may be used to make sure that bemenu
is at least N pixels away from the view border)
- Otherwise width multiplied by factor is used.
I think it's fine to disable warnings about floating point numbers
comparision. We don't do any arithmetics on them anyway, so we can't
suffer from inaccuracy.
- Much of the existing text was reworded for better understandability.
- The new manpage uses mdoc(7) for better formatting.
Because of this, we can merge bemenu and bemenu-run into a single
file.
Found in Gentoo QA
* QA Notice: The following shared libraries lack a SONAME
* /usr/lib/libbemenu.so.0.4.0
Signed-off-by: Matthew Thode <mthode@mthode.org>
Sadly there is no way to lazily evaluate the prerequsite in rule,
so the pkg-config expansion will always get expanded and throws error
even when you are not compiling wayland.
We track the version from file, so the targets depending on version will
be rebuilt. We also track .git/index, so library and renderers get
rebuilt for new BM_PLUGIN_VERSION on each commit.