I just realized that the original repository disappeared, so I decided
switch to a fork[1] for now. Also, I changed the following things:
* The project got relicensed[2] to `gpl3Plus`. Unfortunately the tags are
gone, but it seems as this has happened after the 1.0 release, so no
problem for us.
* The patch for sway 1.5[3] got merged into the fork, so it doesn't have
to be applied here.
* Decided to go for `master` here for now. First of all there are no
tags anymore, also there are a few fixes on `master` now.
* Compared the new source with the old 1.0 tarball via `diff -r`. Even
though most of the changes were written by the original author on top
of 1.0, I did a diff against everything from 1.0 and didn't find any
issues. Also, `luispabon` doesn't seem to be a throw-away account so
I'd say that using this fork for now is fine.
[1] https://github.com/luispabon/wdisplays
[2] https://github.com/luispabon/wdisplays/commit/69564522bc12569c96a2192e2dd0d5d4bef8aa13
[3] https://github.com/luispabon/wdisplays/commit/5198a9c94b40ff157c284df413be5402f1b75118
* Enable exactly one backend (Native seems like the safest choice, but
GMP also seems sane, interested to hear opinions on this!)
* Apply patch which fixes a type mismatch issue between Natural.hs and
Natural.hs-boot.
OpenGL applications should not depend on the Mesa drivers, since these
are supposed to be loaded at runtime from /run/opengl-driver using the
glvnd library. Furthermore, the drivers output has a large closure
since it depends on LLVM.
The only dependency from dev to drivers came from the xatracker
pkg-config file. This commit moves this file into a new
output called driversdev.
The glvnd library contains a copy of the OpenGL headers. By compiling
against the glvnd headers we completely avoid a dependency on Mesa (and
LLVM). This reduces rebuild time. It also prevents accidents, such as
where some packages kept a reference to the mesa.drivers output and thus
had all Mesa drivers in their runtime closure.