After emerging cairo-1.5.14 : # emerge cairomm [...] x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=nocona -O2 -pipe -MT context.lo -MD -MP -MF .deps/context.Tpo -c context.cc -fPIC -DPIC -o .libs/context.o In file included from ../cairomm/fontoptions.h:23, from fontoptions.cc:20: ../cairomm/enums.h:195: error: 'CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ' was not declared in this scope make[3]: *** [fontoptions.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=nocona -O2 -pipe -MT fontface.lo -MD -MP -MF .deps/fontface.Tpo -c fontface.cc -fPIC -DPIC -o .libs/fontface.o In file included from ../cairomm/fontface.h:23, from fontface.cc:20: ../cairomm/enums.h:195: error: 'CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ' was not declared in this scope make[3]: *** [fontface.lo] Error 1 In file included from ../cairomm/surface.h:25, from ../cairomm/context.h:25, from context.cc:20: ../cairomm/enums.h:195: error: 'CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ' was not declared in this scope make[3]: *** [context.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-cpp/cairomm-1.4.6/work/cairomm-1.4.6/cairomm' make[2]: *** [all-recursive] Error 1 I also get the same error when building packages that use cairomm (e.g. dev-cpp/libsexymm)
Oh, and this same error is present in dev-cpp/cairomm-1.4.6 (in Gnome overlay), and even cairomm-1.5.0 (most recent version on cairographics page)
Created attachment 147086 [details, diff] cairomm-1.5.0-cairo_font_type_atsui.patch Patch to fix compilation for cairomm-1.5.0, from upstream git.
Created attachment 147088 [details] cairomm-1.5.0.ebuild cairomm-1.5.0 ebuild that uses above patch. Note that since cairo API broke, the patched cairomm-1.5.0 is not compatible with <x11-libs/cairo-1.5.14 Similarly, all existing versions of cairomm in the tree and Gnome overlay should be marked as DEPEND="<x11-libs/cairo-1.5.14" (the cairo devs are claiming they broke the API but did not break the ABI).
*** Bug 214501 has been marked as a duplicate of this bug. ***
*** Bug 214567 has been marked as a duplicate of this bug. ***
In CVS. Thanks for the heads up, Alex.
*** Bug 214756 has been marked as a duplicate of this bug. ***
*** Bug 215243 has been marked as a duplicate of this bug. ***