[oe-commits] org.oe.dev packages/qt4/qt_packaging.inc: Fix the splitting of the translation packages

freyther commit openembedded-commits at lists.openembedded.org
Tue Jan 22 09:17:20 UTC 2008


packages/qt4/qt_packaging.inc: Fix the splitting of the translation packages
    The variable inside the package name did not get expanded, let us expand
    it ourselves.

Author: freyther at openembedded.org
Branch: org.openembedded.dev
Revision: 72bb00c12a7e37425266bd5706004613c55cd3e4
ViewMTN: http://monotone.openembedded.org/revision/info/72bb00c12a7e37425266bd5706004613c55cd3e4
Files:
1
packages/qt4/qt_packaging.inc
Diffs:

#
# mt diff -r77822f4dfba8b87b43977490fcd07a9b1a47ef26 -r72bb00c12a7e37425266bd5706004613c55cd3e4
#
# 
# 
# patch "packages/qt4/qt_packaging.inc"
#  from [b7908307df304cf7663fbeed5aa0765694bc334f]
#    to [2cea58e441bda07781cc78978e625374f1697c5b]
# 
============================================================
--- packages/qt4/qt_packaging.inc	b7908307df304cf7663fbeed5aa0765694bc334f
+++ packages/qt4/qt_packaging.inc	2cea58e441bda07781cc78978e625374f1697c5b
@@ -133,8 +133,9 @@ python populate_packages_prepend() {
 FILES_${QT_BASE_NAME}-fonts                = "${libdir}/fonts"
 
 python populate_packages_prepend() {
-	translationdir = bb.data.expand('${datadir}/${QT_DIR_NAME}/translations/', d)
-	do_split_packages(d, translationdir, '^qt_(.*)\.qm$', '${QT_DIR_NAME}-translation-%s', '{PN} translation for %s', extra_depends='' )
+	translation_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/translations/', d)
+	translation_name = bb.data.expand('${QT_DIR_NAME}-translation-%s', d)
+	do_split_packages(d, translation_dir, '^qt_(.*)\.qm$', translation_name, '{PN} translation for %s', extra_depends='' )
 }
 
 






More information about the Openembedded-commits mailing list