summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-29 10:10:48 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-29 10:10:48 +0000
commit4e048dc923520f093e78b63809df129522056599 (patch)
tree070809dea04fa9a2dac75dc518d8c0b82448dd1f /packages
parent9e42fdd5e33e745cabe1589d01d8b5e5bcf2f11c (diff)
fontconfig: prepare for font-update-common. Partly closes 2430.
Diffstat (limited to 'packages')
-rw-r--r--packages/fontconfig/files/01fc-cache4
-rw-r--r--packages/fontconfig/fontconfig.inc9
2 files changed, 11 insertions, 2 deletions
diff --git a/packages/fontconfig/files/01fc-cache b/packages/fontconfig/files/01fc-cache
new file mode 100644
index 0000000000..963aaec8ca
--- /dev/null
+++ b/packages/fontconfig/files/01fc-cache
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Author: Rolf Leggewie
+
+fc-cache
diff --git a/packages/fontconfig/fontconfig.inc b/packages/fontconfig/fontconfig.inc
index 2b3dc39c36..252b843340 100644
--- a/packages/fontconfig/fontconfig.inc
+++ b/packages/fontconfig/fontconfig.inc
@@ -9,7 +9,8 @@ RREPLACES_fontconfig-utils = "libfontconfig-utils"
RCONFLICTS_fontconfig-utils = "libfontconfig-utils"
DEBIAN_NOAUTONAME_fontconfig-utils = "1"
-SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz"
+SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
+ file://01fc-cache"
S = "${WORKDIR}/fontconfig-${PV}"
@@ -32,6 +33,10 @@ python do_unpack () {
bb.build.exec_func('fontconfig_do_unpack', d)
}
+fontconfig-utils_do_install_prepend() {
+ install -m 0755 ${WORKDIR}/01fc-cache ${D}${sysconfdir}/update-fonts-common.d/
+}
+
PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils "
-FILES_fontconfig-utils-dbg = "${bindir}/*.dbg"
+FILES_fontconfig-utils-dbg += "${bindir}/*.dbg"
FILES_fontconfig-utils = "${bindir}/*"