Since glib-2.30, only single includes (<glib.h> are allowed), otherwise build fails with following error: [snip] [ 32%] Building C object CMakeFiles/awesome.dir/spawn.c.o In file included from /var/tmp/portage/x11-wm/awesome-3.4.11/work/awesome-3.4.11/spawn.c:27:0: /usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gspawn.h:28:0, [/snip]
Created attachment 297309 [details, diff] awesome-fix-glib-include.patch
Build actually fails with >=glib-2.31. My bad. But patch still applies and is backwards compatible.
*** Bug 412797 has been marked as a duplicate of this bug. ***
*** Bug 413189 has been marked as a duplicate of this bug. ***
I can confirm that bug. I didn't tried out that patch (yet), but it would be nice if we could fix that problem :)
patch works, fix pushed :) thanks!