package/psplash: add support for fullscreen config option
PATCH 1/1 package/psplash: add support for fullscreen config option
Add support for a psplash configure option:
--enable-img-fullscreen, via BR2_PACKAGE_PSPLASH_FULL_SCREEN
The Buildroot option will default to 'n' to be compatible with the previous behaviour, as it was disabled by default in psplash.
--- package/psplash/Config.in | 6 ++++++ package/psplash/psplash.mk | 6 ++++++ 2 files changed, 12 insertions(+)
package/psplash/Config.in +6 -0
@@ -47,6 +47,12 @@ config BR2_PACKAGE_PSPLASH_STARTUP_MSG help Enable text banner output on startup. +config BR2_PACKAGE_PSPLASH_FULL_SCREEN + bool "use fullscreen mode" + default n + help + Enable displaying the psplash image in fullscreen mode. + endif comment "psplash needs a toolchain w/ wchar"
package/psplash/psplash.mk +6 -0
@@ -31,6 +31,12 @@ else PSPLASH_CONF_OPTS += --disable-startup-msg endif +ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y) +PSPLASH_CONF_OPTS += --enable-img-fullscreen +else +PSPLASH_CONF_OPTS += --disable-img-fullscreen +endif + PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE)) ifneq ($(PSPLASH_IMAGE),)
Signature · 6 lines
2.48.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedHi Olivier,
Quoted 7 lines · Olivier Benjamin via buildroot
Add support for a psplash configure option:
--enable-img-fullscreen, viaBR2_PACKAGE_PSPLASH_FULL_SCREENThe Buildroot option will default to 'n' to be compatible with the previous behaviour, as it was disabled by default in psplash.
Signed-off-by Olivier Benjamin <[email protected]>
Applied to master, thanks.
I also see that psplash upstream received few updates, including gcc15/C23 fixes: https://git.yoctoproject.org/psplash/log/
As a suggestion, could you send a bump to the latest commit please?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · Julien Olivain
Hi Olivier,
Quoted 3 lines · Olivier Benjamin via buildroot
Add support for a psplash configure option:
--enable-img-fullscreen, viaBR2_PACKAGE_PSPLASH_FULL_SCREEN
Quoted 7 lines
Quoted 4 lines
The Buildroot option will default to 'n' to be compatible with the previous behaviour, as it was disabled by default in psplash.
Signed-off-by Olivier Benjamin <[email protected]>Applied to master, thanks.
thanks for the super quick turn-around!
Quoted 4 lines
I also see that psplash upstream received few updates, including gcc15/C23 fixes: https://git.yoctoproject.org/psplash/log/
As a suggestion, could you send a bump to the latest commit please?
I'll take a look
Quoted 7 lines
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 8 lines
Olivier Benjamin, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello,
package/psplash/Config.in config BR2_PACKAGE_PSPLASH_STARTUP_MSG · line 52
Quoted 11 lines · On Wed, 7 May 2025 13:40:41 +0200 Olivier Benjamin…
package/psplash/Config.in +3
-0@@ -47,6 +47,12 @@ config BR2_PACKAGE_PSPLASH_STARTUP_MSG help Enable text banner output on startup. +config BR2_PACKAGE_PSPLASH_FULL_SCREEN + bool "use fullscreen mode" + default n
"default n" is useless, as it's... the default.
package/psplash/psplash.mk else · line 38
Quoted 13 lines
package/psplash/psplash.mk +5
-0@@ -31,6 +31,12 @@ else PSPLASH_CONF_OPTS += --disable-startup-msg endif +ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y) +PSPLASH_CONF_OPTS += --enable-img-fullscreen +else +PSPLASH_CONF_OPTS += --disable-img-fullscreen +endif
The explicit --enable-<foo> is apparently causing problems, due to bugs in the upstream configure.ac:
https://gitlab.com/buildroot.org/buildroot/-/issues/112
Could you have a look?
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 13 lines · Thomas Petazzoni via buildroot
Hello,
Quoted 8 lines · On Wed, 7 May 2025 13:40:41 +0200 Olivier Benjamin…
package/psplash/Config.in +0
-0@@ -47,6 +47,12 @@ config BR2_PACKAGE_PSPLASH_STARTUP_MSG help Enable text banner output on startup.
Quoted 6 lines
package/psplash/Config.in config BR2_PACKAGE_PSPLASH_STARTUP_MSG · line 52
Quoted 3 lines
package/psplash/Config.in +3
-0+config BR2_PACKAGE_PSPLASH_FULL_SCREEN + bool "use fullscreen mode" + default n"default n" is useless, as it's... the default.
Very fair, I'll drop this
Quoted 17 lines
package/psplash/psplash.mk else · line 38
Quoted 13 lines
package/psplash/psplash.mk +5
-0@@ -31,6 +31,12 @@ else PSPLASH_CONF_OPTS += --disable-startup-msg endif +ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y) +PSPLASH_CONF_OPTS += --enable-img-fullscreen +else +PSPLASH_CONF_OPTS += --disable-img-fullscreen +endifThe explicit --enable-<foo> is apparently causing problems, due to bugs in the upstream configure.ac:
Quoted 4 lines
https://gitlab.com/buildroot.org/buildroot/-/issues/112Could you have a look?
Ah, that is odd.. I'll check it out, thanks for the review!
Quoted 3 lines
Thanks!
Thomas
Signature · 8 lines
Olivier Benjamin, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot