From 75d822f226fe286011df05b2120aafa20b66bcf7 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 10 Nov 2015 16:52:14 +0900 Subject: 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 --- strata/graphics-common.morph | 2 +- strata/graphics-common/fontconfig.morph | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 strata/graphics-common/fontconfig.morph 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 -- cgit v1.2.1