From 4f596081951d251474545009a3083833edafca86 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 16 Aug 2011 19:32:21 +0100 Subject: opie-taskbar-images: fix indentation No functional changes, only whitespace. Signed-off-by: Paul Eggleton --- recipes-opie/opie-taskbar/opie-taskbar-images.inc | 38 +++++++++++------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/recipes-opie/opie-taskbar/opie-taskbar-images.inc b/recipes-opie/opie-taskbar/opie-taskbar-images.inc index 7ee1d8b..be0fe42 100644 --- a/recipes-opie/opie-taskbar/opie-taskbar-images.inc +++ b/recipes-opie/opie-taskbar/opie-taskbar-images.inc @@ -35,33 +35,33 @@ do_configure() { } do_install() { - install -d ${D}${palmtopdir}/pics/launcher + 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 + 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 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 + 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 () { - 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,res) - bb.data.setVar('pkg_postinst_%s-%s' % (pn,res),postinst, d) - prerm = '' - prerm = 'update-alternatives --remove opie-firstuse-pixmap %sfirstuse-%s.jpg 50\n' % (dir,res) - prerm += 'update-alternatives --remove opie-background-pixmap %sopie-background-%s.jpg 50\n' % (dir,res) - bb.data.setVar('pkg_prerm_%s-%s' % (pn,res),prerm, d) + 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,res) + bb.data.setVar('pkg_postinst_%s-%s' % (pn,res),postinst, d) + prerm = '' + prerm = 'update-alternatives --remove opie-firstuse-pixmap %sfirstuse-%s.jpg 50\n' % (dir,res) + prerm += 'update-alternatives --remove opie-background-pixmap %sopie-background-%s.jpg 50\n' % (dir,res) + bb.data.setVar('pkg_prerm_%s-%s' % (pn,res),prerm, d) } PACKAGE_ARCH = "all" -- cgit 1.2.3-korg