[HEAD] mozilla.spec i cairo.spec

Tomasz Wittner twittner w o2.pl
Śro, 1 Cze 2005, 20:30:34 CEST


budowanie mozilla-1.7.8-2 z cairo-devel-0.5.0-1 kończy się tak:

/usr/include/cairo/cairo.h: In member function `nsresult
   nsSVGCairoCanvas::Init(nsIRenderingContext*, nsIPresContext*, const nsRect&)
   ':
/usr/include/cairo/cairo.h:203: error: too few arguments to function `cairo_t*
   cairo_create(cairo_surface_t*)'
nsSVGCairoCanvas.cpp:119: error: at this point in file
nsSVGCairoCanvas.cpp:122: error: `
   cairo_set_target_drawable_DEPRECATED_BY_cairo_xlib_surface_create'
   undeclared (first use this function)
nsSVGCairoCanvas.cpp:122: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
nsSVGCairoCanvas.cpp: In member function `virtual nsresult
   nsSVGCairoCanvas::Clear(unsigned int)':
nsSVGCairoCanvas.cpp:208: error: `
   cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb' undeclared (first use
   this function)
make[6]: *** [nsSVGCairoCanvas.o] Error 1

Teraz jak obostrzyć BR? - tak:
+%{?with_svg:BuildRequires:     cairo-devel < 0.5.0}
czy w jakiś inny sposób (BuildConflicts) ?

-- 
Tomasz Wittner



Więcej informacji o liście dyskusyjnej pld-devel-pl