[Bug 4453] do_install failed: opie-taskbar-images-1.2.3
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Wed Aug 6 21:11:33 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=4453
--- Comment #7 from Vladimir Bondar <linuxrulez at land.ru> 2008-08-06 23:11:33 ---
opie-taskbar-images.inc:
There are different lists in these subs:
do_install() {
install -d ${D}${palmtopdir}/pics/launcher
install -m 0644 ${WORKDIR}/pics/launcher/firstuse.jpg
${D}${palmtopdir}/pics/launcher/firstuse-240x320.jpg
install -m 0644 ${WORKDIR}/pics/launcher/opie-background.jpg
${D}${palmtopdir}/pics/launcher/opie-background-240x320.jpg
# for res in 320x240 240x320 320x320 320x480 480x320 480x640 640x480
600x800 800x600; do
#------>>> HERE
for res in 240x240 320x320 320x480 480x320 480x640 640x480 800x600; do
install -m 0644 ${WORKDIR}/pics/launcher/firstuse-${res}.jpg
${D}${palmtopdir}/pics/launcher/firstuse-${res}.jpg
install -m 0644 ${WORKDIR}/pics/launcher/opie-background-${res}.jpg
${D}${palmtopdir}/pics/launcher/opie-background-${res}.jpg
done
}
python do_package_prepend () {
#------>> and HERE
reslist = ['240x320','320x240', '320x320', '320x480', '480x320',
'480x640','640x480', '800x600','600x800']
dir = bb.data.expand('${palmtopdir}/pics/launcher/', d)
ft = bb.data.expand('${palmtopdir}/pics/*/*-%s.*', d)
pn = bb.data.getVar('PN', d, 1)
for res in reslist:
bb.data.setVar('FILES_%s-%s' % (pn,res), ft % res, d )
postinst = ''
postinst = 'update-alternatives --install %sfirstuse.jpg
opie-firstuse-pixmap %sfirstuse-%s.jpg 50\n' % (dir,dir,res)
postinst += 'update-alternatives --install %sopie-background.jpg
opie-background-pixmap %sopie-background-%s.jpg 50\n' % (dir,dir,r
bb.data.setVar('pkg_postinst_%s-%s' % (pn,res),postinst, d)
}
I suggest that in "do_package_prepend" should be:
reslist = ['240x240',
'320x320','320x480','480x320','480x640','640x480','800x600']
the same resulutions as in first sub
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list