x11: fix for a non-zero default screen

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
debian: Add cmocka/cmake/Modules copyright information

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
.mailmap: Add initial mailmap

The mailmap contains all contributors, discovered with `git shortlog
-se`. When someone contributed under multiple emails, I chose the most
recently used one as the canonical email.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
cmake: Move install rule for README, LICENSE

The rule lived in a strange place.  The sources for the installation
rule lived in the directory *above* the rule.

Move the rule from "$TOP/doc/CMakeLists.txt" to "$TOP/CMakeLists.txt".

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
doc: Remove unused file todo.txt

Waffle now uses the issue tracker at
(https://github.com/waffle-gl/waffle/issues).

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
HACKING: Move to hard-to-miss location

Several one-off contributors have submitted patches to Waffle. And they
typically email me directly and send the patches as attachments. Maybe
they didn't bother to read submitting-patches.txt, so let's move it in
a more prominent location.

Rename "/doc/submitting-patches.txt" to "/HACKING.txt". No changes to
file content.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
cmake: Install HACKING alongside README, LICENSE

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
HACKING: Explain better how to send patches

Several one-off contributors have submitted corrupt patches to Waffle as
email attachments.  Improve the HACKING docs to carefully explain how to
do it correctly.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
HACKING: Make advice on commit message style more focused

And add a good example commit message from Emil.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
HACKING: Improve advice on copyright

Make it more simple and more explicit.
List preferred licenses for Waffle: BSD, MIT, Apache 2.0.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
HACKING: Improve section "Sign your work"

Simplify the discussion of Signed-off-by and Developer's Certificate of
Origin.

Pre-patch, HACKING.txt quoted the entirety of Section 12 of the kernel's
Documentation/SubmittingPatches. Linus's writing style, though, is
rambling and unfocused. This patch cleans it up.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
HACKING: Re-order sections

Move "Copyright" to below "Sign you work". Not many people will need to
read the "Copyright" section.

Signed-off-by: Chad Versace <chad@chad-versace.us>
doc/code-style: Shorten and clean up

Concicse is better than rambling. Remove all the nonessential parts of
the file.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Merge branch 'chadv/doc-cleanups'
doc: Explain how to prepare a release candidate

Add the explanation to a new file 'doc/how-to-maintain-waffle.asciidoc'.

Fixes #2: https://github.com/waffle-gl/waffle/issues/2
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
doc: Add release notes for Waffle 1.4.0-rc1

This patch reformats and cleans up the placeholder file
'waffle-next.txt', renaming it to 'waffle-1.4.0.txt'.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
debian: Update changelog for 1.4.0~rc1-1

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
HACKING: Don't recommend Apache 2.0 for contributions

Since waffle changed from Apache 2.0 to BSD in
367378863bcc6801f5ae5ad786c09d39e0890370, we should avoid accepting
contributions under that license for the same reasons.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
doc: Install all release notes

This fixes a bug. The 1.4.0-rc1 release installed the 1.3 release notes
but not any 1.4 release notes.

To fix this, let's follow the precedent set by git.  Update CMake to
install *all* release notes.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
cmake: wire up check and check-func with valgrind

Add a valgrind-* counterpart for each target. Note that the
valgrind-check-func seems to leak like a sleeve yet I'm
suspecting that part of it is due to cmocka :P

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>