From 0edaea31b34ca0bedca5a2ecff0ead510644ffe1 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 23 Dec 2006 09:32:53 +0000 Subject: cairo: update to 1.3.10 From the release notes: This is the fifth development snapshot in the 1.3 series. It comes 9 days after the 1.3.8 snapshot, and still well within our goal of having a new snapshot every week, (though don't expect one next week---we'll all be too stuffed with sugar plums). Speaking of sugar plums, there's a sweet treat waiting in this cairo snapshot---greatly improved performance for stroking rectilinear shapes, like the ever common rectangle: image-rgb box-outline-stroke-100 0.18 -> 0.01: 25.58x speedup In past releases of cairo, some people had noticed that using cairo_stroke to draw rectilinear shapes could be awfully slow. Many people had worked around this by using cairo_fill with a more complex path and gotten a 5-15x performance benefit from that. If you're one of those people, please rip that workaround out, as now the more natural use of cairo_stroke should be 1.2-2x faster than the unnatural use of cairo_fill. And if you hadn't ever implemented that workaround, then you just might get to see your stroked rectangles now get drawn 5-25x faster. --- packages/cairo/cairo.inc | 15 +++++++++++++++ packages/cairo/cairo_1.3.10.bb | 7 +++++++ packages/cairo/cairo_1.3.8.bb | 20 -------------------- 3 files changed, 22 insertions(+), 20 deletions(-) create mode 100644 packages/cairo/cairo.inc create mode 100644 packages/cairo/cairo_1.3.10.bb delete mode 100644 packages/cairo/cairo_1.3.8.bb (limited to 'packages/cairo') diff --git a/packages/cairo/cairo.inc b/packages/cairo/cairo.inc new file mode 100644 index 0000000000..e405257dfb --- /dev/null +++ b/packages/cairo/cairo.inc @@ -0,0 +1,15 @@ +SECTION = "libs" +PRIORITY = "optional" +DEPENDS = "virtual/libx11 libsm libpng fontconfig libxrender" +DESCRIPTION = "Cairo graphics library" +LICENSE = "MPL LGPL" + +#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points +require cairo-fpu.inc +EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}" + +inherit autotools pkgconfig + +do_stage () { + autotools_stage_all +} diff --git a/packages/cairo/cairo_1.3.10.bb b/packages/cairo/cairo_1.3.10.bb new file mode 100644 index 0000000000..883884d15f --- /dev/null +++ b/packages/cairo/cairo_1.3.10.bb @@ -0,0 +1,7 @@ +#This is a development snapshot, so lets hint OE to use the releases +DEFAULT_PREFERENCE = "-1" + +require cairo.inc + +SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz" + diff --git a/packages/cairo/cairo_1.3.8.bb b/packages/cairo/cairo_1.3.8.bb deleted file mode 100644 index d9454fadcd..0000000000 --- a/packages/cairo/cairo_1.3.8.bb +++ /dev/null @@ -1,20 +0,0 @@ -#This is a development snapshot, so lets hint OE to use the releases -DEFAULT_PREFERENCE = "-1" - -SECTION = "libs" -PRIORITY = "optional" -DEPENDS = "virtual/libx11 libsm libpng fontconfig libxrender" -DESCRIPTION = "Cairo graphics library" -LICENSE = "MPL LGPL" - -SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz" - -#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points -require cairo-fpu.inc -EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)}" - -inherit autotools pkgconfig - -do_stage () { - autotools_stage_all -} -- cgit v1.2.3