Skip to contentSkip to conversation

psplash: new package

PATCH Superseded Phil Eichinger 3 participants 5 messages Oct 1, 2013

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 psplash: new package

---
 package/Config.in          |    1 +
 package/psplash/Config.in  |   15 +++++++++++++++
 package/psplash/README     |   16 ++++++++++++++++
 package/psplash/psplash.mk |   11 +++++++++++
 4 files changed, 43 insertions(+)
 create mode 100644 package/psplash/Config.in
 create mode 100644 package/psplash/README
 create mode 100644 package/psplash/psplash.mk
package/Config.in +1 -0
index c6ea66b..86fbce2 100644
@@ -156,6 +156,7 @@ endif
 source "package/fbterm/Config.in"
 source "package/fbv/Config.in"
 source "package/fb-test-app/Config.in"
+source "package/psplash/Config.in"
 source "package/imagemagick/Config.in"
 source "package/linux-fusion/Config.in"
 source "package/lite/Config.in"
package/psplash/Config.in new file +15 -0
new file mode 100644
index 0000000..186fe8a
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PSPLASH
+	bool "psplash"
+	help
+	  PSplash is a userspace graphical boot splash screen for mainly
+	  embedded Linux devices supporting a 16bpp or 32bpp framebuffer.
+	  It has few dependencies (just libc), supports basic images and
+	  text and handles rotation. Its visual look is configurable by
+	  basic source changes.
+
+	  Also included is a 'client' command utility for sending
+	  information to psplash such as boot progress information.
+
+	  For usage see README in package directory.
+
+	  http://git.yoctoproject.org/cgit/cgit.cgi/psplash/
package/psplash/README new file +16 -0
new file mode 100644
index 0000000..89376ad
@@ -0,0 +1,16 @@
+psplash utility is started, draws its image and progress bar and waits for communication. 
+psplash-write utility can be used to emit text messages and progress indication to a running psplash.
+
+Start the drawing process with 'psplash -n&' as early as possible.
+
+Note: psplash creates a FIFO in /tmp for communication with psplash-write.
+
+Usage: 
+* Set progress bar to 50 percent:
+  psplash-write "PROGRESS 50"
+
+* Display message "foobar" above progress bar:
+  psplash-write "MSG foobar"
+
+* Terminate psplash:
+  psplash-write "QUIT"
package/psplash/psplash.mk new file +11 -0
new file mode 100644
index 0000000..d3b912d
@@ -0,0 +1,11 @@
+################################################################################
+#
+# psplash
+#
+################################################################################
+
+PSPLASH_VERSION = 0.1
+PSPLASH_SITE = http://downloads.yoctoproject.org/releases/psplash
+PSPLASH_LICENSE = GPLv2+
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 mtdev: bump version to 1.1.4

---
 package/mtdev/mtdev.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mtdev/mtdev.mk +1 -1
index 5c94352..3ae2a10 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MTDEV_VERSION = 1.1.3
+MTDEV_VERSION = 1.1.4
 MTDEV_SOURCE = mtdev-$(MTDEV_VERSION).tar.bz2
 MTDEV_SITE = http://bitmath.org/code/mtdev/
 
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/2 mtdev: bump version to 1.1.4

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Phil" == Phil Eichinger <[email protected]> writes:

Phil> Signed-off-by: Phil Eichinger <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/2 psplash: new package

In reply to Phil Eichinger

Dear Phil Eichinger,

Quoted 57 lines · Phil Eichinger
---
 package/Config.in          |    1 +
 package/psplash/Config.in  |   15 +++++++++++++++
 package/psplash/README     |   16 ++++++++++++++++
 package/psplash/psplash.mk |   11 +++++++++++
 4 files changed, 43 insertions(+)
 create mode 100644 package/psplash/Config.in
 create mode 100644 package/psplash/README
 create mode 100644 package/psplash/psplash.mk
package/Config.in +1 -0
index c6ea66b..86fbce2 100644
@@ -156,6 +156,7 @@ endif
 source "package/fbterm/Config.in"
 source "package/fbv/Config.in"
 source "package/fb-test-app/Config.in"
+source "package/psplash/Config.in"
 source "package/imagemagick/Config.in"
 source "package/linux-fusion/Config.in"
 source "package/lite/Config.in"
package/psplash/Config.in new file +15 -0
new file mode 100644
index 0000000..186fe8a
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PSPLASH
+	bool "psplash"
+	help
+	  PSplash is a userspace graphical boot splash screen for mainly
+	  embedded Linux devices supporting a 16bpp or 32bpp framebuffer.
+	  It has few dependencies (just libc), supports basic images and
+	  text and handles rotation. Its visual look is configurable by
+	  basic source changes.
+
+	  Also included is a 'client' command utility for sending
+	  information to psplash such as boot progress information.
+
+	  For usage see README in package directory.
+
+	  http://git.yoctoproject.org/cgit/cgit.cgi/psplash/
package/psplash/README new file +6 -0
new file mode 100644
index 0000000..89376ad
@@ -0,0 +1,16 @@
+psplash utility is started, draws its image and progress bar and waits for communication. 
+psplash-write utility can be used to emit text messages and progress indication to a running psplash.
+
+Start the drawing process with 'psplash -n&' as early as possible.
+
+Note: psplash creates a FIFO in /tmp for communication with psplash-write.

package/psplash/README line 16

Quoted 10 lines
package/psplash/README new file +10 -0
+
+Usage: 
+* Set progress bar to 50 percent:
+  psplash-write "PROGRESS 50"
+
+* Display message "foobar" above progress bar:
+  psplash-write "MSG foobar"
+
+* Terminate psplash:
+  psplash-write "QUIT"

I believe we generally put this content directly within the Config.in help text, though it's true in this case it's a bit long.

Quoted 6 lines
package/psplash/psplash.mk new file +0 -0
new file mode 100644
index 0000000..d3b912d

package/psplash/psplash.mk line 9

Quoted 9 lines
package/psplash/psplash.mk new file +9 -0
@@ -0,0 +1,11 @@
+################################################################################
+#
+# psplash
+#
+################################################################################
+
+PSPLASH_VERSION = 0.1
+PSPLASH_SITE = http://downloads.yoctoproject.org/releases/psplash
+PSPLASH_LICENSE = GPLv2+

PSLASH_LICENSE_FILES = COPYING

package/psplash/psplash.mk line 11

Quoted 2 lines
package/psplash/psplash.mk new file +2 -0
+
+$(eval $(autotools-package))

Does it build with a minimal uClibc toolchain? I.e, does the following configuration builds:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-basic-2013.05-1.tar.bz2" # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_PACKAGE_PSPLASH=y

Other than that, it looks good!

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

PATCH 1/2 psplash: new package

On 1 October 2013 12:00, Thomas Petazzoni <
[email protected]> wrote:
<snip>

Quoted 13 lines

Does it build with a minimal uClibc toolchain? I.e, does the following configuration builds:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_URL="
http://autobuild.buildroot.org/toolchains/tarballs/br-arm-basic-2013.05-1.tar.bz2
"
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set BR2_PACKAGE_PSPLASH=y

Quoted 2 lines

Other than that, it looks good!

Thanks for pointing me in that direction, turned out it needs wchar support, I've sent a v2.

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131001/172a2eb8/attachment.html>