diff options
author | Rob Bradford <rob@linux.intel.com> | 2008-10-31 12:17:40 +0000 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2008-10-31 13:35:29 +0000 |
commit | 1f833df9f471754b7ec290aeb6213b30f26de181 (patch) | |
tree | 237566e2b90c1cd4e4bf6637f49ddee3a3cafe6e /meta/packages/fontconfig | |
parent | 57fbc64c5907f4f0a28308eb59a47a67fd9c00cd (diff) | |
download | poky-1f833df9f471754b7ec290aeb6213b30f26de181.tar.gz |
fontconfig: Use volatiles for managing /var/cache/fontconfig
Diffstat (limited to 'meta/packages/fontconfig')
-rw-r--r-- | meta/packages/fontconfig/fontconfig-2.6.0/97_fontconfig | 1 | ||||
-rw-r--r-- | meta/packages/fontconfig/fontconfig_2.6.0.bb | 15 |
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" | |||
3 | DESCRIPTION = "A library for configuring and customizing font access." | 3 | DESCRIPTION = "A library for configuring and customizing font access." |
4 | DEPENDS = "expat freetype zlib" | 4 | DEPENDS = "expat freetype zlib" |
5 | 5 | ||
6 | PR = "r1" | ||
7 | |||
6 | SRC_URI = "http://fontconfig.org/release/fontconfig-${PV}.tar.gz \ | 8 | SRC_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 | ||
9 | PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils " | 12 | PACKAGES =+ "fontconfig-utils-dbg fontconfig-utils " |
10 | FILES_fontconfig-utils-dbg = "${bindir}/*.dbg" | 13 | FILES_fontconfig-utils-dbg = "${bindir}/*.dbg" |
@@ -74,3 +77,13 @@ do_install () { | |||
74 | autotools_do_install | 77 | autotools_do_install |
75 | } | 78 | } |
76 | 79 | ||
80 | do_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 | |||
87 | pkg_postinst_hal () { | ||
88 | /etc/init.d/populate-volatile.sh update | ||
89 | } | ||