Skip to content

Teach cmake.bbclass to put cmake page files in -dev packages

Mike Crowe openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6cmake: Always put cmake package files in -dev packagesmeta/classes/cmake.bbclass+2 -00 replies
2/6libsolv: Rely on cmake.bbclass to put cmake package files in dev packagemeta/recipes-extended/libsolv/libsolv_0.6.29.bb+0 -10 replies
3/6vulkan: Rely on cmake.bbclass to put cmake package files in dev packagemeta/recipes-graphics/vulkan/assimp_4.0.1.bb+0 -20 replies
4/6waffle: Rely on cmake.bbclass to put cmake package files in dev packagemeta/recipes-graphics/waffle/waffle_1.5.2.bb+0 -30 replies
5/6libical: Rely on cmake.bbclass to put cmake package files in dev packagemeta/recipes-support/libical/libical_2.0.0.bb+0 -20 replies
6/6libproxy: Rely on cmake.bbclass to put cmake package files in dev packagemeta/recipes-support/libproxy/libproxy_0.4.15.bb+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Teach cmake.bbclass to put cmake page files in -dev packages

We've added a few of our own recipes recently for projects that use cmake and it's a pain to have to add the required magic to ensure that cmake's package files (a bit like .pc files) end up in the -dev package. Forgetting to do this causes annoying warnings about unpackaged files.

So, let's just teach cmake.bbclass to deal with this itself.

I've tested that each of the packages build correctly without generating warnings about left-over files. But I haven't checked that anything that might be relying the package files can still find them afterwards. I did test that core-image-sato still builds, but that probably doesn't prove much.

I don't think there's any harm for third-party recipes that continue to contain equivalent FILES_${PN}-dev assignments.

Mike.

Mike Crowe (6):
cmake: Always put cmake package files in -dev packages
libsolv: Rely on cmake.bbclass to put cmake package files in dev
package
vulkan: Rely on cmake.bbclass to put cmake package files in dev
package
waffle: Rely on cmake.bbclass to put cmake package files in dev
package
libical: Rely on cmake.bbclass to put cmake package files in dev
package
libproxy: Rely on cmake.bbclass to put cmake package files in dev
package

 meta/classes/cmake.bbclass                       | 2 ++
 meta/recipes-extended/libsolv/libsolv_0.6.29.bb  | 1 -
 meta/recipes-graphics/vulkan/assimp_4.0.1.bb     | 2 --
 meta/recipes-graphics/waffle/waffle_1.5.2.bb     | 3 ---
 meta/recipes-support/libical/libical_2.0.0.bb    | 2 --
 meta/recipes-support/libproxy/libproxy_0.4.15.bb | 1 -
 6 files changed, 2 insertions(+), 9 deletions(-)
Signature · 1 line
2.11.0