[oe] [meta-oe][PATCH] protobuf: update to 3.4.0

Bach, Pascal pascal.bach at siemens.com
Wed Sep 13 07:23:32 UTC 2017


I submitted an updated patchset that also updates protobuf-c to a compatible version.
I’m not using protobuf-c so I didn’t catch the problem. Sorry for the inconvenience.

From: Martin Jansa [mailto:martin.jansa at gmail.com]
Sent: Montag, 11. September 2017 18:52
To: Bach, Pascal (BT CPS R&D ZG FW CCP) <pascal.bach at siemens.com>
Cc: openembedded-devel <openembedded-devel at lists.openembedded.org>
Subject: Re: [oe] [meta-oe][PATCH] protobuf: update to 3.4.0

Fails to build here:
http://errors.yoctoproject.org/Errors/Details/155533/

On Thu, Sep 7, 2017 at 4:42 PM, Pascal Bach <pascal.bach at siemens.com<mailto:pascal.bach at siemens.com>> wrote:
Also put protbuf-lite into it's own package

Signed-off-by: Pascal Bach <pascal.bach at siemens.com<mailto:pascal.bach at siemens.com>>
---
 .../protobuf/{protobuf_3.3.0.bb<http://protobuf_3.3.0.bb> => protobuf_3.4.0.bb<http://protobuf_3.4.0.bb>}            | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf_3.3.0.bb<http://protobuf_3.3.0.bb> => protobuf_3.4.0.bb<http://protobuf_3.4.0.bb>} (75%)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb<http://protobuf_3.3.0.bb> b/meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb<http://protobuf_3.4.0.bb>
similarity index 75%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb<http://protobuf_3.3.0.bb>
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb<http://protobuf_3.4.0.bb>
index ce64a88..39108dd 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb<http://protobuf_3.3.0.bb>
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb<http://protobuf_3.4.0.bb>
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/google/protobuf"
 SECTION = "console/tools"
 LICENSE = "BSD-3-Clause"

-PACKAGE_BEFORE_PN = "${PN}-compiler"
+PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"

 DEPENDS = "zlib"
 RDEPENDS_${PN}-compiler = "${PN}"
@@ -14,11 +14,11 @@ RDEPENDS_${PN}-dev += "${PN}-compiler"

 LIC_FILES_CHKSUM = "file://LICENSE;md5=35953c752efc9299b184f91bef540095<file:///\\LICENSE;md5=35953c752efc9299b184f91bef540095>"

-SRCREV = "a6189acd18b00611c1dc7042299ad75486f08a1a"
+SRCREV = "80a37e0782d2d702d52234b62dd4b9ec74fd2c95"

-PV = "3.3.0+git${SRCPV}"
+PV = "3.4.0+git${SRCPV}"

-SRC_URI = "git://github.com/google/protobuf.git<http://github.com/google/protobuf.git>"
+SRC_URI = "git://github.com/google/protobuf.git;branch=3.4.x<http://github.com/google/protobuf.git;branch=3.4.x>"

 EXTRA_OECONF += " --with-protoc=echo"

@@ -27,6 +27,7 @@ inherit autotools-brokensep
 S = "${WORKDIR}/git"

 FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
+FILES_${PN}-lite = "${bindir} ${libdir}/libprotobuf-lite${SOLIBS}"

 MIPS_INSTRUCTION_SET = "mips"

--
2.1.4

--
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel at lists.openembedded.org<mailto:Openembedded-devel at lists.openembedded.org>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list