Hi, I am sending the current state of my grpc package for PTXdist.
gRPC is a RPC library, using HTTP/2 and protocol buffers. See grpc.io for more information. Because I am not entirely happy with it, I am flagging it as RFC. Pain points: - I had to patch the template-generated Makefile for cross-compiling (separate target and host packages), see patch 3 - I had to patch version numbers in said Makefile, see patch 4 I tested it successfully with an in-house C++ application which uses gRPC and the meson build system. I could also send another patch, adding support for the collectd grpc plugin, for PTXdist to have a testcase within. When building the host package, there are several warnings about the missing c-ares, but it just falls back to using getaddrinfo and is not important for the host tools/plugins, in my opinion. Also, host-openssl and host-zlib is not necessary, so the warnings can be ignored. Would be great if some of you could test it and maybe suggest improvements. Thanks, Clemens Clemens Gruber (1): grpc: new package ...rtability-test-for-c-and-make-it-pas.patch | 41 ++++++++++ ...vent-shell-calls-longer-than-ARG_MAX.patch | 71 ++++++++++++++++ ...d-proto-plugins-when-cross-compiling.patch | 25 ++++++ ...0004-Fix-libgrpc-major-version-links.patch | 72 +++++++++++++++++ patches/grpc-1.15.1/series | 7 ++ rules/grpc.in | 19 +++++ rules/grpc.make | 80 +++++++++++++++++++ rules/host-grpc.in | 6 ++ rules/host-grpc.make | 30 +++++++ 9 files changed, 351 insertions(+) create mode 100644 patches/grpc-1.15.1/0001-Add-a-gcc-8.1-portability-test-for-c-and-make-it-pas.patch create mode 100644 patches/grpc-1.15.1/0002-Prevent-shell-calls-longer-than-ARG_MAX.patch create mode 100644 patches/grpc-1.15.1/0003-Do-not-build-proto-plugins-when-cross-compiling.patch create mode 100644 patches/grpc-1.15.1/0004-Fix-libgrpc-major-version-links.patch create mode 100644 patches/grpc-1.15.1/series create mode 100644 rules/grpc.in create mode 100644 rules/grpc.make create mode 100644 rules/host-grpc.in create mode 100644 rules/host-grpc.make -- 2.19.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de