summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-11-10 16:52:14 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-11-11 03:20:52 +0900
commit75d822f226fe286011df05b2120aafa20b66bcf7 (patch)
treeed64c842b846bdeabe0daaaa4b103567d598a63a
parent0a551f66b1b4a8e249298b416edb5710082a2af2 (diff)
downloaddefinitions-75d822f226fe286011df05b2120aafa20b66bcf7.tar.gz
Added system integration hook for fontconfig
The fontconfig package is responsible for maintaining its cache. We add a single system integration hook here so that any other packages which may install fonts in /usr/share/fonts will have them automatically picked up by fontconfig and properly considered in the fontconfig cache. Change-Id: I67a271a9967696716ee509b96b96c1e219e8ba99
-rw-r--r--strata/graphics-common.morph2
-rw-r--r--strata/graphics-common/fontconfig.morph7
2 files changed, 8 insertions, 1 deletions
diff --git a/strata/graphics-common.morph b/strata/graphics-common.morph
index dada3a97..63907275 100644
--- a/strata/graphics-common.morph
+++ b/strata/graphics-common.morph
@@ -17,10 +17,10 @@ chunks:
unpetrify-ref: VER-2-5-3
build-system: autotools
- name: fontconfig
+ morph: strata/graphics-common/fontconfig.morph
repo: upstream:fontconfig
ref: 9260b7ec39c34ce68d74e16d47917290a8c3f35a
unpetrify-ref: 2.11.1
- build-system: autotools
build-depends:
- freetype2
- name: freefont-otf
diff --git a/strata/graphics-common/fontconfig.morph b/strata/graphics-common/fontconfig.morph
new file mode 100644
index 00000000..08a228f5
--- /dev/null
+++ b/strata/graphics-common/fontconfig.morph
@@ -0,0 +1,7 @@
+name: fontconfig
+kind: chunk
+build-system: autotools
+system-integration:
+ fontconfig-misc:
+ 00-update-fc-cache:
+ - fc-cache -f -v