Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cairo for openSUSE:Factory checked in at 2022-09-21 14:39:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cairo (Old) and /work/SRC/openSUSE:Factory/.cairo.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cairo" Wed Sep 21 14:39:16 2022 rev:92 rq:1003137 version:1.17.6 Changes: -------- --- /work/SRC/openSUSE:Factory/cairo/cairo.changes 2021-10-29 22:34:40.299692056 +0200 +++ /work/SRC/openSUSE:Factory/.cairo.new.2083/cairo.changes 2022-09-21 14:39:32.545274057 +0200 @@ -1,0 +2,41 @@ +Wed Aug 31 18:23:24 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com> + +- Update to version 1.17.6: + + This snapshot sees the removal of the following backends and + platform support: Qt4, BeOS, OS/2, DirectFB, DRM, Cogl, OpenVG. + + Thanks to all past contributors for their work on them. If you + were using any of these backends then you will need to stick to + Cairo 1.16. + + This snapshot is going to be the **last** release of Cairo with + the Autotools build system. The Meson build has seen many + improvements and it is considerably easier to maintain and + faster to build. +- Changes from version 1.17.4: + + A particularly noteworthy improvement in this release is the + addition of the meson build system as an alternative to + autotools. + + The cogl Cairo backend underwent significant development this + cycle. + + Subpixel positioning support allows improved glyph outlines + with the Freetype font backend. + + For a complete log of changes, please see + https://cairographics.org/releases/ChangeLog.1.17.4 +- Changes from version 1.17.2: + + This snapshot provides the new support for writing floating + point formats as 16 bpc PNGs, with support for RGBA128F and + RGB96F formats. This new feature increases Cairo's pixman + version requirement to 0.36.0. + + Beyond this are a range of bugfixes. + For a complete log of changes, please see + https://cairographics.org/releases/ChangeLog.1.17.2 +- Drop patches fixed upstream: + + cairo-Use-FT_Done_MM_Var-instead-of-free-when-available.patch + + cairo-composite_color_glyphs.patch + + cairo-pdf-add-missing-flush.patch + + cairo-do-not-override-explicitly-requested-grayscale-aa.patch +- Rebase remaining patches with quilt. +- Add 0001-Set-default-LCD-filter-to-FreeType-s-default.patch: Set + default LCD filter to FreeType's default (patch merged upstream). +- Use ldconfig_scriptlets macro for post(un) handling. + +------------------------------------------------------------------- Old: ---- cairo-1.16.0.tar.xz cairo-Use-FT_Done_MM_Var-instead-of-free-when-available.patch cairo-composite_color_glyphs.patch cairo-do-not-override-explicitly-requested-grayscale-aa.patch cairo-pdf-add-missing-flush.patch New: ---- 0001-Set-default-LCD-filter-to-FreeType-s-default.patch cairo-1.17.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cairo.spec ++++++ --- /var/tmp/diff_new_pack.77Asme/_old 2022-09-21 14:39:33.301276153 +0200 +++ /var/tmp/diff_new_pack.77Asme/_new 2022-09-21 14:39:33.305276164 +0200 @@ -1,7 +1,7 @@ # # spec file for package cairo # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,33 +19,29 @@ %define build_xcb_backend 1 %define build_gl_backend 1 Name: cairo -Version: 1.16.0 +Version: 1.17.6 Release: 0 Summary: Vector Graphics Library with Cross-Device Output Support License: LGPL-2.1-or-later OR MPL-1.1 Group: Development/Libraries/C and C++ URL: https://cairographics.org/ -Source0: https://cairographics.org/releases/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/cairo/1.17/%{name}-%{version}.tar.xz Source99: baselibs.conf + # PATCH-FIX-UPSTREAM cairo-xlib-endianness.patch fdo#63461 bnc#882951 fcro...@suse.com -- Fix crash when client and server have different endianness Patch0: cairo-xlib-endianness.patch # PATCH-FIX-UPSTREAM cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff alarr...@suse.com -- Fix segfault in get_bitmap_surface Patch1: cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff -# PATCH-FIX-UPSTREAM cairo-Use-FT_Done_MM_Var-instead-of-free-when-available.patch -- ft: Use FT_Done_MM_Var instead of free when available in cairo_ft_apply_variations -Patch2: cairo-Use-FT_Done_MM_Var-instead-of-free-when-available.patch -# PATCH-FIX-UPSTREAM cairo-composite_color_glyphs.patch -- Fix a thinko in composite_color_glyphs -Patch3: cairo-composite_color_glyphs.patch -# PATCH-FIX-UPSTREAM cairo-pdf-add-missing-flush.patch - fix pdf generation (upstream issue #342) -Patch4: cairo-pdf-add-missing-flush.patch -# PATCH-FIX-UPSTREAM cairo-do-not-override-explicitly-requested-grayscale-aa.patch -- Fix font antialiasing requested by applications -Patch5: cairo-do-not-override-explicitly-requested-grayscale-aa.patch +# PATCH-FIX-UPSTREAM 0001-Set-default-LCD-filter-to-FreeType-s-default.patch -- Set default LCD filter to FreeType's default +Patch2: 0001-Set-default-LCD-filter-to-FreeType-s-default.patch + BuildRequires: gtk-doc BuildRequires: pkgconfig BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(pixman-1) >= 0.30.0 +BuildRequires: pkgconfig(pixman-1) >= 0.36.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xrender) @@ -165,18 +161,15 @@ --enable-xlib \ --enable-gtk-doc \ --disable-static -make %{?_smp_mflags} V=1 +%make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print -%post -n libcairo2 -p /sbin/ldconfig -%postun -n libcairo2 -p /sbin/ldconfig -%post -n libcairo-gobject2 -p /sbin/ldconfig -%postun -n libcairo-gobject2 -p /sbin/ldconfig -%post -n libcairo-script-interpreter2 -p /sbin/ldconfig -%postun -n libcairo-script-interpreter2 -p /sbin/ldconfig +%ldconfig_scriptlets -n libcairo2 +%ldconfig_scriptlets -n libcairo-gobject2 +%ldconfig_scriptlets -n libcairo-script-interpreter2 %files -n libcairo2 %license COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 ++++++ 0001-Set-default-LCD-filter-to-FreeType-s-default.patch ++++++ >From 12a5b7384f35d9a3f4c6b151fac4857444db3d6a Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler <madig...@gmail.com> 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 ++++++ cairo-1.16.0.tar.xz -> cairo-1.17.6.tar.xz ++++++ /work/SRC/openSUSE:Factory/cairo/cairo-1.16.0.tar.xz /work/SRC/openSUSE:Factory/.cairo.new.2083/cairo-1.17.6.tar.xz differ: char 25, line 1 ++++++ cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff ++++++ --- /var/tmp/diff_new_pack.77Asme/_old 2022-09-21 14:39:33.381276375 +0200 +++ /var/tmp/diff_new_pack.77Asme/_new 2022-09-21 14:39:33.385276387 +0200 @@ -1,8 +1,8 @@ -Index: cairo-1.15.4/src/cairo-ft-font.c +Index: cairo-1.17.6/src/cairo-ft-font.c =================================================================== ---- cairo-1.15.4.orig/src/cairo-ft-font.c -+++ cairo-1.15.4/src/cairo-ft-font.c -@@ -1149,7 +1149,7 @@ _get_bitmap_surface (FT_Bitmap *bi +--- cairo-1.17.6.orig/src/cairo-ft-font.c ++++ cairo-1.17.6/src/cairo-ft-font.c +@@ -1223,7 +1223,7 @@ _get_bitmap_surface (FT_Bitmap *bi width = bitmap->width; height = bitmap->rows; ++++++ cairo-xlib-endianness.patch ++++++ --- /var/tmp/diff_new_pack.77Asme/_old 2022-09-21 14:39:33.397276419 +0200 +++ /var/tmp/diff_new_pack.77Asme/_new 2022-09-21 14:39:33.401276431 +0200 @@ -1,6 +1,8 @@ ---- cairo/src/cairo-xlib-render-compositor.c 2013-04-12 11:22:48.010384018 +0200 -+++ cairo/src/cairo-xlib-render-compositor.c.new 2013-04-12 11:23:54.362925287 +0200 -@@ -1318,10 +1318,10 @@ +Index: cairo-1.17.6/src/cairo-xlib-render-compositor.c +=================================================================== +--- cairo-1.17.6.orig/src/cairo-xlib-render-compositor.c ++++ cairo-1.17.6/src/cairo-xlib-render-compositor.c +@@ -1325,10 +1325,10 @@ _cairo_xlib_surface_add_glyph (cairo_xli } n = new; d = (uint32_t *) data;