[arch-commits] Commit in cairo/trunk (2 files)

Jan Steffens heftig at archlinux.org
Fri Aug 2 14:57:23 UTC 2019


    Date: Friday, August 2, 2019 @ 14:57:22
  Author: heftig
Revision: 358890

1.17.2+17+g52a7c79fd-1

Modified:
  cairo/trunk/PKGBUILD
Deleted:
  cairo/trunk/0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch

-----------------------------------------------------------------+
 0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch |   32 ----------
 PKGBUILD                                                        |   20 ++----
 2 files changed, 9 insertions(+), 43 deletions(-)

Deleted: 0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch
===================================================================
--- 0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch	2019-08-02 14:17:33 UTC (rev 358889)
+++ 0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch	2019-08-02 14:57:22 UTC (rev 358890)
@@ -1,32 +0,0 @@
-From 90e85c2493fdfa3551f202ff10282463f1e36645 Mon Sep 17 00:00:00 2001
-From: Carlos Garcia Campos <cgarcia at igalia.com>
-Date: Mon, 19 Nov 2018 12:33:07 +0100
-Subject: [PATCH] ft: Use FT_Done_MM_Var instead of free when available in
- cairo_ft_apply_variations
-
-Fixes a crash when using freetype >= 2.9
-
-Signed-off-by: Laurent Carlier <lordheavym at gmail.com>
----
- src/cairo-ft-font.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
-index 325dd61b4..981973f78 100644
---- a/src/cairo-ft-font.c
-+++ b/src/cairo-ft-font.c
-@@ -2393,7 +2393,11 @@ skip:
- done:
-         free (coords);
-         free (current_coords);
-+#if HAVE_FT_DONE_MM_VAR
-+        FT_Done_MM_Var (face->glyph->library, ft_mm_var);
-+#else
-         free (ft_mm_var);
-+#endif
-     }
- }
- 
--- 
-2.20.1
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-02 14:17:33 UTC (rev 358889)
+++ PKGBUILD	2019-08-02 14:57:22 UTC (rev 358890)
@@ -2,8 +2,8 @@
 # Contributor: Brice Carpentier <brice at daknet.org>
 
 pkgname=cairo
-pkgver=1.16.0
-pkgrel=2
+pkgver=1.17.2+17+g52a7c79fd
+pkgrel=1
 pkgdesc="2D graphics library with support for multiple output devices"
 url="https://cairographics.org/"
 arch=(x86_64)
@@ -11,11 +11,9 @@
 depends=(libpng libxrender libxext fontconfig pixman glib2 lzo)
 makedepends=(librsvg gtk2 poppler-glib libspectre gtk-doc valgrind git)
 checkdepends=(ttf-dejavu gsfonts)
-_commit=3ad43122b21a3299dd729dc8462d6b8f7f01142d  # tags/1.16.0^0
-source=("git+https://gitlab.freedesktop.org/cairo/cairo.git#commit=$_commit"
-        0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch)
-sha1sums=('SKIP'
-          '9850a5b06e300055676ad1f5dfa90ecba0fe623c')
+_commit=52a7c79fd4ff96bb5fac175f0199819b0f8c18fc  # master
+source=("git+https://gitlab.freedesktop.org/cairo/cairo.git#commit=$_commit")
+sha256sums=('SKIP')
 
 pkgver() {
   cd cairo
@@ -25,13 +23,13 @@
 prepare() {
   cd cairo
 
-  # CVE-2018-19876
-  patch -Np1 -i ../0001-ft-Use-FT_Done_MM_Var-instead-of-free-when-available.patch
-
   # Update gtk-doc
   cp /usr/share/aclocal/gtk-doc.m4 build/aclocal.gtk-doc.m4
   cp /usr/share/gtk-doc/data/gtk-doc.make build/Makefile.am.gtk-doc
 
+  # Fix typo
+  sed -i 's/have_png/use_png/g' configure.ac
+
   NOCONFIGURE=1 ./autogen.sh
 }
 
@@ -50,7 +48,7 @@
         --enable-gtk-doc \
         --enable-full-testing \
         --enable-test-surfaces
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 


More information about the arch-commits mailing list