* [ptxdist] [PATCH v2] platsch: new package
@ 2025-01-22 10:45 Rouven Czerwinski
2025-01-22 12:00 ` Roland Hieber
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Rouven Czerwinski @ 2025-01-22 10:45 UTC (permalink / raw)
To: ptxdist; +Cc: Rouven Czerwinski
Add platsch, a simple splash screen application which uses libdrm during
early boot to display a splash image and than hands over execution to
/sbin/init. For advanced usecases liplatsch is installed as well.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
v2:
- fix license information
rules/platsch.in | 9 ++++++
rules/platsch.make | 68 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
create mode 100644 rules/platsch.in
create mode 100644 rules/platsch.make
diff --git a/rules/platsch.in b/rules/platsch.in
new file mode 100644
index 000000000..afb169998
--- /dev/null
+++ b/rules/platsch.in
@@ -0,0 +1,9 @@
+## SECTION=multimedia_tools
+
+config PLATSCH
+ tristate
+ select HOST_MESON
+ select LIBDRM
+ prompt "platsch"
+ help
+ Splash Screen Application using libdrm.
diff --git a/rules/platsch.make b/rules/platsch.make
new file mode 100644
index 000000000..2bfc9ff20
--- /dev/null
+++ b/rules/platsch.make
@@ -0,0 +1,68 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2025 by Rouven Czerwinski <r.czerwinski@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PLATSCH) += platsch
+
+#
+# Paths and names
+#
+PLATSCH_VERSION := v2024.08.0
+PLATSCH_MD5 := f71c2c60acb8ef221f3cc5612e6a920e
+PLATSCH := platsch-$(PLATSCH_VERSION)
+PLATSCH_SUFFIX := tar.gz
+PLATSCH_URL := https://github.com/pengutronix/platsch/archive/refs/tags//$(PLATSCH_VERSION).$(PLATSCH_SUFFIX)
+PLATSCH_SOURCE := $(SRCDIR)/$(PLATSCH).$(PLATSCH_SUFFIX)
+PLATSCH_DIR := $(BUILDDIR)/$(PLATSCH)
+PLATSCH_LICENSE := 0BSD
+PLATSCH_LICENSE_FILES := file://LICENSE;md5=1a4c8b8d288b4fc32c3c4830d7a5e169
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PLATSCH_CONF_ENV := $(CROSS_ENV)
+
+#
+# meson
+#
+PLATSCH_CONF_TOOL := meson
+PLATSCH_CONF_OPT := \
+ $(CROSS_MESON_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/platsch.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, platsch)
+ @$(call install_fixup, platsch,PRIORITY,optional)
+ @$(call install_fixup, platsch,SECTION,base)
+ @$(call install_fixup, platsch,AUTHOR,"Rouven Czerwinski <r.czerwinski@pengutronix.de>")
+ @$(call install_fixup, platsch,DESCRIPTION,missing)
+
+ @$(call install_lib, platsch, 0, 0, 0755, libplatsch)
+ @$(call install_copy, platsch, 0, 0, 0755, -, /usr/sbin/platsch)
+
+ @$(call install_finish, platsch)
+
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/platsch.clean:
+# @$(call targetinfo)
+# @$(call clean_pkg, PLATSCH)
+
+# vim: syntax=make
--
2.39.5
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [PATCH v2] platsch: new package
2025-01-22 10:45 [ptxdist] [PATCH v2] platsch: new package Rouven Czerwinski
@ 2025-01-22 12:00 ` Roland Hieber
2025-01-22 15:27 ` Uwe Kleine-König
2025-01-27 8:35 ` [ptxdist] [APPLIED] " Michael Olbrich
2 siblings, 0 replies; 4+ messages in thread
From: Roland Hieber @ 2025-01-22 12:00 UTC (permalink / raw)
To: Rouven Czerwinski; +Cc: ptxdist
On Wed, Jan 22, 2025 at 11:45:52AM +0100, Rouven Czerwinski wrote:
> Add platsch, a simple splash screen application which uses libdrm during
> early boot to display a splash image and than hands over execution to
> /sbin/init. For advanced usecases liplatsch is installed as well.
>
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> ---
> v2:
> - fix license information
> rules/platsch.in | 9 ++++++
> rules/platsch.make | 68 ++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 77 insertions(+)
> create mode 100644 rules/platsch.in
> create mode 100644 rules/platsch.make
>
> diff --git a/rules/platsch.in b/rules/platsch.in
> new file mode 100644
> index 000000000..afb169998
> --- /dev/null
> +++ b/rules/platsch.in
> @@ -0,0 +1,9 @@
> +## SECTION=multimedia_tools
> +
> +config PLATSCH
> + tristate
> + select HOST_MESON
> + select LIBDRM
> + prompt "platsch"
> + help
> + Splash Screen Application using libdrm.
> diff --git a/rules/platsch.make b/rules/platsch.make
> new file mode 100644
> index 000000000..2bfc9ff20
> --- /dev/null
> +++ b/rules/platsch.make
> @@ -0,0 +1,68 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2025 by Rouven Czerwinski <r.czerwinski@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PLATSCH) += platsch
> +
> +#
> +# Paths and names
> +#
> +PLATSCH_VERSION := v2024.08.0
> +PLATSCH_MD5 := f71c2c60acb8ef221f3cc5612e6a920e
> +PLATSCH := platsch-$(PLATSCH_VERSION)
> +PLATSCH_SUFFIX := tar.gz
> +PLATSCH_URL := https://github.com/pengutronix/platsch/archive/refs/tags//$(PLATSCH_VERSION).$(PLATSCH_SUFFIX)
> +PLATSCH_SOURCE := $(SRCDIR)/$(PLATSCH).$(PLATSCH_SUFFIX)
> +PLATSCH_DIR := $(BUILDDIR)/$(PLATSCH)
> +PLATSCH_LICENSE := 0BSD
> +PLATSCH_LICENSE_FILES := file://LICENSE;md5=1a4c8b8d288b4fc32c3c4830d7a5e169
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PLATSCH_CONF_ENV := $(CROSS_ENV)
> +
> +#
> +# meson
> +#
> +PLATSCH_CONF_TOOL := meson
> +PLATSCH_CONF_OPT := \
^- superfluous space… :)
Other than that, looks good to me.
- Roland
> + $(CROSS_MESON_USR)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/platsch.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, platsch)
> + @$(call install_fixup, platsch,PRIORITY,optional)
> + @$(call install_fixup, platsch,SECTION,base)
> + @$(call install_fixup, platsch,AUTHOR,"Rouven Czerwinski <r.czerwinski@pengutronix.de>")
> + @$(call install_fixup, platsch,DESCRIPTION,missing)
> +
> + @$(call install_lib, platsch, 0, 0, 0755, libplatsch)
> + @$(call install_copy, platsch, 0, 0, 0755, -, /usr/sbin/platsch)
> +
> + @$(call install_finish, platsch)
> +
> + @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Clean
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/platsch.clean:
> +# @$(call targetinfo)
> +# @$(call clean_pkg, PLATSCH)
> +
> +# vim: syntax=make
> --
> 2.39.5
>
>
>
--
Roland Hieber, Pengutronix e.K. | rhi@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [PATCH v2] platsch: new package
2025-01-22 10:45 [ptxdist] [PATCH v2] platsch: new package Rouven Czerwinski
2025-01-22 12:00 ` Roland Hieber
@ 2025-01-22 15:27 ` Uwe Kleine-König
2025-01-27 8:35 ` [ptxdist] [APPLIED] " Michael Olbrich
2 siblings, 0 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2025-01-22 15:27 UTC (permalink / raw)
To: ptxdist; +Cc: Rouven Czerwinski
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
Hello Rouven,
On Wed, Jan 22, 2025 at 11:45:52AM +0100, Rouven Czerwinski wrote:
> Add platsch, a simple splash screen application which uses libdrm during
> early boot to display a splash image and than hands over execution to
> /sbin/init. For advanced usecases liplatsch is installed as well.
^
Missing 'b' --------------------------'
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] platsch: new package
2025-01-22 10:45 [ptxdist] [PATCH v2] platsch: new package Rouven Czerwinski
2025-01-22 12:00 ` Roland Hieber
2025-01-22 15:27 ` Uwe Kleine-König
@ 2025-01-27 8:35 ` Michael Olbrich
2 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2025-01-27 8:35 UTC (permalink / raw)
To: ptxdist; +Cc: Rouven Czerwinski
Thanks, applied as 70d988fd4cdbf7f15a700825975daad9a1aeb8af.
Michael
[sent from post-receive hook]
On Mon, 27 Jan 2025 09:35:08 +0100, Rouven Czerwinski <r.czerwinski@pengutronix.de> wrote:
> Add platsch, a simple splash screen application which uses libdrm during
> early boot to display a splash image and than hands over execution to
> /sbin/init. For advanced usecases libplatsch is installed as well.
>
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> Message-Id: <20250122104551.296950-1-r.czerwinski@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/platsch.in b/rules/platsch.in
> new file mode 100644
> index 000000000000..afb16999816d
> --- /dev/null
> +++ b/rules/platsch.in
> @@ -0,0 +1,9 @@
> +## SECTION=multimedia_tools
> +
> +config PLATSCH
> + tristate
> + select HOST_MESON
> + select LIBDRM
> + prompt "platsch"
> + help
> + Splash Screen Application using libdrm.
> diff --git a/rules/platsch.make b/rules/platsch.make
> new file mode 100644
> index 000000000000..4bf5c4ebbf52
> --- /dev/null
> +++ b/rules/platsch.make
> @@ -0,0 +1,68 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2025 by Rouven Czerwinski <r.czerwinski@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PLATSCH) += platsch
> +
> +#
> +# Paths and names
> +#
> +PLATSCH_VERSION := v2024.08.0
> +PLATSCH_MD5 := f71c2c60acb8ef221f3cc5612e6a920e
> +PLATSCH := platsch-$(PLATSCH_VERSION)
> +PLATSCH_SUFFIX := tar.gz
> +PLATSCH_URL := https://github.com/pengutronix/platsch/archive/refs/tags//$(PLATSCH_VERSION).$(PLATSCH_SUFFIX)
> +PLATSCH_SOURCE := $(SRCDIR)/$(PLATSCH).$(PLATSCH_SUFFIX)
> +PLATSCH_DIR := $(BUILDDIR)/$(PLATSCH)
> +PLATSCH_LICENSE := 0BSD
> +PLATSCH_LICENSE_FILES := file://LICENSE;md5=1a4c8b8d288b4fc32c3c4830d7a5e169
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PLATSCH_CONF_ENV := $(CROSS_ENV)
> +
> +#
> +# meson
> +#
> +PLATSCH_CONF_TOOL := meson
> +PLATSCH_CONF_OPT := \
> + $(CROSS_MESON_USR)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/platsch.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, platsch)
> + @$(call install_fixup, platsch,PRIORITY,optional)
> + @$(call install_fixup, platsch,SECTION,base)
> + @$(call install_fixup, platsch,AUTHOR,"Rouven Czerwinski <r.czerwinski@pengutronix.de>")
> + @$(call install_fixup, platsch,DESCRIPTION,missing)
> +
> + @$(call install_lib, platsch, 0, 0, 0755, libplatsch)
> + @$(call install_copy, platsch, 0, 0, 0755, -, /usr/sbin/platsch)
> +
> + @$(call install_finish, platsch)
> +
> + @$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Clean
> +# ----------------------------------------------------------------------------
> +
> +#$(STATEDIR)/platsch.clean:
> +# @$(call targetinfo)
> +# @$(call clean_pkg, PLATSCH)
> +
> +# vim: syntax=make
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-01-27 8:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-22 10:45 [ptxdist] [PATCH v2] platsch: new package Rouven Czerwinski
2025-01-22 12:00 ` Roland Hieber
2025-01-22 15:27 ` Uwe Kleine-König
2025-01-27 8:35 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox