[meta-virtualization] [PATCH] protobuf: fix source location
Bruce Ashfield
bruce.ashfield at gmail.com
Tue Sep 6 06:36:12 PDT 2016
On Fri, Sep 2, 2016 at 11:19 PM, Venkateswara Rao Mandela <
venkat.mandela at ti.com> wrote:
> The file locations listed in the recipes for protobuf, protobuf-c
> are not currently available. Updating the recipe to
>
> 1. Point URI's to valid locations.
> 2. Update checksums and increment version numbers.
>
merged
Bruce
>
> Signed-off-by: Venkateswara Rao Mandela <venkat.mandela at ti.com>
> ---
> recipes-devtools/protobuf/protobuf-c_0.15.bb | 6 +++---
> recipes-devtools/protobuf/protobuf-native_2.5.0.bb | 8 ++++----
> recipes-devtools/protobuf/protobuf_2.5.0.bb | 9 ++++-----
> 3 files changed, 11 insertions(+), 12 deletions(-)
>
> diff --git a/recipes-devtools/protobuf/protobuf-c_0.15.bb
> b/recipes-devtools/protobuf/protobuf-c_0.15.bb
> index 91dcb3b..4876d33 100644
> --- a/recipes-devtools/protobuf/protobuf-c_0.15.bb
> +++ b/recipes-devtools/protobuf/protobuf-c_0.15.bb
> @@ -6,14 +6,14 @@ LICENSE = "Apache-2.0"
>
> LIC_FILES_CHKSUM = "file://src/google/protobuf-c/
> protobuf-c.c;endline=33;md5=333140fae7cf8a38dc5f980ddb63704b"
>
> -PR = "r0"
> +PR = "r1"
>
> DEPENDS = "protobuf"
>
> SRC_URI[md5sum] = "73ff0c8df50d2eee75269ad8f8c07dc8"
> SRC_URI[sha256sum] = "8fcb538e13a5431c46168fc8f2e6ad
> 2574e2db9b684c0c72b066e24f010a0036"
> -SRC_URI = "http://protobuf-c.googlecode.com/files/protobuf-c-${PV}.tar.gz
> \
> - file://disable_tests.patch"
> +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
>
> diff --git a/recipes-devtools/protobuf/protobuf-native_2.5.0.bb
> b/recipes-devtools/protobuf/protobuf-native_2.5.0.bb
> index 61b18a7..47acdae 100644
> --- a/recipes-devtools/protobuf/protobuf-native_2.5.0.bb
> +++ b/recipes-devtools/protobuf/protobuf-native_2.5.0.bb
> @@ -8,11 +8,11 @@ LICENSE = "BSD-3-Clause"
>
> LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a245
> 14"
>
> -PR = "r0"
> +PR = "r1"
>
> -SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
> -SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98
> bdcb7cedb5b91d3b5bdcf29c98c293f58e"
> -SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \
> +SRC_URI[md5sum] = "9c21577a03adc1879aba5b52d06e25cf"
> +SRC_URI[sha256sum] = "c2665a7aa2ac1a206e61b28e014486
> e3de59009ea2be2bde9182e0847f38b62f"
> +SRC_URI = "https://github.com/google/protobuf/archive/v${PV}.tar.gz \
> "
>
> EXTRA_OECONF += " --with-protoc=echo --disable-shared"
> diff --git a/recipes-devtools/protobuf/protobuf_2.5.0.bb
> b/recipes-devtools/protobuf/protobuf_2.5.0.bb
> index 23b74a7..b503a35 100644
> --- a/recipes-devtools/protobuf/protobuf_2.5.0.bb
> +++ b/recipes-devtools/protobuf/protobuf_2.5.0.bb
> @@ -8,16 +8,15 @@ LICENSE = "BSD-3-Clause"
>
> LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a245
> 14"
>
> -PR = "r0"
> +PR = "r1"
> EXCLUDE_FROM_WORLD = "1"
>
> -SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
> -SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98
> bdcb7cedb5b91d3b5bdcf29c98c293f58e"
> -SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \
> +SRC_URI[md5sum] = "9c21577a03adc1879aba5b52d06e25cf"
> +SRC_URI[sha256sum] = "c2665a7aa2ac1a206e61b28e014486
> e3de59009ea2be2bde9182e0847f38b62f"
> +SRC_URI = "https://github.com/google/protobuf/archive/v${PV}.tar.gz \
> file://protobuf-allow-running-python-scripts-from-anywhere.patch \
> file://run-ptest"
>
> -
> EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
> inherit autotools setuptools ptest
>
> --
> 2.9.3
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160906/778434a5/attachment.html>
More information about the meta-virtualization
mailing list