tests: fix under-linking

The test for errors uses dbus_set_error() so it should link -ldbus-1.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68601
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Avoid underlinking internal library libdbus-gtool.la

Anything that links libdbus-gtool needs to pull in GLib/GObject,
and the order matters (things that libdbus-gtool depends on must
appear after libdbus-gtool itself). libtool understands this, but
only if you tell it the full dependencies.

This broke compilation of test-dbus-glib.exe when cross-compiling
for 32-bit Windows with mingw-w64 (GNU tuple: i686-w64-mingw32).

The linking order used here for dependencies is "lowest in the stack
first", as recommended by the GStreamer documentation.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68601
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
README: replace with a deprecation warning

Most of the README was really about libdbus anyway.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68602
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bring back NEWS

I'm the only one who does dbus-glib releases these days, and I find it
easier to track changes as we go along than to construct a change
list during the release process.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68602
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Update HACKING for current status

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68602
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Add a regression test for CVE-2013-0292

Inspired by Sebastian Krahmer's 'darklena.c', which used
this bug to exploit pam_fprintd.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68603
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>