aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrson Teodoro <orsonteodoro@hotmail.com>2018-02-03 17:19:30 -0800
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-02 09:49:38 +0000
commit407ab48f9842496bf67487d3ab043001d3832da4 (patch)
tree0b45a118096b316dfe7b64541c353c54017b4238
parente2ff531e1f222005b0485acd899743d8c8189aa8 (diff)
downloadaports-407ab48f9842496bf67487d3ab043001d3832da4.tar.gz
aports-407ab48f9842496bf67487d3ab043001d3832da4.tar.bz2
aports-407ab48f9842496bf67487d3ab043001d3832da4.tar.xz
main/cairo: enable emoji support to allow for xfce4-terminal and chromium to properly display noto-color-emoji
-rw-r--r--main/cairo/APKBUILD6
-rw-r--r--main/cairo/cairo-1.14.6-colored-emojis.patch13
2 files changed, 17 insertions, 2 deletions
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
index 2291fd42ac..adb51c3204 100644
--- a/main/cairo/APKBUILD
+++ b/main/cairo/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cairo
pkgver=1.14.12
-pkgrel=1
+pkgrel=2
pkgdesc="A vector graphics library"
url="http://cairographics.org/"
arch="all"
@@ -17,6 +17,7 @@ _ultver="2016-04-23"
source="http://cairographics.org/releases/$pkgname-$pkgver.tar.xz
fontconfig-ultimate-$_ultver.tar.gz::https://github.com/bohoomil/fontconfig-ultimate/archive/$_ultver.tar.gz
musl-stacksize.patch
+ cairo-1.14.6-colored-emojis.patch
"
builddir="$srcdir/$pkgname-$pkgver"
@@ -78,4 +79,5 @@ tools() {
sha512sums="ede6e75ae95605bf5c4b3859b1824cf125c4a2a35a67d38244cc70951ca44b1d4fd7cf622953d3a7cb868fb5b00856ef6d68ee615276b76eec437641290b01e1 cairo-1.14.12.tar.xz
d8185f4ec74f44c4746acf7e79bba7ff7ffd9d35bdabeb25e10b4e12825942d910931aa857f1645e5c8185bcb40a1f1ffe1e7e647428e9ea66618b2aec52fac3 fontconfig-ultimate-2016-04-23.tar.gz
-86f26fe41deb5e14f553c999090d1ec1d92a534fa7984112c9a7f1d6c6a8f1b7bb735947e8ec3f26e817f56410efe8cc46c5e682f6a278d49b40a683513740e0 musl-stacksize.patch"
+86f26fe41deb5e14f553c999090d1ec1d92a534fa7984112c9a7f1d6c6a8f1b7bb735947e8ec3f26e817f56410efe8cc46c5e682f6a278d49b40a683513740e0 musl-stacksize.patch
+d178d413f0e258c7970340bea6e2fcaf8d9c6cfed3d831c29dcbd7b1a782e0b8c9106fca0d2d4beb6939a8993cc2554464b6fb4df888a736f8083cde226a41c6 cairo-1.14.6-colored-emojis.patch"
diff --git a/main/cairo/cairo-1.14.6-colored-emojis.patch b/main/cairo/cairo-1.14.6-colored-emojis.patch
new file mode 100644
index 0000000000..613b6d34dd
--- /dev/null
+++ b/main/cairo/cairo-1.14.6-colored-emojis.patch
@@ -0,0 +1,13 @@
+diff -urp cairo-1.14.6.orig/src/cairo-ft-font.c cairo-1.14.6/src/cairo-ft-font.c
+--- cairo-1.14.6.orig/src/cairo-ft-font.c 2016-12-05 15:58:48.292450747 -0800
++++ cairo-1.14.6/src/cairo-ft-font.c 2016-12-05 16:00:16.972824582 -0800
+@@ -2260,7 +2260,7 @@ _cairo_ft_scaled_glyph_init (void *abs
+ * Moreover, none of our backends and compositors currently support
+ * color glyphs. As such, this is currently disabled.
+ */
+- /* load_flags |= FT_LOAD_COLOR; */
++ load_flags |= FT_LOAD_COLOR;
+ #endif
+
+ error = FT_Load_Glyph (face,
+