Skip to contentSkip to conversation

vsomeip: add recipe

PATCH Superseded Yi Zhao 1 participant 1 message Jul 12, 2023

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 vsomeip: add recipe

The vsomeip stack implements the http://some-ip.com/ (Scalable service-Oriented MiddlewarE over IP (SOME/IP)) protocol. The stack consists out of:
a shared library for SOME/IP (libvsomeip3.so)
a shared library for SOME/IP's configuration module (libvsomeip3-cfg.so)
a shared library for SOME/IP's service discovery (libvsomeip3-sd.so)
a shared library for SOME/IP's E2E protection module (libvsomeip3-e2e.so)

---
 .../0001-Fix-pkgconfig-dir-for-multilib.patch |    28 +
 ...e-configuration-files-to-etc-vsomeip.patch |    28 +
 .../0003-Do-not-build-external-gtest.patch    |    68 +
 .../vsomeip/0004-Support-boost-1.76.patch     | 14220 ++++++++++++++++
 ...upport-so-that-vsomeip3-will-compile.patch | 14216 +++++++++++++++
 .../vsomeip/0006-Support-boost-1.82.patch     |    32 +
 ...up-of-warnings-that-gcc-12.1.1-fired.patch |   298 +
 .../vsomeip/vsomeip_3.1.20.3.bb               |    71 +
 8 files changed, 28961 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0003-Do-not-build-external-gtest.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Support-boost-1.76.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Add-boost-1.78-support-so-that-vsomeip3-will-compile.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0006-Support-boost-1.82.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0007-Do-general-cleanup-of-warnings-that-gcc-12.1.1-fired.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip_3.1.20.3.bb
meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch new file +28 -0
new file mode 100644
index 000000000..f8b50947e
@@ -0,0 +1,28 @@
+From 72a0489833311525b6e91c560dad772431b31214 Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Wed, 2 Mar 2022 14:51:13 +0800
+Subject: [PATCH] Fix pkgconfig dir for multilib
+
+Upstream-Status: Pending
+
+Signed-off-by: Yi Zhao <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 65148a5c..3b9d0248 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -580,7 +580,7 @@ endif()
+ # create pkg-config file
+ if(NOT WIN32)
+         configure_file(vsomeip3.pc.in ${PROJECT_BINARY_DIR}/vsomeip3.pc @ONLY)
+-        install(FILES ${PROJECT_BINARY_DIR}/vsomeip3.pc DESTINATION lib/pkgconfig)
++        install(FILES ${PROJECT_BINARY_DIR}/vsomeip3.pc DESTINATION ${INSTALL_LIB_DIR}/pkgconfig)
+ endif()
+ 
+ ##############################################################################
+-- 
+2.25.1
+
meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch new file +28 -0
new file mode 100644
index 000000000..87fc18846
@@ -0,0 +1,28 @@
+From eaefba5ed36396176f09dd2084b07c6d19497863 Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Wed, 9 Mar 2022 11:48:44 +0800
+Subject: [PATCH] Install example configuration files to /etc/vsomeip
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Yi Zhao <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3b9d0248..4f8b66b8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -479,7 +479,7 @@ install(FILES ${PROJECT_BINARY_DIR}/vsomeip.pc DESTINATION lib/pkgconfig)
+ endif ()
+ 
+ install (
+-  FILES ${EXAMPLE_CONFIG_FILES} DESTINATION etc/vsomeip COMPONENT config
++  FILES ${EXAMPLE_CONFIG_FILES} DESTINATION ${DEFAULT_CONFIGURATION_FOLDER} COMPONENT config
+ )
+ 
+ # Add all targets to the build-tree export set
+-- 
+2.25.1
+
meta-networking/recipes-protocols/vsomeip/vsomeip/0003-Do-not-build-external-gtest.patch new file +68 -0

68 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Support-boost-1.76.patch new file +14220 -0

2,876 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Add-boost-1.78-support-so-that-vsomeip3-will-compile.patch new file +14216 -0

14,216 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip/0006-Support-boost-1.82.patch new file +32 -0
new file mode 100644
index 000000000..34a02584c

Lines of this file are not shown. View the raw message.

meta-networking/recipes-protocols/vsomeip/vsomeip/0007-Do-general-cleanup-of-warnings-that-gcc-12.1.1-fired.patch new file +298 -0

298 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip_3.1.20.3.bb new file +71 -0

71 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

Part of the diff is not shown here. View the raw message.