* [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0
@ 2024-05-22 21:15 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation Roland Hieber
` (12 more replies)
0 siblings, 13 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
I cannot find any official announcement on this, but it seems that atk
was merged into the at-spi2-core tree. At least the atk repository [1]
has been archived, there have been no new releases since 2022, but there
has been further development on the atk/ subdir in the at-spi2-core
repository [2], to which the ATK docs [3] now link too.
[1]: https://git.gnome.org/atk
[2]: https://gitlab.gnome.org/GNOME/at-spi2-core/
[3]: https://gnome.pages.gitlab.gnome.org/at-spi2-core/atk/
Rename the atk recipe to at-spi2-core, and build libatk as part of it.
The 'atk_only' meson option carries a big "(UNSUPPORTED)", so build
everything and only install the two new libs if needed, since they are
each about 1 MiB big even after stripping the debug symbols.
Update the license info; COPYING was update from a LGPL-2.0 to a
LGPL-2.1 license text, and atspi/atspi-gmain.c carries both
LGPL-2.1-or-later as well as "Academic Free License version 2.1"
license statements.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
Note: use "git diff -M1" to show the diff between the renamed files
---
rules/{atk.in => at-spi2-core.in} | 19 +++++--
rules/at-spi2-core.make | 90 +++++++++++++++++++++++++++++++
rules/atk.make | 67 -----------------------
rules/gtk.in | 2 +-
scripts/migrate/migrate_ptx | 9 ++++
5 files changed, 114 insertions(+), 73 deletions(-)
rename rules/{atk.in => at-spi2-core.in} (53%)
create mode 100644 rules/at-spi2-core.make
delete mode 100644 rules/atk.make
diff --git a/rules/atk.in b/rules/at-spi2-core.in
similarity index 53%
rename from rules/atk.in
rename to rules/at-spi2-core.in
index 3ddd3c4fffe6..97669181d6e5 100644
--- a/rules/atk.in
+++ b/rules/at-spi2-core.in
@@ -1,11 +1,13 @@
## SECTION=multimedia_gtk
-config ATK
+config AT_SPI2_CORE
tristate
- prompt "atk"
+ prompt "at-spi2-core"
select HOST_MESON
+ select DBUS
select GLIB
- select GOBJECT_INTROSPECTION if ATK_INTROSPECTION
+ select GOBJECT_INTROSPECTION if AT_SPI2_CORE_INTROSPECTION
+ select LIBXML2 if BUILDTIME # only used for tests
help
ATK is a toolkit providing accessibility interfaces
for applications or other toolkits. By implementing
@@ -14,10 +16,17 @@ config ATK
magnifiers, and other alternative input devices.
ATK is part of the GNOME project.
-if ATK
+if AT_SPI2_CORE
-config ATK_INTROSPECTION
+config AT_SPI2_CORE_INTROSPECTION
bool
default GOBJECT_INTROSPECTION_HELPER
+config AT_SPI2_CORE_LIBATK_BRIDGE
+ select AT_SPI2_CORE_LIBATSPI
+ bool "install libatk-bridge"
+
+config AT_SPI2_CORE_LIBATSPI
+ bool "install libatspi"
+
endif
diff --git a/rules/at-spi2-core.make b/rules/at-spi2-core.make
new file mode 100644
index 000000000000..05d92fa486d8
--- /dev/null
+++ b/rules/at-spi2-core.make
@@ -0,0 +1,90 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2003-2006 Robert Schwebel <r.schwebel@pengutronix.de>
+# Pengutronix <info@pengutronix.de>, Germany
+# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
+# 2024 Roland Hieber, Pengutronix
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_AT_SPI2_CORE) += at-spi2-core
+
+#
+# Paths and names
+#
+AT_SPI2_CORE_VERSION := 2.52.0
+AT_SPI2_CORE_MD5 := e6591545b2bf204fe9a58f777bd0b78a
+AT_SPI2_CORE := at-spi2-core-$(AT_SPI2_CORE_VERSION)
+AT_SPI2_CORE_SUFFIX := tar.xz
+AT_SPI2_CORE_URL := $(call ptx/mirror, GNOME, at-spi2-core/$(basename $(AT_SPI2_CORE_VERSION))/$(AT_SPI2_CORE).$(AT_SPI2_CORE_SUFFIX))
+AT_SPI2_CORE_SOURCE := $(SRCDIR)/$(AT_SPI2_CORE).$(AT_SPI2_CORE_SUFFIX)
+AT_SPI2_CORE_DIR := $(BUILDDIR)/$(AT_SPI2_CORE)
+AT_SPI2_CORE_LICENSE := LGPL-2.0-or-later AND LGPL-2.1-or-later AND AFL-2.1
+AT_SPI2_CORE_LICENSE_FILES := \
+ file://atk/atkaction.c;startline=1;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
+ file://atspi/atspi-gmain.c;startline=4;endline=21;md5=5a40bca956865414952184669ef3985c \
+ file://COPYING;md5=4fbd65380cdd255951079008b364516c
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# meson
+#
+AT_SPI2_CORE_CONF_TOOL := meson
+AT_SPI2_CORE_CONF_OPT := \
+ $(CROSS_MESON_USR) \
+ -Datk_only=false \
+ -Ddbus_broker=default \
+ -Ddbus_daemon=default \
+ -Ddbus_services_dir=default \
+ -Ddefault_bus=dbus-daemon \
+ -Ddisable_p2p=false \
+ -Ddocs=false \
+ -Dgtk2_atk_adaptor=false \
+ -Dintrospection=$(call ptx/endis, PTXCONF_AT_SPI2_CORE_INTROSPECTION)d \
+ -Dsystemd_user_dir=default \
+ -Duse_systemd=false \
+ -Dx11=disabled
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/at-spi2-core.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, at-spi2-core)
+ @$(call install_fixup, at-spi2-core,PRIORITY,optional)
+ @$(call install_fixup, at-spi2-core,SECTION,base)
+ @$(call install_fixup, at-spi2-core,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
+ @$(call install_fixup, at-spi2-core,DESCRIPTION,missing)
+
+ @$(call install_lib, at-spi2-core, 0, 0, 0644, libatk-1.0)
+ifdef PTXCONF_AT_SPI2_CORE_LIBATK_BRIDGE
+ @$(call install_lib, at-spi2-core, 0, 0, 0644, libatk-bridge-2.0)
+endif
+ifdef PTXCONF_AT_SPI2_CORE_LIBATSPI
+ @$(call install_lib, at-spi2-core, 0, 0, 0644, libatspi)
+endif
+
+ifdef PTXCONF_AT_SPI2_CORE_INTROSPECTION
+ @$(call install_copy, at-spi2-core, 0, 0, 0644, -, \
+ /usr/lib/girepository-1.0/Atk-1.0.typelib)
+ifdef PTXCONF_AT_SPI2_CORE_LIBATSPI
+ @$(call install_copy, at-spi2-core, 0, 0, 0644, -, \
+ /usr/lib/girepository-1.0/Atspi-2.0.typelib)
+endif
+endif
+
+ @$(call install_finish, at-spi2-core)
+
+ @$(call touch)
+
+# vim: syntax=make
diff --git a/rules/atk.make b/rules/atk.make
deleted file mode 100644
index 1183faf951f3..000000000000
--- a/rules/atk.make
+++ /dev/null
@@ -1,67 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2003-2006 Robert Schwebel <r.schwebel@pengutronix.de>
-# Pengutronix <info@pengutronix.de>, Germany
-# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-PACKAGES-$(PTXCONF_ATK) += atk
-
-#
-# Paths and names
-#
-ATK_VERSION := 2.38.0
-ATK_MD5 := 4dcea15cbf166706c166fc4fee05e3f8
-ATK := atk-$(ATK_VERSION)
-ATK_SUFFIX := tar.xz
-ATK_URL := $(call ptx/mirror, GNOME, atk/$(basename $(ATK_VERSION))/$(ATK).$(ATK_SUFFIX))
-ATK_SOURCE := $(SRCDIR)/$(ATK).$(ATK_SUFFIX)
-ATK_DIR := $(BUILDDIR)/$(ATK)
-ATK_LICENSE := LGPL-2.0-or-later
-ATK_LICENSE_FILES := \
- file://atk/atkaction.c;startline=1;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
- file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7
-
-# ----------------------------------------------------------------------------
-# Prepare
-# ----------------------------------------------------------------------------
-
-#
-# meson
-#
-ATK_CONF_TOOL := meson
-ATK_CONF_OPT := \
- $(CROSS_MESON_USR) \
- -Ddocs=false \
- -Dintrospection=$(call ptx/truefalse, PTXCONF_ATK_INTROSPECTION)
-
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/atk.targetinstall:
- @$(call targetinfo)
-
- @$(call install_init, atk)
- @$(call install_fixup, atk,PRIORITY,optional)
- @$(call install_fixup, atk,SECTION,base)
- @$(call install_fixup, atk,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
- @$(call install_fixup, atk,DESCRIPTION,missing)
-
- @$(call install_lib, atk, 0, 0, 0644, libatk-1.0)
-ifdef PTXCONF_ATK_INTROSPECTION
- @$(call install_copy, atk, 0, 0, 0644, -, \
- /usr/lib/girepository-1.0/Atk-1.0.typelib)
-endif
-
- @$(call install_finish, atk)
-
- @$(call touch)
-
-# vim: syntax=make
diff --git a/rules/gtk.in b/rules/gtk.in
index de4f7eaf3d98..ea8598cc1022 100644
--- a/rules/gtk.in
+++ b/rules/gtk.in
@@ -8,7 +8,7 @@ menuconfig GTK
select HOST_GDK_PIXBUF
# core dependencies
- select ATK
+ select AT_SPI2_CORE
select CAIRO
select CAIRO_GOBJECT
select CAIRO_PDF
diff --git a/scripts/migrate/migrate_ptx b/scripts/migrate/migrate_ptx
index 1628392980a2..9531b3e27a6a 100755
--- a/scripts/migrate/migrate_ptx
+++ b/scripts/migrate/migrate_ptx
@@ -477,3 +477,12 @@ D
:not_systemd_helper
# SYSTEMD without SYSTEMD_HELPER so add it
s/^\(# \)\?\(PTXCONF_SYSTEMD\>\)\(.*\)/\1\2_HELPER\3\n\1\2\3/
+
+# from : ptxdist-2024.05.0
+# to : ptxdist-2024.06.0
+# symbol : ATK -> AT_SPI2_CORE
+# symbol : ATK_INTROSPECTION -> AT_SPI2_CORE_INTROSPECTION
+# reason : libatk was merged into at-spi2-core
+#
+s/^\(\(# \)\?PTXCONF_\)ATK/\1AT_SPI2_CORE/
+s/^\(\(# \)\?PTXCONF_\)ATK_INTROSPECTION/\1AT_SPI2_CORE_INTROSPECTION/
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-23 6:43 ` Michael Olbrich
2024-05-22 21:15 ` [ptxdist] [PATCH 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0 Roland Hieber
` (11 subsequent siblings)
12 siblings, 1 reply; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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/nanopb.in
new file mode 100644
index 000000000000..ca3ac1b2c1d8
--- /dev/null
+++ b/rules/nanopb.in
@@ -0,0 +1,12 @@
+## SECTION=system_libraries
+
+config NANOPB
+ tristate
+ select HOST_CMAKE
+ select HOST_SYSTEM_PYTHON3
+ select HOST_PROTOBUF
+ prompt "nanopb"
+ help
+ Nanopb is a plain-C implementation of Google's Protocol Buffers data
+ format. It is targeted at 32 bit microcontrollers, but is also fit for
+ other embedded systems with tight memory constraints.
diff --git a/rules/nanopb.make b/rules/nanopb.make
new file mode 100644
index 000000000000..808c26b917e5
--- /dev/null
+++ b/rules/nanopb.make
@@ -0,0 +1,49 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_NANOPB) += nanopb
+
+#
+# Paths and names
+#
+NANOPB_VERSION := 0.4.8
+NANOPB_MD5 := 7c5305add7bf70b915c6eb1dc50cc20f
+NANOPB := nanopb-$(NANOPB_VERSION)
+NANOPB_SUFFIX := tar.gz
+NANOPB_URL := https://jpa.kapsi.fi/nanopb/download//$(NANOPB).$(NANOPB_SUFFIX)
+NANOPB_SOURCE := $(SRCDIR)/$(NANOPB).$(NANOPB_SUFFIX)
+NANOPB_DIR := $(BUILDDIR)/$(NANOPB)
+NANOPB_LICENSE := Zlib
+NANOPB_LICENSE_FILES := file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+NANOPB_CONF_ENV := $(CROSS_ENV)
+
+#
+# cmake
+#
+NANOPB_CONF_TOOL := cmake
+NANOPB_CONF_OPT := \
+ $(CROSS_CMAKE_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+# Note: the package installs only headers, generators, and static libraries
+$(STATEDIR)/nanopb.targetinstall:
+ @$(call targetinfo)
+ @$(call touch)
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 04/13] python3-jinja2: pin down license files Roland Hieber
` (10 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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 +14,8 @@ PACKAGES-$(PTXCONF_PAHO_MQTT_CPP) += paho-mqtt-cpp
#
# Paths and names
#
-PAHO_MQTT_CPP_VERSION := 1.0.1
-PAHO_MQTT_CPP_MD5 := 78c9c7c90d932926ab0d1181356e3ba8
+PAHO_MQTT_CPP_VERSION := 1.2.0
+PAHO_MQTT_CPP_MD5 := 5a4b7c869e6f20cb85c438456d5b8d12
PAHO_MQTT_CPP := paho.mqtt.cpp-$(PAHO_MQTT_CPP_VERSION)
PAHO_MQTT_CPP_SUFFIX := tar.gz
PAHO_MQTT_CPP_URL := https://github.com/eclipse/paho.mqtt.cpp/archive/v$(PAHO_MQTT_CPP_VERSION).$(PAHO_MQTT_CPP_SUFFIX)
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 04/13] python3-jinja2: pin down license files
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0 Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 05/13] host-python3-markupsafe: add host package Roland Hieber
` (9 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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 @@ PYTHON3_JINJA2_URL := $(call ptx/mirror-pypi, jinja2, $(PYTHON3_JINJA2).$(PYTHON
PYTHON3_JINJA2_SOURCE := $(SRCDIR)/$(PYTHON3_JINJA2).$(PYTHON3_JINJA2_SUFFIX)
PYTHON3_JINJA2_DIR := $(BUILDDIR)/$(PYTHON3_JINJA2)
PYTHON3_JINJA2_LICENSE := BSD-3-Clause
+PYTHON3_JINJA2_LICENSE_FILES := \
+ file://PKG-INFO;startline=6;endline=8;md5=9756d487e0b816adb26f07c9c1eea379 \
+ file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462
# ----------------------------------------------------------------------------
# Prepare
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 05/13] host-python3-markupsafe: add host package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (2 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 04/13] python3-jinja2: pin down license files Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 06/13] host-python3-jinja2: " Roland Hieber
` (8 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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 --git a/rules/host-python3-markupsafe.in b/rules/host-python3-markupsafe.in
new file mode 100644
index 000000000000..c96cb7416ad5
--- /dev/null
+++ b/rules/host-python3-markupsafe.in
@@ -0,0 +1,6 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_MARKUPSAFE
+ tristate
+ default y if ALLYES
+ select HOST_PYTHON3
diff --git a/rules/host-python3-markupsafe.make b/rules/host-python3-markupsafe.make
new file mode 100644
index 000000000000..067b1d2c0799
--- /dev/null
+++ b/rules/host-python3-markupsafe.make
@@ -0,0 +1,23 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_MARKUPSAFE) += host-python3-markupsafe
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# python3
+#
+HOST_PYTHON3_MARKUPSAFE_CONF_TOOL := python3
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 06/13] host-python3-jinja2: add host package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (3 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 05/13] host-python3-markupsafe: add host package Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 07/13] host-python3-dunamai: add new " Roland Hieber
` (7 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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/host-python3-jinja2.in b/rules/host-python3-jinja2.in
new file mode 100644
index 000000000000..94aa53e80d94
--- /dev/null
+++ b/rules/host-python3-jinja2.in
@@ -0,0 +1,8 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_JINJA2
+ tristate
+ default y if ALLYES
+ select HOST_PYTHON3
+ select HOST_PYTHON3_MARKUPSAFE
+ select HOST_PYTHON3_SETUPTOOLS
diff --git a/rules/host-python3-jinja2.make b/rules/host-python3-jinja2.make
new file mode 100644
index 000000000000..08d2ad9f793c
--- /dev/null
+++ b/rules/host-python3-jinja2.make
@@ -0,0 +1,24 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_JINJA2) += host-python3-jinja2
+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# python3
+#
+HOST_PYTHON3_JINJA2_CONF_TOOL := python3
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 07/13] host-python3-dunamai: add new host package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (4 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 06/13] host-python3-jinja2: " Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 08/13] host-python3-tomlkit: " Roland Hieber
` (6 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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 --git a/rules/host-python3-dunamai.in b/rules/host-python3-dunamai.in
new file mode 100644
index 000000000000..a369dc8a1119
--- /dev/null
+++ b/rules/host-python3-dunamai.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_DUNAMAI
+ tristate
+ default y if ALLYES
+ select HOST_PYTHON3
+ select HOST_PYTHON3_PYBUILD
diff --git a/rules/host-python3-dunamai.make b/rules/host-python3-dunamai.make
new file mode 100644
index 000000000000..3e752e676d2e
--- /dev/null
+++ b/rules/host-python3-dunamai.make
@@ -0,0 +1,35 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_DUNAMAI) += host-python3-dunamai
+
+#
+# Paths and names
+#
+HOST_PYTHON3_DUNAMAI_VERSION := 1.21.1
+HOST_PYTHON3_DUNAMAI_MD5 := 43868303aea63df705bedff7f77bd2c6
+HOST_PYTHON3_DUNAMAI := dunamai-$(HOST_PYTHON3_DUNAMAI_VERSION)
+HOST_PYTHON3_DUNAMAI_SUFFIX := tar.gz
+HOST_PYTHON3_DUNAMAI_URL := $(call ptx/mirror-pypi, dunamai, $(HOST_PYTHON3_DUNAMAI).$(HOST_PYTHON3_DUNAMAI_SUFFIX))
+HOST_PYTHON3_DUNAMAI_SOURCE := $(SRCDIR)/$(HOST_PYTHON3_DUNAMAI).$(HOST_PYTHON3_DUNAMAI_SUFFIX)
+HOST_PYTHON3_DUNAMAI_DIR := $(HOST_BUILDDIR)/$(HOST_PYTHON3_DUNAMAI)
+HOST_PYTHON3_DUNAMAI_LICENSE := MIT
+HOST_PYTHON3_DUNAMAI_LICENSE_FILES := \
+ file://PKG-INFO;startline=6;endline=6;md5=8227180126797a0148f94f483f3e1489 \
+ file://LICENSE;md5=059eed55dbfd3fea022510ea62c95dc1
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_DUNAMAI_CONF_TOOL := python3
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 08/13] host-python3-tomlkit: add new host package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (5 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 07/13] host-python3-dunamai: add new " Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 09/13] host-python3-poetry-core: " Roland Hieber
` (5 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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 --git a/rules/host-python3-tomlkit.in b/rules/host-python3-tomlkit.in
new file mode 100644
index 000000000000..680d3978484a
--- /dev/null
+++ b/rules/host-python3-tomlkit.in
@@ -0,0 +1,8 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_TOMLKIT
+ tristate
+ default y if ALLYES
+ select HOST_PYTHON3
+ select HOST_PYTHON3_PYBUILD
+ select HOST_PYTHON3_INSTALLER
diff --git a/rules/host-python3-tomlkit.make b/rules/host-python3-tomlkit.make
new file mode 100644
index 000000000000..d09752d9911f
--- /dev/null
+++ b/rules/host-python3-tomlkit.make
@@ -0,0 +1,35 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_TOMLKIT) += host-python3-tomlkit
+
+#
+# Paths and names
+#
+HOST_PYTHON3_TOMLKIT_VERSION := 0.12.5
+HOST_PYTHON3_TOMLKIT_MD5 := d80337406fdca101c12adff115983f31
+HOST_PYTHON3_TOMLKIT := tomlkit-$(HOST_PYTHON3_TOMLKIT_VERSION)
+HOST_PYTHON3_TOMLKIT_SUFFIX := tar.gz
+HOST_PYTHON3_TOMLKIT_URL := $(call ptx/mirror-pypi, tomlkit, $(HOST_PYTHON3_TOMLKIT).$(HOST_PYTHON3_TOMLKIT_SUFFIX))
+HOST_PYTHON3_TOMLKIT_SOURCE := $(SRCDIR)/$(HOST_PYTHON3_TOMLKIT).$(HOST_PYTHON3_TOMLKIT_SUFFIX)
+HOST_PYTHON3_TOMLKIT_DIR := $(HOST_BUILDDIR)/$(HOST_PYTHON3_TOMLKIT)
+HOST_PYTHON3_TOMLKIT_LICENSE := MIT
+HOST_PYTHON3_TOMLKIT_LICENSE_FILES := \
+ file://PKG-INFO;startline=6;endline=8;md5=93de1ab1482b195e9522a07e75c2759e \
+ file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_TOMLKIT_CONF_TOOL := python3
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 09/13] host-python3-poetry-core: add new host package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (6 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 08/13] host-python3-tomlkit: " Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 10/13] host-python3-poetry-dynamic-versioning: " Roland Hieber
` (4 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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-core.make
diff --git a/rules/host-python3-poetry-core.in b/rules/host-python3-poetry-core.in
new file mode 100644
index 000000000000..9cf59c8b3243
--- /dev/null
+++ b/rules/host-python3-poetry-core.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_POETRY_CORE
+ tristate
+ default y if ALLYES
+ select HOST_PYTHON3
+ select HOST_PYTHON3_PYBUILD
diff --git a/rules/host-python3-poetry-core.make b/rules/host-python3-poetry-core.make
new file mode 100644
index 000000000000..89dab9fd9c3a
--- /dev/null
+++ b/rules/host-python3-poetry-core.make
@@ -0,0 +1,35 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_POETRY_CORE) += host-python3-poetry-core
+
+#
+# Paths and names
+#
+HOST_PYTHON3_POETRY_CORE_VERSION := 1.9.0
+HOST_PYTHON3_POETRY_CORE_MD5 := eb8730e30aec5f644754b29587b47122
+HOST_PYTHON3_POETRY_CORE := poetry_core-$(HOST_PYTHON3_POETRY_CORE_VERSION)
+HOST_PYTHON3_POETRY_CORE_SUFFIX := tar.gz
+HOST_PYTHON3_POETRY_CORE_URL := $(call ptx/mirror-pypi, poetry_core, $(HOST_PYTHON3_POETRY_CORE).$(HOST_PYTHON3_POETRY_CORE_SUFFIX))
+HOST_PYTHON3_POETRY_CORE_SOURCE := $(SRCDIR)/$(HOST_PYTHON3_POETRY_CORE).$(HOST_PYTHON3_POETRY_CORE_SUFFIX)
+HOST_PYTHON3_POETRY_CORE_DIR := $(HOST_BUILDDIR)/$(HOST_PYTHON3_POETRY_CORE)
+HOST_PYTHON3_POETRY_CORE_LICENSE := MIT
+HOST_PYTHON3_POETRY_CORE_LICENSE_FILES := \
+ file://pyproject.toml;startline=4;endline=6;md5=a2d48f913a166a04a7a66fc6d7e2bd35 \
+ file://LICENSE;md5=78c39cfd009863ae44237a7ab1f9cedc
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_POETRY_CORE_CONF_TOOL := python3
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 10/13] host-python3-poetry-dynamic-versioning: add new host package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (7 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 09/13] host-python3-poetry-core: " Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 11/13] python3-aiomqtt: new package Roland Hieber
` (3 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
.../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-python3-poetry-dynamic-versioning.make
diff --git a/rules/host-python3-poetry-dynamic-versioning.in b/rules/host-python3-poetry-dynamic-versioning.in
new file mode 100644
index 000000000000..33f7f72685ae
--- /dev/null
+++ b/rules/host-python3-poetry-dynamic-versioning.in
@@ -0,0 +1,11 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING
+ tristate
+ default y if ALLYES
+ select HOST_PYTHON3
+ select HOST_PYTHON3_DUNAMAI
+ select HOST_PYTHON3_JINJA2
+ select HOST_PYTHON3_POETRY_CORE
+ select HOST_PYTHON3_PYBUILD
+ select HOST_PYTHON3_TOMLKIT
diff --git a/rules/host-python3-poetry-dynamic-versioning.make b/rules/host-python3-poetry-dynamic-versioning.make
new file mode 100644
index 000000000000..e5b23a943021
--- /dev/null
+++ b/rules/host-python3-poetry-dynamic-versioning.make
@@ -0,0 +1,35 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING) += host-python3-poetry-dynamic-versioning
+
+#
+# Paths and names
+#
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_VERSION := 1.3.0
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_MD5 := ae778dd8d8d03b05c30772608edc2e0a
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING := poetry_dynamic_versioning-$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_VERSION)
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_SUFFIX := tar.gz
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_URL := $(call ptx/mirror-pypi, poetry_dynamic_versioning, $(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING).$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_SUFFIX))
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_SOURCE := $(SRCDIR)/$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING).$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_SUFFIX)
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_DIR := $(HOST_BUILDDIR)/$(HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING)
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_LICENSE := MIT
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_LICENSE_FILES := \
+ file://pyproject.toml;startline=4;endline=6;md5=7b88e40f0545478aac40c60d6587b134 \
+ file://LICENSE;md5=059eed55dbfd3fea022510ea62c95dc1
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING_CONF_TOOL := python3
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 11/13] python3-aiomqtt: new package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (8 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 10/13] host-python3-poetry-dynamic-versioning: " Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 12/13] python3-periphery: " Roland Hieber
` (2 subsequent siblings)
12 siblings, 0 replies; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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/python3-aiomqtt.in b/rules/python3-aiomqtt.in
new file mode 100644
index 000000000000..b7c6196221e9
--- /dev/null
+++ b/rules/python3-aiomqtt.in
@@ -0,0 +1,14 @@
+## SECTION=python3
+
+config PYTHON3_AIOMQTT
+ tristate
+ select HOST_PYTHON3
+ select HOST_PYTHON3_MARKUPSAFE
+ select HOST_PYTHON3_POETRY_CORE
+ select HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING
+ select HOST_PYTHON3_PYBUILD
+ select PYTHON3
+ select PYTHON3_PAHO_MQTT
+ prompt "aiomqtt"
+ help
+ The idiomatic asyncio MQTT client (formerly known as asyncio-mqtt)
diff --git a/rules/python3-aiomqtt.make b/rules/python3-aiomqtt.make
new file mode 100644
index 000000000000..239c7112549f
--- /dev/null
+++ b/rules/python3-aiomqtt.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_AIOMQTT) += python3-aiomqtt
+
+#
+# Paths and names
+#
+PYTHON3_AIOMQTT_VERSION := 2.1.0
+PYTHON3_AIOMQTT_MD5 := 83a05e30a73feb6131a064f83e67a710
+PYTHON3_AIOMQTT := aiomqtt-$(PYTHON3_AIOMQTT_VERSION)
+PYTHON3_AIOMQTT_SUFFIX := tar.gz
+PYTHON3_AIOMQTT_URL := $(call ptx/mirror-pypi, aiomqtt, $(PYTHON3_AIOMQTT).$(PYTHON3_AIOMQTT_SUFFIX))
+PYTHON3_AIOMQTT_SOURCE := $(SRCDIR)/$(PYTHON3_AIOMQTT).$(PYTHON3_AIOMQTT_SUFFIX)
+PYTHON3_AIOMQTT_DIR := $(BUILDDIR)/$(PYTHON3_AIOMQTT)
+PYTHON3_AIOMQTT_LICENSE := BSD-3-Clause
+PYTHON3_AIOMQTT_LICENSE_FILES := \
+ flie://README.md;startline=76;endline=78;md5=077fa167040809425eeaa14a6f641b74 \
+ file://LICENSE;md5=a462083fa4d830bdcf8c22a8ddf453cf
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_AIOMQTT_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-aiomqtt.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-aiomqtt)
+ @$(call install_fixup, python3-aiomqtt,PRIORITY,optional)
+ @$(call install_fixup, python3-aiomqtt,SECTION,base)
+ @$(call install_fixup, python3-aiomqtt,AUTHOR,"Roland Hieber <rhi@pengutronix.de>")
+ @$(call install_fixup, python3-aiomqtt,DESCRIPTION,missing)
+
+ @$(call install_glob, python3-aiomqtt, 0, 0, -, \
+ $(PYTHON3_SITEPACKAGES),, *.py)
+
+ @$(call install_finish, python3-aiomqtt)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 12/13] python3-periphery: new package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (9 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 11/13] python3-aiomqtt: new package Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-23 6:46 ` Michael Olbrich
2024-05-22 21:15 ` [ptxdist] [PATCH 13/13] python3-protobuf: " Roland Hieber
2024-05-23 6:40 ` [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Michael Olbrich
12 siblings, 1 reply; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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 a/rules/python3-periphery.in b/rules/python3-periphery.in
new file mode 100644
index 000000000000..41a626acebce
--- /dev/null
+++ b/rules/python3-periphery.in
@@ -0,0 +1,10 @@
+## SECTION=python3
+
+config PYTHON3_PERIPHERY
+ tristate
+ select HOST_SYSTEM_PYTHON3_SETUPTOOLS
+ select PYTHON3
+ prompt "periphery"
+ help
+ A pure Python library for peripheral I/O (GPIO, LED, PWM, SPI, I2C,
+ MMIO, Serial) in Linux.
diff --git a/rules/python3-periphery.make b/rules/python3-periphery.make
new file mode 100644
index 000000000000..9f0ace01feea
--- /dev/null
+++ b/rules/python3-periphery.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_PERIPHERY) += python3-periphery
+
+#
+# Paths and names
+#
+PYTHON3_PERIPHERY_VERSION := 2.4.1
+PYTHON3_PERIPHERY_MD5 := 2b2a1037fb4ac15e7b0514ce3659d26c
+PYTHON3_PERIPHERY := python-periphery-$(PYTHON3_PERIPHERY_VERSION)
+PYTHON3_PERIPHERY_SUFFIX := tar.gz
+PYTHON3_PERIPHERY_URL := $(call ptx/mirror-pypi, python-periphery, $(PYTHON3_PERIPHERY).$(PYTHON3_PERIPHERY_SUFFIX))
+PYTHON3_PERIPHERY_SOURCE := $(SRCDIR)/$(PYTHON3_PERIPHERY).$(PYTHON3_PERIPHERY_SUFFIX)
+PYTHON3_PERIPHERY_DIR := $(BUILDDIR)/$(PYTHON3_PERIPHERY)
+PYTHON3_PERIPHERY_LICENSE := MIT
+PYTHON3_PERIPHERY_LICENSE_FILES := \
+ file://README.md;startline=202;endline=204;md5=bc9620815782faae308ef7bcf23bcecb \
+ file://LICENSE;md5=30fe6f023a80fb33989fb3b9d773fea0
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PERIPHERY_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-periphery.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-periphery)
+ @$(call install_fixup, python3-periphery,PRIORITY,optional)
+ @$(call install_fixup, python3-periphery,SECTION,base)
+ @$(call install_fixup, python3-periphery,AUTHOR,"Roland Hieber <rhi@pengutronix.de>")
+ @$(call install_fixup, python3-periphery,DESCRIPTION,missing)
+
+ @$(call install_glob, python3-periphery, 0, 0, -, \
+ $(PYTHON3_SITEPACKAGES),, *.py)
+
+ @$(call install_finish, python3-periphery)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* [ptxdist] [PATCH 13/13] python3-protobuf: new package
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (10 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 12/13] python3-periphery: " Roland Hieber
@ 2024-05-22 21:15 ` Roland Hieber
2024-05-23 6:46 ` Michael Olbrich
2024-05-23 6:40 ` [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Michael Olbrich
12 siblings, 1 reply; 17+ messages in thread
From: Roland Hieber @ 2024-05-22 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
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/python3-protobuf.in b/rules/python3-protobuf.in
new file mode 100644
index 000000000000..ba740bd67b86
--- /dev/null
+++ b/rules/python3-protobuf.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_PROTOBUF
+ tristate
+ select HOST_SYSTEM_PYTHON3_SETUPTOOLS
+ select PYTHON3
+ prompt "protobuf"
+ help
+ Protocol buffers library for Python 3
diff --git a/rules/python3-protobuf.make b/rules/python3-protobuf.make
new file mode 100644
index 000000000000..6b92295e8a4d
--- /dev/null
+++ b/rules/python3-protobuf.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_PROTOBUF) += python3-protobuf
+
+#
+# Paths and names
+#
+PYTHON3_PROTOBUF_VERSION := 5.26.1
+PYTHON3_PROTOBUF_MD5 := 8360a781926b9dac954678a823835d23
+PYTHON3_PROTOBUF := protobuf-$(PYTHON3_PROTOBUF_VERSION)
+PYTHON3_PROTOBUF_SUFFIX := tar.gz
+PYTHON3_PROTOBUF_URL := $(call ptx/mirror-pypi, protobuf, $(PYTHON3_PROTOBUF).$(PYTHON3_PROTOBUF_SUFFIX))
+PYTHON3_PROTOBUF_SOURCE := $(SRCDIR)/$(PYTHON3_PROTOBUF).$(PYTHON3_PROTOBUF_SUFFIX)
+PYTHON3_PROTOBUF_DIR := $(BUILDDIR)/$(PYTHON3_PROTOBUF)
+PYTHON3_PROTOBUF_LICENSE := BSD-3-Clause AND custom-exception
+PYTHON3_PROTOBUF_LICENSE_FILES := \
+ file://PKG-INFO;startline=7;endline=9;md5=b2e1494c98b3b7127af75dfb2edf369e \
+ file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PROTOBUF_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-protobuf.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-protobuf)
+ @$(call install_fixup, python3-protobuf,PRIORITY,optional)
+ @$(call install_fixup, python3-protobuf,SECTION,base)
+ @$(call install_fixup, python3-protobuf,AUTHOR,"Roland Hieber <rhi@pengutronix.de>")
+ @$(call install_fixup, python3-protobuf,DESCRIPTION,missing)
+
+ @$(call install_glob, python3-protobuf, 0, 0, -, \
+ $(PYTHON3_SITEPACKAGES),, *.py)
+
+ @$(call install_finish, python3-protobuf)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.39.2
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
` (11 preceding siblings ...)
2024-05-22 21:15 ` [ptxdist] [PATCH 13/13] python3-protobuf: " Roland Hieber
@ 2024-05-23 6:40 ` Michael Olbrich
12 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2024-05-23 6:40 UTC (permalink / raw)
To: Roland Hieber, ptxdist
On Wed, May 22, 2024 at 11:15:31PM +0200, Roland Hieber wrote:
> I cannot find any official announcement on this, but it seems that atk
> was merged into the at-spi2-core tree. At least the atk repository [1]
> has been archived, there have been no new releases since 2022, but there
> has been further development on the atk/ subdir in the at-spi2-core
> repository [2], to which the ATK docs [3] now link too.
>
> [1]: https://git.gnome.org/atk
> [2]: https://gitlab.gnome.org/GNOME/at-spi2-core/
> [3]: https://gnome.pages.gitlab.gnome.org/at-spi2-core/atk/
>
> Rename the atk recipe to at-spi2-core, and build libatk as part of it.
> The 'atk_only' meson option carries a big "(UNSUPPORTED)", so build
> everything and only install the two new libs if needed, since they are
> each about 1 MiB big even after stripping the debug symbols.
>
> Update the license info; COPYING was update from a LGPL-2.0 to a
> LGPL-2.1 license text, and atspi/atspi-gmain.c carries both
> LGPL-2.1-or-later as well as "Academic Free License version 2.1"
> license statements.
>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> Note: use "git diff -M1" to show the diff between the renamed files
> ---
> rules/{atk.in => at-spi2-core.in} | 19 +++++--
> rules/at-spi2-core.make | 90 +++++++++++++++++++++++++++++++
> rules/atk.make | 67 -----------------------
> rules/gtk.in | 2 +-
> scripts/migrate/migrate_ptx | 9 ++++
> 5 files changed, 114 insertions(+), 73 deletions(-)
> rename rules/{atk.in => at-spi2-core.in} (53%)
> create mode 100644 rules/at-spi2-core.make
> delete mode 100644 rules/atk.make
>
> diff --git a/rules/atk.in b/rules/at-spi2-core.in
> similarity index 53%
> rename from rules/atk.in
> rename to rules/at-spi2-core.in
> index 3ddd3c4fffe6..97669181d6e5 100644
> --- a/rules/atk.in
> +++ b/rules/at-spi2-core.in
> @@ -1,11 +1,13 @@
> ## SECTION=multimedia_gtk
>
> -config ATK
> +config AT_SPI2_CORE
> tristate
> - prompt "atk"
> + prompt "at-spi2-core"
> select HOST_MESON
> + select DBUS
> select GLIB
> - select GOBJECT_INTROSPECTION if ATK_INTROSPECTION
> + select GOBJECT_INTROSPECTION if AT_SPI2_CORE_INTROSPECTION
> + select LIBXML2 if BUILDTIME # only used for tests
> help
> ATK is a toolkit providing accessibility interfaces
> for applications or other toolkits. By implementing
> @@ -14,10 +16,17 @@ config ATK
> magnifiers, and other alternative input devices.
> ATK is part of the GNOME project.
>
> -if ATK
> +if AT_SPI2_CORE
>
> -config ATK_INTROSPECTION
> +config AT_SPI2_CORE_INTROSPECTION
> bool
> default GOBJECT_INTROSPECTION_HELPER
>
> +config AT_SPI2_CORE_LIBATK_BRIDGE
> + select AT_SPI2_CORE_LIBATSPI
> + bool "install libatk-bridge"
> +
> +config AT_SPI2_CORE_LIBATSPI
> + bool "install libatspi"
Do you have a use-case for this? I have yet to find an embedded use-case,
so I think we should just disable this unconditionally.
With that, you can set -Datk_only=true and make libxml only required if
atk_only is enabled, with a trivial patch. That way you can remove the
extra dependency.
Michael
> +
> endif
> diff --git a/rules/at-spi2-core.make b/rules/at-spi2-core.make
> new file mode 100644
> index 000000000000..05d92fa486d8
> --- /dev/null
> +++ b/rules/at-spi2-core.make
> @@ -0,0 +1,90 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2003-2006 Robert Schwebel <r.schwebel@pengutronix.de>
> +# Pengutronix <info@pengutronix.de>, Germany
> +# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
> +# 2024 Roland Hieber, Pengutronix
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_AT_SPI2_CORE) += at-spi2-core
> +
> +#
> +# Paths and names
> +#
> +AT_SPI2_CORE_VERSION := 2.52.0
> +AT_SPI2_CORE_MD5 := e6591545b2bf204fe9a58f777bd0b78a
> +AT_SPI2_CORE := at-spi2-core-$(AT_SPI2_CORE_VERSION)
> +AT_SPI2_CORE_SUFFIX := tar.xz
> +AT_SPI2_CORE_URL := $(call ptx/mirror, GNOME, at-spi2-core/$(basename $(AT_SPI2_CORE_VERSION))/$(AT_SPI2_CORE).$(AT_SPI2_CORE_SUFFIX))
> +AT_SPI2_CORE_SOURCE := $(SRCDIR)/$(AT_SPI2_CORE).$(AT_SPI2_CORE_SUFFIX)
> +AT_SPI2_CORE_DIR := $(BUILDDIR)/$(AT_SPI2_CORE)
> +AT_SPI2_CORE_LICENSE := LGPL-2.0-or-later AND LGPL-2.1-or-later AND AFL-2.1
> +AT_SPI2_CORE_LICENSE_FILES := \
> + file://atk/atkaction.c;startline=1;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
> + file://atspi/atspi-gmain.c;startline=4;endline=21;md5=5a40bca956865414952184669ef3985c \
> + file://COPYING;md5=4fbd65380cdd255951079008b364516c
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# meson
> +#
> +AT_SPI2_CORE_CONF_TOOL := meson
> +AT_SPI2_CORE_CONF_OPT := \
> + $(CROSS_MESON_USR) \
> + -Datk_only=false \
> + -Ddbus_broker=default \
> + -Ddbus_daemon=default \
> + -Ddbus_services_dir=default \
> + -Ddefault_bus=dbus-daemon \
> + -Ddisable_p2p=false \
> + -Ddocs=false \
> + -Dgtk2_atk_adaptor=false \
> + -Dintrospection=$(call ptx/endis, PTXCONF_AT_SPI2_CORE_INTROSPECTION)d \
> + -Dsystemd_user_dir=default \
> + -Duse_systemd=false \
> + -Dx11=disabled
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/at-spi2-core.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, at-spi2-core)
> + @$(call install_fixup, at-spi2-core,PRIORITY,optional)
> + @$(call install_fixup, at-spi2-core,SECTION,base)
> + @$(call install_fixup, at-spi2-core,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
> + @$(call install_fixup, at-spi2-core,DESCRIPTION,missing)
> +
> + @$(call install_lib, at-spi2-core, 0, 0, 0644, libatk-1.0)
> +ifdef PTXCONF_AT_SPI2_CORE_LIBATK_BRIDGE
> + @$(call install_lib, at-spi2-core, 0, 0, 0644, libatk-bridge-2.0)
> +endif
> +ifdef PTXCONF_AT_SPI2_CORE_LIBATSPI
> + @$(call install_lib, at-spi2-core, 0, 0, 0644, libatspi)
> +endif
> +
> +ifdef PTXCONF_AT_SPI2_CORE_INTROSPECTION
> + @$(call install_copy, at-spi2-core, 0, 0, 0644, -, \
> + /usr/lib/girepository-1.0/Atk-1.0.typelib)
> +ifdef PTXCONF_AT_SPI2_CORE_LIBATSPI
> + @$(call install_copy, at-spi2-core, 0, 0, 0644, -, \
> + /usr/lib/girepository-1.0/Atspi-2.0.typelib)
> +endif
> +endif
> +
> + @$(call install_finish, at-spi2-core)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> diff --git a/rules/atk.make b/rules/atk.make
> deleted file mode 100644
> index 1183faf951f3..000000000000
> --- a/rules/atk.make
> +++ /dev/null
> @@ -1,67 +0,0 @@
> -# -*-makefile-*-
> -#
> -# Copyright (C) 2003-2006 Robert Schwebel <r.schwebel@pengutronix.de>
> -# Pengutronix <info@pengutronix.de>, Germany
> -# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
> -#
> -# For further information about the PTXdist project and license conditions
> -# see the README file.
> -#
> -
> -#
> -# We provide this package
> -#
> -PACKAGES-$(PTXCONF_ATK) += atk
> -
> -#
> -# Paths and names
> -#
> -ATK_VERSION := 2.38.0
> -ATK_MD5 := 4dcea15cbf166706c166fc4fee05e3f8
> -ATK := atk-$(ATK_VERSION)
> -ATK_SUFFIX := tar.xz
> -ATK_URL := $(call ptx/mirror, GNOME, atk/$(basename $(ATK_VERSION))/$(ATK).$(ATK_SUFFIX))
> -ATK_SOURCE := $(SRCDIR)/$(ATK).$(ATK_SUFFIX)
> -ATK_DIR := $(BUILDDIR)/$(ATK)
> -ATK_LICENSE := LGPL-2.0-or-later
> -ATK_LICENSE_FILES := \
> - file://atk/atkaction.c;startline=1;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
> - file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7
> -
> -# ----------------------------------------------------------------------------
> -# Prepare
> -# ----------------------------------------------------------------------------
> -
> -#
> -# meson
> -#
> -ATK_CONF_TOOL := meson
> -ATK_CONF_OPT := \
> - $(CROSS_MESON_USR) \
> - -Ddocs=false \
> - -Dintrospection=$(call ptx/truefalse, PTXCONF_ATK_INTROSPECTION)
> -
> -# ----------------------------------------------------------------------------
> -# Target-Install
> -# ----------------------------------------------------------------------------
> -
> -$(STATEDIR)/atk.targetinstall:
> - @$(call targetinfo)
> -
> - @$(call install_init, atk)
> - @$(call install_fixup, atk,PRIORITY,optional)
> - @$(call install_fixup, atk,SECTION,base)
> - @$(call install_fixup, atk,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
> - @$(call install_fixup, atk,DESCRIPTION,missing)
> -
> - @$(call install_lib, atk, 0, 0, 0644, libatk-1.0)
> -ifdef PTXCONF_ATK_INTROSPECTION
> - @$(call install_copy, atk, 0, 0, 0644, -, \
> - /usr/lib/girepository-1.0/Atk-1.0.typelib)
> -endif
> -
> - @$(call install_finish, atk)
> -
> - @$(call touch)
> -
> -# vim: syntax=make
> diff --git a/rules/gtk.in b/rules/gtk.in
> index de4f7eaf3d98..ea8598cc1022 100644
> --- a/rules/gtk.in
> +++ b/rules/gtk.in
> @@ -8,7 +8,7 @@ menuconfig GTK
> select HOST_GDK_PIXBUF
>
> # core dependencies
> - select ATK
> + select AT_SPI2_CORE
> select CAIRO
> select CAIRO_GOBJECT
> select CAIRO_PDF
> diff --git a/scripts/migrate/migrate_ptx b/scripts/migrate/migrate_ptx
> index 1628392980a2..9531b3e27a6a 100755
> --- a/scripts/migrate/migrate_ptx
> +++ b/scripts/migrate/migrate_ptx
> @@ -477,3 +477,12 @@ D
> :not_systemd_helper
> # SYSTEMD without SYSTEMD_HELPER so add it
> s/^\(# \)\?\(PTXCONF_SYSTEMD\>\)\(.*\)/\1\2_HELPER\3\n\1\2\3/
> +
> +# from : ptxdist-2024.05.0
> +# to : ptxdist-2024.06.0
> +# symbol : ATK -> AT_SPI2_CORE
> +# symbol : ATK_INTROSPECTION -> AT_SPI2_CORE_INTROSPECTION
> +# reason : libatk was merged into at-spi2-core
> +#
> +s/^\(\(# \)\?PTXCONF_\)ATK/\1AT_SPI2_CORE/
> +s/^\(\(# \)\?PTXCONF_\)ATK_INTROSPECTION/\1AT_SPI2_CORE_INTROSPECTION/
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://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] 17+ messages in thread
* Re: [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation
2024-05-22 21:15 ` [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation Roland Hieber
@ 2024-05-23 6:43 ` Michael Olbrich
0 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2024-05-23 6:43 UTC (permalink / raw)
To: Roland Hieber, ptxdist
On Wed, May 22, 2024 at 11:15:32PM +0200, Roland Hieber wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 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/nanopb.in
> new file mode 100644
> index 000000000000..ca3ac1b2c1d8
> --- /dev/null
> +++ b/rules/nanopb.in
> @@ -0,0 +1,12 @@
> +## SECTION=system_libraries
> +
> +config NANOPB
> + tristate
> + select HOST_CMAKE
> + select HOST_SYSTEM_PYTHON3
> + select HOST_PROTOBUF
> + prompt "nanopb"
> + help
> + Nanopb is a plain-C implementation of Google's Protocol Buffers data
> + format. It is targeted at 32 bit microcontrollers, but is also fit for
> + other embedded systems with tight memory constraints.
> diff --git a/rules/nanopb.make b/rules/nanopb.make
> new file mode 100644
> index 000000000000..808c26b917e5
> --- /dev/null
> +++ b/rules/nanopb.make
> @@ -0,0 +1,49 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_NANOPB) += nanopb
> +
> +#
> +# Paths and names
> +#
> +NANOPB_VERSION := 0.4.8
> +NANOPB_MD5 := 7c5305add7bf70b915c6eb1dc50cc20f
> +NANOPB := nanopb-$(NANOPB_VERSION)
> +NANOPB_SUFFIX := tar.gz
> +NANOPB_URL := https://jpa.kapsi.fi/nanopb/download//$(NANOPB).$(NANOPB_SUFFIX)
Remove double /.
> +NANOPB_SOURCE := $(SRCDIR)/$(NANOPB).$(NANOPB_SUFFIX)
> +NANOPB_DIR := $(BUILDDIR)/$(NANOPB)
> +NANOPB_LICENSE := Zlib
> +NANOPB_LICENSE_FILES := file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +NANOPB_CONF_ENV := $(CROSS_ENV)
Remove, it's the default.
> +
> +#
> +# cmake
> +#
> +NANOPB_CONF_TOOL := cmake
> +NANOPB_CONF_OPT := \
> + $(CROSS_CMAKE_USR)
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +# Note: the package installs only headers, generators, and static libraries
> +$(STATEDIR)/nanopb.targetinstall:
> + @$(call targetinfo)
> + @$(call touch)
The default targetinstall stage is empty, so just remove it here.
Michael
> +
> +# vim: syntax=make
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://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] 17+ messages in thread
* Re: [ptxdist] [PATCH 12/13] python3-periphery: new package
2024-05-22 21:15 ` [ptxdist] [PATCH 12/13] python3-periphery: " Roland Hieber
@ 2024-05-23 6:46 ` Michael Olbrich
0 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2024-05-23 6:46 UTC (permalink / raw)
To: Roland Hieber, ptxdist
On Wed, May 22, 2024 at 11:15:42PM +0200, Roland Hieber wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 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 a/rules/python3-periphery.in b/rules/python3-periphery.in
> new file mode 100644
> index 000000000000..41a626acebce
> --- /dev/null
> +++ b/rules/python3-periphery.in
> @@ -0,0 +1,10 @@
> +## SECTION=python3
> +
> +config PYTHON3_PERIPHERY
> + tristate
> + select HOST_SYSTEM_PYTHON3_SETUPTOOLS
No. The PYTHON3 dependency already includes the correct setuptools.
Michael
> + select PYTHON3
> + prompt "periphery"
> + help
> + A pure Python library for peripheral I/O (GPIO, LED, PWM, SPI, I2C,
> + MMIO, Serial) in Linux.
> diff --git a/rules/python3-periphery.make b/rules/python3-periphery.make
> new file mode 100644
> index 000000000000..9f0ace01feea
> --- /dev/null
> +++ b/rules/python3-periphery.make
> @@ -0,0 +1,55 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_PERIPHERY) += python3-periphery
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_PERIPHERY_VERSION := 2.4.1
> +PYTHON3_PERIPHERY_MD5 := 2b2a1037fb4ac15e7b0514ce3659d26c
> +PYTHON3_PERIPHERY := python-periphery-$(PYTHON3_PERIPHERY_VERSION)
> +PYTHON3_PERIPHERY_SUFFIX := tar.gz
> +PYTHON3_PERIPHERY_URL := $(call ptx/mirror-pypi, python-periphery, $(PYTHON3_PERIPHERY).$(PYTHON3_PERIPHERY_SUFFIX))
> +PYTHON3_PERIPHERY_SOURCE := $(SRCDIR)/$(PYTHON3_PERIPHERY).$(PYTHON3_PERIPHERY_SUFFIX)
> +PYTHON3_PERIPHERY_DIR := $(BUILDDIR)/$(PYTHON3_PERIPHERY)
> +PYTHON3_PERIPHERY_LICENSE := MIT
> +PYTHON3_PERIPHERY_LICENSE_FILES := \
> + file://README.md;startline=202;endline=204;md5=bc9620815782faae308ef7bcf23bcecb \
> + file://LICENSE;md5=30fe6f023a80fb33989fb3b9d773fea0
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_PERIPHERY_CONF_TOOL := python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-periphery.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, python3-periphery)
> + @$(call install_fixup, python3-periphery,PRIORITY,optional)
> + @$(call install_fixup, python3-periphery,SECTION,base)
> + @$(call install_fixup, python3-periphery,AUTHOR,"Roland Hieber <rhi@pengutronix.de>")
> + @$(call install_fixup, python3-periphery,DESCRIPTION,missing)
> +
> + @$(call install_glob, python3-periphery, 0, 0, -, \
> + $(PYTHON3_SITEPACKAGES),, *.py)
> +
> + @$(call install_finish, python3-periphery)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://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] 17+ messages in thread
* Re: [ptxdist] [PATCH 13/13] python3-protobuf: new package
2024-05-22 21:15 ` [ptxdist] [PATCH 13/13] python3-protobuf: " Roland Hieber
@ 2024-05-23 6:46 ` Michael Olbrich
0 siblings, 0 replies; 17+ messages in thread
From: Michael Olbrich @ 2024-05-23 6:46 UTC (permalink / raw)
To: Roland Hieber, ptxdist
On Wed, May 22, 2024 at 11:15:43PM +0200, Roland Hieber wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 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/python3-protobuf.in b/rules/python3-protobuf.in
> new file mode 100644
> index 000000000000..ba740bd67b86
> --- /dev/null
> +++ b/rules/python3-protobuf.in
> @@ -0,0 +1,9 @@
> +## SECTION=python3
> +
> +config PYTHON3_PROTOBUF
> + tristate
> + select HOST_SYSTEM_PYTHON3_SETUPTOOLS
Same here.
Michael
> + select PYTHON3
> + prompt "protobuf"
> + help
> + Protocol buffers library for Python 3
> diff --git a/rules/python3-protobuf.make b/rules/python3-protobuf.make
> new file mode 100644
> index 000000000000..6b92295e8a4d
> --- /dev/null
> +++ b/rules/python3-protobuf.make
> @@ -0,0 +1,55 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_PROTOBUF) += python3-protobuf
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_PROTOBUF_VERSION := 5.26.1
> +PYTHON3_PROTOBUF_MD5 := 8360a781926b9dac954678a823835d23
> +PYTHON3_PROTOBUF := protobuf-$(PYTHON3_PROTOBUF_VERSION)
> +PYTHON3_PROTOBUF_SUFFIX := tar.gz
> +PYTHON3_PROTOBUF_URL := $(call ptx/mirror-pypi, protobuf, $(PYTHON3_PROTOBUF).$(PYTHON3_PROTOBUF_SUFFIX))
> +PYTHON3_PROTOBUF_SOURCE := $(SRCDIR)/$(PYTHON3_PROTOBUF).$(PYTHON3_PROTOBUF_SUFFIX)
> +PYTHON3_PROTOBUF_DIR := $(BUILDDIR)/$(PYTHON3_PROTOBUF)
> +PYTHON3_PROTOBUF_LICENSE := BSD-3-Clause AND custom-exception
> +PYTHON3_PROTOBUF_LICENSE_FILES := \
> + file://PKG-INFO;startline=7;endline=9;md5=b2e1494c98b3b7127af75dfb2edf369e \
> + file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_PROTOBUF_CONF_TOOL := python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-protobuf.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, python3-protobuf)
> + @$(call install_fixup, python3-protobuf,PRIORITY,optional)
> + @$(call install_fixup, python3-protobuf,SECTION,base)
> + @$(call install_fixup, python3-protobuf,AUTHOR,"Roland Hieber <rhi@pengutronix.de>")
> + @$(call install_fixup, python3-protobuf,DESCRIPTION,missing)
> +
> + @$(call install_glob, python3-protobuf, 0, 0, -, \
> + $(PYTHON3_SITEPACKAGES),, *.py)
> +
> + @$(call install_finish, python3-protobuf)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://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] 17+ messages in thread
end of thread, other threads:[~2024-05-23 6:46 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation Roland Hieber
2024-05-23 6:43 ` Michael Olbrich
2024-05-22 21:15 ` [ptxdist] [PATCH 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 04/13] python3-jinja2: pin down license files Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 05/13] host-python3-markupsafe: add host package Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 06/13] host-python3-jinja2: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 07/13] host-python3-dunamai: add new " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 08/13] host-python3-tomlkit: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 09/13] host-python3-poetry-core: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 10/13] host-python3-poetry-dynamic-versioning: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 11/13] python3-aiomqtt: new package Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 12/13] python3-periphery: " Roland Hieber
2024-05-23 6:46 ` Michael Olbrich
2024-05-22 21:15 ` [ptxdist] [PATCH 13/13] python3-protobuf: " Roland Hieber
2024-05-23 6:46 ` Michael Olbrich
2024-05-23 6:40 ` [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox