Skip to contentSkip to conversation

Protobuf recipes update

PATCH In review Felipe F. Tonello 2 participants 9 messages Apr 19, 2016 – Apr 28, 2016

lore
Share & tools
lore
#0 lore raw

cover Protobuf recipes update

Added protobuf-c recipe which is the protobuf implementation in C. Also split protobuf package into two packages, one for the run-time libraries and other for the compiler.

Felipe F. Tonello (2):
protobuf: add protobuf-c recipe
protobuf: Split package to main and compiler packages

 .../recipes-devtools/protobuf/protobuf-c_1.2.1.bb  | 26 ++++++++++++++++++++++
 .../recipes-devtools/protobuf/protobuf_2.6.1.bb    |  4 ++++
 2 files changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
Signature · 1 line
2.8.0
#1 lore raw

PATCH 1/2 protobuf: add protobuf-c recipe

Initial version of recipe. The main package could be split into two to separate the compiler. This also applies to protobuf recipe.

---
 .../recipes-devtools/protobuf/protobuf-c_1.2.1.bb  | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +26 -0
new file mode 100644
index 000000000000..88cdb0bccd8e
@@ -0,0 +1,26 @@
+SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
+DESCRIPTION = "This is protobuf-c, a C implementation of the Google Protocol Buffers data \
+serialization format. It includes libprotobuf-c, a pure C library that \
+implements protobuf encoding and decoding, and protoc-c, a code generator that \
+converts Protocol Buffer .proto files to C descriptor code, based on the \
+original protoc. protobuf-c formerly included an RPC implementation; that code \
+has been split out into the protobuf-c-rpc project."
+HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
+SECTION = "console/tools"
+LICENSE = "BSD-2-Clause"
+
+DEPENDS = "protobuf-native protobuf"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
+SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz"
+
+SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6"
+SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"
+
+inherit autotools pkgconfig
+
+FILES_${PN}-compiler = "${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.8.0
#2 lore raw

Re: [PATCH 1/2] protobuf: add protobuf-c recipe

Quoted 4 lines · Felipe F. Tonello

Initial version of recipe. The main package could be split into two to separate the compiler. This also applies to protobuf recipe.

More precisely, this is the initial version outside of meta-virtualization which enea added
in 2012 :) It was added as a dependency for criu (hence why it was put in meta-virt).

If we move it to meta-oe, we at least owe that other implementation a reference in the commit.

Did you check the version we have there for deltas ? There are differences in the recipe, and
it would be good to know if you've looked and determined they aren't necessary.

Cheers,

Bruce

Quoted 54 lines
---
 .../recipes-devtools/protobuf/protobuf-c_1.2.1.bb  | 26
++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
new file mode 100644
index 000000000000..88cdb0bccd8e
@@ -0,0 +1,26 @@
+SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
+DESCRIPTION = "This is protobuf-c, a C implementation of the Google

Protocol Buffers data \

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
+serialization format. It includes libprotobuf-c, a pure C library that \
+implements protobuf encoding and decoding, and protoc-c, a code generator

that \

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
+converts Protocol Buffer .proto files to C descriptor code, based on the \
+original protoc. protobuf-c formerly included an RPC implementation; that

code \

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +11 -0
+has been split out into the protobuf-c-rpc project."
+HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
+SECTION = "console/tools"
+LICENSE = "BSD-2-Clause"
+
+DEPENDS = "protobuf-native protobuf"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
+SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz

"

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +3 -0
+
+SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6"
+SRC_URI[sha256sum] =

"2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +6 -1
+
+inherit autotools pkgconfig
+
+FILES_${PN}-compiler = "${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"
--

2.8.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#3 lore raw

Re: [PATCH 1/2] protobuf: add protobuf-c recipe

Quoted 9 lines · Bruce Ashfield
Quoted 4 lines · Felipe F. Tonello

Initial version of recipe. The main package could be split into two to separate the compiler. This also applies to protobuf recipe.

Quoted 9 lines

More precisely, this is the initial version outside of meta-virtualization which enea added
in 2012 :) It was added as a dependency for criu (hence why it was put in meta-virt).

If we move it to meta-oe, we at least owe that other implementation a reference in the commit.

s/if/when/.

