]> git.kernelconcepts.de Git - meta-kc-bsp.git/commitdiff
psplash-mucross: Add µCross modified psplash.
authorFlorian Boor <florian@kernelconcepts.de>
Sat, 2 Jun 2018 22:37:32 +0000 (00:37 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Sat, 2 Jun 2018 22:37:32 +0000 (00:37 +0200)
recipes-bsp/psplash/files/kc-bg.patch [new file with mode: 0644]
recipes-bsp/psplash/files/psplash-bar-img.h [new file with mode: 0644]
recipes-bsp/psplash/files/psplash-default [new file with mode: 0644]
recipes-bsp/psplash/files/psplash-init [new file with mode: 0644]
recipes-bsp/psplash/files/psplash-poky-img.h [new file with mode: 0644]
recipes-bsp/psplash/files/splashfuncs [new file with mode: 0644]
recipes-bsp/psplash/psplash-mucross_git.bb [new file with mode: 0644]
recipes-bsp/psplash/psplash-ua.inc [new file with mode: 0644]
recipes-bsp/psplash/psplash.inc [new file with mode: 0644]

diff --git a/recipes-bsp/psplash/files/kc-bg.patch b/recipes-bsp/psplash/files/kc-bg.patch
new file mode 100644 (file)
index 0000000..9533efc
--- /dev/null
@@ -0,0 +1,38 @@
+--- psplash/psplash.c~ 2008-08-14 14:58:01.000000000 +0200
++++ psplash/psplash.c  2008-08-14 14:58:01.000000000 +0200
+@@ -49,7 +49,7 @@
+                       fb->height - (fb->height/6) - h, 
+                       fb->width,
+                       h,
+-                      0xec, 0xec, 0xe1);
++                      0xff, 0xff, 0xff);
+   psplash_fb_draw_text (fb,
+                       (fb->width-w)/2, 
+@@ -75,7 +75,7 @@
+       barwidth = (CLAMP(value,0,100) * width) / 100;
+       psplash_fb_draw_rect (fb, x + barwidth, y, 
+                       width - barwidth, height,
+-                      0xec, 0xec, 0xe1);
++                      0xec, 0xec, 0xe1);
+       psplash_fb_draw_rect (fb, x, y, barwidth,
+                           height, 0x6d, 0x6d, 0x70);
+     }
+@@ -84,7 +84,7 @@
+       barwidth = (CLAMP(-value,0,100) * width) / 100;
+       psplash_fb_draw_rect (fb, x, y, 
+                       width - barwidth, height,
+-                      0xec, 0xec, 0xe1);
++                      0xec, 0xec, 0xe1);
+       psplash_fb_draw_rect (fb, x + width - barwidth,
+                           y, barwidth, height,
+                           0x6d, 0x6d, 0x70);
+@@ -253,7 +253,7 @@
+     exit(-1);
+   /* Clear the background with #ecece1 */
+-  psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, 0xec, 0xec, 0xe1);
++  psplash_fb_draw_rect (fb, 0, 0, fb->width, fb->height, 0xff, 0xff, 0xff);
+   /* Draw the OH logo  */
+   psplash_fb_draw_image (fb, 
diff --git a/recipes-bsp/psplash/files/psplash-bar-img.h b/recipes-bsp/psplash/files/psplash-bar-img.h
new file mode 100644 (file)
index 0000000..c1c7626
--- /dev/null
@@ -0,0 +1,47 @@
+/* GdkPixbuf RGBA C-Source image dump 1-byte-run-length-encoded */
+
+#define BAR_IMG_ROWSTRIDE (920)
+#define BAR_IMG_WIDTH (230)
+#define BAR_IMG_HEIGHT (28)
+#define BAR_IMG_BYTES_PER_PIXEL (4) /* 3:RGB, 4:RGBA */
+#define BAR_IMG_RLE_PIXEL_DATA ((uint8*) \
+  "\203\354\354\341\377\4\326\326\315\377\236\236\233\377\200\200\201\377" \
+  "nnq\377\377mmp\377\331mmp\377\4nnq\377\200\200\201\377\236\236\233\377" \
+  "\326\326\315\377\205\354\354\341\377\2\260\260\253\377oor\377\377mmp" \
+  "\377\337mmp\377\2oor\377\260\260\253\377\203\354\354\341\377\1\262\262" \
+  "\256\377\377mmp\377\343mmp\377\4\262\262\256\377\354\354\341\377\332" \
+  "\332\321\377pps\377\377mmp\377\343mmp\377\3pps\377\332\332\321\377\244" \
+  "\244\241\377\204mmp\377\1\205\205\205\377\377\354\354\341\377\333\354" \
+  "\354\341\377\1\205\205\205\377\204mmp\377\2\244\244\241\377\210\210\210" \
+  "\377\203mmp\377\2\203\203\203\377\351\351\336\377\377\354\354\341\377" \
+  "\333\354\354\341\377\2\351\351\336\377\203\203\203\377\203mmp\377\2\210" \
+  "\210\210\377qqs\377\203mmp\377\1\255\255\251\377\377\354\354\341\377" \
+  "\335\354\354\341\377\1\255\255\251\377\203mmp\377\1qqs\377\204mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\210mmp\377" \
+  "\1\270\270\262\377\377\354\354\341\377\336\354\354\341\377\204mmp\377" \
+  "\1qqs\377\203mmp\377\1\255\255\251\377\377\354\354\341\377\335\354\354" \
+  "\341\377\1\255\255\251\377\203mmp\377\2qqs\377\210\210\210\377\203mm" \
+  "p\377\2\203\203\203\377\351\351\336\377\377\354\354\341\377\333\354\354" \
+  "\341\377\2\351\351\336\377\203\203\203\377\203mmp\377\2\210\210\210\377" \
+  "\244\244\241\377\204mmp\377\1\205\205\205\377\377\354\354\341\377\333" \
+  "\354\354\341\377\1\205\205\205\377\204mmp\377\3\244\244\241\377\332\332" \
+  "\321\377pps\377\377mmp\377\343mmp\377\4pps\377\332\332\321\377\354\354" \
+  "\341\377\262\262\256\377\377mmp\377\343mmp\377\1\262\262\256\377\203" \
+  "\354\354\341\377\2\260\260\253\377oor\377\377mmp\377\337mmp\377\2oor" \
+  "\377\260\260\253\377\205\354\354\341\377\4\326\326\315\377\236\236\233" \
+  "\377\200\200\201\377nnq\377\377mmp\377\331mmp\377\4nnq\377\200\200\201" \
+  "\377\236\236\233\377\326\326\315\377\203\354\354\341\377")
+
+
diff --git a/recipes-bsp/psplash/files/psplash-default b/recipes-bsp/psplash/files/psplash-default
new file mode 100644 (file)
index 0000000..086d340
--- /dev/null
@@ -0,0 +1,2 @@
+# Parameters to pass to psplash
+PARAMS=" -a 0 --background /opt/bitmaps/logo.pnm -d"
diff --git a/recipes-bsp/psplash/files/psplash-init b/recipes-bsp/psplash/files/psplash-init
new file mode 100644 (file)
index 0000000..0409240
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh 
+
+if grep -qE '\s?psplash=false\s?' /proc/cmdline; then
+       echo "Boot splashscreen disabled"
+       exit 0;
+fi
+
+. /etc/init.d/functions
+. /etc/default/psplash
+
+case `machine_id` in
+    "hp_ipaq_h3100"|"hp_ipaq_h3800") 
+       PARAMS='-a 90' ;;
+    "hp_ipaq_3600"|"hp_ipaq_3700"|"hp_ipaq_h3900"|"htc_universal"|*collie|*poodle|*akita|*spitz|*borzoi)
+       PARAMS='-a 270' ;;
+esac
+
+export TMPDIR=/mnt/.splash
+mount tmpfs -t tmpfs $TMPDIR -o,size=40k
+
+/usr/bin/psplash $PARAMS &
+
+# Timetrap against hanging with splash hiding console messages.
+(sleep 120; psplash-write "QUIT") &
diff --git a/recipes-bsp/psplash/files/psplash-poky-img.h b/recipes-bsp/psplash/files/psplash-poky-img.h
new file mode 100644 (file)
index 0000000..5655aad
--- /dev/null
@@ -0,0 +1,367 @@
+/* GdkPixbuf RGBA C-Source image dump 1-byte-run-length-encoded */
+
+#define POKY_IMG_ROWSTRIDE (696)
+#define POKY_IMG_WIDTH (174)
+#define POKY_IMG_HEIGHT (60)
+#define POKY_IMG_BYTES_PER_PIXEL (4) /* 3:RGB, 4:RGBA */
+#define POKY_IMG_RLE_PIXEL_DATA ((uint8*) \
+  "\266\377\377\377\377\15\371\371\371\377\270\270\270\377sss\377TTT\377" \
+  ";;;\377\"\"\"\377\11\11\11\377\27\27\27\377:::\377^^^\377\201\201\201" \
+  "\377\245\245\245\377\350\350\350\377\377\377\377\377\377\237\377\377" \
+  "\377\377\4\373\373\373\377\244\244\244\377SSS\377\15\15\15\377\213\0" \
+  "\0\0\377\3\10\10\10\377lll\377\341\341\341\377\377\377\377\377\377\233" \
+  "\377\377\377\377\3\376\376\376\377\251\251\251\377$$$\377\220\0\0\0\377" \
+  "\3\5\5\5\377aaa\377\333\333\333\377\377\377\377\377\377\230\377\377\377" \
+  "\377\2\305\305\305\377444\377\223\0\0\0\377\2\1\1\1\377\272\272\272\377" \
+  "\377\377\377\377\377\227\377\377\377\377\2\230\230\230\377\5\5\5\377" \
+  "\224\0\0\0\377\1mmm\377\377\377\377\377\377\226\377\377\377\377\2\374" \
+  "\374\374\377mmm\377\212\0\0\0\377\11(((\377```\377www\377\216\216\216" \
+  "\377\227\227\227\377{{{\377^^^\377:::\377\2\2\2\377\202\0\0\0\377\2(" \
+  "((\377\366\366\366\377\377\377\377\377\377\225\377\377\377\377\2\375" \
+  "\375\375\377OOO\377\210\0\0\0\377\3\33\33\33\377\215\215\215\377\334" \
+  "\334\334\377\210\377\377\377\377\4\350\350\350\377\223\223\223\377==" \
+  "=\377\313\313\313\377\377\377\377\377\377\226\377\377\377\377\1sss\377" \
+  "\207\0\0\0\377\3\13\13\13\377\202\202\202\377\365\365\365\377\377\377" \
+  "\377\377\377\243\377\377\377\377\1\236\236\236\377\207\0\0\0\377\2\33" \
+  "\33\33\377\321\321\321\377\377\377\377\377\377\244\377\377\377\377\2" \
+  "\315\315\315\377\6\6\6\377\206\0\0\0\377\2)))\377\342\342\342\377\377" \
+  "\377\377\377\377\245\377\377\377\377\1@@@\377\206\0\0\0\377\2\16\16\16" \
+  "\377\334\334\334\377\243\377\377\377\377\2\364\364\364\377\362\362\362" \
+  "\377\220\377\377\377\377\3\357\357\357\377\337\337\337\377\367\367\367" \
+  "\377\227\377\377\377\377\3\370\370\370\377\343\343\343\377\376\376\376" \
+  "\377\223\377\377\377\377\2\361\361\361\377\350\350\350\377\236\377\377" \
+  "\377\377\1\374\344\344\377\206\364\207\207\377\1\375\353\353\377\212" \
+  "\377\377\377\377\1\366\240\240\377\205\364\207\207\377\1\370\266\266" \
+  "\377\206\377\377\377\377\1\265\265\265\377\207\0\0\0\377\1\254\254\254" \
+  "\377\230\377\377\377\377\1\306\306\306\377\205\207\207\207\377\1\212" \
+  "\212\212\377\203\377\377\377\377\6\253\253\253\377FFF\377\7\7\7\377\2" \
+  "\2\2\377)))\377\237\237\237\377\211\377\377\377\377\5\373\373\373\377" \
+  "\274\274\274\377jjj\377)))\377\13\13\13\377\203\0\0\0\377\3\25\25\25" \
+  "\377^^^\377\266\266\266\377\220\377\377\377\377\13\367\367\367\377\224" \
+  "\224\224\377TTT\377'''\377\3\3\3\377\0\0\0\377\11\11\11\377///\377WW" \
+  "W\377\240\240\240\377\373\373\373\377\213\377\377\377\377\4\353\353\353" \
+  "\377\200\200\200\377JJJ\377\36\36\36\377\202\0\0\0\377\4\17\17\17\377" \
+  "777\377^^^\377\267\267\267\377\232\377\377\377\377\1\366\241\241\377" \
+  "\205\350\0\0\377\2\350\2\2\377\376\364\364\377\212\377\377\377\377\1" \
+  "\351\23\23\377\205\350\0\0\377\1\363\205\205\377\205\377\377\377\377" \
+  "\2\375\375\375\377---\377\206\0\0\0\377\1QQQ\377\231\377\377\377\377" \
+  "\1bbb\377\205\0\0\0\377\1$$$\377\202\377\377\377\377\2\234\234\234\377" \
+  "\1\1\1\377\205\0\0\0\377\2fff\377\371\371\371\377\205\377\377\377\377" \
+  "\3\372\372\372\377\221\221\221\377\25\25\25\377\212\0\0\0\377\2NNN\377" \
+  "\353\353\353\377\214\377\377\377\377\3\371\371\371\377\225\225\225\377" \
+  "\33\33\33\377\211\0\0\0\377\3\"\"\"\377\235\235\235\377\373\373\373\377" \
+  "\207\377\377\377\377\3\357\357\357\377|||\377\14\14\14\377\211\0\0\0" \
+  "\377\2""888\377\267\267\267\377\230\377\377\377\377\1\362qq\377\205\350" \
+  "\0\0\377\1\352&&\377\212\377\377\377\377\1\374\344\344\377\206\350\0" \
+  "\0\377\1\367\264\264\377\205\377\377\377\377\1\264\264\264\377\207\0" \
+  "\0\0\377\1\313\313\313\377\231\377\377\377\377\1""333\377\205\0\0\0\377" \
+  "\4SSS\377\377\377\377\377\242\242\242\377\2\2\2\377\206\0\0\0\377\2""1" \
+  "11\377\373\373\373\377\204\377\377\377\377\2\277\277\277\377'''\377\215" \
+  "\0\0\0\377\2\31\31\31\377\273\273\273\377\212\377\377\377\377\2\376\376" \
+  "\376\377PPP\377\215\0\0\0\377\1\215\215\215\377\206\377\377\377\377\2" \
+  "\361\361\361\377+++\377\215\0\0\0\377\1\304\304\304\377\227\377\377\377" \
+  "\377\1\355BB\377\205\350\0\0\377\1\357VV\377\212\377\377\377\377\1\370" \
+  "\265\265\377\206\350\0\0\377\1\374\343\343\377\205\377\377\377\377\1" \
+  "ccc\377\206\0\0\0\377\1DDD\377\231\377\377\377\377\2\374\374\374\377" \
+  "\10\10\10\377\205\0\0\0\377\3\201\201\201\377\301\301\301\377\3\3\3\377" \
+  "\206\0\0\0\377\2\4\4\4\377\317\317\317\377\204\377\377\377\377\2\235" \
+  "\235\235\377\5\5\5\377\206\0\0\0\377\3\26\26\26\377;;;\377\24\24\24\377" \
+  "\206\0\0\0\377\2\1\1\1\377\233\233\233\377\211\377\377\377\377\1{{{\377" \
+  "\207\0\0\0\377\2\1\1\1\377\7\7\7\377\204\0\0\0\377\2:::\377\373\373\373" \
+  "\377\205\377\377\377\377\2\374\374\374\377III\377\207\0\0\0\377\2\5\5" \
+  "\5\377\3\3\3\377\204\0\0\0\377\1nnn\377\230\377\377\377\377\1\351\22" \
+  "\22\377\205\350\0\0\377\1\364\206\206\377\212\377\377\377\377\1\364\207" \
+  "\207\377\205\350\0\0\377\1\351\23\23\377\205\377\377\377\377\2\375\375" \
+  "\375\377\25\25\25\377\206\0\0\0\377\1\231\231\231\377\231\377\377\377" \
+  "\377\1\325\325\325\377\206\0\0\0\377\2\231\231\231\377\32\32\32\377\207" \
+  "\0\0\0\377\1zzz\377\204\377\377\377\377\1\203\203\203\377\206\0\0\0\377" \
+  "\2+++\377\267\267\267\377\203\377\377\377\377\2\330\330\330\377///\377" \
+  "\205\0\0\0\377\2\21\21\21\377\355\355\355\377\207\377\377\377\377\1\305" \
+  "\305\305\377\206\0\0\0\377\11(((\377\220\220\220\377\342\342\342\377" \
+  "\373\373\373\377\321\321\321\377}}}\377\12\12\12\377\20\20\20\377\340" \
+  "\340\340\377\206\377\377\377\377\1\217\217\217\377\206\0\0\0\377\11@" \
+  "@@\377\242\242\242\377\360\360\360\377\365\365\365\377\306\306\306\377" \
+  "^^^\377\1\1\1\377///\377\370\370\370\377\227\377\377\377\377\1\374\342" \
+  "\342\377\206\350\0\0\377\1\370\265\265\377\212\377\377\377\377\1\357" \
+  "XX\377\205\350\0\0\377\1\355AA\377\205\377\377\377\377\1\302\302\302" \
+  "\377\207\0\0\0\377\1\337\337\337\377\231\377\377\377\377\1\246\246\246" \
+  "\377\206\0\0\0\377\1&&&\377\207\0\0\0\377\2(((\377\370\370\370\377\203" \
+  "\377\377\377\377\1\253\253\253\377\206\0\0\0\377\2(((\377\354\354\354" \
+  "\377\205\377\377\377\377\2\360\360\360\377000\377\205\0\0\0\377\1lll" \
+  "\377\207\377\377\377\377\1}}}\377\205\0\0\0\377\2\10\10\10\377\341\341" \
+  "\341\377\205\377\377\377\377\2\343\343\343\377\302\302\302\377\207\377" \
+  "\377\377\377\1HHH\377\205\0\0\0\377\2)))\377\371\371\371\377\205\377" \
+  "\377\377\377\2\314\314\314\377\331\331\331\377\230\377\377\377\377\1" \
+  "\370\262\262\377\206\350\0\0\377\1\374\345\345\377\212\377\377\377\377" \
+  "\1\353**\377\205\350\0\0\377\1\362qq\377\205\377\377\377\377\1\202\202" \
+  "\202\377\206\0\0\0\377\1###\377\232\377\377\377\377\1vvv\377\210\0\0" \
+  "\0\377\7\2\2\2\377555\377yyy\377\255\255\255\377\226\226\226\377OOO\377" \
+  "\304\304\304\377\203\377\377\377\377\2\325\325\325\377\14\14\14\377\205" \
+  "\0\0\0\377\2\32\32\32\377\340\340\340\377\207\377\377\377\377\1\250\250" \
+  "\250\377\205\0\0\0\377\2\4\4\4\377\325\325\325\377\206\377\377\377\377" \
+  "\1<<<\377\205\0\0\0\377\1""666\377\216\377\377\377\377\2\374\374\374" \
+  "\377\15\15\15\377\205\0\0\0\377\1nnn\377\240\377\377\377\377\1\363\203" \
+  "\203\377\205\350\0\0\377\1\351\25\25\377\212\377\377\377\377\2\375\367" \
+  "\367\377\350\3\3\377\205\350\0\0\377\1\366\240\240\377\205\377\377\377" \
+  "\377\1fff\377\206\0\0\0\377\1GGG\377\232\377\377\377\377\1GGG\377\207" \
+  "\0\0\0\377\2\13\13\13\377\276\276\276\377\211\377\377\377\377\1AAA\377" \
+  "\205\0\0\0\377\2\4\4\4\377\321\321\321\377\210\377\377\377\377\2\371" \
+  "\371\371\377\24\24\24\377\205\0\0\0\377\1bbb\377\206\377\377\377\377" \
+  "\1\33\33\33\377\205\0\0\0\377\1""333\377\216\377\377\377\377\1\353\353" \
+  "\353\377\206\0\0\0\377\1kkk\377\240\377\377\377\377\1\356SS\377\205\350" \
+  "\0\0\377\1\356EE\377\212\377\377\377\377\1\372\315\315\377\206\350\0" \
+  "\0\377\1\373\317\317\377\205\377\377\377\377\1MMM\377\206\0\0\0\377\1" \
+  "]]]\377\232\377\377\377\377\1\30\30\30\377\206\0\0\0\377\2\14\14\14\377" \
+  "\301\301\301\377\211\377\377\377\377\1\275\275\275\377\206\0\0\0\377" \
+  "\1WWW\377\212\377\377\377\377\1KKK\377\205\0\0\0\377\1""444\377\206\377" \
+  "\377\377\377\1""999\377\205\0\0\0\377\2\1\1\1\377\324\324\324\377\216" \
+  "\377\377\377\377\1\12\12\12\377\205\0\0\0\377\2\30\30\30\377\365\365" \
+  "\365\377\237\377\377\377\377\1\353##\377\205\350\0\0\377\1\363uu\377" \
+  "\212\377\377\377\377\1\365\236\236\377\205\350\0\0\377\2\350\5\5\377" \
+  "\376\371\371\377\205\377\377\377\377\1""333\377\206\0\0\0\377\1sss\377" \
+  "\231\377\377\377\377\1\351\351\351\377\207\0\0\0\377\1\234\234\234\377" \
+  "\212\377\377\377\377\1;;;\377\206\0\0\0\377\1\305\305\305\377\212\377" \
+  "\377\377\377\1ccc\377\205\0\0\0\377\2\13\13\13\377\376\376\376\377\205" \
+  "\377\377\377\377\1\217\217\217\377\206\0\0\0\377\2""111\377\370\370\370" \
+  "\377\215\377\377\377\377\1\\\\\\\377\206\0\0\0\377\1aaa\377\236\377\377" \
+  "\377\377\2\375\362\362\377\350\1\1\377\205\350\0\0\377\1\366\245\245" \
+  "\377\212\377\377\377\377\1\362oo\377\205\350\0\0\377\1\354--\377\206" \
+  "\377\377\377\377\1\36\36\36\377\206\0\0\0\377\1nnn\377\231\377\377\377" \
+  "\377\1\272\272\272\377\206\0\0\0\377\2\34\34\34\377\372\372\372\377\211" \
+  "\377\377\377\377\1\340\340\340\377\206\0\0\0\377\1""333\377\213\377\377" \
+  "\377\377\1{{{\377\206\0\0\0\377\1\337\337\337\377\205\377\377\377\377" \
+  "\2\361\361\361\377\26\26\26\377\206\0\0\0\377\1___\377\215\377\377\377" \
+  "\377\2\315\315\315\377\2\2\2\377\206\0\0\0\377\1\225\225\225\377\235" \
+  "\377\377\377\377\1\371\304\304\377\206\350\0\0\377\1\373\325\325\377" \
+  "\212\377\377\377\377\1\354//\377\205\350\0\0\377\1\360\\\\\377\206\377" \
+  "\377\377\377\1...\377\206\0\0\0\377\1GGG\377\231\377\377\377\377\1\213" \
+  "\213\213\377\206\0\0\0\377\1\217\217\217\377\212\377\377\377\377\1\223" \
+  "\223\223\377\206\0\0\0\377\1\231\231\231\377\213\377\377\377\377\1\206" \
+  "\206\206\377\206\0\0\0\377\1\265\265\265\377\206\377\377\377\377\1\250" \
+  "\250\250\377\207\0\0\0\377\1\205\205\205\377\215\377\377\377\377\1pp" \
+  "p\377\206\0\0\0\377\2\3\3\3\377\264\264\264\377\234\377\377\377\377\1" \
+  "\364\224\224\377\205\350\0\0\377\2\350\10\10\377\377\374\374\377\211" \
+  "\377\377\377\377\1\374\344\344\377\206\350\0\0\377\1\364\213\213\377" \
+  "\206\377\377\377\377\1EEE\377\206\0\0\0\377\1\40\40\40\377\231\377\377" \
+  "\377\377\1\\\\\\\377\205\0\0\0\377\2\1\1\1\377\354\354\354\377\212\377" \
+  "\377\377\377\1III\377\206\0\0\0\377\1\305\305\305\377\213\377\377\377" \
+  "\377\1fff\377\206\0\0\0\377\1\240\240\240\377\207\377\377\377\377\1\\" \
+  "\\\\\377\206\0\0\0\377\2\1\1\1\377\256\256\256\377\214\377\377\377\377" \
+  "\2\365\365\365\377///\377\206\0\0\0\377\2\14\14\14\377\324\324\324\377" \
+  "\233\377\377\377\377\1\361dd\377\205\350\0\0\377\1\35444\377\212\377" \
+  "\377\377\377\1\365\232\232\377\206\350\0\0\377\1\371\272\272\377\206" \
+  "\377\377\377\377\1]]]\377\206\0\0\0\377\2\2\2\2\377\367\367\367\377\230" \
+  "\377\377\377\377\1---\377\205\0\0\0\377\1""000\377\213\377\377\377\377" \
+  "\1###\377\206\0\0\0\377\1\345\345\345\377\213\377\377\377\377\1BBB\377" \
+  "\206\0\0\0\377\1\265\265\265\377\207\377\377\377\377\2\371\371\371\377" \
+  "\77\77\77\377\206\0\0\0\377\2\14\14\14\377\323\323\323\377\214\377\377" \
+  "\377\377\2\344\344\344\377\34\34\34\377\206\0\0\0\377\2$$$\377\357\357" \
+  "\357\377\232\377\377\377\377\1\35444\377\205\350\0\0\377\1\361dd\377" \
+  "\212\377\377\377\377\1\357PP\377\206\350\0\0\377\1\375\351\351\377\206" \
+  "\377\377\377\377\1xxx\377\207\0\0\0\377\1\322\322\322\377\227\377\377" \
+  "\377\377\2\371\371\371\377\5\5\5\377\205\0\0\0\377\1rrr\377\213\377\377" \
+  "\377\377\1\12\12\12\377\205\0\0\0\377\2\6\6\6\377\376\376\376\377\213" \
+  "\377\377\377\377\1\36\36\36\377\206\0\0\0\377\1\313\313\313\377\210\377" \
+  "\377\377\377\2\356\356\356\377(((\377\206\0\0\0\377\2\"\"\"\377\356\356" \
+  "\356\377\214\377\377\377\377\2\321\321\321\377\15\15\15\377\206\0\0\0" \
+  "\377\2JJJ\377\376\376\376\377\230\377\377\377\377\2\377\374\374\377\350" \
+  "\10\10\377\205\350\0\0\377\1\364\224\224\377\211\377\377\377\377\2\376" \
+  "\371\371\377\351\14\14\377\205\350\0\0\377\1\352\30\30\377\207\377\377" \
+  "\377\377\1\271\271\271\377\207\0\0\0\377\1\225\225\225\377\227\377\377" \
+  "\377\377\1\317\317\317\377\206\0\0\0\377\1\264\264\264\377\212\377\377" \
+  "\377\377\1\362\362\362\377\206\0\0\0\377\1$$$\377\213\377\377\377\377" \
+  "\2\370\370\370\377\2\2\2\377\206\0\0\0\377\1\351\351\351\377\211\377" \
+  "\377\377\377\2\334\334\334\377\24\24\24\377\206\0\0\0\377\1^^^\377\215" \
+  "\377\377\377\377\2\265\265\265\377\3\3\3\377\206\0\0\0\377\1\226\226" \
+  "\226\377\230\377\377\377\377\1\373\325\325\377\206\350\0\0\377\1\371" \
+  "\304\304\377\211\377\377\377\377\1\365\221\221\377\206\350\0\0\377\1" \
+  "\355GG\377\207\377\377\377\377\2\370\370\370\377\13\13\13\377\206\0\0" \
+  "\0\377\2\25\25\25\377\357\357\357\377\226\377\377\377\377\1\240\240\240" \
+  "\377\205\0\0\0\377\2\1\1\1\377\360\360\360\377\212\377\377\377\377\2" \
+  "\373\373\373\377\7\7\7\377\205\0\0\0\377\1""999\377\213\377\377\377\377" \
+  "\1\327\327\327\377\206\0\0\0\377\1""000\377\213\377\377\377\377\2\302" \
+  "\302\302\377\6\6\6\377\206\0\0\0\377\1\270\270\270\377\215\377\377\377" \
+  "\377\1\221\221\221\377\206\0\0\0\377\2\15\15\15\377\342\342\342\377\227" \
+  "\377\377\377\377\1\366\245\245\377\205\350\0\0\377\2\350\1\1\377\376" \
+  "\361\361\377\210\377\377\377\377\2\375\355\355\377\352\21\21\377\206" \
+  "\350\0\0\377\1\363vv\377\210\377\377\377\377\1MMM\377\207\0\0\0\377\1" \
+  "mmm\377\226\377\377\377\377\1qqq\377\205\0\0\0\377\1!!!\377\214\377\377" \
+  "\377\377\1""111\377\205\0\0\0\377\1&&&\377\213\377\377\377\377\1\247" \
+  "\247\247\377\206\0\0\0\377\1|||\377\214\377\377\377\377\1\216\216\216" \
+  "\377\206\0\0\0\377\1""666\377\216\377\377\377\377\1VVV\377\206\0\0\0" \
+  "\377\1nnn\377\227\377\377\377\377\1\363uu\377\205\350\0\0\377\1\352!" \
+  "!\377\211\377\377\377\377\1\361mm\377\207\350\0\0\377\1\366\245\245\377" \
+  "\210\377\377\377\377\1\252\252\252\377\207\0\0\0\377\2\3\3\3\377\322" \
+  "\322\322\377\225\377\377\377\377\1BBB\377\205\0\0\0\377\1OOO\377\214" \
+  "\377\377\377\377\1```\377\205\0\0\0\377\1\16\16\16\377\213\377\377\377" \
+  "\377\1LLL\377\206\0\0\0\377\1\315\315\315\377\214\377\377\377\377\2\376" \
+  "\376\376\377>>>\377\206\0\0\0\377\1\323\323\323\377\215\377\377\377\377" \
+  "\2\357\357\357\377\26\26\26\377\205\0\0\0\377\2\21\21\21\377\371\371" \
+  "\371\377\226\377\377\377\377\1\356FF\377\205\350\0\0\377\1\355HH\377" \
+  "\210\377\377\377\377\2\372\326\326\377\350\4\4\377\207\350\0\0\377\1" \
+  "\373\325\325\377\211\377\377\377\377\1""888\377\207\0\0\0\377\2""555" \
+  "\377\347\347\347\377\224\377\377\377\377\1\23\23\23\377\205\0\0\0\377" \
+  "\1~~~\377\214\377\377\377\377\1\216\216\216\377\206\0\0\0\377\1\366\366" \
+  "\366\377\211\377\377\377\377\2\350\350\350\377\4\4\4\377\205\0\0\0\377" \
+  "\1CCC\377\216\377\377\377\377\1\261\261\261\377\206\0\0\0\377\1\237\237" \
+  "\237\377\216\377\377\377\377\1\200\200\200\377\206\0\0\0\377\1\327\327" \
+  "\327\377\226\377\377\377\377\1\351\26\26\377\205\350\0\0\377\1\356FF" \
+  "\377\207\377\377\377\377\2\374\335\335\377\352!!\377\207\350\0\0\377" \
+  "\2\350\10\10\377\377\374\374\377\211\377\377\377\377\1\307\307\307\377" \
+  "\210\0\0\0\377\2\24\24\24\377\255\255\255\377\222\377\377\377\377\1\343" \
+  "\343\343\377\206\0\0\0\377\1\255\255\255\377\214\377\377\377\377\1\275" \
+  "\275\275\377\206\0\0\0\377\1\257\257\257\377\211\377\377\377\377\1ll" \
+  "l\377\206\0\0\0\377\1\277\277\277\377\216\377\377\377\377\1\320\320\320" \
+  "\377\206\0\0\0\377\1\214\214\214\377\216\377\377\377\377\1\240\240\240" \
+  "\377\206\0\0\0\377\1\304\304\304\377\225\377\377\377\377\1\375\346\346" \
+  "\377\206\350\0\0\377\2\350\10\10\377\375\362\362\377\205\377\377\377" \
+  "\377\5\373\325\325\377\352\32\32\377\350\0\0\377\350\2\2\377\353\34\34" \
+  "\377\205\350\0\0\377\1\35533\377\213\377\377\377\377\1ggg\377\211\0\0" \
+  "\0\377\2```\377\362\362\362\377\212\377\377\377\377\1\355\355\355\377" \
+  "\205\377\377\377\377\1\264\264\264\377\206\0\0\0\377\1\334\334\334\377" \
+  "\214\377\377\377\377\2\374\374\374\377---\377\205\0\0\0\377\1LLL\377" \
+  "\210\377\377\377\377\2\313\313\313\377\2\2\2\377\205\0\0\0\377\1LLL\377" \
+  "\205\377\377\377\377\1\375\375\375\377\211\377\377\377\377\1\255\255" \
+  "\255\377\206\0\0\0\377\1\304\304\304\377\204\377\377\377\377\1\375\375" \
+  "\375\377\211\377\377\377\377\1}}}\377\205\0\0\0\377\2\6\6\6\377\365\365" \
+  "\365\377\225\377\377\377\377\1\370\266\266\377\207\350\0\0\377\2\365" \
+  "\214\214\377\377\375\375\377\202\377\377\377\377\3\376\363\363\377\367" \
+  "\254\254\377\351\24\24\377\202\350\0\0\377\2\363\211\211\377\353,,\377" \
+  "\205\350\0\0\377\1\360bb\377\213\377\377\377\377\2\373\373\373\377MM" \
+  "M\377\211\0\0\0\377\15\21\21\21\377\\\\\\\377\252\252\252\377\322\322" \
+  "\322\377\353\353\353\377\371\371\371\377\344\344\344\377\314\314\314" \
+  "\377\254\254\254\377iii\377$$$\377\24\24\24\377\374\374\374\377\204\377" \
+  "\377\377\377\1\205\205\205\377\205\0\0\0\377\2\14\14\14\377\376\376\376" \
+  "\377\215\377\377\377\377\1\300\300\300\377\205\0\0\0\377\2\3\3\3\377" \
+  "\311\311\311\377\206\377\377\377\377\2\320\320\320\377\33\33\33\377\205" \
+  "\0\0\0\377\2\35\35\35\377\355\355\355\377\205\377\377\377\377\3\215\215" \
+  "\215\377NNN\377\340\340\340\377\206\377\377\377\377\2\376\376\376\377" \
+  "III\377\205\0\0\0\377\2\15\15\15\377\373\373\373\377\204\377\377\377" \
+  "\377\3^^^\377kkk\377\360\360\360\377\206\377\377\377\377\2\362\362\362" \
+  "\377$$$\377\205\0\0\0\377\1@@@\377\226\377\377\377\377\1\364\206\206" \
+  "\377\210\350\0\0\377\4\352\32\32\377\360hh\377\355BB\377\350\6\6\377" \
+  "\203\350\0\0\377\3\360YY\377\376\371\371\377\350\5\5\377\205\350\0\0" \
+  "\377\1\365\221\221\377\214\377\377\377\377\2\366\366\366\377===\377\224" \
+  "\0\0\0\377\1\277\277\277\377\204\377\377\377\377\1VVV\377\205\0\0\0\377" \
+  "\1:::\377\217\377\377\377\377\1XXX\377\205\0\0\0\377\2\14\14\14\377\274" \
+  "\274\274\377\203\377\377\377\377\3\376\376\376\377\261\261\261\377\15" \
+  "\15\15\377\205\0\0\0\377\2\11\11\11\377\306\306\306\377\205\377\377\377" \
+  "\377\7\366\366\366\377\30\30\30\377\0\0\0\377\12\12\12\377\201\201\201" \
+  "\377\312\312\312\377\364\364\364\377\202\377\377\377\377\2\331\331\331" \
+  "\377[[[\377\206\0\0\0\377\1VVV\377\204\377\377\377\377\13\330\330\330" \
+  "\377\3\3\3\377\0\0\0\377\27\27\27\377\226\226\226\377\322\322\322\377" \
+  "\371\371\371\377\377\377\377\377\376\376\376\377\303\303\303\377;;;\377" \
+  "\206\0\0\0\377\1\216\216\216\377\226\377\377\377\377\1\357WW\377\216" \
+  "\350\0\0\377\3\35466\377\376\366\366\377\372\322\322\377\206\350\0\0" \
+  "\377\1\371\300\300\377\215\377\377\377\377\2\363\363\363\377\\\\\\\377" \
+  "\223\0\0\0\377\1nnn\377\204\377\377\377\377\1'''\377\205\0\0\0\377\1" \
+  "iii\377\217\377\377\377\377\2\343\343\343\377\15\15\15\377\206\0\0\0" \
+  "\377\4'''\377ddd\377YYY\377\25\25\25\377\206\0\0\0\377\2\23\23\23\377" \
+  "\306\306\306\377\206\377\377\377\377\1\220\220\220\377\205\0\0\0\377" \
+  "\3\1\1\1\377\34\34\34\377\14\14\14\377\207\0\0\0\377\2'''\377\355\355" \
+  "\355\377\204\377\377\377\377\1[[[\377\205\0\0\0\377\3\4\4\4\377\36\36" \
+  "\36\377\7\7\7\377\207\0\0\0\377\2MMM\377\375\375\375\377\226\377\377" \
+  "\377\377\1\354''\377\215\350\0\0\377\4\355BB\377\375\362\362\377\377" \
+  "\377\377\377\367\244\244\377\206\350\0\0\377\1\375\357\357\377\217\377" \
+  "\377\377\377\2\237\237\237\377\14\14\14\377\221\0\0\0\377\1\36\36\36" \
+  "\377\203\377\377\377\377\2\365\365\365\377\2\2\2\377\205\0\0\0\377\1" \
+  "\230\230\230\377\220\377\377\377\377\2\331\331\331\377666\377\216\0\0" \
+  "\0\377\2,,,\377\331\331\331\377\206\377\377\377\377\2\370\370\370\377" \
+  "\32\32\32\377\216\0\0\0\377\2\26\26\26\377\336\336\336\377\204\377\377" \
+  "\377\377\2\330\330\330\377\3\3\3\377\216\0\0\0\377\2""222\377\364\364" \
+  "\364\377\226\377\377\377\377\2\376\365\365\377\350\2\2\377\205\350\0" \
+  "\0\377\1\350\4\4\377\206\350\0\0\377\2\357WW\377\376\371\371\377\202" \
+  "\377\377\377\377\1\363ww\377\205\350\0\0\377\1\352\36\36\377\221\377" \
+  "\377\377\377\3\353\353\353\377|||\377\21\21\21\377\216\0\0\0\377\3\13" \
+  "\13\13\377QQQ\377\360\360\360\377\202\377\377\377\377\1\311\311\311\377" \
+  "\206\0\0\0\377\1\306\306\306\377\221\377\377\377\377\3\374\374\374\377" \
+  "\202\202\202\377\5\5\5\377\212\0\0\0\377\3\22\22\22\377\223\223\223\377" \
+  "\374\374\374\377\207\377\377\377\377\3\370\370\370\377\231\231\231\377" \
+  ",,,\377\213\0\0\0\377\3\4\4\4\377___\377\334\334\334\377\205\377\377" \
+  "\377\377\3\353\353\353\377\201\201\201\377\31\31\31\377\213\0\0\0\377" \
+  "\3\15\15\15\377www\377\355\355\355\377\227\377\377\377\377\1\371\307" \
+  "\307\377\206\350\0\0\377\2\365\232\232\377\350\4\4\377\203\350\0\0\377" \
+  "\2\35466\377\370\271\271\377\204\377\377\377\377\1\364\201\201\377\205" \
+  "\355GG\377\1\363{{\377\223\377\377\377\377\4\362\362\362\377\240\240" \
+  "\240\377___\377\36\36\36\377\207\0\0\0\377\5\2\2\2\377\35\35\35\377d" \
+  "dd\377\263\263\263\377\367\367\367\377\204\377\377\377\377\1\273\273" \
+  "\273\377\206GGG\377\1\363\363\363\377\223\377\377\377\377\3\315\315\315" \
+  "\377___\377\25\25\25\377\205\0\0\0\377\4\4\4\4\377GGG\377\236\236\236" \
+  "\377\360\360\360\377\214\377\377\377\377\4\276\276\276\377UUU\377\40" \
+  "\40\40\377\2\2\2\377\204\0\0\0\377\4\4\4\4\377%%%\377hhh\377\336\336" \
+  "\336\377\211\377\377\377\377\4\372\372\372\377\246\246\246\377DDD\377" \
+  "\30\30\30\377\205\0\0\0\377\4\11\11\11\377...\377\201\201\201\377\356" \
+  "\356\356\377\231\377\377\377\377\1\366\230\230\377\205\350\0\0\377\6" \
+  "\350\6\6\377\377\372\372\377\374\344\344\377\366\251\251\377\370\270" \
+  "\270\377\374\341\341\377\244\377\377\377\377\10\347\347\347\377\317\317" \
+  "\317\377\272\272\272\377\246\246\246\377\262\262\262\377\313\313\313" \
+  "\377\345\345\345\377\373\373\373\377\245\377\377\377\377\7\375\375\375" \
+  "\377\327\327\327\377\274\274\274\377\247\247\247\377\272\272\272\377" \
+  "\327\327\327\377\365\365\365\377\222\377\377\377\377\6\370\370\370\377" \
+  "\326\326\326\377\261\261\261\377\264\264\264\377\332\332\332\377\373" \
+  "\373\373\377\220\377\377\377\377\6\363\363\363\377\317\317\317\377\254" \
+  "\254\254\377\273\273\273\377\341\341\341\377\376\376\376\377\234\377" \
+  "\377\377\377\1\360hh\377\205\350\0\0\377\1\35400\377\377\377\377\377" \
+  "\377\232\377\377\377\377\6\370\265\265\377\361gg\377\355\77\77\377\357" \
+  "OO\377\363\202\202\377\372\322\322\377\210\377\377\377\377\1\35588\377" \
+  "\205\350\0\0\377\1\361``\377\377\377\377\377\377\230\377\377\377\377" \
+  "\2\374\347\347\377\35599\377\205\350\0\0\377\3\350\5\5\377\363\200\200" \
+  "\377\376\373\373\377\205\377\377\377\377\2\377\375\375\377\350\13\13" \
+  "\377\205\350\0\0\377\1\364\220\220\377\377\377\377\377\377\227\377\377" \
+  "\377\377\2\375\354\354\377\353((\377\210\350\0\0\377\1\362ss\377\205" \
+  "\377\377\377\377\1\374\331\331\377\206\350\0\0\377\1\371\300\300\377" \
+  "\377\377\377\377\377\227\377\377\377\377\1\362pp\377\211\350\0\0\377" \
+  "\2\350\2\2\377\371\302\302\377\204\377\377\377\377\1\366\251\251\377" \
+  "\206\350\0\0\377\1\375\357\357\377\222\377\377\377\377\2\376\373\373" \
+  "\377\365\222\222\377\377\361gg\377\203\361gg\377\1\350\7\7\377\203\350" \
+  "\0\0\377\4\361nn\377\373\331\331\377\371\277\277\377\355>>\377\203\350" \
+  "\0\0\377\1\360[[\377\204\377\377\377\377\1\362yy\377\205\350\0\0\377" \
+  "\1\352\37\37\377\222\377\377\377\377\2\376\367\367\377\356GG\377\377" \
+  "\350\0\0\377\207\350\0\0\377\1\353**\377\203\377\377\377\377\1\372\321" \
+  "\321\377\203\350\0\0\377\1\353))\377\204\377\377\377\377\1\357II\377" \
+  "\205\350\0\0\377\1\357OO\377\221\377\377\377\377\2\376\367\367\377\356" \
+  "GG\377\377\350\0\0\377\210\350\0\0\377\1\360aa\377\203\377\377\377\377" \
+  "\2\376\371\371\377\350\12\12\377\202\350\0\0\377\1\351\16\16\377\204" \
+  "\377\377\377\377\1\352\32\32\377\205\350\0\0\377\1\362\177\177\377\220" \
+  "\377\377\377\377\2\376\367\367\377\356GG\377\377\350\0\0\377\211\350" \
+  "\0\0\377\2\351\16\16\377\375\363\363\377\202\377\377\377\377\1\367\255" \
+  "\255\377\203\350\0\0\377\1\355;;\377\202\377\377\377\377\2\374\336\336" \
+  "\377\356MM\377\206\350\0\0\377\1\370\257\257\377\217\377\377\377\377" \
+  "\2\376\367\367\377\356GG\377\204\350\0\0\377\1\357TT\377\377\371\277" \
+  "\277\377\3\371\277\277\377\371\300\300\377\353''\377\203\350\0\0\377" \
+  "\4\352\32\32\377\362yy\377\360__\377\350\11\11\377\203\350\0\0\377\4" \
+  "\362rr\377\377\377\377\377\372\321\321\377\351\20\20\377\206\350\0\0" \
+  "\377\2\351\15\15\377\365\231\231\377\216\377\377\377\377\2\376\367\367" \
+  "\377\356GG\377\204\350\0\0\377\2\357WW\377\376\373\373\377\377\377\377" \
+  "\377\377\202\377\377\377\377\1\367\250\250\377\211\350\0\0\377\4\352" \
+  "\27\27\377\375\353\353\377\375\362\362\377\352\31\31\377\210\350\0\0" \
+  "\377\2\351\15\15\377\374\341\341\377\214\377\377\377\377\2\376\367\367" \
+  "\377\356GG\377\204\350\0\0\377\2\357XX\377\376\374\374\377\377\377\377" \
+  "\377\377\204\377\377\377\377\1\362tt\377\207\350\0\0\377\4\350\10\10" \
+  "\377\370\267\267\377\377\377\377\377\363\202\202\377\204\350\0\0\377" \
+  "\3\35466\377\360ZZ\377\350\7\7\377\203\350\0\0\377\1\356DD\377\213\375" \
+  "\357\357\377\2\375\353\353\377\356GG\377\204\350\0\0\377\2\360ZZ\377" \
+  "\376\374\374\377\377\377\377\377\377\206\377\377\377\377\2\365\230\230" \
+  "\377\352\31\31\377\204\350\0\0\377\2\35411\377\373\325\325\377\202\377" \
+  "\377\377\377\1\35422\377\203\350\0\0\377\1\364\217\217\377\202\377\377" \
+  "\377\377\2\374\341\341\377\350\7\7\377\223\350\0\0\377\2\360\\\\\377" \
+  "\376\375\375\377\377\377\377\377\377\210\377\377\377\377\6\376\366\366" \
+  "\377\371\275\275\377\365\221\221\377\366\241\241\377\373\327\327\377" \
+  "\376\376\376\377\203\377\377\377\377\1\351\15\15\377\202\350\0\0\377" \
+  "\2\350\11\11\377\375\362\362\377\203\377\377\377\377\1\360ZZ\377\222" \
+  "\350\0\0\377\2\360^^\377\376\375\375\377\377\377\377\377\377\222\377" \
+  "\377\377\377\1\353$$\377\203\350\0\0\377\1\373\331\331\377\203\377\377" \
+  "\377\377\1\35466\377\221\350\0\0\377\2\360``\377\376\375\375\377\377" \
+  "\377\377\377\377\223\377\377\377\377\1\360YY\377\203\350\0\0\377\4\357" \
+  "NN\377\373\331\331\377\375\362\362\377\364\217\217\377\203\350\0\0\377" \
+  "\1\350\2\2\377\214\355\77\77\377\3\356GG\377\366\240\240\377\376\375" \
+  "\375\377\377\377\377\377\377\224\377\377\377\377\1\370\262\262\377\205" \
+  "\350\0\0\377\1\350\11\11\377\204\350\0\0\377\1\360[[\377\377\377\377" \
+  "\377\377\244\377\377\377\377\1\360ZZ\377\210\350\0\0\377\2\351\25\25" \
+  "\377\374\336\336\377\377\377\377\377\377\244\377\377\377\377\2\375\360" \
+  "\360\377\360ZZ\377\206\350\0\0\377\2\352\32\32\377\372\322\322\377\377" \
+  "\377\377\377\377\247\377\377\377\377\7\370\262\262\377\360YY\377\353" \
+  "$$\377\351\16\16\377\35466\377\363\204\204\377\376\364\364\377\377\377" \
+  "\377\377\377\245\377\377\377\377")
+
+
diff --git a/recipes-bsp/psplash/files/splashfuncs b/recipes-bsp/psplash/files/splashfuncs
new file mode 100644 (file)
index 0000000..ada2a96
--- /dev/null
@@ -0,0 +1,29 @@
+status() {
+  if type splash-write >/dev/null 2>&1; then
+    (TMPDIR="/mnt/.splash" EXQUISITE_IPC="$TMPDIR/exquisite" splash-write "$1" || true) &
+  fi
+}
+
+status_position() {
+  status "PROGRESS $1"
+}
+
+status_title() {
+  status "TITLE $1"
+}
+
+status_text() {
+  if test -n "$1"; then
+    status "MSG $1"
+  else
+    status "CLEAR"
+  fi
+}
+
+status_pulse() {
+  status "PULSATE"
+}
+
+status_tick() {
+  status "TICK"
+}
diff --git a/recipes-bsp/psplash/psplash-mucross_git.bb b/recipes-bsp/psplash/psplash-mucross_git.bb
new file mode 100644 (file)
index 0000000..970e243
--- /dev/null
@@ -0,0 +1,26 @@
+require psplash.inc
+require psplash-ua.inc
+
+PV = "0.0"
+SRCREV = "b6c9d08c992f1219b8ce958b0a6fbfdc1502019a"
+PR_append = "+gitr${SRCPV}"
+
+ALTERNATIVE_PRIORITY = "40"
+
+LIC_FILES_CHKSUM = "file://psplash.c;md5=e357d3ebf2d2a4fc0ea3cd287b411aa5"
+
+
+# You can create your own pslash-hand-img.h by doing
+# ./make-image-header.sh <file>.png HAND
+# and rename the resulting .h to pslash-hand-img.h (for the logo)
+# respectively psplash-bar-img.h (BAR) for the bar.
+# You might also want to patch the colors (see patch)
+
+SRC_URI = "git://git.labs.kernelconcepts.de/psplash.git;protocol=git;branch=master \
+          file://psplash-poky-img.h \
+          file://psplash-bar-img.h \
+          file://psplash-default \
+          file://psplash-init \
+          file://splashfuncs"
+
+S = "${WORKDIR}/git"
diff --git a/recipes-bsp/psplash/psplash-ua.inc b/recipes-bsp/psplash/psplash-ua.inc
new file mode 100644 (file)
index 0000000..a88af09
--- /dev/null
@@ -0,0 +1,9 @@
+inherit update-alternatives
+
+do_install_append() {
+       mv ${D}${bindir}/psplash ${D}${bindir}/psplash.${PN}
+}
+
+ALTERNATIVE_${PN} = "psplash"
+ALTERNATIVE_LINK_NAME[psplash] = "${bindir}/psplash"
+ALTERNATIVE_TARGET[psplash] = "${bindir}/psplash.${PN}"
diff --git a/recipes-bsp/psplash/psplash.inc b/recipes-bsp/psplash/psplash.inc
new file mode 100644 (file)
index 0000000..2d999d1
--- /dev/null
@@ -0,0 +1,48 @@
+DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
+HOMEPAGE = "http://projects.o-hand.com/psplash"
+SECTION = "base"
+LICENSE = "GPLv2+"
+PROVIDES = "virtual/psplash"
+RPROVIDES_${PN} = "virtual-psplash"
+RCONFLICTS_${PN} = "exquisite"
+
+SRCREV = "422"
+PV = "0.0+svnr${SRCPV}"
+PR = "r34"
+
+# You can create your own pslash-poky-img.h by doing
+# ./make-image-header.sh <file>.png POKY
+# and rename the resulting .h to pslash-poky-img.h (for the logo)
+# respectively psplash-bar-img.h (BAR) for the bar.
+# You might also want to patch the colors (see patch)
+
+inherit autotools pkgconfig update-rc.d
+
+do_configure_append() {
+       install -m 0644 ${WORKDIR}/psplash-poky-img.h ${S}/
+       install -m 0644 ${WORKDIR}/psplash-bar-img.h ${S}/
+
+       if [ -e "${WORKDIR}/psplash.h" ]; then
+               install -m 0644 ${WORKDIR}/psplash.h ${S}/
+       fi
+}
+
+do_install_prepend() {
+       install -d ${D}/mnt/.splash/
+       install -d ${D}${sysconfdir}/default/
+       install -m 0644 ${WORKDIR}/psplash-default ${D}${sysconfdir}/default/psplash
+       install -d ${D}${sysconfdir}/init.d/
+       install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash
+       install -d ${D}${bindir}
+       ln -s psplash-write ${D}${bindir}/splash-write
+       install -d ${D}${sysconfdir}/default
+       install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs
+}
+
+INITSCRIPT_NAME = "psplash"
+INITSCRIPT_PARAMS = "start 01 S . stop 20 0 1 6 ."
+
+PACKAGES =+ "psplash-support"
+
+RDEPENDS_${PN} += "psplash-support"
+FILES_psplash-support += "/mnt/.splash ${sysconfdir} ${bindir}/psplash-write ${bindir}/splash-write"