[polari/wip/fmuellner/emoji-picker: 5/11] flatpak: Temporarily add fontconfig/cairo
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/emoji-picker: 5/11] flatpak: Temporarily add fontconfig/cairo
- Date: Fri, 11 Aug 2017 00:39:48 +0000 (UTC)
commit f3864354cf2c890ea8b5324a02dbaf30d3048eeb
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Aug 8 20:46:32 2017 +0200
flatpak: Temporarily add fontconfig/cairo
The versions included in the runtime don't have the recently added
support for color emojis, so bundle them in the meantime in order
to make use of all the colorful goodness right away ...
https://bugzilla.gnome.org/show_bug.cgi?id=755579
flatpak/org.gnome.Polari.json | 79 +++++++++++++++++++++++++++++++++++++++++
flatpak/xslt-config | 3 ++
2 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/flatpak/org.gnome.Polari.json b/flatpak/org.gnome.Polari.json
index 27b8f0d..bfe8e19 100644
--- a/flatpak/org.gnome.Polari.json
+++ b/flatpak/org.gnome.Polari.json
@@ -100,6 +100,85 @@
}
]
},
+ /* For fontconfig, until color emoji support makes it into the SDK */
+ {
+ "name": "python-lxml",
+ "buildsystem": "simple",
+ "sources": [
+ {
+ "type": "archive",
+ "url": "http://lxml.de/files/lxml-3.8.0.tgz",
+ "sha256": "736f72be15caad8116891eb6aa4a078b590d231fdc63818c40c21624ac71db96"
+ },
+ {
+ "type": "file",
+ "path": "xslt-config"
+ }
+ ],
+ "build-commands": [
+ "python2 setup.py build --with-xslt-config=./xslt-config",
+ "python2 setup.py install --prefix=/app --with-xslt-config=./xslt-config"
+ ]
+ },
+ {
+ "name": "python-six",
+ "buildsystem": "simple",
+ "sources": [
+ {
+ "type": "archive",
+ "url":
"https://pypi.python.org/packages/b3/b2/238e2590826bfdd113244a40d9d3eb26918bd798fc187e2360a8367068db/six-1.10.0.tar.gz",
+ "sha256": "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a"
+ }
+ ],
+ "build-commands": [
+ "python2 setup.py build",
+ "python2 setup.py install --prefix=/app"
+ ],
+ "ensure-writable": [
+ "/lib/python2.7/site-packages/easy-install.pth"
+ ]
+ },
+ {
+ "name": "fontconfig",
+ "config-opts": [
+ "--disable-static",
+ "--disable-docs"
+ ],
+ "sources": [
+ {
+ "url": "https://anongit.freedesktop.org/git/fontconfig",
+ "type": "git"
+ }
+ ],
+ "post-install": [
+ "cp -u /etc/fonts/conf.d/* /app/etc/fonts/conf.d",
+ "cp -u /usr/share/fontconfig/conf.avail/* /app/share/fontconfig/conf.avail"
+ ]
+ },
+ /* Color-emoji enabled cairo */
+ {
+ "name": "cairo",
+ "config-opts": [
+ "--disable-static",
+ "--enable-xlib",
+ "--enable-ft",
+ "--enable-svg",
+ "--enable-ps",
+ "--enable-pdf",
+ "--enable-tee",
+ "--enable-gobject"
+ ],
+ "sources": [
+ {
+ "url": "https://anongit.freedesktop.org/git/cairo",
+ "type": "git",
+ "disable-fsckobjects": true
+ }
+ ],
+ "cleanup": [
+ "/bin"
+ ]
+ },
{
"name": "gspell",
"config-opts": ["--disable-vala", "--disable-static"],
diff --git a/flatpak/xslt-config b/flatpak/xslt-config
new file mode 100755
index 0000000..e048404
--- /dev/null
+++ b/flatpak/xslt-config
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pkg-config $1 libxslt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]