[cairo] cairomm headers location

Dave Beckett dave at dajobe.org
Sun Sep 14 10:59:58 PDT 2008


I package cairomm for debian and I got this bug:
  cairomm.h at wrong location
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488745

Which does seem to bring up the question:
  Where are the cairomm headers intended to be?

By following the autotools defaults via
 library_includedir=$(includedir)/cairomm-1.0/cairomm
in cairomm/Makefile.am,  all headers go into
  /usr/include/cairomm-1.0/cairomm
and that includes cairomm.h

However the standard pkg-config:
  Cflags: -I${includedir}/cairomm-1.0
makes the include files seem different:

$ pkg-config cairomm-1.0 --cflags
-I/usr/include/cairomm-1.0 -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1

which clearly won't find cairomm.h

Is it intended that you #include <cairomm/cairomm.h>?

If so, I'll close the bug as invalid

Thanks

Dave


More information about the cairo mailing list