diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-15 15:41:32 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-06-15 08:14:48 -0700 |
| commit | 648f2e362b6b5188b8db12e9ad21948bfcac4108 (patch) | |
| tree | c850a481a312abde09eee3f6cd49b778dda26179 /meta-oe | |
| parent | 3251fe210a91d13ab2a6c5b7ecb283aa8e019020 (diff) | |
| download | meta-openembedded-648f2e362b6b5188b8db12e9ad21948bfcac4108.tar.gz | |
protobuf: Upgrade 3.11.4 -> 3.12.3
Upgrade to release 3.12.3. Update the path to the git repository
in GitHub. Update the patch for examples/Makefile.
The new release brings:
- [experimental] Singular, non-message typed fields in proto3 now
support presence tracking. This is enabled by adding the
"optional" field label and passing the
--experimental_allow_proto3_optional flag to protoc.
- Allow duplicate symbol names when multiple descriptor sets are
passed on the command-line, to match the behavior when multiple
.proto files are passed.
- Deterministic protoc --descriptor_set_out
- Bug fixes for the supported programming languages
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch | 12 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf_3.12.3.bb (renamed from meta-oe/recipes-devtools/protobuf/protobuf_3.11.4.bb) | 4 |
2 files changed, 10 insertions, 6 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch index 0a2e5e2df3..934c981938 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch +++ b/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From a28e15092a298e0c73c6fc1ded0913275cf27cb0 Mon Sep 17 00:00:00 2001 | 1 | From e5340f816aa273cfda36998466739ca0748caafb Mon Sep 17 00:00:00 2001 |
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
| 3 | Date: Fri, 28 Jun 2019 13:50:52 +0000 | 3 | Date: Fri, 28 Jun 2019 13:50:52 +0000 |
| 4 | Subject: [PATCH] examples/Makefile: respect CXX,LDFLAGS variables, fix build | 4 | Subject: [PATCH] examples/Makefile: respect CXX,LDFLAGS variables, fix build |
| @@ -23,12 +23,13 @@ Subject: [PATCH] examples/Makefile: respect CXX,LDFLAGS variables, fix build | |||
| 23 | 23 | ||
| 24 | Upstream-Status: Pending | 24 | Upstream-Status: Pending |
| 25 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 25 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 26 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | ||
| 26 | --- | 27 | --- |
| 27 | examples/Makefile | 6 ++++-- | 28 | examples/Makefile | 6 ++++-- |
| 28 | 1 file changed, 4 insertions(+), 2 deletions(-) | 29 | 1 file changed, 4 insertions(+), 2 deletions(-) |
| 29 | 30 | ||
| 30 | diff --git a/examples/Makefile b/examples/Makefile | 31 | diff --git a/examples/Makefile b/examples/Makefile |
| 31 | index 4ad605641..31d887639 100644 | 32 | index e9f9635ae..b2fbe2de1 100644 |
| 32 | --- a/examples/Makefile | 33 | --- a/examples/Makefile |
| 33 | +++ b/examples/Makefile | 34 | +++ b/examples/Makefile |
| 34 | @@ -2,6 +2,8 @@ | 35 | @@ -2,6 +2,8 @@ |
| @@ -44,13 +45,16 @@ index 4ad605641..31d887639 100644 | |||
| 44 | 45 | ||
| 45 | add_person_cpp: add_person.cc protoc_middleman | 46 | add_person_cpp: add_person.cc protoc_middleman |
| 46 | pkg-config --cflags protobuf # fails if protobuf is not installed | 47 | pkg-config --cflags protobuf # fails if protobuf is not installed |
| 47 | - c++ add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf` | 48 | - c++ -std=c++11 add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf` |
| 48 | + $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) add_person.cc addressbook.pb.cc -o add_person_cpp | 49 | + $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) add_person.cc addressbook.pb.cc -o add_person_cpp |
| 49 | 50 | ||
| 50 | list_people_cpp: list_people.cc protoc_middleman | 51 | list_people_cpp: list_people.cc protoc_middleman |
| 51 | pkg-config --cflags protobuf # fails if protobuf is not installed | 52 | pkg-config --cflags protobuf # fails if protobuf is not installed |
| 52 | - c++ list_people.cc addressbook.pb.cc -o list_people_cpp `pkg-config --cflags --libs protobuf` | 53 | - c++ -std=c++11 list_people.cc addressbook.pb.cc -o list_people_cpp `pkg-config --cflags --libs protobuf` |
| 53 | + $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) list_people.cc addressbook.pb.cc -o list_people_cpp | 54 | + $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) list_people.cc addressbook.pb.cc -o list_people_cpp |
| 54 | 55 | ||
| 55 | add_person_dart: add_person.dart protoc_middleman_dart | 56 | add_person_dart: add_person.dart protoc_middleman_dart |
| 56 | 57 | ||
| 58 | -- | ||
| 59 | 2.17.1 | ||
| 60 | |||
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.11.4.bb b/meta-oe/recipes-devtools/protobuf/protobuf_3.12.3.bb index 4d6c5b2557..21ad7a460a 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_3.11.4.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.12.3.bb | |||
| @@ -10,9 +10,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b" | |||
| 10 | DEPENDS = "zlib" | 10 | DEPENDS = "zlib" |
| 11 | DEPENDS_append_class-target = " protobuf-native" | 11 | DEPENDS_append_class-target = " protobuf-native" |
| 12 | 12 | ||
| 13 | SRCREV = "d0bfd5221182da1a7cc280f3337b5e41a89539cf" | 13 | SRCREV = "31ebe2ac71400344a5db91ffc13c4ddfb7589f92" |
| 14 | 14 | ||
| 15 | SRC_URI = "git://github.com/google/protobuf.git;branch=3.11.x \ | 15 | SRC_URI = "git://github.com/protocolbuffers/protobuf.git \ |
| 16 | file://run-ptest \ | 16 | file://run-ptest \ |
| 17 | file://0001-protobuf-fix-configure-error.patch \ | 17 | file://0001-protobuf-fix-configure-error.patch \ |
| 18 | file://0001-Makefile.am-include-descriptor.cc-when-building-libp.patch \ | 18 | file://0001-Makefile.am-include-descriptor.cc-when-building-libp.patch \ |
