[oe-commits] org.oe.dev opie-ttf-support: prepare for update-font-common. partly closes 2430.

Laibsch commit openembedded-commits at lists.openembedded.org
Tue Jan 29 10:02:18 UTC 2008


opie-ttf-support: prepare for update-font-common.  partly closes 2430.

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: f99b43a679d7e3cb88c832d1a45162da3cc79d7d
ViewMTN: http://monotone.openembedded.org/revision/info/f99b43a679d7e3cb88c832d1a45162da3cc79d7d
Files:
1
packages/opie-ttf-support/opie-ttf-support_1.1.bb
Diffs:

#
# mt diff -r534f1f70c56da9b3765d9945548652a473177f00 -rf99b43a679d7e3cb88c832d1a45162da3cc79d7d
#
# 
# 
# patch "packages/opie-ttf-support/opie-ttf-support_1.1.bb"
#  from [4dc8b9267c72d84126fbce18970082e888865a36]
#    to [09c30f685e453e48a2f95e26642436c3429b832d]
# 
============================================================
--- packages/opie-ttf-support/opie-ttf-support_1.1.bb	4dc8b9267c72d84126fbce18970082e888865a36
+++ packages/opie-ttf-support/opie-ttf-support_1.1.bb	09c30f685e453e48a2f95e26642436c3429b832d
@@ -1,7 +1,7 @@ DESCRIPTION = "Meta-package for Opie TTF
 DESCRIPTION = "Meta-package for Opie TTF support"
+SECTION = "opie/fonts"
 DEPENDS = "freetype"
-SECTION = "opie/fonts"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "file://update-qtttffontdir.c"
 S = "${WORKDIR}"
@@ -12,12 +12,12 @@ do_install() {
 
 do_install() {
 	install -d ${D}${sbindir}
+	install -d ${D}${sysconfdir}/update-fonts-common.d/
 	install -m 0755 update-qtttffontdir ${D}${sbindir}
-}
-
-pkg_postinst() {
+        echo "
 #!/bin/sh
-if [ -n "$D" ]; then exit 1; fi
-mkdir -p ${palmtopdir}/lib/fonts/
-${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype >${palmtopdir}/lib/fonts/fontdir
+# Author: Rolf Leggewie
+
+${sbindir}/update-qtttffontdir ${datadir}/fonts/truetype > ${palmtopdir}/lib/fonts/fontdir
+" > ${D}${sysconfdir}/update-fonts-common.d/02qtttffont-update
 }






More information about the Openembedded-commits mailing list