[ptxdist] [PATCH v2 05/13] host-python3-markupsafe: add host package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-markupsafe.in | 6 ++ rules/host-python3-markupsafe.make | 23 +++ 2 files changed, 29 insertions(+) create mode 100644 rules/host-python3-markupsafe.in create mode 100644 rules/host-python3-markupsafe.make diff

[ptxdist] [PATCH v2 07/13] host-python3-dunamai: add new host package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-dunamai.in | 7 +++ rules/host-python3-dunamai.make | 35 + 2 files changed, 42 insertions(+) create mode 100644 rules/host-python3-dunamai.in create mode 100644 rules/host-python3-dunamai.make diff

[ptxdist] [PATCH v2 12/13] python3-periphery: new package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/python3-periphery.in | 9 ++ rules/python3-periphery.make | 55 2 files changed, 64 insertions(+) create mode 100644 rules/python3-periphery.in create mode 100644 rules/python3-periphery.make diff --git a/rules

[ptxdist] [PATCH v2 10/13] host-python3-poetry-dynamic-versioning: add new host package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- .../host-python3-poetry-dynamic-versioning.in | 11 ++ ...ost-python3-poetry-dynamic-versioning.make | 35 +++ 2 files changed, 46 insertions(+) create mode 100644 rules/host-python3-poetry-dynamic-versioning.in create mode 100644 rules/host

[ptxdist] [PATCH v2 09/13] host-python3-poetry-core: add new host package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-poetry-core.in | 7 ++ rules/host-python3-poetry-core.make | 35 + 2 files changed, 42 insertions(+) create mode 100644 rules/host-python3-poetry-core.in create mode 100644 rules/host-python3-poetry

[ptxdist] [PATCH v2 13/13] python3-protobuf: new package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/python3-protobuf.in | 8 ++ rules/python3-protobuf.make | 55 + 2 files changed, 63 insertions(+) create mode 100644 rules/python3-protobuf.in create mode 100644 rules/python3-protobuf.make diff --git a/rules

[ptxdist] [PATCH v2 11/13] python3-aiomqtt: new package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/python3-aiomqtt.in | 14 ++ rules/python3-aiomqtt.make | 55 ++ 2 files changed, 69 insertions(+) create mode 100644 rules/python3-aiomqtt.in create mode 100644 rules/python3-aiomqtt.make diff --git a/rules

[ptxdist] [PATCH v2 06/13] host-python3-jinja2: add host package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-jinja2.in | 8 rules/host-python3-jinja2.make | 24 2 files changed, 32 insertions(+) create mode 100644 rules/host-python3-jinja2.in create mode 100644 rules/host-python3-jinja2.make diff --git a/rules

[ptxdist] [PATCH v2 02/13] nanopb: new package: tiny protobuf implementation

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/nanopb.in | 12 rules/nanopb.make | 41 + 2 files changed, 53 insertions(+) create mode 100644 rules/nanopb.in create mode 100644 rules/nanopb.make diff --git a/rules/nanopb.in b/rules/nanopb.in new

