Skip to contentSkip to conversation

protobuf: update to 3.4.0

PATCH Superseded Pascal Bach 2 participants 3 messages Sep 7, 2017 – Sep 13, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 protobuf: update to 3.4.0

Also put protbuf-lite into it's own package

---
 .../protobuf/{protobuf_3.3.0.bb => protobuf_3.4.0.bb}            | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf_3.3.0.bb => protobuf_3.4.0.bb} (75%)
meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb renamed from meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb +5 -4
similarity index 75%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb
index ce64a88..39108dd 100644
@@ -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"
 
-SRCREV = "a6189acd18b00611c1dc7042299ad75486f08a1a"
+SRCREV = "80a37e0782d2d702d52234b62dd4b9ec74fd2c95"
 
-PV = "3.3.0+git${SRCPV}"
+PV = "3.4.0+git${SRCPV}"
 
-SRC_URI = "git://github.com/google/protobuf.git"
+SRC_URI = "git://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"
 
Signature · 1 line
2.1.4
#1 lore raw

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

Quoted 59 lines · Pascal Bach

Also put protbuf-lite into it's own package

---
 .../protobuf/{protobuf_3.3.0.bb => protobuf_3.4.0.bb}            | 9
+++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf_3.3.0.bb =>

protobuf_3.4.0.bb} (75%)

meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb renamed from meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb +5 -5
similarity index 75%
rename from meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb
index ce64a88..39108dd 100644
@@ -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"
 
-SRCREV = "a6189acd18b00611c1dc7042299ad75486f08a1a"
+SRCREV = "80a37e0782d2d702d52234b62dd4b9ec74fd2c95"
 
-PV = "3.3.0+git${SRCPV}"
+PV = "3.4.0+git${SRCPV}"
 
-SRC_URI = "git://github.com/google/protobuf.git"
+SRC_URI = "git://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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

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:[email protected]]
Sent: Montag, 11. September 2017 18:52
To: Bach, Pascal (BT CPS R&D ZG FW CCP) <[email protected]>
Cc: openembedded-devel <[email protected]>
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 <[email protected]<mailto:[email protected]>> wrote:
Also put protbuf-lite into it's own package

---
 .../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%)
meta-oe/recipes-devtools/protobuf/protobuf_3.4.0.bb<http://protobuf_3.4.0.bb> renamed from meta-oe/recipes-devtools/protobuf/protobuf_3.3.0.bb<http://protobuf_3.3.0.bb> +5 -4
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
@@ -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 [email protected]<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel