Skip to contentSkip to conversation

Cleanup poky logo

PATCH New [email protected] 1 participant 3 messages Aug 30, 2019 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 Cleanup poky logo

From: Yann Dirson <[email protected]>

Make the shipped logo used as source for psplash-poky-img.h to have the name expected by make-image-header.sh, and remove unused logo.

---
 base-images/poky-logo.png                        | Bin 7006 -> 0 bytes
 base-images/{poky-logo2.png => psplash-poky.png} | Bin
 psplash-poky-img.h                               |   1 +
 3 files changed, 1 insertion(+)
 delete mode 100644 base-images/poky-logo.png
 rename base-images/{poky-logo2.png => psplash-poky.png} (100%)
base-images/poky-logo.png deleted binary +0 -0
deleted file mode 100644
index 64520782bb301feb340924c2e911b570b824a89e..0000000000000000000000000000000000000000
GIT binary patch
base-images/psplash-poky.png renamed from base-images/poky-logo2.png +0 -0
similarity index 100%
rename from base-images/poky-logo2.png
rename to base-images/psplash-poky.png
psplash-poky-img.h +1 -0
index 76267e6..fff960e 100644
@@ -1019,3 +1019,4 @@
   "\337\243\377\371\346\264\377\377\363ZE\0\377\363ZE\0\377\363ZE\0\377" \
   "\363ZE\0\377\363ZE\0\377\363ZE\0\377\363ZE\0\217\363ZE\0")
 
+
Signature · 1 line
2.23.0.rc1
#1 lore raw

PATCH 2/3 Import png source for images, extracted from headers

From: Yann Dirson <[email protected]>

The prefered form for manipulating an image is the PNG source from which the C code was generated. These PNG were extracted by feeding data from the C headers to libpng.

---
 base-images/psplash-bar.png  | Bin 0 -> 544 bytes
 base-images/psplash-hand.png | Bin 0 -> 3572 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 base-images/psplash-bar.png
 create mode 100644 base-images/psplash-hand.png
base-images/psplash-bar.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..56e1d86c1778bea7ddc5da103c1fa2a6e9e1554d
GIT binary patch
base-images/psplash-hand.png new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..35498d3b09b53becf72e77e680607bb4ce030006
GIT binary patch
Signature · 1 line
2.23.0.rc1
#2 lore raw

PATCH 3/3 Generate image headers from their PNG source, while still including them in dist tarball

In reply to [email protected]

From: Yann Dirson <[email protected]>

---
 Makefile.am        |    5 +
 psplash-bar-img.h  |   47 --
 psplash-hand-img.h |  320 --------------
 psplash-poky-img.h | 1022 --------------------------------------------
 4 files changed, 5 insertions(+), 1389 deletions(-)
 delete mode 100644 psplash-bar-img.h
 delete mode 100644 psplash-hand-img.h
 delete mode 100644 psplash-poky-img.h
Makefile.am +5 -0
index a14152a..0e751b8 100644
@@ -6,6 +6,7 @@ psplash_SOURCES = psplash.c psplash.h psplash-fb.c psplash-fb.h \
                   psplash-console.c psplash-console.h           \
 		  psplash-colors.h psplash-config.h		\
 		  psplash-poky-img.h psplash-bar-img.h radeon-font.h
+BUILD_SOURCES = psplash-poky-img.h psplash-bar-img.h
 
 psplash_write_SOURCES = psplash-write.c psplash.h
 
@@ -16,3 +17,7 @@ MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depc
 snapshot:
 	$(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
 
+psplash-bar-img.h: base-images/psplash-bar.png
+	./make-image-header.sh $< BAR
+psplash-poky-img.h: base-images/psplash-poky.png
+	./make-image-header.sh $< POKY
psplash-bar-img.h deleted +0 -47

47 lines not on this page · raw message

psplash-hand-img.h deleted +0 -320

320 lines not on this page · raw message

psplash-poky-img.h deleted +0 -1022

1,022 lines not on this page · raw message

Signature · 1 line
2.23.0.rc1