Commit Graph

15 Commits

Author SHA1 Message Date
Derek Straka 01e54eb2fa protobuf: update to version 3.5.1
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:33:04 -08:00
Mingli Yu 5f6fcfd362 protobuf: add ptest support
* Add DEPENDS_class-target  = "protobuf-native"
  to fix below error:
  | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
  | DEBUG: Executing shell function do_compile_ptest_base
  | NOTE: make -C $Prj/build/tmp-glibc/work/core2-64-wrs-linux/protobuf/3.4.1+gitAUTOINC+b04e5cba35-r0/git/examples cpp
  | make: Entering directory '$Prj/build/tmp-glibc/work/core2-64-wrs-linux/protobuf/3.4.1+gitAUTOINC+b04e5cba35-r0/git/examples'
  | protoc --cpp_out=. --java_out=. --python_out=. addressbook.proto
  | make: protoc: Command not found
  | make: *** [Makefile:25: protoc_middleman] Error 127
* Add run-ptest
* Add rdepends on bash and python-protobuf for ptest

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:25:03 -08:00
Khem Raj 51a5e028f5 protobuf: Upgrade to 3.4.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:21 +00:00
Pascal Bach fa0c4bf092 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.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:17:56 +02:00
Pascal Bach ac8a550d8e protobuf: update to 3.4.0
Also put protbuf-lite into it's own package

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:17:56 +02:00
Jackie Huang 142edc3f06 protobuf-c: use git fetcher instead of github archives
Change to use git fetcher as github archives can be regenerated
from time to time with different checksums.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:38 +02:00
Pascal Bach d9e0ef72da protobuf: update to 3.3.0
With the latest version out of tree builds are broken.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-23 15:49:39 +02:00
Ricardo Ribalda Delgado 354764af5d protobuf: Update to latest version 3.1.0
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-10 13:12:55 +01:00
Lukasz Nowak 2d2bb4fd86 protobuf: switch from mips16 to mips32 due to in-line assembler
| mipsel-poky-linux-musl-libtool: compile:  mipsel-poky-linux-musl-g++ -mel -mabi=32 -msoft-float -march=mips32r2 -mips16 -minterlink-compressed -mtune=24kec -mdsp --sysroot=<sysroot> -DHAVE_CONFIG_H -I. -I../../git/src -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -pipe -g -feliminate-unused-debug-types -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -fvisibility-inlines-hidden -c ../../git/src/google/protobuf/repeated_field.cc  -fPIC -DPIC -o google/protobuf/.libs/repeated_field.o
| {standard input}: Assembler messages:
| {standard input}:113: Error: unrecognized opcode `sync'
| {standard input}:140: Error: unrecognized opcode `ll $2,0($16)'
| {standard input}:143: Error: unrecognized opcode `sc $4,0($16)'
| {standard input}:202: Error: unrecognized opcode `sync'
| {standard input}:275: Error: unrecognized opcode `sync'
| Makefile:2064: recipe for target 'google/protobuf/stubs/once.lo' failed
| make[3]: *** [google/protobuf/stubs/once.lo] Error 1

Protobuf implements atomics for mips, using ASM "sync" instruction.
It is not available in mips16e. Switching the library to mips32 is
the easiest solution.

Signed-off-by: Lukasz Nowak <lnowak@tycoint.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-26 08:23:19 +01:00
eu@felipetonello.com 821414a07d protobuf: split package to main and compiler packages
Protobuf has two main features, a compiler and a library. Run-time
applications only need the libraries to run.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:26 +02:00
eu@felipetonello.com 3bae88a2ee protobuf: add protobuf-c recipe
replaces/obsoletes: commit 0d31f8448412 [Added protobuf-c criu dependency]
in meta-virtualization

This version of the recipe also adds a separated package for the compiler.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:25 +02:00
Armin Kuster bf6aa3c1eb protobuf: update update and build fix
googlecode is shutting down so had to move SRC_URI to github.
changed LIC_FILES_CHKSUM to LICENSE since COPY.TXT has been removed.

updated fixed the following build issue:

| tmp/work/ppc7400-poky-linux/protobuf/2.5.0-r0/protobuf-2.5.0/src/google/protobuf/extension_set.cc:81:3: error: 'GoogleOnceInit' is not a member of 'google::protobuf'
|    ::google::protobuf::GoogleOnceInit(&registry_init_, &InitRegistry);
|    ^
| tmp/work/ppc7400-poky-linux/protobuf/2.5.0-r0/protobuf-2.5.0/src/google/protobuf/extension_set.cc:81:39: error: 'registry_init_' was not declared in this scope
|    ::google::protobuf::GoogleOnceInit(&registry_init_, &InitRegistry);
|                                        ^

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11 10:30:21 +02:00
Paul Eggleton aecb603d4d protobuf: update to 2.5.0
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-01-08 11:58:43 +01:00
Martin Jansa 9d127bfee7 protobuf: add dependency on zlib
* fixes floating dependency:
  protobuf/protobuf/latest lost dependency on  zlib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 10:59:23 +02:00
Paul Eggleton 54d9e46a44 protobuf: add recipe from meta-virtualization and tweak
* Add proper SUMMARY
* Break long DESCRIPTION onto multiple lines
* Reorder some lines

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-24 14:30:00 +02:00