summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/protobuf
Commit message (Collapse)AuthorAgeFilesLines
* run-ptest: supplied user inputs to add_person_cppAditya Tayade2019-03-071-1/+1
| | | | | | | | | | | During protobuf-ptest execution, add_person_cpp waits for user inputs to write data into test.data file. Fixed this by supplying dummy data through standard input. Upstream-Status: Pending Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: make python-protobuf dependency optional and default to offPaul Eggleton2018-09-251-2/+5
| | | | | | | | | | | | | | | | | | | | A dependency on python-protobuf was added in commit 5f6fcfd36272768a3ff9078c07c572cf5dc01ccd for the sole purpose of providing a ptest, however python-protobuf is in meta-python and thus this means that meta-oe would depend on meta-python by default (assuming your distro enables ptest by default), and we don't want that - meta-oe isn't supposed to depend upon any layer other than openembedded-core. Luckily we can still have a ptest even without the python support, so add a PACKAGECONFIG and leave it disabled by default. Note: the PACKAGECONFIG here is not particularly useful since it's only about what goes into the -ptest package and thus also the dependency. I contemplated just using LANG_SUPPORT instead, but PACKAGECONFIG does have the advantage that it's introspectable and fairly well understood so in the end I went with it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: Update 1.3.0 -> 1.3.1Jens Rehsack2018-08-282-211/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Updating protobuf-c to 3.6.1: [ Robert Edmonds ] * Release 1.3.1. * Restore protobuf-2.x compatibility (#284, #285). * Use xenial and protobuf 3.6.1 in the Travis-CI environment (#332). * Convert uses of protobuf's scoped_ptr.h to C++11 std::unique_ptr, needed to compile against protobuf 3.6.1 (#320, #333). * Use AX_CXX_COMPILE_STDCXX macro to enable C++11 support in old compilers (#312, #317, #327, #334). [ Fredrik Gustafsson ] * Add std:: to some types (#294, #305, #309). [ Sam Collinson ] * Check the return value of int_range_lookup before using as an array index; it can return -1 (#315). [ Matthias Dittrich ] * Fix compilation on mingw by using explicit protoc --plugin=NAME=PATH syntax in Makefile.am (#289, #290). Removing deprecated 0001-protobuf-c-fix-compile-error-with-protobuf-3.6.0.1.patch Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: Update from 3.6.0.1 -> 3.6.1Jens Rehsack2018-08-281-1/+1
| | | | | | | | | | | | | | | | | | | Update recipe for protobuf to 3.6.1: 2018-07-27 version 3.6.1 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript) C++ * Introduced workaround for Windows issue with std::atomic and std::once_flag initialization (#4777, #4773). PHP * Added compatibility with PHP 7.3 (#4898). Ruby * Fixed Ruby crash involving Any encoding (#4718). More details available at: https://github.com/protocolbuffers/protobuf/compare/v3.6.0.1...v3.6.1 Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: upgrade 3.5.1 -> 3.6.0.1Changqing Li2018-07-262-4/+43
| | | | | | | License-Update: copyright year updated and clean some useless content Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: fix build error with protobuf 3.6.0.1Changqing Li2018-07-262-1/+214
| | | | | | | | | | | | | | 1. protoc-c depend on protobuf, from protobuf 3.6.0.1, scoped_array is removed, but protoc-c still use scoped_array, caused compile error. 2. fix compile error since missing namespace 3. from protobuf 3.6, only C++11 is supported, so set to use c++11 for protobuf-c Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf-c: misc recipe cleanupAndre McCurdy2018-06-291-6/+6
| | | | | | | Re-order variables to align more closely with the OE style-guide. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: misc recipe cleanupAndre McCurdy2018-06-291-17/+17
| | | | | | | | | Re-order variables to align more closely with the OE style-guide. Remove spurious ${bindir} from the protobuf-lite packaging rules. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* protobuf: update to version 3.5.1Derek Straka2018-01-161-3/+3
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* protobuf: add ptest supportMingli Yu2017-12-272-2/+90
| | | | | | | | | | | | | | | | | * 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>
* protobuf: Upgrade to 3.4.1Khem Raj2017-10-041-2/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* protobuf-c: update to 1.3.0Pascal Bach2017-09-181-2/+2
| | | | | | | | | | 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>
* protobuf: update to 3.4.0Pascal Bach2017-09-181-4/+5
| | | | | | | 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>
* protobuf-c: use git fetcher instead of github archivesJackie Huang2017-09-071-3/+6
| | | | | | | | 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>
* protobuf: update to 3.3.0Pascal Bach2017-05-231-3/+3
| | | | | | | 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>
* protobuf: Update to latest version 3.1.0Ricardo Ribalda Delgado2017-01-101-3/+3
| | | | | Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* protobuf: switch from mips16 to mips32 due to in-line assemblerLukasz Nowak2016-12-261-0/+2
| | | | | | | | | | | | | | | | | | | | 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>
* protobuf: split package to main and compiler packageseu@felipetonello.com2016-05-061-0/+6
| | | | | | | | 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>
* protobuf: add protobuf-c recipeeu@felipetonello.com2016-05-061-0/+28
| | | | | | | | | | 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>
* protobuf: update update and build fixArmin Kuster2015-05-111-5/+8
| | | | | | | | | | | | | | | | | 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>
* protobuf: update to 2.5.0Paul Eggleton2015-01-081-2/+2
| | | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* protobuf: add dependency on zlibMartin Jansa2014-08-111-0/+2
| | | | | | | * fixes floating dependency: protobuf/protobuf/latest lost dependency on zlib Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* protobuf: add recipe from meta-virtualization and tweakPaul Eggleton2013-07-241-0/+20
* 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>