Skip to contentSkip to conversation

protobuf: update to 3.4.0

PATCH New Pascal Bach 1 participant 2 messages Sep 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 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

PATCH v2 2/2 protobuf-c: update to 1.3.0

Required to build with protobuf 3.4.0

The license checksum changed because they renamed the compiler which is mentioned in the LICENSE file.

---
 .../protobuf/{protobuf-c_1.2.1.bb => protobuf-c_1.3.0.bb}             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/protobuf/{protobuf-c_1.2.1.bb => protobuf-c_1.3.0.bb} (88%)
meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb renamed from meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb +2 -2
similarity index 88%
rename from meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
rename to meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.0.bb
index 36de060..fe1e6e5 100644
@@ -15,10 +15,10 @@ PACKAGE_BEFORE_PN = "${PN}-compiler"
 RDEPENDS_${PN}-compiler = "protobuf-compiler"
 RDEPENDS_${PN}-dev += "${PN}-compiler"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cb901168715f4782a2b06c3ddaefa558"
 
 PV .= "+git${SRCPV}"
-SRCREV = "006d69bd8481738323c58af5cd4c8477d09eb9f5"
+SRCREV = "dac1a65feac4ad72f612aab99f487056fbcf5c1a"
 
 SRC_URI = "git://github.com/protobuf-c/protobuf-c.git"
 
Signature · 1 line
2.1.4