gatesgarth migration: psplash: rework Digi customization to match new version

Commit f7a354d("Generate image headers from their PNG source, while still
including them in dist tarball") provides a default PNG files removing the image
generation in build time. This commit overwrites the default PNG with one
customized by Digi.

https://jira.digi.com/browse/DEL-7508

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2021-04-27 15:09:14 +02:00
parent 867386c5c8
commit ca5a2cce23
3 changed files with 5 additions and 105 deletions

View File

@ -1,104 +0,0 @@
From: David Escalona <david.escalona@digi.com>
Date: Thu, 29 Dec 2016 10:45:39 +0100
Subject: [PATCH] bar: replace progress bar with Digi one
Signed-off-by: David Escalona <david.escalona@digi.com>
---
psplash-bar-img.h | 84 ++++++++++++++++++++++++++++---------------------------
1 file changed, 43 insertions(+), 41 deletions(-)
diff --git a/psplash-bar-img.h b/psplash-bar-img.h
index c1c7626..28843cd 100644
--- a/psplash-bar-img.h
+++ b/psplash-bar-img.h
@@ -1,47 +1,49 @@
/* 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_ROWSTRIDE (1520)
+#define BAR_IMG_WIDTH (380)
+#define BAR_IMG_HEIGHT (30)
#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")
+ "\377\312\312\312\377\377\312\312\312\377\377\312\312\312\377\377\312\312" \
+ "\312\377\377\312\312\312\377\377\312\312\312\377\377\377\377\377\0\377" \
+ "\377\377\377\0\372\377\377\377\0\204\312\312\312\377\377\377\377\377" \
+ "\0\377\377\377\377\0\372\377\377\377\0\204\312\312\312\377\377\377\377" \
+ "\377\0\377\377\377\377\0\372\377\377\377\0\204\312\312\312\377\377\377" \
+ "\377\377\0\377\377\377\377\0\372\377\377\377\0\204\312\312\312\377\377" \
+ "\377\377\377\0\377\377\377\377\0\372\377\377\377\0\204\312\312\312\377" \
+ "\377\377\377\377\0\377\377\377\377\0\372\377\377\377\0\204\312\312\312" \
+ "\377\377\377\377\377\0\377\377\377\377\0\372\377\377\377\0\204\312\312" \
+ "\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377\377\0\204\312" \
+ "\312\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377\377\0\204" \
+ "\312\312\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377\377" \
+ "\0\204\312\312\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377" \
+ "\377\0\202\312\312\312\377\2\312\312\312\373\312\312\312\377\377\377" \
+ "\377\377\0\377\377\377\377\0\372\377\377\377\0\1\312\312\312\377\202" \
+ "\312\312\312\373\1\312\312\312\377\377\377\377\377\0\377\377\377\377" \
+ "\0\372\377\377\377\0\1\312\312\312\377\202\312\312\312\373\1\312\312" \
+ "\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377\377\0\1\312" \
+ "\312\312\377\202\312\312\312\373\1\312\312\312\377\377\377\377\377\0" \
+ "\377\377\377\377\0\372\377\377\377\0\1\312\312\312\377\202\312\312\312" \
+ "\373\1\312\312\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377" \
+ "\377\0\1\312\312\312\377\202\312\312\312\373\1\312\312\312\377\377\377" \
+ "\377\377\0\377\377\377\377\0\372\377\377\377\0\1\312\312\312\377\202" \
+ "\312\312\312\373\1\312\312\312\377\377\377\377\377\0\377\377\377\377" \
+ "\0\372\377\377\377\0\1\312\312\312\377\202\312\312\312\373\1\312\312" \
+ "\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377\377\0\1\312" \
+ "\312\312\377\202\312\312\312\373\1\312\312\312\377\377\377\377\377\0" \
+ "\377\377\377\377\0\372\377\377\377\0\1\312\312\312\377\202\312\312\312" \
+ "\373\1\312\312\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377" \
+ "\377\0\1\312\312\312\377\202\312\312\312\373\1\312\312\312\377\377\377" \
+ "\377\377\0\377\377\377\377\0\372\377\377\377\0\1\312\312\312\377\202" \
+ "\312\312\312\373\1\312\312\312\377\377\377\377\377\0\377\377\377\377" \
+ "\0\372\377\377\377\0\1\312\312\312\377\202\312\312\312\373\1\312\312" \
+ "\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377\377\0\1\312" \
+ "\312\312\377\202\312\312\312\373\1\312\312\312\377\377\377\377\377\0" \
+ "\377\377\377\377\0\372\377\377\377\0\1\312\312\312\377\202\312\312\312" \
+ "\373\1\312\312\312\377\377\377\377\377\0\377\377\377\377\0\372\377\377" \
+ "\377\0\1\312\312\312\377\202\312\312\312\373\377\312\312\312\377\377" \
+ "\312\312\312\377\374\312\312\312\377\202\312\312\312\373\377\312\312" \
+ "\312\377\377\312\312\312\377\374\312\312\312\377\1\312\312\312\373")

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -4,5 +4,9 @@ FILESEXTRAPATHS_prepend_dey := "${THISDIR}/files:"
SRC_URI += " \ SRC_URI += " \
file://0001-colors-modify-psplash-colors-to-match-Digi-scheme.patch \ file://0001-colors-modify-psplash-colors-to-match-Digi-scheme.patch \
file://0002-bar-replace-progress-bar-with-Digi-one.patch \ file://psplash-digi-bar.png \
" "
do_patch_png () {
cp ${WORKDIR}/psplash-digi-bar.png ${S}/base-images/psplash-bar.png
}
addtask patch_png after do_patch before do_configure