[meta-virtualization] [PATCH 2/3] protobuf-c: uprev to 1.2.1 from 0.15
Mark Asselstine
mark.asselstine at windriver.com
Wed Sep 14 10:49:18 PDT 2016
On Thu, Sep 8, 2016 at 1:35 AM, <jianchuan.wang at windriver.com> wrote:
> From: Jianchuan Wang <jianchuan.wang at windriver.com>
>
> Signed-off-by: Jianchuan Wang <jianchuan.wang at windriver.com>
> ---
Please make use of the '-M' option for git format-patch or similar in
the future. This will drop the similar changes caused by the file
move, allowing the review to focus on the changes in the file only.
Thanks,
Mark
> recipes-devtools/protobuf/protobuf-c_0.15.bb | 20 -------------------
> recipes-devtools/protobuf/protobuf-c_1.2.1.bb | 28 +++++++++++++++++++++++++++
> 2 files changed, 28 insertions(+), 20 deletions(-)
> delete mode 100644 recipes-devtools/protobuf/protobuf-c_0.15.bb
> create mode 100644 recipes-devtools/protobuf/protobuf-c_1.2.1.bb
>
> diff --git a/recipes-devtools/protobuf/protobuf-c_0.15.bb b/recipes-devtools/protobuf/protobuf-c_0.15.bb
> deleted file mode 100644
> index 4876d33..0000000
> --- a/recipes-devtools/protobuf/protobuf-c_0.15.bb
> +++ /dev/null
> @@ -1,20 +0,0 @@
> -SUMMARY = "protobuf-c"
> -DESCRIPTION = "This package provides a code generator and runtime libraries to use Protocol Buffers from pure C"
> -HOMEPAGE = "http://code.google.com/p/protobuf-c/"
> -SECTION = "console/tools"
> -LICENSE = "Apache-2.0"
> -
> -LIC_FILES_CHKSUM = "file://src/google/protobuf-c/protobuf-c.c;endline=33;md5=333140fae7cf8a38dc5f980ddb63704b"
> -
> -PR = "r1"
> -
> -DEPENDS = "protobuf"
> -
> -SRC_URI[md5sum] = "73ff0c8df50d2eee75269ad8f8c07dc8"
> -SRC_URI[sha256sum] = "8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036"
> -SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/protobuf-c/protobuf-c-${PV}.tar.gz \
> - file://disable_tests.patch"
> -
> -inherit autotools
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/recipes-devtools/protobuf/protobuf-c_1.2.1.bb b/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
> new file mode 100644
> index 0000000..ff2499e
> --- /dev/null
> +++ b/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
> @@ -0,0 +1,28 @@
> +SUMMARY = "protobuf-c"
> +DESCRIPTION = "This package provides a code generator and runtime libraries to use Protocol Buffers from pure C"
> +HOMEPAGE = "http://code.google.com/p/protobuf-c/"
> +SECTION = "console/tools"
> +LICENSE = "Apache-2.0"
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
> +
> +COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
> +
> +DEPENDS = "protobuf protobuf-c-native"
> +
> +SRC_URI[md5sum] = "e544249c329391fff512c3874895cfbe"
> +SRC_URI[sha256sum] = "846eb4846f19598affdc349d817a8c4c0c68fd940303e6934725c889f16f00bd"
> +SRC_URI = "https://github.com/protobuf-c/protobuf-c/releases/download/v1.2.1/protobuf-c-1.2.1.tar.gz "
> +#SRC_URI_append_class-target ="file://0001-protobuf-c-Remove-the-rules-which-depend-on-the-nati.patch"
> +
> +inherit autotools pkgconfig
> +
> +BBCLASSEXTEND = "native nativesdk"
> +
> +do_configure_prepend_class-target() {
> + export PKG_CONFIG_PATH="${STAGING_LIBDIR_NATIVE}/pkgconfig:${PKG_CONFIG_PATH}"
> +}
> +
> +do_install_append_class-native() {
> + install -m 755 ${B}/t/generated-code2/cxx-generate-packed-data ${D}/${bindir}
> +}
> --
> 2.8.1
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
More information about the meta-virtualization
mailing list