I'm happy to purge all the protobuf* recipes from meta-virt, since they were only there as
support mechanisms (and I wasn't involved in their original merge).

But if you can take a look at what's in the meta-virt recipe, I'll do some runtime testing with your
variant here, and drop the meta-virt ones when I can confirm criu works.

Cheers,

Bruce

Quoted 72 lines

Did you check the version we have there for deltas ? There are differences in the recipe, and
it would be good to know if you've looked and determined they aren't necessary.

Cheers,

Bruce

Quoted 49 lines
---
 .../recipes-devtools/protobuf/protobuf-c_1.2.1.bb  | 26
++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
new file mode 100644
index 000000000000..88cdb0bccd8e
@@ -0,0 +1,26 @@
+SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
+DESCRIPTION = "This is protobuf-c, a C implementation of the Google

Protocol Buffers data \

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
+serialization format. It includes libprotobuf-c, a pure C library that \
+implements protobuf encoding and decoding, and protoc-c, a code

generator that \
+converts Protocol Buffer .proto files to C descriptor code, based on the \
+original protoc. protobuf-c formerly included an RPC implementation; that code \

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +11 -0
+has been split out into the protobuf-c-rpc project."
+HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
+SECTION = "console/tools"
+LICENSE = "BSD-2-Clause"
+
+DEPENDS = "protobuf-native protobuf"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
+SRC_URI = "

https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz"

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +3 -0
+
+SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6"
+SRC_URI[sha256sum] =

"2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +6 -1
+
+inherit autotools pkgconfig
+
+FILES_${PN}-compiler = "${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"
--

2.8.0

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#4 lore raw

Re: [PATCH 1/2] protobuf: add protobuf-c recipe

Hi Bruce,

Quoted 23 lines · Bruce Ashfield
Quoted 9 lines · Bruce Ashfield
Quoted 4 lines · Felipe F. Tonello

Initial version of recipe. The main package could be split into two to separate the compiler. This also applies to protobuf recipe.

Quoted 9 lines

More precisely, this is the initial version outside of meta-virtualization which enea added
in 2012 :) It was added as a dependency for criu (hence why it was put in meta-virt).

If we move it to meta-oe, we at least owe that other implementation a reference in the commit.

s/if/when/.

Quoted 8 lines

I'm happy to purge all the protobuf* recipes from meta-virt, since they were only there as
support mechanisms (and I wasn't involved in their original merge).

But if you can take a look at what's in the meta-virt recipe, I'll do some runtime testing with your
variant here, and drop the meta-virt ones when I can confirm criu works.

Regular protobuf recipe is already part of meta-oe. That's why I added this one there too.

Quoted 64 lines

Cheers,

Bruce

Quoted 59 lines

Did you check the version we have there for deltas ? There are differences in the recipe, and
it would be good to know if you've looked and determined they aren't necessary.

Cheers,

Bruce

Quoted 49 lines
---
 .../recipes-devtools/protobuf/protobuf-c_1.2.1.bb  | 26
++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
new file mode 100644
index 000000000000..88cdb0bccd8e
@@ -0,0 +1,26 @@
+SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
+DESCRIPTION = "This is protobuf-c, a C implementation of the Google

Protocol Buffers data \

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
+serialization format. It includes libprotobuf-c, a pure C library that \
+implements protobuf encoding and decoding, and protoc-c, a code

generator that \
+converts Protocol Buffer .proto files to C descriptor code, based on the \
+original protoc. protobuf-c formerly included an RPC implementation; that code \

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +11 -0
+has been split out into the protobuf-c-rpc project."
+HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
+SECTION = "console/tools"
+LICENSE = "BSD-2-Clause"
+
+DEPENDS = "protobuf-native protobuf"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
+SRC_URI = "

https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz"

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +3 -0
+
+SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6"
+SRC_URI[sha256sum] =

"2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +6 -1
+
+inherit autotools pkgconfig
+
+FILES_${PN}-compiler = "${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"
--

2.8.0

Quoted 1 line
Quoted 1 line
Quoted 1 line

--

Felipe

#5 lore raw

Re: [PATCH 1/2] protobuf: add protobuf-c recipe

Quoted 34 lines · Felipe Ferreri Tonello

Hi Bruce,

Quoted 1 line · Bruce Ashfield

On Tue, Apr 19, 2016 at 3:46 PM, Bruce Ashfield <

[email protected]>

Quoted 5 lines
Quoted 3 lines · wrote:

On Tue, Apr 19, 2016 at 11:40 AM, Felipe F. Tonello <

[email protected]>

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines · wrote:

Initial version of recipe. The main package could be split into two to separate the compiler. This also applies to protobuf recipe.

More precisely, this is the initial version outside of

meta-virtualization

Quoted 2 lines
Quoted 2 lines

which enea added
in 2012 :) It was added as a dependency for criu (hence why it was put

in

Quoted 12 lines
Quoted 6 lines

meta-virt).

If we move it to meta-oe, we at least owe that other implementation a reference in the commit.

s/if/when/.

