From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 27 Jan 2023 09:58:01 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pLKYc-003ivI-UW for lore@lore.pengutronix.de; Fri, 27 Jan 2023 09:58:01 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pLKYa-0003BH-Ko; Fri, 27 Jan 2023 09:58:00 +0100 Received: from enterprise01.smtp.diehl.com ([193.201.238.219]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pLKY6-0003B7-0j for ptxdist@pengutronix.de; Fri, 27 Jan 2023 09:57:31 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=diehl.com; i=@diehl.com; q=dns/txt; s=default; t=1674809850; x=1706345850; h=from:to:subject:message-id:mime-version:date; bh=zQIX12WcthYJBRobqG/fDE/dMd0VYRNyY1yedInY2wM=; b=LXSRxeRFILhC8I0TLqFwwCI44mTSgLwktlO7gPKGoVUdOz1K47qJZQOu W2WOyYk6/UcjEGGTt0loGh/fE/EpsjKr5mqlV/HnTqelQLOZq+LWT62qK QOoXEaV5oy1uwoTtpG7kc1ZJmANKxBPNDw4TGYccRSbo7N/loQNkU+u74 F+G2dzGwbf029JHagmjjMmZDOwhTPA1AB7xlygJRc3YYkKVkqZukkfppM 9DgCGsUrfCQr46l/oV/MbiTbOPgHymkVOwFpz7xyyxeAo2d2vitUK6DMP OP6m5Pg82UXw3ua6gtMk1hRGEk9LEwPr7I+jlp8DnEouvmxn0KRnJBU7t g==; IronPort-Data: A9a23:v6oWnqhKSfGflQs/QxNXH6RFX161BBAKZh0ujC45NG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9a23:tkltHqrPeo89A9Yeb6upIXMaV5o4eYIsimQD101hICG9Ffbo8/ xG/c5rsCMc7Qx6ZJhOo7+90cW7L080lqQFg7X5X43PYOCOggLBR+xfBODZowEIdReeygck79 YCT5RD X-IronPort-AV: E=Sophos;i="5.97,250,1669071600"; d="p7s'?scan'208";a="48846568" From: Denis OSTERLAND-HEIM To: "ptxdist@pengutronix.de" Message-ID: <267946fb4b1f418eaeca561e00299b89@diehl.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="----3AB4B7993519DAFF904B389CEDA5365B" Date: Fri, 27 Jan 2023 09:57:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-103.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [EXT] [PATCH] protobuf-c: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false This is an S/MIME signed message ------3AB4B7993519DAFF904B389CEDA5365B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, -----Original Message----- From: ptxdist On Behalf Of Ian Abbott Sent: Wednesday, January 25, 2023 2:38 PM To: ptxdist@pengutronix.de Cc: Ian Abbott Subject: [EXT] [ptxdist] [PATCH] protobuf-c: new package [EXTERNAL EMAIL] Also host-protobuf-c. The C code generator plug-in for protoc is only built for the host package. Signed-off-by: Ian Abbott --- rules/host-protobuf-c.in | 6 ++++ rules/host-protobuf-c.make | 22 ++++++++++++++ rules/protobuf-c.in | 13 +++++++++ rules/protobuf-c.make | 59 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 rules/host-protobuf-c.in create mode 100644 rules/host-protobuf-c.make create mode 100644 rules/protobuf-c.in create mode 100644 rules/protobuf-c.make diff --git a/rules/host-protobuf-c.in b/rules/host-protobuf-c.in new file mode 100644 index 000000000..fc7f332f7 --- /dev/null +++ b/rules/host-protobuf-c.in @@ -0,0 +1,6 @@ +## SECTION=hosttools_noprompt + +config HOST_PROTOBUF_C + tristate + select HOST_PROTOBUF + default y if ALLYES diff --git a/rules/host-protobuf-c.make b/rules/host-protobuf-c.make new file mode 100644 index 000000000..c63134ff0 --- /dev/null +++ b/rules/host-protobuf-c.make @@ -0,0 +1,22 @@ +# -*-makefile-*- +# +# Copyright (C) 2023 by Ian Abbott # # For further +information about the PTXdist project and license conditions # see the +README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_PROTOBUF_C) += host-protobuf-c + +# +# autoconf +# +HOST_PROTOBUF_C_CONF_TOOL := autoconf +HOST_PROTOBUF_C_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --disable-static + +# vim: syntax=make diff --git a/rules/protobuf-c.in b/rules/protobuf-c.in new file mode 100644 index 000000000..921f70471 --- /dev/null +++ b/rules/protobuf-c.in @@ -0,0 +1,13 @@ +## SECTION=system_libraries + +config PROTOBUF_C + tristate + select HOST_PROTOBUF_C + prompt "protobuf-c " + help + A C implementation of the Protocol Buffers data serialization + format. + + NOTE: This installs the libprotobuf-c shared library for the + target. The host package includes the code generator plug-in + for the protoc command. diff --git a/rules/protobuf-c.make b/rules/protobuf-c.make new file mode 100644 index 000000000..60f7f6494 --- /dev/null +++ b/rules/protobuf-c.make @@ -0,0 +1,59 @@ +# -*-makefile-*- +# +# Copyright (C) 2023 by Ian Abbott # # For further +information about the PTXdist project and license conditions # see the +README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PROTOBUF_C) += protobuf-c + +# +# Paths and names +# +PROTOBUF_C_VERSION := 1.4.1 +PROTOBUF_C_MD5 := 4c17d70317ce9fc4cca9690377284659 +PROTOBUF_C := protobuf-c-$(PROTOBUF_C_VERSION) +PROTOBUF_C_SUFFIX := tar.gz +PROTOBUF_C_URL := https://github.com/protobuf-c/protobuf-c/releases/download/v$(PROTOBUF_C_VER SION)/protobuf-c-$(PROTOBUF_C_VERSION).$(PROTOBUF_C_SUFFIX) +PROTOBUF_C_SOURCE := $(SRCDIR)/$(PROTOBUF_C).$(PROTOBUF_C_SUFFIX) +PROTOBUF_C_DIR := $(BUILDDIR)/$(PROTOBUF_C) +PROTOBUF_C_LICENSE := BSD-2-Clause +PROTOBUF_C_LICENSE_FILES := +file://LICENSE;md5=9f725889e0d77383e26cb42b0b62cea2 + +# +----------------------------------------------------------------------- +----- +# Prepare +# +----------------------------------------------------------------------- +----- + +# +# autoconf +# +PROTOBUF_C_CONF_TOOL := autoconf +PROTOBUF_C_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-protoc \ + --disable-static Is there a reason why static is disabled fort he target? Regards, Denis + +# +----------------------------------------------------------------------- +----- +# Target-Install +# +----------------------------------------------------------------------- +----- + +$(STATEDIR)/protobuf-c.targetinstall: + @$(call targetinfo) + + @$(call install_init, protobuf-c) + @$(call install_fixup, protobuf-c,PRIORITY,optional) + @$(call install_fixup, protobuf-c,SECTION,base) + @$(call install_fixup, protobuf-c,AUTHOR,"Ian Abbott ") + @$(call install_fixup, protobuf-c,DESCRIPTION,missing) + + @$(call install_lib, protobuf-c, 0, 0, 0644, libprotobuf-c) + + @$(call install_finish, protobuf-c) + + @$(call touch) + +# vim: syntax=make -- 2.39.0 ------3AB4B7993519DAFF904B389CEDA5365B Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIIPQAYJKoZIhvcNAQcCoIIPMTCCDy0CAQExDzANBglghkgBZQMEAgEFADALBgkq hkiG9w0BBwGgggxWMIIGUTCCBDmgAwIBAgICMAAwDQYJKoZIhvcNAQELBQAwgaMx ITAfBgNVBAMMGERpZWhsIEdyb3VwIE1haWwgUm9vdCBDQTELMAkGA1UEBhMCREUx EjAQBgNVBAcMCU51ZXJuYmVyZzEUMBIGA1UECgwLRGllaGwgR3JvdXAxFDASBgNV BAsMC0RpZWhsIEdyb3VwMQ8wDQYDVQQIDAZCYXllcm4xIDAeBgkqhkiG9w0BCQEW EXg1MDktY2FAZGllaGwuY29tMB4XDTE4MDUyOTEyMzIzNVoXDTI4MDUyNjEyMzIz NVowgZQxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZCYXllcm4xFDASBgNVBAoMC0Rp ZWhsIEdyb3VwMRswGQYDVQQLDBJEaWVobCBNZXRlcmluZyBUS0gxHzAdBgNVBAMM FkRpZWhsIE1ldGVyaW5nIE1haWwgQ0ExIDAeBgkqhkiG9w0BCQEWEXg1MDktY2FA ZGllaGwuY29tMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAtISPrKPL Zjjh//2n9b+GXgrhijJV2knQVC0+/FS3zGl4p2fboB+Vr4YHz1uilEvhsS1oG4FV f1u0dqdmLVxDHBPMO2K1NKKOJN/6LDDfyiZGNqDOJke6FzrmDyPXXTDtgzWZfdnD esx63XSxprre30oJ3BxDFS+/8UpuI628SPc1N4125rHeUXG4scKFSjqRPcIOAQ2X veGXU2dYHzq7B02NA8tssmtJNwXjyvMjOw6HGZ8SB87TrFQm6drEtM7QhI/mfpGe nTZ4nc84n0yKuMveav8IOspYbkOXzi4JapiOUpmccNLZdIiMg5WJQ0Xt9NSp5yD5 CYKideGrWgX2wNEBpalgjZoPPQDImcWEJx88/yYZ4FwtRD3VueFqpBr4z/bxwV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