diff options
author | Jianchuan Wang <jianchuan.wang@windriver.com> | 2015-09-07 13:29:55 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-09-08 10:01:36 -0400 |
commit | 221b87ecafe21fc111972bc756e8c34516c6f483 (patch) | |
tree | f5e30132183f9e691e8a328ea6d7f45da32f6385 | |
parent | 4a55cb62130feb69fa7ce1b2112af22e8d574018 (diff) | |
download | meta-virtualization-221b87ecafe21fc111972bc756e8c34516c6f483.tar.gz |
protobuf: upgrade 2.5.0 -> 2.6.1
Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-containers/criu/files/Omit-google-apputils-dependency.patch | 25 | ||||
-rw-r--r-- | recipes-containers/criu/protobuf-native_2.6.1.bb (renamed from recipes-containers/criu/protobuf-native_2.5.0.bb) | 8 | ||||
-rw-r--r-- | recipes-containers/criu/protobuf_2.6.1.bb (renamed from recipes-containers/criu/protobuf_2.5.0.bb) | 11 |
3 files changed, 35 insertions, 9 deletions
diff --git a/recipes-containers/criu/files/Omit-google-apputils-dependency.patch b/recipes-containers/criu/files/Omit-google-apputils-dependency.patch new file mode 100644 index 00000000..ef60fc01 --- /dev/null +++ b/recipes-containers/criu/files/Omit-google-apputils-dependency.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From f8b7c90f6da90b67bdd7d5301894c5c28bd9d076 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jianchuan Wang <jianchuan.wang@windriver.com> | ||
3 | Date: Mon, 10 Aug 2015 11:23:31 +0800 | ||
4 | Subject: [PATCH] Omit google-apputils dependency | ||
5 | |||
6 | Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> | ||
7 | --- | ||
8 | python/setup.py | 1 - | ||
9 | 1 file changed, 1 deletion(-) | ||
10 | |||
11 | diff --git a/python/setup.py b/python/setup.py | ||
12 | index 2450a77..6f6bffb 100755 | ||
13 | --- a/python/setup.py | ||
14 | +++ b/python/setup.py | ||
15 | @@ -189,7 +189,6 @@ if __name__ == '__main__': | ||
16 | 'google.protobuf.text_format'], | ||
17 | cmdclass = { 'clean': clean, 'build_py': build_py }, | ||
18 | install_requires = ['setuptools'], | ||
19 | - setup_requires = ['google-apputils'], | ||
20 | ext_modules = ext_module_list, | ||
21 | url = 'https://developers.google.com/protocol-buffers/', | ||
22 | maintainer = maintainer_email, | ||
23 | -- | ||
24 | 1.9.1 | ||
25 | |||
diff --git a/recipes-containers/criu/protobuf-native_2.5.0.bb b/recipes-containers/criu/protobuf-native_2.6.1.bb index b3f00dd8..e88c9e78 100644 --- a/recipes-containers/criu/protobuf-native_2.5.0.bb +++ b/recipes-containers/criu/protobuf-native_2.6.1.bb | |||
@@ -6,13 +6,13 @@ HOMEPAGE = "http://code.google.com/p/protobuf/" | |||
6 | SECTION = "console/tools" | 6 | SECTION = "console/tools" |
7 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
8 | 8 | ||
9 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514" |
10 | 10 | ||
11 | PR = "r0" | 11 | PR = "r0" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8" | 13 | SRC_URI[md5sum] = "af05b2cca289f7b86eef2734a0cdc8b9" |
14 | SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e" | 14 | SRC_URI[sha256sum] = "2667b7cda4a6bc8a09e5463adf3b5984e08d94e72338277affa8594d8b6e5cd1" |
15 | SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \ | 15 | SRC_URI = "https://github.com/google/protobuf/archive/v2.6.1.tar.gz;downloadfilename=protobuf-2.6.1.tar.gz \ |
16 | " | 16 | " |
17 | 17 | ||
18 | EXTRA_OECONF += " --with-protoc=echo --disable-shared" | 18 | EXTRA_OECONF += " --with-protoc=echo --disable-shared" |
diff --git a/recipes-containers/criu/protobuf_2.5.0.bb b/recipes-containers/criu/protobuf_2.6.1.bb index b19e9067..1b7ab201 100644 --- a/recipes-containers/criu/protobuf_2.5.0.bb +++ b/recipes-containers/criu/protobuf_2.6.1.bb | |||
@@ -6,18 +6,19 @@ HOMEPAGE = "http://code.google.com/p/protobuf/" | |||
6 | SECTION = "console/tools" | 6 | SECTION = "console/tools" |
7 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
8 | 8 | ||
9 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=af6809583bfde9a31595a58bb4a24514" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514" |
10 | 10 | ||
11 | PR = "r0" | 11 | PR = "r0" |
12 | EXCLUDE_FROM_WORLD = "1" | 12 | EXCLUDE_FROM_WORLD = "1" |
13 | 13 | ||
14 | SRC_URI[md5sum] = "b751f772bdeb2812a2a8e7202bf1dae8" | 14 | SRC_URI[md5sum] = "af05b2cca289f7b86eef2734a0cdc8b9" |
15 | SRC_URI[sha256sum] = "c55aa3dc538e6fd5eaf732f4eb6b98bdcb7cedb5b91d3b5bdcf29c98c293f58e" | 15 | SRC_URI[sha256sum] = "2667b7cda4a6bc8a09e5463adf3b5984e08d94e72338277affa8594d8b6e5cd1" |
16 | SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.gz \ | 16 | SRC_URI = "https://github.com/google/protobuf/archive/v2.6.1.tar.gz;downloadfilename=protobuf-2.6.1.tar.gz\ |
17 | file://protobuf-allow-running-python-scripts-from-anywhere.patch \ | 17 | file://protobuf-allow-running-python-scripts-from-anywhere.patch \ |
18 | file://Omit-google-apputils-dependency.patch \ | ||
18 | file://run-ptest" | 19 | file://run-ptest" |
19 | 20 | ||
20 | COMPATIBLE_HOST = "(x86_64|arm).*-linux" | 21 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" |
21 | 22 | ||
22 | EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc" | 23 | EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc" |
23 | inherit autotools setuptools ptest | 24 | inherit autotools setuptools ptest |