summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-10-31 12:17:40 +0000
committerRob Bradford <rob@linux.intel.com>2008-10-31 13:35:29 +0000
commit1f833df9f471754b7ec290aeb6213b30f26de181 (patch)
tree237566e2b90c1cd4e4bf6637f49ddee3a3cafe6e /meta/packages
parent57fbc64c5907f4f0a28308eb59a47a67fd9c00cd (diff)
downloadpoky-1f833df9f471754b7ec290aeb6213b30f26de181.tar.gz
fontconfig: Use volatiles for managing /var/cache/fontconfig
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig1
-rw-r--r--meta/packages/fontconfig/fontconfig_2.6.0.bb15
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig b/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig
new file mode 100644
index 0000000000..2993959dbb
--- /dev/null
+++ b/meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig
@@ -0,0 +1 @@
d root root 0755 /var/cache/fontconfig none
diff --git a/meta/packages/fontconfig/fontconfig_2.6.0.bb b/meta/packages/fontconfig/fontconfig_2.6.0.bb
index 3f7eca4b4e..4a4c31fbea 100644
--- a/meta/packages/fontconfig/fontconfig_2.6.0.bb
+++ b/meta/packages/fontconfig/fontconfig_2.6.0.bb
@@ -3,8 +3,11 @@ LICENSE = "BSD"
3DESCRIPTION = "A library for configuring and customizing font access." 3DESCRIPTION = "A library for configuring and customizing font access."
4DEPENDS = "expat freetype zlib" 4DEPENDS = "expat freetype zlib"
5 5
6PR = "r1"
7
6SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ 8SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \
7 file://fix-pkgconfig.patch;patch=1" 9 file://fix-pkgconfig.patch;patch=1 \
10 file://97_fontconfig"
8 11
9PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils " 12PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils "
10FILES_fontconfig-utils-dbg = "${bindir}/*.dbg" 13FILES_fontconfig-utils-dbg = "${bindir}/*.dbg"
@@ -74,3 +77,13 @@ do_install () {
74 autotools_do_install 77 autotools_do_install
75} 78}
76 79
80do_install_append() {
81 install -d ${D}/etc/default/volatiles
82 install -m 0644 ${WORKDIR}/97_fontconfig ${D}/etc/default/volatiles
83 rmdir ${D}/var/cache/fontconfig
84 rmdir ${D}/var/cache/
85}
86
87pkg_postinst_hal () {
88 /etc/init.d/populate-volatile.sh update
89}