From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [RFC][PATCH] package.bbclass: export subpackage individual version, if different from main
Date: Tue, 22 Sep 2009 14:51:24 -0400 [thread overview]
Message-ID: <20090922185124.GD18271@denix.org> (raw)
In-Reply-To: <20090920184926.GA1288@denix.org>
On Sun, Sep 20, 2009 at 02:49:26PM -0400, Denys Dmytriyenko wrote:
> On Sun, Sep 20, 2009 at 09:40:22AM +0100, Phil Blundell wrote:
> > On Sun, 2009-09-20 at 02:33 -0400, Denys Dmytriyenko wrote:
> > > Fixes the wrong versioned runtime dependency for shlib subpackages with
> > > own versions. Consider this:
> > >
> > > PACKAGES = "libfoo libbar"
> > > PV_libfoo = "1"
> > > PV_libbar = "2"
> > > PV = "3"
> >
> > Is this even legitimate usage? I had always thought that PV applied to
> > the recipe, not to the output subpackages.
>
> PV_<pkg> works as is, because it is handled by the same code that does
> FILES_<pkg>, DESCRIPTION_<pkg>, RDEPENDS_<pkg>, RPROVIDES_<pkg>, PKG_<pkg>
> etc. And generated subpackages receive own versions just fine.
> But for shared libraries in subpackages it has this small issue of exporting
> the main PV in shlibs/pkgdata/runtime...
>
> > What's the typical use-case for this kind of thing?
>
> As Koen said, helpful for large meta-packages. In the case of external
> toolchain, the main package may have version like "2009q1", while different
> subpackages can get their own versions, like "2.8" for libc, "4.3.3" for
> libstdc++ etc. Slightly convoluted example at [1]
> W/o this fix I was getting runtime dependencies for libc >= 2009q1, instead
> of 2.8
Would there be more comments, ACKs or NACKs from anyone? Is it Ok to push?
--
Denys
next prev parent reply other threads:[~2009-09-22 18:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-20 6:33 [RFC][PATCH] package.bbclass: export subpackage individual version, if different from main Denys Dmytriyenko
2009-09-20 8:40 ` Phil Blundell
2009-09-20 12:29 ` Koen Kooi
2009-09-20 18:49 ` Denys Dmytriyenko
2009-09-22 18:51 ` Denys Dmytriyenko [this message]
2009-09-20 10:51 ` Koen Kooi
2009-09-20 15:13 ` Khem Raj
2009-09-20 18:50 ` Denys Dmytriyenko
2009-09-21 15:10 ` Phil Blundell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090922185124.GD18271@denix.org \
--to=denis@denix.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.