Integrate wall and expo building
wall: Remove unused calculations
contrib/plugins-main: Remove some leftovers.

I'm temporarily leaving the wall-check in configure.am so I remember to port
it.
Start flipping the dependency-check logic

It's up-side down, people.

If ten plugins need a package, we are defining 10 individual namespaces for
the same thing. (E.g. ANNOTATE_CFLAGS instead of CAIRO_XLIB_XRENDER_CFLAGS).
This makes the makefiles more ambiguous (CAIRO_CFLAGS is more informative
than ANNOTATE_CFLAGS), gets us to check for the same things multiple times,
and is generally meh.

This patch fixes this for annotate and adds optional building of wall.

The wall-logic should also be improved since it's checking for
cairo-xlib-xrender (same as annotate) in addition to cairo. I don't know if
they actually need the same things or not at the moment.

This patch also begins the long road of populating the new
'missing_optional_deps' variable which will help users see what
libraries/components are missing on their components, but optional. It needs
to be populated by basically every optional dependency check.
Continue flipping configure.ac logic

I am also renaming a number of variables from FOO_PLUGIN to USE_FOO, which
is arguably not perfect. The reason for this is that there was a mix, and
it'll be easier to unify first then, potentially, change it back.

Incidentally this'll make things like "these three plugins all require DBUS"
easier to implement, so maybe it's not such a bad thing.

The missing_optional_deps is almost useful already. Feedback wanted though.
Re-introduced dbus-glib for gtk-window-decorator

I checked src/ and plugins/ before nuking it and discovered it was obsolete
in the process. Alas, gtk-window-decorator still uses it. And unlike most of
the other AC_DEFINE stuff that's present in configure.ac, this one is
actually needed.

At some point we should fix the dbus-glib dep though, what with the
obsolescence and all.
Replace hardcoded bcop-targets with variable

I know, my make-magic is baffling. I can't help it.

Also, this will make adding bcop-plugins significantly more straight
forward.
Slightly improve plugins/Makefile.am blargh

Ideally I'd only like single-file plugins using standard
arguments/dependencies to only need to be listed once in
plugins/Makefile.am, but at least this slightly improves it.

The bcop BUILT_SOURCES logic can be easily improved too.
Fix numerous shadowed variables

Guys, wtf.

Seriously.

This is why you don't write scripts in C.

Most of these are harmless, but most are also idiotic. Example:

In rotate, why would you need to get an option for every variation of
if-clauses, and even REDEFINE the int storing the option? Do you actually
think it changed between the top of the function and a little further down?

gtk-window-decorator is actually quite confusing. It has a shitload of
global variables, and then shadows one of them. I didn't even know if this
was a redundant variable, or if it might differ from the global one. I ended
up doing a cosmetic fix, but adding a comment explaining it.

And let's not even talk about the shit in core. Or how people manage to
shadow int w to CompWindow *w and not notice (THAT SHOULD TELL YOU SOMETHING
ABOUT THE SIZE OF YOUR FUNCTION).

This is what happens when you write functions that are 123124125 lines long
and needs an 8MB stack to keep all the local variables.
ezoom: Drop inline and adjust  whitespace/comments

I'm going to assume gcc knows better than me when to optimize like this from
now on.
Integrate imgjpeg, neg and mag to regular build

Also added some rough fubar-handling of asprintf in jpeg. Should probably be
handled better in general.
Clean plugins-master somewhat after move
Merge branch 'master' of github.com:KristianLyng/compiz