[oe-commits] org.oe.dev ttf.inc: add RDEPENDS on font-update-common and call the update script in postinst/postrm. Partly closes 2430.
Laibsch commit
openembedded-commits at lists.openembedded.org
Tue Jan 29 10:02:22 UTC 2008
ttf.inc: add RDEPENDS on font-update-common and call the update script in postinst/postrm. Partly closes 2430.
Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: cfe5c40d75f5515e747262c2c4f608ed64769eab
ViewMTN: http://monotone.openembedded.org/revision/info/cfe5c40d75f5515e747262c2c4f608ed64769eab
Files:
1
packages/ttf-fonts/ttf.inc
Diffs:
#
# mt diff -rf99b43a679d7e3cb88c832d1a45162da3cc79d7d -rcfe5c40d75f5515e747262c2c4f608ed64769eab
#
#
#
# patch "packages/ttf-fonts/ttf.inc"
# from [2a846550f80db27429faf862405989761d2e4243]
# to [14b891d94779b6a1092e1389eb9d08da0567c2f5]
#
============================================================
--- packages/ttf-fonts/ttf.inc 2a846550f80db27429faf862405989761d2e4243
+++ packages/ttf-fonts/ttf.inc 14b891d94779b6a1092e1389eb9d08da0567c2f5
@@ -1,18 +1,18 @@ PRIORITY = "optional"
SECTION = "fonts"
PRIORITY = "optional"
-PACKAGE_ARCH = "all"
-#DEPENDS = "fontconfig opie-ttf-support"
-#RSUGGESTS = "fontconfig-utils opie-ttf-support"
+RDEPENDS += "font-update-common"
-# I dont want TTF fonts to depend on fontconfig on device
-# as those fonts are used not only in X11 enviroment
-
do_install() {
install -d ${D}${datadir}/fonts/truetype/
install -m 0644 ${S}/*.ttf ${D}${datadir}/fonts/truetype/
}
+pkg_postinst_append() {
+ update-fonts
+}
+
+pkg_postrm_append() {
+ update-fonts
+}
+
+PACKAGE_ARCH = "all"
-#pkg_postinst () {
-##!/bin/sh
-#fc-cache
-#}
More information about the Openembedded-commits
mailing list