[ptxdist] [PATCH v2 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/paho-mqtt-cpp.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/paho-mqtt-cpp.make b/rules/paho-mqtt-cpp.make index 9cc30de202c9..bd71c7837529 100644 --- a/rules/paho-mqtt-cpp.make +++ b/rules/paho-mqtt-cpp.make @@ -14,8

[ptxdist] [PATCH v2 08/13] host-python3-tomlkit: add new host package

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-tomlkit.in | 8 rules/host-python3-tomlkit.make | 35 + 2 files changed, 43 insertions(+) create mode 100644 rules/host-python3-tomlkit.in create mode 100644 rules/host-python3-tomlkit.make diff

[ptxdist] [PATCH v2 04/13] python3-jinja2: pin down license files

2024-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/python3-jinja2.make | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/python3-jinja2.make b/rules/python3-jinja2.make index 445d0ea72fb2..4c051c7732c4 100644 --- a/rules/python3-jinja2.make +++ b/rules/python3-jinja2.make @@ -19,6 +19,9

[ptxdist] [PATCH v2 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0

2024-05-24 Thread Roland Hieber
h LGPL-2.1-or-later as well as "Academic Free License version 2.1" license statements. Signed-off-by: Roland Hieber --- Note: use "git diff -M1" to show the diff between the renamed files --- ...ire-libxml-if-building-with-atk_only.patch | 23 ++ patches/at-spi2-core-2.52.0/s

[ptxdist] [PATCH v2 00/13] nanopb, at-spi2-core, and some python3 packages

2024-05-24 Thread Roland Hieber
: * remove superfluous HOST_SYSTEM_PYTHON3_SETUPTOOLS dependencies PATCH v1: https://lore.ptxdist.org/ptxdist/zk7k-zhb00jza...@pengutronix.de/T/#t Roland Hieber (13): atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 nanopb: new package: tiny protobuf implementation paho-mqtt-

[ptxdist] [PATCH 09/13] host-python3-poetry-core: add new host package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-poetry-core.in | 7 ++ rules/host-python3-poetry-core.make | 35 + 2 files changed, 42 insertions(+) create mode 100644 rules/host-python3-poetry-core.in create mode 100644 rules/host-python3-poetry

[ptxdist] [PATCH 08/13] host-python3-tomlkit: add new host package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-tomlkit.in | 8 rules/host-python3-tomlkit.make | 35 + 2 files changed, 43 insertions(+) create mode 100644 rules/host-python3-tomlkit.in create mode 100644 rules/host-python3-tomlkit.make diff

[ptxdist] [PATCH 10/13] host-python3-poetry-dynamic-versioning: add new host package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- .../host-python3-poetry-dynamic-versioning.in | 11 ++ ...ost-python3-poetry-dynamic-versioning.make | 35 +++ 2 files changed, 46 insertions(+) create mode 100644 rules/host-python3-poetry-dynamic-versioning.in create mode 100644 rules/host

[ptxdist] [PATCH 13/13] python3-protobuf: new package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/python3-protobuf.in | 9 ++ rules/python3-protobuf.make | 55 + 2 files changed, 64 insertions(+) create mode 100644 rules/python3-protobuf.in create mode 100644 rules/python3-protobuf.make diff --git a/rules

[ptxdist] [PATCH 11/13] python3-aiomqtt: new package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/python3-aiomqtt.in | 14 ++ rules/python3-aiomqtt.make | 55 ++ 2 files changed, 69 insertions(+) create mode 100644 rules/python3-aiomqtt.in create mode 100644 rules/python3-aiomqtt.make diff --git a/rules

[ptxdist] [PATCH 04/13] python3-jinja2: pin down license files

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/python3-jinja2.make | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/python3-jinja2.make b/rules/python3-jinja2.make index 445d0ea72fb2..4c051c7732c4 100644 --- a/rules/python3-jinja2.make +++ b/rules/python3-jinja2.make @@ -19,6 +19,9

[ptxdist] [PATCH 12/13] python3-periphery: new package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/python3-periphery.in | 10 +++ rules/python3-periphery.make | 55 2 files changed, 65 insertions(+) create mode 100644 rules/python3-periphery.in create mode 100644 rules/python3-periphery.make diff --git

[ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/nanopb.in | 12 rules/nanopb.make | 49 +++ 2 files changed, 61 insertions(+) create mode 100644 rules/nanopb.in create mode 100644 rules/nanopb.make diff --git a/rules/nanopb.in b/rules

[ptxdist] [PATCH 07/13] host-python3-dunamai: add new host package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-dunamai.in | 7 +++ rules/host-python3-dunamai.make | 35 + 2 files changed, 42 insertions(+) create mode 100644 rules/host-python3-dunamai.in create mode 100644 rules/host-python3-dunamai.make diff

[ptxdist] [PATCH 05/13] host-python3-markupsafe: add host package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-markupsafe.in | 6 ++ rules/host-python3-markupsafe.make | 23 +++ 2 files changed, 29 insertions(+) create mode 100644 rules/host-python3-markupsafe.in create mode 100644 rules/host-python3-markupsafe.make diff

[ptxdist] [PATCH 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/paho-mqtt-cpp.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/paho-mqtt-cpp.make b/rules/paho-mqtt-cpp.make index 9cc30de202c9..bd71c7837529 100644 --- a/rules/paho-mqtt-cpp.make +++ b/rules/paho-mqtt-cpp.make @@ -14,8

[ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0

2024-05-22 Thread Roland Hieber
h LGPL-2.1-or-later as well as "Academic Free License version 2.1" license statements. Signed-off-by: Roland Hieber --- Note: use "git diff -M1" to show the diff between the renamed files --- rules/{atk.in => at-spi2-core.in} | 19 +-- rules

[ptxdist] [PATCH 06/13] host-python3-jinja2: add host package

2024-05-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/host-python3-jinja2.in | 8 rules/host-python3-jinja2.make | 24 2 files changed, 32 insertions(+) create mode 100644 rules/host-python3-jinja2.in create mode 100644 rules/host-python3-jinja2.make diff --git a/rules

[ptxdist] [PATCH v2] canfestival: port to Python 3

2024-03-12 Thread Roland Hieber
the changes upstream. Remove a comment which referenced the old repository URL, which no longer exists, and remove the recipe from staging. Signed-off-by: Roland Hieber --- PATCH v2: * remove recipe from staging PATCH v1: https://lore.ptxdist.org/ptxdist/20240220103352.1272208-1

Re: [ptxdist] [PATCH] canfestival: port to Python 3

2024-03-07 Thread Roland Hieber
On Thu, Mar 07, 2024 at 04:52:05PM +0100, Michael Olbrich wrote: > On Tue, Feb 20, 2024 at 11:33:52AM +0100, Roland Hieber wrote: > > The gnosis library is extracted and moved around by the objdictgen > > Makefile. Extract it early and do the same moving-around in the extract >

[ptxdist] [PATCH] canfestival: port to Python 3

2024-02-20 Thread Roland Hieber
the changes upstream. Remove a comment which referenced the old repository URL, which no longer exists. Signed-off-by: Roland Hieber --- .../0007-gnosis-port-to-python3.patch | 1912 + .../0008-port-to-python3.patch| 945 patches/canfestival-3

[ptxdist] [PATCH] image-rauc: improve error detection for hook script

2024-02-20 Thread Roland Hieber
er message. Signed-off-by: Roland Hieber --- rules/image-rauc.make | 4 1 file changed, 4 insertions(+) diff --git a/rules/image-rauc.make b/rules/image-rauc.make index def2ade1e237..a05c19f61de2 100644 --- a/rules/image-rauc.make +++ b/rules/image-rauc.make @@ -41,6 +41,10 @@ IMAGE_RAUC_BUN

[ptxdist] [PATCH] rauc: version bump 1.10.1 -> 1.11.1

2024-02-20 Thread Roland Hieber
dropped autotools support, so there is no need to have an '-meson' in the archive name; drop that. [1]: https://github.com/rauc/rauc/commit/b20002582f6c754a9161 Signed-off-by: Roland Hieber --- rules/rauc.make | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rul

[ptxdist] [PATCH] git-ptx-refresh-tags-editor: use mktemp instead of tempfile

2024-02-12 Thread Roland Hieber
On Debian 12 (bookworm), tempfile comes from debianutils, and prints a deprecation warning: WARNING: tempfile is deprecated; consider using mktemp instead. Switch to mktemp from coreutils, which is widely available. Signed-off-by: Roland Hieber --- scripts/git-ptx-refresh-tags-editor | 2

[ptxdist] [PATCH] doc: contributing: explain what to do if license checksums change

2024-02-08 Thread Roland Hieber
Inspired by the discussion in https://lore.ptxdist.org/ptxdist/20240129100553.56125-1-ar...@4wiebe.de Cc: Artur Wiebe Signed-off-by: Roland Hieber --- doc/contributing.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/contributing.rst b/doc/contributing.rst index e4209480893d

Re: [ptxdist] [PATCH 5/5] image-rauc: Fix quotation marks / whitespace handling

2024-02-06 Thread Roland Hieber
cted. I guess if your bundle description contains any special chars like '(' or '$', bash starts interpreting those as bash syntax instead of plain words, which could lead to the error you see. Anyway, your patch gives me the correct results. Reviewed-by: Roland Hieber > --- > rules/i

Re: [ptxdist] [PATCH v2] mailmap: Add a few entries for improved commit statistics

2023-12-14 Thread Roland Hieber
On Wed, Dec 13, 2023 at 07:40:34PM +0100, Uwe Kleine-König wrote: > On Wed, Dec 13, 2023 at 07:30:47PM +0100, Roland Hieber wrote: > > On Fri, Nov 03, 2023 at 02:02:47PM +0100, Uwe Kleine-König wrote: > > > When a single person uses different variants of their real name and >

Re: [ptxdist] [PATCH v2] mailmap: Add a few entries for improved commit statistics

2023-12-13 Thread Roland Hieber
Borleis +Jürgen Borleis Ladislav Michl Ladislav Michl Michael Olbrich - Roland > +Florian Bäuerle > +Guillermo Rodríguez > +Jürgen Beisert > +Jürgen Beisert > +Ladislav Michl > +Ladislav Michl > +Michael Olbrich > +Thorsten Liepert > -- > 2.42.0 >

[ptxdist] [PATCH] gnutls: add LGPL license text, add GPL-3.0 if built with openssl compat

2023-11-24 Thread Roland Hieber
./LICENSE mentions that the openssl compat code is licensed under GPL-3.0, and references the full license texts in doc/. Cc: Bruno Thomsen Signed-off-by: Roland Hieber --- rules/gnutls.make | 8 1 file changed, 8 insertions(+) diff --git a/rules/gnutls.make b/rules/gnutls.make index

Re: [ptxdist] [PATCH 1/6] gnutls: add license file and hash

2023-11-24 Thread Roland Hieber
----- > # Prepare > > base-commit: 1b6013c068b10a19c116be915cc4fe910ee29b13 > -- > 2.41.0 > > > -- Roland Hieber, Pengutronix e.K. | r.hie...@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- |

[ptxdist] [PATCH] dt-utils: version bump 2023.08.0 -> 2023.11.0

2023-11-24 Thread Roland Hieber
The License section in the README has moved down two lines, otherwise everything stays the same. Signed-off-by: Roland Hieber --- rules/dt-utils.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/dt-utils.make b/rules/dt-utils.make index 78c251b4f5a3

[ptxdist] [PATCH v2] rtmpdump: update URL

2023-11-21 Thread Roland Hieber
tmpdump-2021-02-19-gf1b83c10d8be-f1b83c1/"). Signed-off-by: Roland Hieber --- PATCH v2: - git-clone over HTTPS, adapt md5sum PATCH v1: https://lore.ptxdist.org/ptxdist/20231114095802.1858942-1-...@pengutronix.de --- rules/rtmpdump.make | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

[ptxdist] [PATCH] rules: template-src-make-prog-make: make use of the 'execute' macro

2023-11-20 Thread Roland Hieber
It does everything that is written out explicitely here; additionally it will also respect @PACKAGE@_SUBDIR if it should be set. Signed-off-by: Roland Hieber --- rules/templates/template-src-make-prog-make | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules/templates

[ptxdist] [PATCH v2] image-rauc: pick up hook script if it exists

2023-11-14 Thread Roland Hieber
the manifest for that use case. However, the mechanism to find the hook script is then already in place, and can be used as-is. Signed-off-by: Roland Hieber --- PATCH v2: - introduce an explicit kconfig option PATCH v1: https://lore.ptxdist.org/ptxdist/20231106105534.3640846-1-...@pengutronix.de

[ptxdist] [PATCH] rtmpdump: update URL

2023-11-14 Thread Roland Hieber
The gitweb instance at git.ffmpeg.org no longer allows exporting snapshot archives. Switch to cloning the Git repository instead. Signed-off-by: Roland Hieber --- rules/rtmpdump.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/rtmpdump.make b/rules/rtmpdump.make

[ptxdist] [PATCH] image-rauc: pick up hook script if it exists

2023-11-06 Thread Roland Hieber
in the manifest too (in the relevant slot or the [bundle] section), the image config will still need to be forked by BSPs in order to adapt the manifest for that use case. However, the mechanism to find the hook script is then already in place, and can be used as-is. Signed-off-by: Roland Hieber

[ptxdist] [PATCH] host-qemu: map target architecture for mipsel

2023-10-09 Thread Roland Hieber
Originally from DistroKit, see discussion there. Suggested-by: Oleksij Rempel Link: https://lore.distrokit.org/distrokit/20210715144711.p36hgbrm74spx...@pengutronix.de/ Signed-off-by: Roland Hieber --- rules/host-qemu.make | 5 + 1 file changed, 5 insertions(+) diff --git a/rules/host

[ptxdist] [PATCH] image-hdimg: fix building image without bootloader

2023-10-09 Thread Roland Hieber
, "image-hdimg: support using barebox with GPT") Signed-off-by: Roland Hieber --- rules/image-hdimg.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/image-hdimg.make b/rules/image-hdimg.make index 2aa8aeddaf78..06712ca6d956 100644 --- a/rules/image-hdimg.make +++ b/rules/image-

[ptxdist] [PATCH] ptxd_make_vcs_version: always use all Git tags

2023-09-26 Thread Roland Hieber
Signed-off-by: Roland Hieber --- Steffen, do you still know why you chose a plain "git describe" first? scripts/lib/ptxd_make_vcs_version.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/lib/ptxd_make_vcs_version.sh b/scripts/lib/ptxd_make_vcs_versio

[ptxdist] [PATCH 2/4] udev-legacy: fix /usr merge leftover

2023-09-17 Thread Roland Hieber
Fixes: 69841205bc7e114c40cc (2017-01-09, "udev-legacy: /usr merge") Signed-off-by: Roland Hieber --- projectroot/etc/init.d/udev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projectroot/etc/init.d/udev b/projectroot/etc/init.d/udev index 0e4a880bbb3b..8992ffe29

[ptxdist] [PATCH 3/4] rc-once: fix /usr merge leftover

2023-09-17 Thread Roland Hieber
Fixes: e74c5e613d9e1a7e3813 (2017-01-09, "rc-once: /usr merge") Signed-off-by: Roland Hieber --- projectroot/usr/lib/systemd/system/rc-once.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projectroot/usr/lib/systemd/system/rc-once.service b/projectro

[ptxdist] [PATCH 1/4] networkmanager: fix /usr merge leftover

2023-09-17 Thread Roland Hieber
Fixes: d27127994b1cb7e52917 (2017-01-11, "networkmanager: /usr merge") Signed-off-by: Roland Hieber --- projectroot/etc/init.d/NetworkManager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projectroot/etc/init.d/NetworkManager b/projectroot/etc/init.d/NetworkMan

[ptxdist] [PATCH 4/4] bootchart: fix /usr merge leftover

2023-09-17 Thread Roland Hieber
Fixes: eca5e27bdb57a64165dd (2017-01-11, "bootchart: /usr merge") Signed-off-by: Roland Hieber --- projectroot/usr/sbin/bootchartd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projectroot/usr/sbin/bootchartd b/projectroot/usr/sbin/bootchartd index 41

[ptxdist] [PATCH v3 3/3] doc: ref_make_macros: document world/image-fit macro

2023-09-12 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v3: no change PATCH v2: no change PATCH v1: https://lore.ptxdist.org/ptxdist/20230822121234.2040303-3-...@pengutronix.de --- doc/ref_make_macros.rst | 38 ++ 1 file changed, 38 insertions(+) diff --git a/doc

[ptxdist] [PATCH v3 2/3] templates: add template for custom FIT images

2023-09-12 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v3: * select kernel and initrd image by default instead of TODO comments * select HOST_U_BOOT_TOOLS for mkimage (previously a fixup patch) PATCH v2: https://lore.ptxdist.org/ptxdist/20230831104425.2874985-2-...@pengutronix.de * no change PATCH v1

[ptxdist] [PATCH v3 1/3] kernel: add make target for the installed device trees

2023-09-12 Thread Roland Hieber
This makes it easy to depend on the kernel.targetinstall stage by depending on one of the .dtb's that it installs into the image dir, e.g. when building a custom recipe for a FIT image. As a nice side-effect, you can simply call "ptxdist image " to build the device tree. Signed-off-

Re: [ptxdist] [PATCH v2] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-09-12 Thread Roland Hieber
On Fri, Sep 01, 2023 at 08:31:58AM +0200, Michael Olbrich wrote: > On Wed, Aug 23, 2023 at 12:49:59PM +0200, Roland Hieber wrote: > > Trying to flash a FIT image over fastboot often results in errors like > > this: > > > > Invalid sparse file format at

Re: [ptxdist] [PATCH v2 2/3] templates: add template for custom FIT images

2023-09-12 Thread Roland Hieber
On Fri, Sep 01, 2023 at 08:48:40AM +0200, Michael Olbrich wrote: > On Thu, Aug 31, 2023 at 12:44:24PM +0200, Roland Hieber wrote: > > Signed-off-by: Roland Hieber > > > > --- > > PATCH v2: no change > > PATCH v1: > > https://lore.ptxdist.org/ptxdist/2023

Re: [ptxdist] [PATCH v2] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-08-31 Thread Roland Hieber
On Wed, Aug 23, 2023 at 12:49:59PM +0200, Roland Hieber wrote: > Trying to flash a FIT image over fastboot often results in errors like > this: > > Invalid sparse file format at header magic > error: write_sparse_skip_chunk: don't care size 18394488 is not a > multiple

[ptxdist] [PATCH v2] fixup! templates: add template for custom FIT images

2023-08-31 Thread Roland Hieber
'mkimage' is needed to build the FIT image, select the correct host package to make it available. Signed-off-by: Roland Hieber --- rules/templates/template-image-fit-in | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/templates/template-image-fit-in b/rules/templates/template-image

[ptxdist] [PATCH v2 3/3] doc: ref_make_macros: document world/image-fit macro

2023-08-31 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: no change PATCH v1: https://lore.ptxdist.org/ptxdist/20230822121234.2040303-3-...@pengutronix.de --- doc/ref_make_macros.rst | 38 ++ 1 file changed, 38 insertions(+) diff --git a/doc/ref_make_macros.rst b/doc

[ptxdist] [PATCH v2 2/3] templates: add template for custom FIT images

2023-08-31 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: no change PATCH v1: https://lore.ptxdist.org/ptxdist/20230822121234.2040303-2-...@pengutronix.de --- rules/templates/template-image-fit-in | 8 ++ rules/templates/template-image-fit-make | 34 + scripts/lib

[ptxdist] [PATCH v2 1/3] kernel: add make target for the installed device trees

2023-08-31 Thread Roland Hieber
This makes it easy to depend on the kernel.targetinstall stage by depending on one of the .dtb's that it installs into the image dir, e.g. when building a custom recipe for a FIT image. As a nice side-effect, you can simply call "ptxdist image " to build the device tree. Signed-off-

Re: [ptxdist] [PATCH] libcap-ng: Add another fetch option.

2023-08-31 Thread Roland Hieber
AND GPL-2.0-or-later > > -- > > 2.34.1 > > > > > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany

[ptxdist] [PATCH v2] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-08-23 Thread Roland Hieber
pad the image to a multiple of 4 kiB to make it work with the fastboot sparse magic. Suggested-by: Ahmad Fatoum Signed-off-by: Roland Hieber --- v2: clean up the temp image too --- scripts/lib/ptxd_make_fit_image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/lib

[ptxdist] [PATCH] ptxd_make_fit_image: pad FIT image to block size of 4096 bytes

2023-08-23 Thread Roland Hieber
pad the image to a multiple of 4 kiB to make it work with the fastboot sparse magic. Suggested-by: Ahmad Fatoum Signed-off-by: Roland Hieber --- scripts/lib/ptxd_make_fit_image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_make_fit_image.sh b/scripts

[ptxdist] [PATCH 3/3] doc: ref_make_macros: document world/image-fit macro

2023-08-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- doc/ref_make_macros.rst | 38 ++ 1 file changed, 38 insertions(+) diff --git a/doc/ref_make_macros.rst b/doc/ref_make_macros.rst index b8cfe9eff644..fe300c45757a 100644 --- a/doc/ref_make_macros.rst +++ b/doc

[ptxdist] [PATCH 1/3] kernel: add make target for the installed device trees

2023-08-22 Thread Roland Hieber
This makes it easy to depend on the kernel.targetinstall stage by depending on one of the .dtb's that it installs into the image dir, e.g. when building a custom recipe for a FIT image. As a nice side-effect, you can simply call "ptxdist image " to build the device tree. Signed-off-

[ptxdist] [PATCH 2/3] templates: add template for custom FIT images

2023-08-22 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/templates/template-image-fit-in | 8 ++ rules/templates/template-image-fit-make | 34 + scripts/lib/ptxd_lib_template.sh| 25 ++ 3 files changed, 67 insertions(+) create mode 100644 rules/templates

[ptxdist] [PATCH] rootfs: resize terminal on login

2023-08-22 Thread Roland Hieber
, partly to silence resize's output, and partly to support shells that cannot determine the COLUMNS and LINES variables by themselves and rely on it being set explicitely. Signed-off-by: Roland Hieber --- projectroot/etc/profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projectroot/etc

Re: [ptxdist] [PATCH v2 2/2] rauc: select HOST_MESON

2023-08-16 Thread Roland Hieber
On Sun, Aug 13, 2023 at 09:48:44PM +0200, Roland Hieber wrote: > RAUC has been using meson since commit 6e72460fe79714249b81 (2023-06-30, > Enrico Jorns: "rauc: migrate to meson"), but now PTXdist warns about the > missing HOST_MESON dependency in the prepare stage. > &

[ptxdist] [PATCH v2 2/2] rauc: select HOST_MESON

2023-08-13 Thread Roland Hieber
RAUC has been using meson since commit 6e72460fe79714249b81 (2023-06-30, Enrico Jorns: "rauc: migrate to meson"), but now PTXdist warns about the missing HOST_MESON dependency in the prepare stage. Signed-off-by: Roland Hieber --- v2: no change in this version v1: https://lore.p

[ptxdist] [PATCH v2 1/2] rauc: fix license and add license files checksums

2023-08-13 Thread Roland Hieber
ps://github.com/rauc/rauc/pull/1211 Signed-off-by: Roland Hieber --- v2: correctly rebase to master (thanks to Alexander Dahl) v1: https://lore.ptxdist.org/ptxdist/20230810110256.2242386-1-...@pengutronix.de .../0001-README-clarify-license.patch | 59 +

Re: [ptxdist] [PATCH 3/3] rauc: version bump 1.10 -> 1.10.1

2023-08-13 Thread Roland Hieber
On Thu, Aug 10, 2023 at 04:36:59PM +0200, Alexander Dahl wrote: > Hello Roland, > > Am Thu, Aug 10, 2023 at 01:02:56PM +0200 schrieb Roland Hieber: > > Changelog: > > https://github.com/rauc/rauc/releases/tag/v1.10.1 > > > > Signed-off-by: Roland Hieber &g

[ptxdist] [PATCH 1/3] rauc: fix license and add license files checksums

2023-08-10 Thread Roland Hieber
ps://github.com/rauc/rauc/pull/1211 Signed-off-by: Roland Hieber --- .../0001-README-clarify-license.patch | 59 +++ patches/rauc-1.10/series | 4 ++ rules/rauc.make | 5 +- 3 files changed, 67 insertions(+), 1 deletion(

[ptxdist] [PATCH 3/3] rauc: version bump 1.10 -> 1.10.1

2023-08-10 Thread Roland Hieber
Changelog: https://github.com/rauc/rauc/releases/tag/v1.10.1 Signed-off-by: Roland Hieber --- .../{rauc-1.10 => rauc-1.10.1}/0001-README-clarify-license.patch | 0 patches/{rauc-1.10 => rauc-1.10.1}/series | 0 2 files changed, 0 insertions(+), 0 deletions(-)

[ptxdist] [PATCH 2/3] rauc: select HOST_MESON

2023-08-10 Thread Roland Hieber
RAUC has been using meson since commit 6e72460fe79714249b81 (2023-06-30, Enrico Jorns: "rauc: migrate to meson"), but now PTXdist warns about the missing HOST_MESON dependency in the prepare stage. Signed-off-by: Roland Hieber --- rules/rauc.in | 1 + 1 file changed, 1 insertion(+)

[ptxdist] [PATCH v3] migrate_ptx: add typo fix GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE

2023-08-03 Thread Roland Hieber
Fixes: a5ff1ad3a24c700884a1 (2023-07-04, "glibc: fix typo GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE") Signed-off-by: Roland Hieber --- v3: add back the missing \1 and \) in the replacement… v2: fix from/to versions, the commit was not released yet… scripts/migrate/migrate_ptx | 7 ++

[ptxdist] [PATCH v2] migrate_ptx: add typo fix GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE

2023-08-03 Thread Roland Hieber
Fixes: a5ff1ad3a24c700884a1 (2023-07-04, "glibc: fix typo GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE") Signed-off-by: Roland Hieber --- v2: fix from/to versions, the commit was not released yet… scripts/migrate/migrate_ptx | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sc

[ptxdist] [PATCH] migrate_ptx: add typo fix GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE

2023-08-03 Thread Roland Hieber
Fixes: a5ff1ad3a24c700884a1 (2023-07-04, "glibc: fix typo GLIBC_GCONF_BASE -> GLIBC_GCONV_BASE") Signed-off-by: Roland Hieber --- Would something like this make sense so it gets renamed automatically on how ptxdist migrate"? - Roland scripts/migrate/migrate_ptx | 7 +

Re: [ptxdist] [PATCH] xz: update URL

2023-08-03 Thread Roland Hieber
p://tukaani.org/xz/$(XZ).$(XZ_SUFFIX) > +XZ_URL := https://tukaani.org/xz/$(XZ).$(XZ_SUFFIX) > XZ_SOURCE:= $(SRCDIR)/$(XZ).$(XZ_SUFFIX) > XZ_DIR := $(BUILDDIR)/$(XZ) > XZ_LICENSE := public_domain AND LGPL-2.1-or-later AND GPL-2.0-or-later AND >

[ptxdist] [PATCH] dt-utils: version bump 2021.03.0 -> 2023.08.0

2023-08-03 Thread Roland Hieber
Change to the meson build system, and update license information (COPYING is now LICENSES/GPL-2.0-only.txt, and the implicit information from src/barebox-state.c is also given explicitely in the README). Signed-off-by: Roland Hieber --- rules/dt-utils.in | 1 + rules/dt-utils.make | 28

[ptxdist] [PATCH v2] uvc-gadget: update URL

2023-06-16 Thread Roland Hieber
While the old gitweb is still available on the same server via HTTP, cloning from it currently fails both with git and http protocol. Add the freedesktop.org GitLab as fallback. Signed-off-by: Roland Hieber --- v2: keep old URL, but add fd.o gitlab as fallback v1: https://lore.ptxdist.org

Re: [ptxdist] [PATCH] uvc-gadget: update URL

2023-06-14 Thread Roland Hieber
On Sun, May 14, 2023 at 05:29:25PM +0200, Roland Hieber wrote: > While the old gitweb is still available on the same server via HTTP, > cloning from it fails both with git and http protocol. Furthermore, > the freedesktop.org GitLab has more release tags than the old gitweb. >

[ptxdist] [PATCH v2] cpputest: accept new source MD5 checksum

2023-06-13 Thread Roland Hieber
-by: Roland Hieber --- v2: add S-o-b v1: https://lore.ptxdist.org/ptxdist/ziif%2fa9cxgydg...@pengutronix.de/ rules/cpputest.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/cpputest.make b/rules/cpputest.make index b900170c3633..cc57b1f9eae9 100644 --- a/rules

[ptxdist] [PATCH] cpputest: accept new source MD5 checksum

2023-06-13 Thread Roland Hieber
Apparently the release archive was repacked and re-uploaded to GitHub, even though this is generally considered bad practise. The only differences are Unix-style line-endings instead of MS-DOS line-endings in platforms/Dos/ALLTESTS.BAT, all files now belong to root:root instead of basvodde:staff,

[ptxdist] [PATCH v2 6/7] host-libconfig: add host package

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - no changes PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-7-...@pengutronix.de --- rules/host-libconfig.in | 5 + rules/host-libconfig.make | 23 +++ 2 files changed, 28 insertions(+) create mode

[ptxdist] [PATCH v2 2/7] libbson: new package: routines related to BSON documents

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - add configure options for host package too - merge fixup patch removing commented LIBBSON_SUBDIR line PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-2-...@pengutronix.de --- rules/host-libbson.in | 6 +++ rules/host

[ptxdist] [PATCH v2 5/7] htmldoc: new package: HTML-to-PDF/PostScript/EPUB converter

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - fix configure options for host and target package (disable debug, sanitizier, maintainer) - depend on zlib, which is implicity found by autoconf PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-5-...@pengutronix.de

[ptxdist] [PATCH v2 3/7] libconfig: correct license and pin down license files

2023-05-24 Thread Roland Hieber
As specified in the source file header comments, the library is actually LGPL-2.1-or-later, not -only. Signed-off-by: Roland Hieber --- PATCH v2: - no changes PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-3-...@pengutronix.de --- rules/libconfig.make | 5 - 1 file

[ptxdist] [PATCH v2 7/7] host-libevent: add host package

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - no changes PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-8-...@pengutronix.de --- rules/host-libevent.in | 5 + rules/host-libevent.make | 23 +++ 2 files changed, 28 insertions(+) create mode 100644

[ptxdist] [PATCH v2 4/7] libevent: amend license and pin down license file

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - no changes PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-4-...@pengutronix.de --- rules/libevent.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/libevent.make b/rules/libevent.make index

[ptxdist] [PATCH v2 1/7] cpputest: new package: C++ unit test framework

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH v2: - add configure options for host package too PATCH v1: https://lore.ptxdist.org/ptxdist/20230515072054.1997217-1-...@pengutronix.de --- patches/cpputest-3.8/autogen.sh | 1 + rules/cpputest.in | 7 + rules/cpputest.make

Re: [ptxdist] [PATCH 6/8] host-canfestival: add host package

2023-05-24 Thread Roland Hieber
On Wed, May 17, 2023 at 02:36:39PM +0200, Michael Olbrich wrote: > On Mon, May 15, 2023 at 09:20:52AM +0200, Roland Hieber wrote: > > Signed-off-by: Roland Hieber > > --- > > rules/host-canfestival.in | 6 ++ > > rules/host-canfestival.make | 29 +++

[ptxdist] [PATCH 3/2] templates: don't generate prompt for hosttools_noprompt packages

2023-05-24 Thread Roland Hieber
Signed-off-by: Roland Hieber --- PATCH 1/2 and PATCH 2/2 can stay as they are. --- rules/templates/template-class-existing-target-in | 4 +--- rules/templates/template-class-in | 4 +--- scripts/lib/ptxd_lib_template.sh | 8 3 files changed, 10

Re: [ptxdist] [PATCH] doc: environment: add urls to tarballs

2023-05-24 Thread Roland Hieber
endorVersion|.tar.bz2>`_ > * |ptxdistBSPName|.tar.bz2 (or a similar source) > - * ptxdist-|oselasTCNVendorptxdistversion|.tar.bz2 > - * OSELAS.Toolchain-|oselasTCNVendorVersion|.tar.bz2 > + > +Additionally, these source archives are needed to build toolcha

[ptxdist] [PATCH] mtd-utils: mtdinfo is not UBI-specific, move it up one submenu

2023-05-23 Thread Roland Hieber
mtdinfo without --ubi-info prints e.g. eraseblock size and amount of eraseblocks, flash type, and minimum input/output unit size. Signed-off-by: Roland Hieber --- rules/mtd-utils.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in

[ptxdist] [PATCH 2/2] templates: set default section to hosttools_noprompt for host packages

2023-05-15 Thread Roland Hieber
Most host packages are not meant to be selected by users, instead they are selected by target packages. Signed-off-by: Roland Hieber --- scripts/lib/ptxd_lib_template.sh | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib

[ptxdist] [PATCH 1/2] templates: generate 'default y if ALLYES' for host packages

2023-05-15 Thread Roland Hieber
Make sure that all host packages are compile-tested. Signed-off-by: Roland Hieber --- rules/templates/template-class-existing-target-in | 2 +- rules/templates/template-class-in | 2 +- scripts/lib/ptxd_lib_template.sh | 2 ++ 3 files changed, 4 insertions(+), 2

[ptxdist] [PATCH] fixup! libbson: new package: routines related to BSON documents

2023-05-15 Thread Roland Hieber
From: nobody --- rules/libbson.make | 1 - 1 file changed, 1 deletion(-) diff --git a/rules/libbson.make b/rules/libbson.make index af0eb8a13401..bd1d65596727 100644 --- a/rules/libbson.make +++ b/rules/libbson.make @@ -21,7 +21,6 @@ LIBBSON_SUFFIX:= tar.gz LIBBSON_URL

[ptxdist] [PATCH 4/8] libevent: amend license and pin down license file

2023-05-15 Thread Roland Hieber
Signed-off-by: Roland Hieber --- rules/libevent.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/libevent.make b/rules/libevent.make index 73470c59e9b4..f2860b69c4aa 100644 --- a/rules/libevent.make +++ b/rules/libevent.make @@ -22,7 +22,8 @@ LIBEVENT_SUFFIX

  1   2   3   4   5   6   7   8   9   10   >