I'm happy to purge all the protobuf* recipes from meta-virt, since they were only there as
support mechanisms (and I wasn't involved in their original merge).

Quoted 9 lines
Quoted 1 line

But if you can take a look at what's in the meta-virt recipe, I'll do

some

Quoted 3 lines

runtime testing with your
variant here, and drop the meta-virt ones when I can confirm criu works.

Regular protobuf recipe is already part of meta-oe. That's why I added this one there too.

Sure. That's obvious from the layer index, as is the existence of the one in meta-virt.

Credit, where credit is due. It's not my work, so I'm not asking for any credit,
but simply duplicating something that already exists without a nod to the older one
isn't ideal.

All I was asking was that if you could a link to the meta-virt one in the commit header
so that someone not familiar with the layer index can see the two options .. and
at the same time I was wondering if you'd seen the meta-virt one and did this one
differently for technical reasons. That makes it easier for me to drop recipes as they
get cloned around to new (and better) locations.

Bruce

Quoted 80 lines
Quoted 6 lines

Cheers,

Bruce

Quoted 1 line

Did you check the version we have there for deltas ? There are

differences

Quoted 9 lines
Quoted 9 lines

in the recipe, and
it would be good to know if you've looked and determined they aren't necessary.

Cheers,

Bruce

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
---
 .../recipes-devtools/protobuf/protobuf-c_1.2.1.bb  | 26
++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/protobuf/

protobuf-c_1.2.1.bb

Quoted 12 lines
Quoted 12 lines
Quoted 10 lines
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
new file mode 100644
index 000000000000..88cdb0bccd8e
@@ -0,0 +1,26 @@
+SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
+DESCRIPTION = "This is protobuf-c, a C implementation of the Google
Quoted 2 lines

Protocol Buffers data \
+serialization format. It includes libprotobuf-c, a pure C library

that \

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

+implements protobuf encoding and decoding, and protoc-c, a code generator that \
+converts Protocol Buffer .proto files to C descriptor code, based on

the

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

\
+original protoc. protobuf-c formerly included an RPC implementation; that code \

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +2 -0
+has been split out into the protobuf-c-rpc project."
+HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
Quoted 8 lines
Quoted 8 lines

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb

Quoted 8 lines
meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +8 -0
+SECTION = "console/tools"
+LICENSE = "BSD-2-Clause"
+
+DEPENDS = "protobuf-native protobuf"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"

Quoted 15 lines
Quoted 15 lines
Quoted 15 lines

+SRC_URI = "
https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz"

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +3 -0
+
+SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6"
+SRC_URI[sha256sum] =

"2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"

meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb new file +6 -1
+
+inherit autotools pkgconfig
+
+FILES_${PN}-compiler = "${bindir}"
+
+BBCLASSEXTEND = "native nativesdk"
--

2.8.0

Quoted 1 line
Quoted 1 line
Quoted 1 line

--

Felipe

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#6 lore raw

Re: [PATCH 1/2] protobuf: add protobuf-c recipe

Hi Bruce,

Quoted 43 lines · Bruce Ashfield
Quoted 40 lines · Felipe Ferreri Tonello

Hi Bruce,

Quoted 1 line · Bruce Ashfield

On Tue, Apr 19, 2016 at 3:46 PM, Bruce Ashfield <

[email protected]>

Quoted 5 lines
Quoted 3 lines · wrote:

On Tue, Apr 19, 2016 at 11:40 AM, Felipe F. Tonello <

[email protected]>

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines · wrote:

Initial version of recipe. The main package could be split into two to separate the compiler. This also applies to protobuf recipe.

More precisely, this is the initial version outside of

meta-virtualization

Quoted 2 lines
Quoted 2 lines

which enea added
in 2012 :) It was added as a dependency for criu (hence why it was put

in

Quoted 6 lines
Quoted 6 lines

meta-virt).

If we move it to meta-oe, we at least owe that other implementation a reference in the commit.

Quoted 7 lines

s/if/when/.

