forked from ogra1/psplash
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screenly pi gadget #1
Open
ghost
wants to merge
21
commits into
Screenly:master
Choose a base branch
from
unknown repository
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
While the source files for the main splash image is present in the source folder base-image, the progress bar isn't. This patch adds the bar.png recovered from the RLE data in the bar header file. The tool make-image-header.sh allows to translate this png back the the header exactly. Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Use /run for communication FIFO which is typically preserved between initramfs and regular root file system. Introduce a new environment variable PSPLASH_FIFO_DIR which allows to pass /tmp for the old behavior or another directory. Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Process consecutive commands separated by null-termations. Since it is a FIFO, in theory, two commands can be queued from two independent calls to psplash-write. This also makes the command parser more robust. With this code, sequences like this get parsed just fine: echo -e "\nPROGRESS 10\n\0\nQUIT" > /run/psplash_fifo Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
This adds optional systemd support. When enabled, an utility called psplash-systemd is built. This tool will connect to systemd using the system bus to obtain progress information and communicate that to psplash. Once full boot progress is reported by systemd psplash psplash is closed using the quit command. Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
Signed-off-by: David Steinberg <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
'psplash' uses only one buffer which can cause tearing artifacts. This change uses the FBIOPAN_DISPLAY ioctl as a way to handle page flipping and also does that after a vsync interrupt to remove any tearing issues. Signed-off-by: Andrei Gherzan <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Signed-off-by: Andrei Gherzan <[email protected]> Signed-off-by: Richard Purdie <[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. Signed-off-by: Yann Dirson <[email protected]> Signed-off-by: Richard Purdie <[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. Signed-off-by: Yann Dirson <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
…hem in dist tarball Signed-off-by: Yann Dirson <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Since commit f7a354d ("Generate image headers from their PNG source, while still including them in dist tarball") headers files are generated from autotools by using BUILD_SOURCES variable. But when generating header files, it is important to generate the files before the rest of the sources are compiled. So, the BUILT_SOURCES variable must be used in this case. Fixes: psplash.c:17:10: fatal error: psplash-bar-img.h: No such file or directory #include "psplash-bar-img.h" Signed-off-by: Pierre-Jean Texier <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Out of tree builds were broken, fix the makefile path so it can find the image generation script. Signed-off-by: Richard Purdie <[email protected]>
Since removing psplash-bar-img.h in commit f7a354d means that it will always need to be regenerated, go ahead and remove psplash-poky-img.h as well for consistency. Signed-off-by: Scott Murray <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
To avoid racing on FIFO creation between psplash and psplash-systemd, enhance the systemd support by adding a call to sd_notify in psplash after the FIFO is created. That will alow setting the psplash-start systemd unit type to "notify" to avoid the race. Signed-off-by: Scott Murray <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.