diff --git a/.cairo.metadata b/.cairo.metadata new file mode 100644 index 0000000..139a3b1 --- /dev/null +++ b/.cairo.metadata @@ -0,0 +1 @@ +68712ae1039b114347be3b7200bc1c901d47a636 SOURCES/cairo-1.17.4.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4f0923b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cairo-1.17.4.tar.xz diff --git a/SOURCES/0001-Set-default-LCD-filter-to-FreeType-s-default.patch b/SOURCES/0001-Set-default-LCD-filter-to-FreeType-s-default.patch new file mode 100644 index 0000000..854eb0e --- /dev/null +++ b/SOURCES/0001-Set-default-LCD-filter-to-FreeType-s-default.patch @@ -0,0 +1,56 @@ +From 12a5b7384f35d9a3f4c6b151fac4857444db3d6a Mon Sep 17 00:00:00 2001 +From: Nikolaus Waxweiler +Date: Sat, 10 Nov 2018 16:44:23 +0000 +Subject: [PATCH] Set default LCD filter to FreeType's default + +--- + src/cairo-ft-font.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c +index 325dd61b4..3c47dc12e 100644 +--- a/src/cairo-ft-font.c ++++ b/src/cairo-ft-font.c +@@ -1404,7 +1404,7 @@ _render_glyph_outline (FT_Face face, + cairo_image_surface_t **surface) + { + int rgba = FC_RGBA_UNKNOWN; +- int lcd_filter = FT_LCD_FILTER_LEGACY; ++ int lcd_filter = FT_LCD_FILTER_DEFAULT; + FT_GlyphSlot glyphslot = face->glyph; + FT_Outline *outline = &glyphslot->outline; + FT_Bitmap bitmap; +@@ -1439,13 +1439,13 @@ _render_glyph_outline (FT_Face face, + case CAIRO_LCD_FILTER_NONE: + lcd_filter = FT_LCD_FILTER_NONE; + break; +- case CAIRO_LCD_FILTER_DEFAULT: + case CAIRO_LCD_FILTER_INTRA_PIXEL: + lcd_filter = FT_LCD_FILTER_LEGACY; + break; + case CAIRO_LCD_FILTER_FIR3: + lcd_filter = FT_LCD_FILTER_LIGHT; + break; ++ case CAIRO_LCD_FILTER_DEFAULT: + case CAIRO_LCD_FILTER_FIR5: + lcd_filter = FT_LCD_FILTER_DEFAULT; + break; +@@ -3416,7 +3416,6 @@ _cairo_ft_font_options_substitute (const cairo_font_options_t *options, + case CAIRO_LCD_FILTER_NONE: + lcd_filter = FT_LCD_FILTER_NONE; + break; +- case CAIRO_LCD_FILTER_DEFAULT: + case CAIRO_LCD_FILTER_INTRA_PIXEL: + lcd_filter = FT_LCD_FILTER_LEGACY; + break; +@@ -3424,6 +3423,7 @@ _cairo_ft_font_options_substitute (const cairo_font_options_t *options, + lcd_filter = FT_LCD_FILTER_LIGHT; + break; + default: ++ case CAIRO_LCD_FILTER_DEFAULT: + case CAIRO_LCD_FILTER_FIR5: + lcd_filter = FT_LCD_FILTER_DEFAULT; + break; +-- +2.19.1 + diff --git a/SOURCES/125.patch b/SOURCES/125.patch new file mode 100644 index 0000000..d5cfe2f --- /dev/null +++ b/SOURCES/125.patch @@ -0,0 +1,58 @@ +From a3b69a0215fdface0fd5730872a4b3242d979dca Mon Sep 17 00:00:00 2001 +From: Uli Schlachter +Date: Tue, 9 Feb 2021 16:54:35 +0100 +Subject: [PATCH] pdf font subset: Generate valid font names + +A hash value is encoded in base 26 with upper case letters for font +names. + +Commit ed984146 replaced "numerator = abs (hash);" with "numerator = +hash;" in this code, because hash has type uint32_t and the compiler +warned about taking the absolute value of an unsigned value. However, +abs() is actually defined to take an int argument. Thus, there was some +implicit cast. + +Since numerator has type long, i.e. is signed, it is now actually +possible to get an overflow in the implicit cast and then have a +negative number. The following code is not prepared for this and +produces non-letters when encoding the hash. + +This commit fixes that problem by not using ldiv() and instead using / +and % to directly compute the needed values. This gets rid of the need +to convert to type long. Since now everything works with uint32_t, there +is no more chance for negative numbers messing things up. + +Fixes: https://gitlab.freedesktop.org/cairo/cairo/-/issues/449 +Signed-off-by: Uli Schlachter +--- + src/cairo-pdf-surface.c | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c +index 6da460878..52c49b6d2 100644 +--- a/src/cairo-pdf-surface.c ++++ b/src/cairo-pdf-surface.c +@@ -5310,18 +5310,14 @@ _create_font_subset_tag (cairo_scaled_font_subset_t *font_subset, + { + uint32_t hash; + int i; +- long numerator; +- ldiv_t d; + + hash = _hash_data ((unsigned char *) font_name, strlen(font_name), 0); + hash = _hash_data ((unsigned char *) (font_subset->glyphs), + font_subset->num_glyphs * sizeof(unsigned long), hash); + +- numerator = hash; + for (i = 0; i < 6; i++) { +- d = ldiv (numerator, 26); +- numerator = d.quot; +- tag[i] = 'A' + d.rem; ++ tag[i] = 'A' + (hash % 26); ++ hash /= 26; + } + tag[i] = 0; + } +-- +GitLab + diff --git a/SOURCES/cairo-1.15.12-CVE-2020-35492.patch b/SOURCES/cairo-1.15.12-CVE-2020-35492.patch new file mode 100644 index 0000000..142eb59 --- /dev/null +++ b/SOURCES/cairo-1.15.12-CVE-2020-35492.patch @@ -0,0 +1,199 @@ +From 40e9d1a0a69f01b55b4fa131bc253c7c09a0ae91 Mon Sep 17 00:00:00 2001 +From: Heiko Lewin +Date: Tue, 15 Dec 2020 16:48:19 +0100 +Subject: [PATCH 1/2] Fix mask usage in image-compositor + +--- + src/cairo-image-compositor.c | 8 ++-- + test/Makefile.sources | 1 + + test/bug-image-compositor.c | 39 ++++++++++++++++++++ + test/reference/bug-image-compositor.ref.png | Bin 0 -> 185 bytes + 4 files changed, 44 insertions(+), 4 deletions(-) + create mode 100644 test/bug-image-compositor.c + create mode 100644 test/reference/bug-image-compositor.ref.png + +diff --git a/src/cairo-image-compositor.c b/src/cairo-image-compositor.c +index 122a8ca42..b20e2ec78 100644 +--- a/src/cairo-image-compositor.c ++++ b/src/cairo-image-compositor.c +@@ -2601,14 +2601,14 @@ _inplace_src_spans (void *abstract_renderer, int y, int h, + unsigned num_spans) + { + cairo_image_span_renderer_t *r = abstract_renderer; +- uint8_t *m; ++ uint8_t *m, *base = (uint8_t*)pixman_image_get_data(r->mask); + int x0; + + if (num_spans == 0) + return CAIRO_STATUS_SUCCESS; + + x0 = spans[0].x; +- m = r->_buf; ++ m = base; + do { + int len = spans[1].x - spans[0].x; + if (len >= r->u.composite.run_length && spans[0].coverage == 0xff) { +@@ -2646,7 +2646,7 @@ _inplace_src_spans (void *abstract_renderer, int y, int h, + spans[0].x, y, + spans[1].x - spans[0].x, h); + +- m = r->_buf; ++ m = base; + x0 = spans[1].x; + } else if (spans[0].coverage == 0x0) { + if (spans[0].x != x0) { +@@ -2675,7 +2675,7 @@ _inplace_src_spans (void *abstract_renderer, int y, int h, + #endif + } + +- m = r->_buf; ++ m = base; + x0 = spans[1].x; + } else { + *m++ = spans[0].coverage; +diff --git a/test/Makefile.sources b/test/Makefile.sources +index c47131faf..86fd53d15 100644 +--- a/test/Makefile.sources ++++ b/test/Makefile.sources +@@ -33,6 +33,7 @@ test_sources = \ + bug-source-cu.c \ + bug-extents.c \ + bug-seams.c \ ++ bug-image-compositor.c \ + caps.c \ + checkerboard.c \ + caps-joins.c \ +diff --git a/test/bug-image-compositor.c b/test/bug-image-compositor.c +new file mode 100644 +index 000000000..fc4fd370b +--- /dev/null ++++ b/test/bug-image-compositor.c +@@ -0,0 +1,39 @@ ++#include "cairo-test.h" ++ ++static cairo_test_status_t ++draw (cairo_t *cr, int width, int height) ++{ ++ cairo_set_source_rgb (cr, 0., 0., 0.); ++ cairo_paint (cr); ++ ++ cairo_set_source_rgb (cr, 1., 1., 1.); ++ cairo_set_line_width (cr, 1.); ++ ++ cairo_pattern_t *p = cairo_pattern_create_linear (0, 0, width, height); ++ cairo_pattern_add_color_stop_rgb (p, 0, 0.99, 1, 1); ++ cairo_pattern_add_color_stop_rgb (p, 1, 1, 1, 1); ++ cairo_set_source (cr, p); ++ ++ cairo_move_to (cr, 0.5, -1); ++ for (int i = 0; i < width; i+=3) { ++ cairo_rel_line_to (cr, 2, 2); ++ cairo_rel_line_to (cr, 1, -2); ++ } ++ ++ cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE); ++ cairo_stroke (cr); ++ ++ cairo_pattern_destroy(p); ++ ++ return CAIRO_TEST_SUCCESS; ++} ++ ++ ++CAIRO_TEST (bug_image_compositor, ++ "Crash in image-compositor", ++ "stroke, stress", /* keywords */ ++ NULL, /* requirements */ ++ 10000, 1, ++ NULL, draw) ++ ++ +diff --git a/test/reference/bug-image-compositor.ref.png b/test/reference/bug-image-compositor.ref.png +new file mode 100644 +index 0000000000000000000000000000000000000000..939f659d2c8620e9927a3a79f5e96fb639c418be +GIT binary patch +literal 185 +zcmeAS@N?(olHy`uVBq!ia0y~yP!|BQ89A7Mi(P$bXO +z#WAE}&f8-f1se=_SPWL_NSx=C)BnJ0eBr6Z%1egFEOv(*t#+|{>X&v^RS7GQe(vez +lf)$wgmAfM(p2Sx&&i!{gWy)N&qd=P(JYD@<);T3K0RWsgHuC@g + +literal 0 +HcmV?d00001 + +-- +2.34.1 + + +From afc23bfdc3c2597b9fe0ee34b9b4bfa47fa03698 Mon Sep 17 00:00:00 2001 +From: Heiko Lewin +Date: Tue, 15 Dec 2020 17:14:18 +0100 +Subject: [PATCH 2/2] Minor cleanups + +--- + test/bug-image-compositor.c | 33 ++++++++++++++++++++++++++++++--- + 1 file changed, 30 insertions(+), 3 deletions(-) + +diff --git a/test/bug-image-compositor.c b/test/bug-image-compositor.c +index fc4fd370b..304ea089c 100644 +--- a/test/bug-image-compositor.c ++++ b/test/bug-image-compositor.c +@@ -1,5 +1,34 @@ ++/* ++ * Copyright © 2020 Uli Schlachter, Heiko Lewin ++ * ++ * Permission is hereby granted, free of charge, to any person ++ * obtaining a copy of this software and associated documentation ++ * files (the "Software"), to deal in the Software without ++ * restriction, including without limitation the rights to use, copy, ++ * modify, merge, publish, distribute, sublicense, and/or sell copies ++ * of the Software, and to permit persons to whom the Software is ++ * furnished to do so, subject to the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be ++ * included in all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ++ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS ++ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ++ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN ++ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ++ * SOFTWARE. ++ * ++ * Author: Uli Schlachter ++ * Author: Heiko Lewin ++ */ + #include "cairo-test.h" + ++ ++/* This test reproduces an overflow of a mask-buffer in cairo-image-compositor.c */ ++ + static cairo_test_status_t + draw (cairo_t *cr, int width, int height) + { +@@ -13,6 +42,7 @@ draw (cairo_t *cr, int width, int height) + cairo_pattern_add_color_stop_rgb (p, 0, 0.99, 1, 1); + cairo_pattern_add_color_stop_rgb (p, 1, 1, 1, 1); + cairo_set_source (cr, p); ++ cairo_pattern_destroy(p); + + cairo_move_to (cr, 0.5, -1); + for (int i = 0; i < width; i+=3) { +@@ -23,8 +53,6 @@ draw (cairo_t *cr, int width, int height) + cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE); + cairo_stroke (cr); + +- cairo_pattern_destroy(p); +- + return CAIRO_TEST_SUCCESS; + } + +@@ -36,4 +64,3 @@ CAIRO_TEST (bug_image_compositor, + 10000, 1, + NULL, draw) + +- +-- +2.34.1 + diff --git a/SOURCES/cairo-multilib.patch b/SOURCES/cairo-multilib.patch new file mode 100644 index 0000000..16fd96b --- /dev/null +++ b/SOURCES/cairo-multilib.patch @@ -0,0 +1,34 @@ +diff -up cairo-1.12.14/util/cairo-trace/cairo-trace.in.multilib cairo-1.12.14/util/cairo-trace/cairo-trace.in +--- cairo-1.12.14/util/cairo-trace/cairo-trace.in.multilib 2013-07-18 16:03:38.044832193 -0400 ++++ cairo-1.12.14/util/cairo-trace/cairo-trace.in 2013-07-18 16:03:43.981882777 -0400 +@@ -2,6 +2,12 @@ + + prefix=@prefix@ + exec_prefix=@exec_prefix@ ++case `uname -m` in ++ x86_64|s390x|ppc64) libdir=@prefix@/lib64 ++ ;; ++ *) libdir=@prefix@/lib ++ ;; ++esac + + nofile= + flush= +@@ -90,7 +96,7 @@ export CAIRO_TRACE_PROG_NAME + + if test "x$CAIRO_TRACE_SO" = "x"; then + CAIRO_TRACE_SO="" +- for lib in @libdir@/cairo/libcairo-trace.@SHLIB_EXT@ @libdir@/cairo/libcairo-trace.@SHLIB_EXT@* @libdir@/cairo/libcairo-trace.*.@SHLIB_EXT@ ; do ++ for lib in $libdir/cairo/libcairo-trace.@SHLIB_EXT@ $libdir/cairo/libcairo-trace.@SHLIB_EXT@* $libdir/cairo/libcairo-trace.*.@SHLIB_EXT@ ; do + if test -h "$lib" -o -f "$lib"; then + CAIRO_TRACE_SO="$lib" + break +@@ -98,7 +104,7 @@ if test "x$CAIRO_TRACE_SO" = "x"; then + done + fi + if test "x$CAIRO_TRACE_SO" = "x"; then +- echo "Could not find the cairo-trace shared library in @libdir@/cairo/." >&2 ++ echo "Could not find the cairo-trace shared library in $libdir/cairo/." >&2 + echo "Set the CAIRO_TRACE_SO environment variable to the full path of the library." >&2 + exit 15 + fi diff --git a/SPECS/cairo.spec b/SPECS/cairo.spec new file mode 100644 index 0000000..778677e --- /dev/null +++ b/SPECS/cairo.spec @@ -0,0 +1,746 @@ +%define pixman_version 0.30.0 +%define freetype_version 2.1.9 +%define fontconfig_version 2.2.95 + +%if 0%{?fedora} > 26 || 0%{?rhel} > 7 +%global cairogl --disable-gl +%else +%global cairogl --enable-gl +%global with_gl 1 +%endif + +Name: cairo +Version: 1.17.4 +Release: 7%{?dist} +Summary: A 2D graphics library + +License: LGPLv2 or MPLv1.1 +URL: http://cairographics.org +Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.xz + +Patch3: cairo-multilib.patch + +# https://gitlab.freedesktop.org/cairo/cairo/merge_requests/1 +Patch4: 0001-Set-default-LCD-filter-to-FreeType-s-default.patch + +# Fix generating PDF font names +# https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/125 +Patch5: 125.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1911486 +Patch6: cairo-1.15.12-CVE-2020-35492.patch + +# For Patch6. +BuildRequires: autoconf automake gettext-devel libtool + +BuildRequires: gcc +BuildRequires: pkgconfig +BuildRequires: libXrender-devel +BuildRequires: libX11-devel +BuildRequires: libpng-devel +BuildRequires: libxml2-devel +BuildRequires: pixman-devel >= %{pixman_version} +BuildRequires: freetype-devel >= %{freetype_version} +BuildRequires: fontconfig-devel >= %{fontconfig_version} +BuildRequires: glib2-devel +BuildRequires: librsvg2-devel +%if 0%{?with_gl} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libEGL-devel +%endif +BuildRequires: make +BuildRequires: git-core + +%description +Cairo is a 2D graphics library designed to provide high-quality display +and print output. Currently supported output targets include the X Window +System, in-memory image buffers, and image files (PDF, PostScript, and SVG). + +Cairo is designed to produce consistent output on all output media while +taking advantage of display hardware acceleration when available. + +%package devel +Summary: Development files for cairo +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Cairo is a 2D graphics library designed to provide high-quality display +and print output. + +This package contains libraries, header files and developer documentation +needed for developing software which uses the cairo graphics library. + +%package gobject +Summary: GObject bindings for cairo +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description gobject +Cairo is a 2D graphics library designed to provide high-quality display +and print output. + +This package contains functionality to make cairo graphics library +integrate well with the GObject object system used by GNOME. + +%package gobject-devel +Summary: Development files for cairo-gobject +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Requires: %{name}-gobject%{?_isa} = %{version}-%{release} + +%description gobject-devel +Cairo is a 2D graphics library designed to provide high-quality display +and print output. + +This package contains libraries, header files and developer documentation +needed for developing software which uses the cairo Gobject library. + +%package tools +Summary: Development tools for cairo + +%description tools +Cairo is a 2D graphics library designed to provide high-quality display +and print output. + +This package contains tools for working with the cairo graphics library. + * cairo-trace: Record cairo library calls for later playback + +%prep +%autosetup -S git + +%build +autoreconf --force --install +%configure --disable-static \ + --enable-xlib \ + --enable-ft \ + --enable-ps \ + --enable-pdf \ + --enable-svg \ + --enable-tee \ + --enable-gobject \ + %{cairogl} \ + --disable-gtk-doc +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make V=1 %{?_smp_mflags} + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -delete + +%files +%license COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 +%doc AUTHORS BIBLIOGRAPHY BUGS NEWS README +%{_libdir}/libcairo.so.2* +%{_libdir}/libcairo-script-interpreter.so.2* + +%files devel +%doc ChangeLog PORTING_GUIDE +%dir %{_includedir}/cairo/ +%{_includedir}/cairo/cairo-deprecated.h +%{_includedir}/cairo/cairo-features.h +%{_includedir}/cairo/cairo-ft.h +%{_includedir}/cairo/cairo.h +%{_includedir}/cairo/cairo-pdf.h +%{_includedir}/cairo/cairo-ps.h +%{_includedir}/cairo/cairo-script-interpreter.h +%{_includedir}/cairo/cairo-svg.h +%{_includedir}/cairo/cairo-tee.h +%{_includedir}/cairo/cairo-version.h +%{_includedir}/cairo/cairo-xlib-xrender.h +%{_includedir}/cairo/cairo-xlib.h +%{_includedir}/cairo/cairo-script.h +%{_includedir}/cairo/cairo-xcb.h +%{_libdir}/libcairo.so +%{_libdir}/libcairo-script-interpreter.so +%{_libdir}/pkgconfig/cairo-fc.pc +%{_libdir}/pkgconfig/cairo-ft.pc +%{_libdir}/pkgconfig/cairo.pc +%{_libdir}/pkgconfig/cairo-pdf.pc +%{_libdir}/pkgconfig/cairo-png.pc +%{_libdir}/pkgconfig/cairo-ps.pc +%{_libdir}/pkgconfig/cairo-svg.pc +%{_libdir}/pkgconfig/cairo-tee.pc +%{_libdir}/pkgconfig/cairo-xlib.pc +%{_libdir}/pkgconfig/cairo-xlib-xrender.pc +%{_libdir}/pkgconfig/cairo-script.pc +%{_libdir}/pkgconfig/cairo-xcb-shm.pc +%{_libdir}/pkgconfig/cairo-xcb.pc +%{_datadir}/gtk-doc/html/cairo +%if 0%{?with_gl} +%{_includedir}/cairo/cairo-gl.h +%{_libdir}/pkgconfig/cairo-egl.pc +%{_libdir}/pkgconfig/cairo-gl.pc +%{_libdir}/pkgconfig/cairo-glx.pc +%endif + +%files gobject +%{_libdir}/libcairo-gobject.so.2* + +%files gobject-devel +%{_includedir}/cairo/cairo-gobject.h +%{_libdir}/libcairo-gobject.so +%{_libdir}/pkgconfig/cairo-gobject.pc + +%files tools +%{_bindir}/cairo-trace +%{_libdir}/cairo/ + +%changelog +* Mon Feb 21 2022 Tomas Popela - 1.17.4-7 +- Add git as BR (#1911486) + +* Mon Feb 21 2022 David King - 1.17.4-6 +- Fix CVE-2020-35492 (#1911486) + +* Mon Aug 09 2021 Mohan Boddu - 1.17.4-5 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Thu Apr 15 2021 Mohan Boddu - 1.17.4-4 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Mar 16 2021 Kalev Lember - 1.17.4-3 +- Backport an upstream patch to fix generating PDF font names (#1939399) + +* Tue Jan 26 2021 Fedora Release Engineering - 1.17.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Dec 11 2020 Kalev Lember - 1.17.4-1 +- Update to 1.17.4 +- Tighten soname globs + +* Mon Jul 27 2020 Fedora Release Engineering - 1.16.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Apr 24 2020 Marek Kasik - 1.16.0-8 +- Allow empty array of operands for certain operators in CFF fonts +- Resolves: #1817958 + +* Tue Jan 28 2020 Fedora Release Engineering - 1.16.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jul 24 2019 Fedora Release Engineering - 1.16.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jun 03 2019 Kalev Lember - 1.16.0-5 +- Fix a thinko in composite_color_glyphs + +* Thu Jan 31 2019 Fedora Release Engineering - 1.16.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Dec 7 2018 Marek Kasik - 1.16.0-3 +- Use FT_Done_MM_Var instead of free when available in +- cairo_ft_apply_variations + +* Fri Dec 7 2018 Marek Kasik - 1.16.0-2 +- Set default LCD filter to FreeType's default +- Resolves: #1645763 + +* Mon Oct 22 2018 Kalev Lember - 1.16.0-1 +- Update to 1.16.0 + +* Sat Sep 22 2018 Kalev Lember - 1.15.14-1 +- Update to 1.15.14 +- Drop ldconfig scriptlets + +* Thu Jul 12 2018 Fedora Release Engineering - 1.15.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Apr 21 2018 Kalev Lember - 1.15.12-2 +- Fix assertion failure in the freetype backend (#1567633) + +* Thu Apr 12 2018 Kalev Lember - 1.15.12-1 +- Update to 1.15.12 + +* Mon Mar 19 2018 Adam Jackson - 1.15.10-5 +- Update the description to reflect dropping the OpenGL backend. + +* Thu Mar 15 2018 Adam Jackson - 1.15.10-4 +- Drop cairo-gl in RHEL too. + +* Wed Feb 07 2018 Fedora Release Engineering - 1.15.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 1.15.10-2 +- Switch to %%ldconfig_scriptlets + +* Tue Dec 12 2017 Kalev Lember - 1.15.10-1 +- Update to 1.15.10 + +* Thu Aug 31 2017 Kalev Lember - 1.15.8-1 +- Update to 1.15.8 + +* Wed Aug 02 2017 Fedora Release Engineering - 1.14.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.14.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jul 13 2017 Adam Jackson - 1.14.10-2 +- Disable cairo-gl in F27+ + +* Fri Jun 16 2017 Kalev Lember - 1.14.10-1 +- Update to 1.14.10 + +* Wed Apr 19 2017 Kalev Lember - 1.14.8-3 +- Remove all libtool .la files from cairo private directories as well + +* Fri Feb 10 2017 Fedora Release Engineering - 1.14.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Dec 08 2016 Kalev Lember - 1.14.8-1 +- Update to 1.14.8 + +* Mon Jul 25 2016 Kalev Lember - 1.14.6-2 +- xlib: Fix double free in _get_image_surface() (#1331021) +- Minor spec file cleanups + +* Mon Apr 04 2016 Kalev Lember - 1.14.6-1 +- Update to 1.14.6 + +* Wed Feb 03 2016 Fedora Release Engineering - 1.14.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Oct 31 2015 Kalev Lember - 1.14.4-1 +- Update to 1.14.4 +- Use license macro for COPYING* + +* Wed Jun 17 2015 Fedora Release Engineering - 1.14.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Mar 11 2015 Kalev Lember - 1.14.2-1 +- Update to 1.14.2 + +* Sat Feb 21 2015 Till Maas - 1.14.0-3 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Thu Jan 29 2015 Kevin Fenzi 1.14.0-2 +- Add patch to fix crashes in dot. Fixes bug #1183242 + +* Sun Nov 23 2014 Kalev Lember - 1.14.0-1 +- Update to 1.14.0 + +* Tue Oct 14 2014 Kalev Lember - 1.13.1-0.5.git337ab1f +- Minor spec file cleanup: +- Drop manual -devel subpackage deps +- Tighten deps with the _isa macro + +* Fri Aug 15 2014 Fedora Release Engineering - 1.13.1-0.4.git337ab1f +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jul 11 2014 Peter Robinson 1.13.1-0.3.git337ab1f +- Enable make check but don't (currently) fail the build on failure + +* Fri Jun 6 2014 Peter Robinson 1.13.1-0.2.git337ab1f +- Compile with -flto -ffat-lto-objects CFLAGS to fix FTBFSF with gcc 4.9 + +* Tue Sep 17 2013 Kalev Lember - 1.13.1-0.1.git337ab1f +- Update to 1.13.1 git snapshot for device scale support + +* Wed Aug 28 2013 Kalev Lember - 1.12.16-1 +- Update to 1.12.16 + +* Sat Aug 03 2013 Fedora Release Engineering - 1.12.14-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jul 18 2013 Matthias Clasen 1.12.14-3 +- Fix a multilib issue in /usr/bin/cairo-trace + +* Sat May 25 2013 Kalev Lember 1.12.14-2 +- Backport an upstream patch for eog get_buddy() crashes (#912030) + +* Tue Feb 12 2013 Adam Jackson 1.12.14-1 +- cairo 1.12.14 + +* Mon Jan 28 2013 Adam Jackson 1.12.10-2 +- cairo-1.12.10-xlib-regression-fix.patch: Fix a regression caused by + mit-shm surfaces. + +* Wed Jan 16 2013 Adam Jackson 1.12.10-1 +- cairo 1.12.10 +- 0001-xlib-shm-Fix-memory-leak.patch: Drop, merged. + +* Wed Jan 2 2013 Matthias Clasen - 1.12.8-3 +- Make inter-subpackage deps explicit + +* Tue Dec 18 2012 Adam Jackson 1.12.8-2 +- 0001-xlib-shm-Fix-memory-leak.patch: Fix a memory leak with shm image + surfaces. (#882976) + +* Mon Nov 5 2012 Matthias Clasen - 1.12.8-1 +- Update to 1.12.8, including a fix for screenshots in fallback mode + +* Wed Oct 31 2012 Adam Jackson 1.12.6-2 +- *-x{c,li}b-Don-t-crash-when-swapping-a-0-sized-glyph.patch: Fix some + crashes when client and server endian don't match. + +* Thu Oct 25 2012 Kalev Lember - 1.12.6-1 +- Update to 1.12.6 + +* Fri Oct 12 2012 Matthias Clasen - 1.12.4-1 +- 1.12.4 +- drop obsolete patch + +* Wed Sep 19 2012 Thorsten Leemhuis - 1.12.2-4.1 +- rebuild for f18 + +* Tue Sep 18 2012 Thorsten Leemhuis - 1.12.2-4 +- add patch from master to fix issues with weston + +* Wed Jul 18 2012 Fedora Release Engineering - 1.12.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jul 14 2012 Ville Skyttä - 1.12.2-2 +- Add ldconfig scriptlet calls to -gobject. +- Fix rpmlint's spaces vs tabs warnings. + +* Fri May 18 2012 Matthias Clasen - 1.12.2-1 +- Update to 1.12.2 + +* Tue Apr 24 2012 Richard Hughes - 1.12.0-1 +- Update to latest stable release +- Enable the GL backend + +* Thu Mar 15 2012 Benjamin Otte - 1.10.2-7 +- Add patch to make eclipse not crash (#803878) + +* Thu Jan 12 2012 Fedora Release Engineering - 1.10.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 05 2011 Adam Jackson 1.10.2-5 +- Rebuild for new libpng + +* Fri Jul 01 2011 Rex Dieter 1.10.2-4 +- cairo-devel doesn't own /usr/include/cairo (#716611) + +* Tue Feb 08 2011 Fedora Release Engineering - 1.10.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 24 2011 Christopher Aillon - 1.10.2-2 +- Enable tee support + +* Mon Jan 03 2011 Benjamin Otte - 1.10.2-1 +- Update to 1.10.2 + +* Thu Nov 11 2010 Tom "spot" Callaway - 1.10.0-4 +- add missing BuildRequires: librsvg2 for SVG support + +* Wed Sep 29 2010 jkeating - 1.10.0-3 +- Rebuilt for gcc bug 634757 + +* Thu Sep 16 2010 Matthias Clasen - 1.10.0-2 +- Drop the explicit dep on the wrong package from -gobject-devel + +* Tue Sep 07 2010 Benjamin Otte - 1.10.0-1 +- Update to 1.10.0 +- Add cairo-gobject package + +* Mon Jul 26 2010 Benjamin Otte - 1.9.14-1 +- Update to 1.9.14 snapshot + +* Sun Jul 04 2010 Benjamin Otte - 1.9.12-1 +- Update to 1.9.12 snapshot +- Remove now unnecessary patch + +* Sun Jul 04 2010 Benjamin Otte - 1.9.10-3 +- Add patch to force linking with gcc, not g++. (#606523) + +* Sun Jul 04 2010 Benjamin Otte - 1.9.10-2 +- Don't use silent rules, we want verbose output in builders + +* Sun Jun 27 2010 Benjamin Otte - 1.9.10-1 +- Update to 1.9.10 snapshot + +* Thu Jun 17 2010 Benjamin Otte - 1.9.8-1 +- Update to 1.9.8 snapshot + +* Sun Feb 21 2010 Matthias Clasen - 1.8.10-1 +- Update to 1.8.10 + +* Sun Aug 2 2009 Matthias Clasen - 1.8.8-3 +- Move ChangeLog to -devel to save space + +* Fri Jul 24 2009 Fedora Release Engineering - 1.8.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jun 17 2009 Matthias Clasen 1.8.8-1 +- Update to 1.8.8 + +* Wed Apr 08 2009 Adam Jackson 1.8.6-3 +- cairo-1.8.6-repeat-modes.patch: Enable the repeat and pad blend modes in + the xlib backend to make firefox performance slightly less dire. + +* Mon Feb 23 2009 Fedora Release Engineering - 1.8.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jan 7 2009 Matthias Clasen 1.8.6-1 +- Update to 1.8.6 + +* Sun Dec 14 2008 Mamoru Tasaka 1.8.0-3 +- Rebuild for pkgconfig provides + +* Fri Nov 21 2008 Matthias Clasen 1.8.0-2 +- Tweak %%summary and %%documentation + +* Thu Sep 25 2008 Behdad Esfahbod 1.8.0-1 +- Update to 1.8.0 +- Update dep versions + +* Mon Sep 22 2008 Behdad Esfahbod 1.7.6-1 +- Update to 1.7.6 + +* Mon Aug 11 2008 Matthias Clasen 1.7.4-1 +- Update to 1.7.4 + +* Wed May 21 2008 Tom "spot" Callaway 1.6.4-3 +- fix license tag + +* Sun May 4 2008 Matthias Clasen 1.6.4-2 +- Fix source url + +* Fri Apr 11 2008 Carl Worth 1.6.2-1 +- Update to 1.6.2 + +* Thu Apr 10 2008 Carl Worth 1.6.0-1 +- Update to 1.6.0 + +* Tue Apr 8 2008 Carl Worth 1.5.20-1 +- Update to 1.5.20 + +* Sun Apr 6 2008 Carl Worth 1.5.18-1 +- Update to 1.5.18 + +* Thu Apr 3 2008 Matthias Clasen 1.5.16-1 +- Update to 1.5.16 + +* Fri Mar 21 2008 Matthias Clasen 1.5.14-1 +- Update to 1.5.14 + +* Wed Feb 20 2008 Behdad Esfahbod +- Point Source to cairographics.org/snapshots. Change back to /releases + when 1.6.0 is out. + +* Wed Jan 30 2008 Behdad Esfahbod 1.5.8-2 +- Remove TODO and ROADMAP as they were removed from tarball upstream. + +* Wed Jan 30 2008 Behdad Esfahbod 1.5.8-1 +- Update to 1.5.8 + +* Thu Jan 17 2008 Behdad Esfahbod 1.5.6-1 +- Update to 1.5.6 + +* Thu Dec 6 2007 Matthias Clasen - 1.5.4-1 +- Update to 1.5.4 + +* Wed Oct 31 2007 Behdad Esfahbod 1.5.2-1 +- Update to 1.5.2 +- Switch to external pixman. + +* Wed Aug 22 2007 Adam Jackson - 1.4.10-2 +- Rebuild for PPC toolchain bug + +* Wed Jun 27 2007 Carl Worth 1.4.10-1 +- Update to 1.4.10 + +* Sat Jun 9 2007 Behdad Esfahbod 1.4.8-1 +- Update to 1.4.8 + +* Tue May 1 2007 Carl Worth 1.4.6-1 +- Update to 1.4.6 + +* Mon Apr 16 2007 Carl Worth 1.4.4-1 +- Update to 1.4.4 + +* Tue Mar 20 2007 Carl Worth 1.4.2-1 +- Update to 1.4.2 + +* Tue Mar 6 2007 Carl Worth 1.4.0-1 +- Update to 1.4.0 + +* Wed Feb 14 2007 Carl Worth 1.3.14-1 +- Update to 1.3.14 + +* Sat Jan 20 2007 Carl Worth 1.3.12-1 +- Update to 1.3.12 + +* Sat Dec 23 2006 Carl Worth 1.3.10-1 +- Update to 1.3.10 + +* Thu Dec 14 2006 Carl Worth 1.3.8-1 +- Update to 1.3.8 + +* Sat Dec 9 2006 Matthias Clasen 1.3.6-2 +- Small spec file cleanups + +* Wed Dec 6 2006 Matthias Clasen 1.3.6-1 +- Update to 1.3.6 + +* Thu Nov 23 2006 Matthias Clasen 1.3.4-1 +- Update to 1.3.4 + +* Wed Nov 15 2006 Carl Worth 1.3.2-1 +- Update to 1.3.2 + +* Sun Nov 5 2006 Matthias Clasen 1.2.6-1 +- Update to 1.2.6 + +* Sun Aug 20 2006 Behdad Esfahbod 1.2.4-1 +- Update to 1.2.4 +- Drop libXt-devel BuildReq as it shouldn't need it anymore. + +* Wed Aug 9 2006 Behdad Esfahbod 1.2.2-3 +- Remove unnecessary --disable-* arguments to configure, add --enable-* + for those backends we really want to make sure are enabled. + +* Wed Aug 9 2006 Ray Strode - 1.2.2-2 +- add lame libXt-devel BuildReq to get things building again. +- small spec tweaks to follow conventions + +* Wed Aug 9 2006 Behdad Esfahbod 1.2.2-1 +- Update to 1.2.2 + +* Tue Jul 18 2006 Matthias Clasen - 1.2.0-2 +- rebuild + +* Wed Jul 12 2006 Jesse Keating - 1.2.0-1.1 +- rebuild + +* Mon Jul 3 2006 Matthias Clasen 1.2.0-1 +- Update to 1.2.0 + +* Fri Jun 16 2006 Carl Worth 1.1.10-1 +- Update to 1.1.10 (fixes crash on 16-bit X servers like Xvnc) + +* Wed Jun 14 2006 Matthias Clasen 1.1.8-1 +- Update to 1.1.8 + +* Tue May 16 2006 Karsten Hopp 1.1.6-6 +- buildrequire libxml2-devel + +* Fri May 5 2006 Carl Worth - 1.1.6-2 +- Refuse to build pdf2svg to avoid depending on newer poppler + +* Fri May 5 2006 Carl Worth - 1.1.6-1 +- Update to new upstream 1.1.6 + +* Wed May 3 2006 Carl Worth - 1.1.4-2 +- Revert upstream commit that introduced a dependency on a newer + poppler version for the PDF tests. + +* Wed May 3 2006 Carl Worth - 1.1.4-1 +- Update to new upstream 1.1.4 +- Drop both embedded-bitmaps and XRenderAddGlyphs patches as both now + have upstream versions + +* Fri Apr 28 2006 Carl Worth - 1.1.2-2 +- Add suggested patch for XRenderAddGlyphs crash of bug #4705 + https://bugs.freedesktop.org/show_bug.cgi?id=4705 + +* Tue Apr 25 2006 Carl Worth - 1.1.2-1 +- Update to new upstream 1.1.2 +- Port forward the embedded bitmaps patch (now committed upstream to + 1.1.3) +- Drop build-fix and chunk-glyphs patches which now come from upstream + +* Wed Mar 15 2006 Matthias Clasen - 1.0.4-1 +- Update to 1.0.4 +- Drop upstreamed patches + +* Fri Mar 3 2006 Carl Worth - 1.0.2-5 +- add patch to chunk Xlib glyph compositing (bug 182416 and + CVE-20060528) + +* Fri Feb 10 2006 Jesse Keating - 1.0.2-4.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.0.2-4.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Tue Jan 31 2006 Ray Strode 1.0.2-4 +- add patch from Tim Mayberry to support embbedded bitmap + fonts (bug 176910) + +* Tue Jan 3 2006 Jesse Keating 1.0.2-3.2 +- rebuilt again + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Mon Oct 31 2005 Matthias Clasen 1.0.2-3 +- Require libXrender-devel instead of xorg-X11-devel + +* Tue Oct 11 2005 Kristian Høgsberg 1.0.2-2 +- Rebuild against freetype-2.10 to pick up FT_GlyphSlot_Embolden. + +* Thu Oct 6 2005 Kristian Høgsberg - 1.0.2-1 +- Update to cairo-1.0.2. + +* Wed Aug 24 2005 Kristian Høgsberg - 1.0.0-1 +- Update to cairo-1.0.0. +- Drop cairo-0.9.2-cache-eviction-fix.patch and + cairo-0.9.2-dont-hash-null-string.patch. + +* Fri Aug 19 2005 Kristian Høgsberg 0.9.2-3 +- Add cairo-0.9.2-dont-hash-null-string.patch to avoid crash when + creating a cairo font from a FT_Face. + +* Tue Aug 16 2005 Kristian Høgsberg - 0.9.2-2 +- Rebuild against new freetype to get rid of --rpath in cairo.pc. + +* Mon Aug 15 2005 Kristian Høgsberg 0.9.2-1 +- Also obsolete libpixman-debuginfo. +- Add cairo-0.9.2-cache-eviction-fix.patch to fix ft font cache eviction. + +* Sun Aug 14 2005 Kristian Høgsberg 0.9.2-1 +- Update to cairo 0.9.2. Add Obsoletes: for libpixman <= 0.1.6. +- Drop cairo-0.6.0-font-options-to-scaled-font.patch. + +* Tue Aug 2 2005 Kristian Høgsberg - 0.6.0-2 +- Add cairo-0.6.0-font-options-to-scaled-font.patch to make sure font + cache eviction works correctly (#164664). + +* Thu Jul 28 2005 Owen Taylor 0.6.0-1 +- Update to cairo-0.6.0 + +* Mon Jul 18 2005 Kristian Høgsberg 0.5.2-1 +- Update to cairo-0.5.2 and drop bitmap font patch. + +* Wed Jul 6 2005 Kristian Høgsberg - 0.5.1-5 +- Fix typo in use of libpixman_version macro (Thanks to Michael + Schwendt, #162550). + +* Sun Jun 26 2005 Kristian Høgsberg - 0.5.1-4 +- Add more missing devel package requires (libpng-devel and + xorg-x11-devel) (#161688) +- Add Owens patch (cairo-0.5.1-bitmap-fonts.patch) to make bitmap + fonts work with cairo (#161653). + +* Wed Jun 22 2005 Kristian Høgsberg - 0.5.1-3 +- Add requirement on libpixman-devel for devel package. + +* Tue Jun 21 2005 Kristian Høgsberg - 0.5.1-2 +- Package gtk docs as part of devel package. +- Nuke static library. +- Update devel files so /usr/include/cairo is owned by devel package. + +* Mon Jun 20 2005 Kristian Høgsberg - 0.5.1-1 +- Update to cairo 0.5.1. +- Remove gtk-doc files, since --disable-gtk-doc doesn't work. +- Disable gtk-doc and add freetype and fontconfig BuildRequires. + +* Tue Jun 14 2005 Kristian Høgsberg - 0.5.0-2 +- Add libpixman-devel BuildRequires. +- Explicitly disable win32 backend. + +* Tue May 17 2005 Kristian Høgsberg - 0.5.0-1 +- Update to 0.5.0. + +* Sun Jan 23 2005 Kristian Høgsberg - 0.3.0-1 +- Update to 0.3.0, explicitly disable more backends. + +* Tue Nov 16 2004 Kristian Høgsberg - 0.2.0-1 +- Incorporate changes suggested by katzj: Require: ldconfig and run it + in %%post and %%postun, don't pass CFLAGS to make. + +* Mon Aug 9 2004 Kristian Høgsberg - 0.2.0-1 +- Update license, explicitly disable glitz. +- Create package.