osx: cleanup cairomm details

This commit is contained in:
Dane Springmeyer 2011-08-04 22:36:18 +00:00
parent 8f1d434e0e
commit 518444a627

View file

@ -284,33 +284,3 @@ export CXXFLAGS="-I$PREFIX/include "$CFLAGS
--disable-dependency-tracking --prefix=$PREFIX --disable-dependency-tracking --prefix=$PREFIX
make -j4 make -j4
make install make install
# cairo built without fontconfig we get compiling cairomm:
In file included from context.cc:25:
In file included from ../cairomm/context.h:24:
In file included from ../cairomm/surface.h:37:
../cairomm/fontoptions.h:146:19: error: unknown type name 'FcPattern'
void substitute(FcPattern* pattern);
^
In file included from context.cc:25:
In file included from ../cairomm/context.h:25:
../cairomm/fontface.h:474:36: error: unknown type name 'FcPattern'
static RefPtr<FtFontFace> create(FcPattern* pattern);
^
../cairomm/fontface.h:478:23: error: expected ')'
FtFontFace(FcPattern* pattern);
^
../cairomm/fontface.h:478:13: note: to match this '('
FtFontFace(FcPattern* pattern);
^
# cairo with fc cairomm builds fine but linking mapnik:
Undefined symbols:
"_cairo_ft_font_options_substitute", referenced from:
__ZN5Cairo11FontOptions10substituteEP10_FcPattern in libcairomm-1.0.a(fontoptions.o)
"_cairo_ft_font_face_create_for_pattern", referenced from:
__ZN5Cairo10FtFontFace6createEP10_FcPattern in libcairomm-1.0.a(fontface.o)
__ZN5Cairo10FtFontFaceC1EP10_FcPattern in libcairomm-1.0.a(fontface.o)
__ZN5Cairo10FtFontFaceC2EP10_FcPattern in libcairomm-1.0.a(fontface.o)
ld: symbol(s) not found