[gtk-osx] Patch cairo test dependency on freetype.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Patch cairo test dependency on freetype.
- Date: Tue, 4 Jun 2019 15:00:12 +0000 (UTC)
commit 509d7328e9ec22a8d5fcb2a9e6c99db70a5cd9cd
Author: John Ralls <jralls ceridwen us>
Date: Tue Jun 4 07:59:47 2019 -0700
Patch cairo test dependency on freetype.
modulesets-stable/gtk-osx.modules | 3 ++-
patches/cairo-freetype-font-variations.patch | 32 ++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
---
diff --git a/modulesets-stable/gtk-osx.modules b/modulesets-stable/gtk-osx.modules
index 69741aa..ad0e797 100644
--- a/modulesets-stable/gtk-osx.modules
+++ b/modulesets-stable/gtk-osx.modules
@@ -269,11 +269,12 @@
meta-gtk-osx-freetype is built, so packages which require
cairoft or cairofc should have meta-gtk-osx-freetype as a
dependency. -->
- <autotools id="cairo" autogen-sh="configure"
+ <autotools id="cairo" autogen-sh="autoreconf"
autogenargs="--enable-pdf --enable-quartz --disable-xlib --without-x">
<branch module="cairo-1.16.0.tar.xz" version="1.16.0"
repo="cairographics"
hash="sha1:00e81842ae5e81bb0343108884eb5205be0eac14">
+ <patch
file="https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/patches/cairo-freetype-font-variations.patch"
strip="1"/>
</branch>
<dependencies>
<dep package="pixman"/>
diff --git a/patches/cairo-freetype-font-variations.patch b/patches/cairo-freetype-font-variations.patch
new file mode 100644
index 0000000..ca394ee
--- /dev/null
+++ b/patches/cairo-freetype-font-variations.patch
@@ -0,0 +1,32 @@
+--- a/test/Makefile.am 2018-08-16 18:10:53.000000000 -0700
++++ b/test/Makefile.am 2018-11-08 20:40:55.000000000 -0800
+@@ -158,8 +158,10 @@
+ svg-clip \
+ svg-surface \
+ toy-font-face \
+-font-variations \
+ user-data
++#if CAIRO_HAS_FT_FONT
++NOLOG_TESTS += font-variations
++#endif
+
+ # A target to summarise the failures
+ check-summary:
+--- a/test/Makefile.sources 2018-08-16 18:10:53.000000000 -0700
++++ b/test/Makefile.sources 2018-11-08 20:39:26.000000000 -0800
+@@ -144,7 +144,6 @@
+ font-face-get-type.c \
+ font-matrix-translation.c \
+ font-options.c \
+- font-variations.c \
+ glyph-cache-pressure.c \
+ get-and-set.c \
+ get-clip.c \
+@@ -399,5 +398,6 @@
+
+ ft_font_test_sources = \
+ bitmap-font.c \
++ font-variations.c \
+ ft-font-create-for-ft-face.c \
+ ft-show-glyphs-positioning.c \
+ ft-show-glyphs-table.c \
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]