opie-taskbar-images: Added Opie backgrounds for devices with 320x320 screen.
authorSergey Lapin <slapinid@gmail.com>
Fri, 27 Jul 2007 21:53:07 +0000 (21:53 +0000)
committerSergey Lapin <slapinid@gmail.com>
Fri, 27 Jul 2007 21:53:07 +0000 (21:53 +0000)
packages/opie-taskbar/opie-taskbar-images.inc
packages/opie-taskbar/opie-taskbar-images/.mtn2git_empty [new file with mode: 0644]
packages/opie-taskbar/opie-taskbar-images/firstuse-320x320.jpg [new file with mode: 0644]
packages/opie-taskbar/opie-taskbar-images/opie-background-320x320.jpg [new file with mode: 0644]
packages/opie-taskbar/opie-taskbar-images_1.2.3.bb
packages/opie-taskbar/opie-taskbar-images_cvs.bb

index 576220d..769b5ff 100644 (file)
@@ -18,18 +18,20 @@ PIXMAP_SIZE_asus730     = "-480x640"
 PIXMAP_SIZE_htcuniversal= "-480x640"
 PIXMAP_SIZE_hx4700      = "-480x640"
 
-PACKAGES = "${PN}-480x640 ${PN}-640x480 ${PN}-800x600 ${PN}-600x800 ${PN}-320x240 ${PN}-240x320"
+PACKAGES = "${PN}-480x640 ${PN}-640x480 ${PN}-800x600 ${PN}-600x800 ${PN}-320x240 ${PN}-240x320 ${PN}-320x320"
 
 do_install() {
        install -d ${D}${palmtopdir}/pics/launcher
-
+       
+       install -m 0644 ${FILESDIR}/firstuse-320x320.jpg ${D}${palmtopdir}/pics/launcher/firstuse-320x320.jpg
+       install -m 0644 ${FILESDIR}/opie-background-320x320.jpg ${D}${palmtopdir}/pics/launcher/opie-background-320x320.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
        # TODO: those should be correct images for the resolution:
        install -m 0644 ${WORKDIR}/pics/launcher/firstuse.jpg ${D}${palmtopdir}/pics/launcher/firstuse-320x240.jpg
        install -m 0644 ${WORKDIR}/pics/launcher/opie-background.jpg ${D}${palmtopdir}/pics/launcher/opie-background-320x240.jpg
 
-        for res in 480x640 640x480 800x600 ; do
+        for res in 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
@@ -39,7 +41,7 @@ do_install() {
 }
 
 python do_package_prepend () {
-        reslist = ['240x320','320x240', '480x640','640x480', '800x600','600x800']
+        reslist = ['240x320','320x240', '320x320', '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)
diff --git a/packages/opie-taskbar/opie-taskbar-images/.mtn2git_empty b/packages/opie-taskbar/opie-taskbar-images/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/opie-taskbar/opie-taskbar-images/firstuse-320x320.jpg b/packages/opie-taskbar/opie-taskbar-images/firstuse-320x320.jpg
new file mode 100644 (file)
index 0000000..67523f1
Binary files /dev/null and b/packages/opie-taskbar/opie-taskbar-images/firstuse-320x320.jpg differ
diff --git a/packages/opie-taskbar/opie-taskbar-images/opie-background-320x320.jpg b/packages/opie-taskbar/opie-taskbar-images/opie-background-320x320.jpg
new file mode 100644 (file)
index 0000000..194816f
Binary files /dev/null and b/packages/opie-taskbar/opie-taskbar-images/opie-background-320x320.jpg differ
index 85bf143..0c5b937 100644 (file)
@@ -1,5 +1,5 @@
 require ${PN}.inc
-PR = "r0"
+PR = "r1"
 
 TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
 
index 33588d9..ff7ea9e 100644 (file)
@@ -1,5 +1,5 @@
 require ${PN}.inc
 PV = "${OPIE_CVS_PV}"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "${HANDHELDS_CVS};module=opie/pics"