today, i tried to compile screem 0.10.0 (not in portage yet) and it wasn't able to find libcroco.h even if it found libcroco present at configure time so, i took a look and found libcroco.h there : /usr/include/libcroco/libcroco/libcroco.h (one libcroco/ too much i'd say) libcroco.pc file says : includedir=${prefix}/include so, headers are at the wrong place !! Reproducible: Always Steps to Reproduce: 1. 2. 3.
guilty file seems to be : src/Makefile.am : crocoincdir=$(includedir)/libcroco/@PACKAGE@ which should be : crocoincdir=$(includedir)/@PACKAGE@ which is equal to crocoincdir=$(includedir)/libcroco this file is to be fixed upstream the patch to file to make it work on gentoo is src/Makefile.in (same line, same change) Makefile.in,104 : crocoincdir = $(includedir)/libcroco/@PACKAGE@
opened bug upstream as it is not gentoo specific : http://bugzilla.gnome.org/show_bug.cgi?id=138542
it is not libcroco's fault (this header directory thing is volontary) i read the wrong line of the .pc file, Cflags is ok i spoke to one of the authors, their headers changed between 0.4.0 and 0.5.0 so, as written there : screem 0.10.0 should require libcroco 0.4.0 and #include <libcroco.h> or require libcroco 0.5.0 and #include <libcroco/libcroco.h>