protobuf: fix source location

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.

Signed-off-by: Venkateswara Rao Mandela <venkat.mandela@ti.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Venkateswara Rao Mandela 2016-09-03 08:49:36 +05:30 committed by Bruce Ashfield
parent 84a1671d3f
commit c46b7903ff
3 changed files with 11 additions and 12 deletions

View File

@ -6,13 +6,13 @@ 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] = "8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036"
SRC_URI = "http://protobuf-c.googlecode.com/files/protobuf-c-${PV}.tar.gz \
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

View File

@ -8,11 +8,11 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514"
PR = "r0"
PR = "r1"
SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e"
SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \
SRC_URI[md5sum] = "9c21577a03adc1879aba5b52d06e25cf"
SRC_URI[sha256sum] = "c2665a7aa2ac1a206e61b28e014486e3de59009ea2be2bde9182e0847f38b62f"
SRC_URI = "https://github.com/google/protobuf/archive/v${PV}.tar.gz \
"
EXTRA_OECONF += " --with-protoc=echo --disable-shared"

View File

@ -8,16 +8,15 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514"
PR = "r0"
PR = "r1"
EXCLUDE_FROM_WORLD = "1"
SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8"
SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e"
SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \
SRC_URI[md5sum] = "9c21577a03adc1879aba5b52d06e25cf"
SRC_URI[sha256sum] = "c2665a7aa2ac1a206e61b28e014486e3de59009ea2be2bde9182e0847f38b62f"
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