All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] ceres-solver: Removed empty package
@ 2018-10-05  9:17 Vyacheslav Yurkov
  2018-10-05  9:44 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Vyacheslav Yurkov @ 2018-10-05  9:17 UTC (permalink / raw)
  To: openembedded-devel

By default ceres-solver provides a static library and headers.
This change removes an empty package and sets an implicit dependency
on dev and dbg packages.

It also addresses missing cmake configuration files in dev package.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
---
 meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
index ad7c8f2a3..13ca8efab 100644
--- a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
@@ -13,5 +13,8 @@ S = "${WORKDIR}/git"
 
 inherit cmake
 
+FILES_${PN}-dev += "${libdir}/cmake/"
+
 # Only a static library and headers are created
-ALLOW_EMPTY_${PN} = "1"
+RDEPENDS_${PN}-dev = ""
+RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
-- 
2.19.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] ceres-solver: Removed empty package
  2018-10-05  9:17 [meta-oe][PATCH] ceres-solver: Removed empty package Vyacheslav Yurkov
@ 2018-10-05  9:44 ` Martin Jansa
  2018-10-05  9:50   ` Vyacheslav Yurkov
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2018-10-05  9:44 UTC (permalink / raw)
  To: Vyacheslav Yurkov; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]

On Fri, Oct 05, 2018 at 11:17:22AM +0200, Vyacheslav Yurkov wrote:
> By default ceres-solver provides a static library and headers.
> This change removes an empty package and sets an implicit dependency
> on dev and dbg packages.
> 
> It also addresses missing cmake configuration files in dev package.
> 
> Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
> ---
>  meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
> index ad7c8f2a3..13ca8efab 100644
> --- a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
> +++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
> @@ -13,5 +13,8 @@ S = "${WORKDIR}/git"
>  
>  inherit cmake
>  
> +FILES_${PN}-dev += "${libdir}/cmake/"

Why is this needed? cmake files are packaged automatically since oe-core
commit:

commit 543e39ad5e2baa0f1ece013a89483783e6b15dd9
Author: Andre McCurdy <armccurdy@gmail.com>
Date:   Tue Jun 26 12:48:11 2018 -0700

    bitbake.conf: handle cmake -dev files packaging with default rules

> +
>  # Only a static library and headers are created
> -ALLOW_EMPTY_${PN} = "1"
> +RDEPENDS_${PN}-dev = ""
> +RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
> -- 
> 2.19.0
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] ceres-solver: Removed empty package
  2018-10-05  9:44 ` Martin Jansa
@ 2018-10-05  9:50   ` Vyacheslav Yurkov
  0 siblings, 0 replies; 3+ messages in thread
From: Vyacheslav Yurkov @ 2018-10-05  9:50 UTC (permalink / raw)
  To: martin.jansa; +Cc: openembedded-devel

I'm bit behind with oe-core (not on master) and was not aware of that.
Anyway I was about to send v2, because I realized that static library and
headers should come together, and it doesn't make sense to specify two
packages.

Vyacheslav

On Fri, Oct 5, 2018 at 11:43 AM Martin Jansa <martin.jansa@gmail.com> wrote:

> On Fri, Oct 05, 2018 at 11:17:22AM +0200, Vyacheslav Yurkov wrote:
> > By default ceres-solver provides a static library and headers.
> > This change removes an empty package and sets an implicit dependency
> > on dev and dbg packages.
> >
> > It also addresses missing cmake configuration files in dev package.
> >
> > Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
> > ---
> >  meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
> b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
> > index ad7c8f2a3..13ca8efab 100644
> > --- a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
> > +++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
> > @@ -13,5 +13,8 @@ S = "${WORKDIR}/git"
> >
> >  inherit cmake
> >
> > +FILES_${PN}-dev += "${libdir}/cmake/"
>
> Why is this needed? cmake files are packaged automatically since oe-core
> commit:
>
> commit 543e39ad5e2baa0f1ece013a89483783e6b15dd9
> Author: Andre McCurdy <armccurdy@gmail.com>
> Date:   Tue Jun 26 12:48:11 2018 -0700
>
>     bitbake.conf: handle cmake -dev files packaging with default rules
>
> > +
> >  # Only a static library and headers are created
> > -ALLOW_EMPTY_${PN} = "1"
> > +RDEPENDS_${PN}-dev = ""
> > +RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
> > --
> > 2.19.0
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-05  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-05  9:17 [meta-oe][PATCH] ceres-solver: Removed empty package Vyacheslav Yurkov
2018-10-05  9:44 ` Martin Jansa
2018-10-05  9:50   ` Vyacheslav Yurkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.