Attached is an ebuild for Unagi Compositing Manager. This is a simple small and modern compositing manager.
Created attachment 302469 [details]
Created attachment 302499 [details]
Slightly revised ebuild. With corrected dependencies, HTML doc generation with doc USE flag, and a debug USE flag.
It looks very promising but I could not get it working under fvwm. :S
New ebuild works well. Unagi is working well for me so far using awesome windowmanager which is what the author says that it has been extensively tested with. What will it take to get this into portage?
Actually spoke too soon. Seems to be a bug in the configure script. With the new ebuild it builds with debug messages on even when the debug use flag is disabled. Seems that specifying --disable-debug actually enables debug messages while specifying no option does not.
Commenting out $(use_enable debug) in the ebuild causes it to not build with debug messages but a real fix is going to require a patch to the configure script.
Created attachment 302663 [details]
Yes, there is a bug in configure.ac. The author did not quite understand autotools and made a common mistake when using AC_ARG_ENABLE.
If you interested in the details, please search for "The most common mistake for this macro" in this page:
Here's an ebuild which patches configure.ac and regenerates configure.ac. Note it adds another dependency. The patch will be attached later.
Actually there's indeed an uglier workaround of not sending "--disable-debug" at all, as you pointed out, but let's use the beautiful (and complicated) one firstly. :-)
I will report this bug to upstream soon.
Created attachment 302665 [details, diff]
Created attachment 302771 [details]
A 9999 ebuild, in case anybody needs it. The developer fixed the configure.ac bug in git repo, so no more patch needed.