I'm happy to purge all the protobuf* recipes from meta-virt, since they were only there as
support mechanisms (and I wasn't involved in their original merge).

But if you can take a look at what's in the meta-virt recipe, I'll do

some

Quoted 3 lines

runtime testing with your
variant here, and drop the meta-virt ones when I can confirm criu works.

Quoted 6 lines
Quoted 3 lines

Regular protobuf recipe is already part of meta-oe. That's why I added this one there too.

Sure. That's obvious from the layer index, as is the existence of the one in meta-virt.

I didn 't take it from meta-virt. The original protobuf recipe is in meta-oe.

Quoted 7 lines

Credit, where credit is due. It's not my work, so I'm not asking for any credit,
but simply duplicating something that already exists without a nod to the older one
isn't ideal.

Quoted 9 lines

All I was asking was that if you could a link to the meta-virt one in the commit header
so that someone not familiar with the layer index can see the two options .. and
at the same time I was wondering if you'd seen the meta-virt one and did this one
differently for technical reasons. That makes it easier for me to drop recipes as they
get cloned around to new (and better) locations.

I am fine with that. Can you please provide the git hash so I can link it?

Thanks in advance,
Felipe

#7 lore raw

Re: [PATCH 1/2] protobuf: add protobuf-c recipe

Quoted 52 lines · Felipe Ferreri Tonello

Hi Bruce,

Quoted 12 lines · Bruce Ashfield
Quoted 9 lines · Felipe Ferreri Tonello

Hi Bruce,

Quoted 1 line · Bruce Ashfield

On Tue, Apr 19, 2016 at 3:46 PM, Bruce Ashfield <

[email protected]>

Quoted 4 lines
Quoted 2 lines · wrote:
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

On Tue, Apr 19, 2016 at 11:40 AM, Felipe F. Tonello <

[email protected]>

Quoted 3 lines
Quoted 3 lines
Quoted 1 line · wrote:

Initial version of recipe. The main package could be split into two

to

Quoted 16 lines
Quoted 16 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

separate the compiler. This also applies to protobuf recipe.

More precisely, this is the initial version outside of

meta-virtualization

Quoted 2 lines
Quoted 2 lines

which enea added
in 2012 :) It was added as a dependency for criu (hence why it was put

in

Quoted 8 lines
Quoted 6 lines

meta-virt).

If we move it to meta-oe, we at least owe that other implementation a reference in the commit.

s/if/when/.

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines

I'm happy to purge all the protobuf* recipes from meta-virt, since they were only there as
support mechanisms (and I wasn't involved in their original merge).

But if you can take a look at what's in the meta-virt recipe, I'll do

some

Quoted 2 lines

runtime testing with your
variant here, and drop the meta-virt ones when I can confirm criu

works.

Quoted 6 lines
Quoted 5 lines
Quoted 1 line

Regular protobuf recipe is already part of meta-oe. That's why I added this one there too.

Quoted 6 lines
Quoted 2 lines

Sure. That's obvious from the layer index, as is the existence of the one in meta-virt.

I didn 't take it from meta-virt. The original protobuf recipe is in meta-oe.

Yup, I wasn't implying that you did. Sorry if it came across that way, I was just
pointing out the layer index, since it is a good place to check when considering
a new recipe.

The ones in meta-virt need cleanup (and I'll drop them once this is in meta-oe),
but that's something we could have tackled (literally) years ago if the repetition
had been picked up.

Quoted 18 lines
Quoted 8 lines

Credit, where credit is due. It's not my work, so I'm not asking for any credit,
but simply duplicating something that already exists without a nod to the older one
isn't ideal.

Quoted 9 lines

All I was asking was that if you could a link to the meta-virt one in the commit header
so that someone not familiar with the layer index can see the two options .. and
at the same time I was wondering if you'd seen the meta-virt one and did this one
differently for technical reasons. That makes it easier for me to drop recipes as they
get cloned around to new (and better) locations.

Quoted 3 lines

I am fine with that. Can you please provide the git hash so I can link it?

That's great, just a shout out something like:

----
replaces/obsoletes: commit 0d31f8448412 [Added protobuf-c criu dependency] in meta-virtualization
----

Would be great, then we see the duplication, and why it was ever in meta-virt in the first
place.

(the full commit log is below)

commit 0d31f844841249262fe142c4c03853dd1f647e2d

Author: David Nystr?m <[email protected]>

Date: Thu Dec 6 10:54:55 2012 +0100

Added protobuf-c criu dependency

Cheers,

Bruce

Quoted 10 lines

Thanks in advance,
Felipe

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#8 lore raw

PATCH 2/2 protobuf: Split package to main and compiler packages

In reply to Felipe F. Tonello

Protobuf has two main features, a compiler and a library. Run-time applications only need the libraries to run.

---
 meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb +4 -0
index 049f9d4e8f18..f52f22aca3e8 100644
@@ -8,6 +8,8 @@ LICENSE = "BSD-3-Clause"
 
 DEPENDS = "zlib"
 
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
 LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514"
 
 SRCREV = "bba83652e1be610bdb7ee1566ad18346d98b843c"
@@ -22,4 +24,6 @@ inherit autotools
 
 S = "${WORKDIR}/git"
 
+FILES_${PN}-compiler = "${bindir}"
+
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.8.0