All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] alsa-lib: remove non PN based -dev packages
@ 2014-07-25 10:05 jackie.huang
  2014-07-28  6:30 ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: jackie.huang @ 2014-07-25 10:05 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

All dev related items should be packaged in the core
PN-dev package not in seperate packages.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
index cbe0448..9132072 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
@@ -31,14 +31,13 @@ EXTRA_OECONF = "--disable-python"
 
 EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no "
 
-PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev"
+PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc"
 FILES_${PN} += "${libdir}/${BPN}/smixer/*.so"
 FILES_${PN}-dbg += "${libdir}/${BPN}/smixer/.debug"
 FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la"
 FILES_libasound = "${libdir}/libasound.so.*"
 FILES_alsa-server = "${bindir}/*"
 FILES_alsa-conf = "${datadir}/alsa/"
-FILES_alsa-dev += "${libdir}/pkgconfig/ ${includedir}/alsa ${datadir}/aclocal/*"
 FILES_alsa-conf-base = "\
 ${datadir}/alsa/alsa.conf \
 ${datadir}/alsa/cards/aliases.conf \
-- 
2.0.0



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

* Re: [PATCH] alsa-lib: remove non PN based -dev packages
  2014-07-25 10:05 [PATCH] alsa-lib: remove non PN based -dev packages jackie.huang
@ 2014-07-28  6:30 ` Koen Kooi
  2014-07-28  6:49   ` Huang, Jie (Jackie)
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2014-07-28  6:30 UTC (permalink / raw)
  To: jackie.huang; +Cc: OE-core


Op 25 jul. 2014, om 12:05 heeft jackie.huang@windriver.com het volgende geschreven:

> From: Jackie Huang <jackie.huang@windriver.com>
> 
> All dev related items should be packaged in the core
> PN-dev package not in seperate packages.

What's the upgrade path here for image and users that have 'alsa-dev' installed? Looks like there are now 2 conflicting packages, 'alsa-dev' in the feeds and 'alsa-lib-dev' on OE, without and RREPLACES/RPROVIDES in place.

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

* Re: [PATCH] alsa-lib: remove non PN based -dev packages
  2014-07-28  6:30 ` Koen Kooi
@ 2014-07-28  6:49   ` Huang, Jie (Jackie)
  2014-07-28  8:51     ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: Huang, Jie (Jackie) @ 2014-07-28  6:49 UTC (permalink / raw)
  To: Koen Kooi; +Cc: OE-core



> -----Original Message-----
> From: Koen Kooi [mailto:koen@dominion.thruhere.net]
> Sent: Monday, July 28, 2014 2:30 PM
> To: Huang, Jie (Jackie)
> Cc: OE-core; Richard Purdie
> Subject: Re: [OE-core] [PATCH] alsa-lib: remove non PN based -dev packages
> 
> 
> Op 25 jul. 2014, om 12:05 heeft jackie.huang@windriver.com het volgende geschreven:
> 
> > From: Jackie Huang <jackie.huang@windriver.com>
> >
> > All dev related items should be packaged in the core PN-dev package
> > not in seperate packages.
> 
> What's the upgrade path here for image and users that have 'alsa-dev' installed? Looks like there are

My patch is removing 'alsa-dev' and all related files goes into '${PN}-dev' (PN=alsa-lib here), so users need to install
alsa-lib-dev instead of alsa-dev.

> now 2 conflicting packages, 'alsa-dev' in the feeds and 'alsa-lib-dev' on OE, without and

Only 'alsa-lib-dev' now with my patch, so no conflicts.

Thanks,
Jackie

> RREPLACES/RPROVIDES in place.


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

* Re: [PATCH] alsa-lib: remove non PN based -dev packages
  2014-07-28  6:49   ` Huang, Jie (Jackie)
@ 2014-07-28  8:51     ` Koen Kooi
  2014-07-28  9:24       ` Richard Purdie
  2014-07-28  9:35       ` Huang, Jie (Jackie)
  0 siblings, 2 replies; 7+ messages in thread
From: Koen Kooi @ 2014-07-28  8:51 UTC (permalink / raw)
  To: Huang, Jie (Jackie); +Cc: OE-core


Op 28 jul. 2014, om 08:49 heeft Huang, Jie (Jackie) <Jackie.Huang@windriver.com> het volgende geschreven:

> 
> 
>> -----Original Message-----
>> From: Koen Kooi [mailto:koen@dominion.thruhere.net]
>> Sent: Monday, July 28, 2014 2:30 PM
>> To: Huang, Jie (Jackie)
>> Cc: OE-core; Richard Purdie
>> Subject: Re: [OE-core] [PATCH] alsa-lib: remove non PN based -dev packages
>> 
>> 
>> Op 25 jul. 2014, om 12:05 heeft jackie.huang@windriver.com het volgende geschreven:
>> 
>>> From: Jackie Huang <jackie.huang@windriver.com>
>>> 
>>> All dev related items should be packaged in the core PN-dev package
>>> not in seperate packages.
>> 
>> What's the upgrade path here for image and users that have 'alsa-dev' installed? Looks like there are
> 
> My patch is removing 'alsa-dev' and all related files goes into '${PN}-dev' (PN=alsa-lib here), so users need to install
> alsa-lib-dev instead of alsa-dev.

*sigh* So you have no upgrade path for situations where 'alsa-dev' is already installed or listed in a packagegroup or image. Worse, you don't even understand the problem :/

> 
>> now 2 conflicting packages, 'alsa-dev' in the feeds and 'alsa-lib-dev' on OE, without and
> 
> Only 'alsa-lib-dev' now with my patch, so no conflicts.

Hahahahahaha you are really funny.

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

* Re: [PATCH] alsa-lib: remove non PN based -dev packages
  2014-07-28  8:51     ` Koen Kooi
@ 2014-07-28  9:24       ` Richard Purdie
  2014-07-28  9:42         ` Huang, Jie (Jackie)
  2014-07-28  9:35       ` Huang, Jie (Jackie)
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Purdie @ 2014-07-28  9:24 UTC (permalink / raw)
  To: Koen Kooi; +Cc: Rifenbark, Scott M, OE-core

On Mon, 2014-07-28 at 10:51 +0200, Koen Kooi wrote:
> Op 28 jul. 2014, om 08:49 heeft Huang, Jie (Jackie) <Jackie.Huang@windriver.com> het volgende geschreven:
> >> -----Original Message-----
> >> From: Koen Kooi [mailto:koen@dominion.thruhere.net]
> >> Sent: Monday, July 28, 2014 2:30 PM
> >> To: Huang, Jie (Jackie)
> >> Cc: OE-core; Richard Purdie
> >> Subject: Re: [OE-core] [PATCH] alsa-lib: remove non PN based -dev packages
> >> 
> >> 
> >> Op 25 jul. 2014, om 12:05 heeft jackie.huang@windriver.com het volgende geschreven:
> >> 
> >>> From: Jackie Huang <jackie.huang@windriver.com>
> >>> 
> >>> All dev related items should be packaged in the core PN-dev package
> >>> not in seperate packages.
> >> 
> >> What's the upgrade path here for image and users that have 'alsa-dev' installed? Looks like there are
> > 
> > My patch is removing 'alsa-dev' and all related files goes into '${PN}-dev' (PN=alsa-lib here), so users need to install
> > alsa-lib-dev instead of alsa-dev.
> 
> *sigh* So you have no upgrade path for situations where 'alsa-dev' is already installed or listed in a packagegroup or image. Worse, you don't even understand the problem :/
> 
> > 
> >> now 2 conflicting packages, 'alsa-dev' in the feeds and 'alsa-lib-dev' on OE, without and
> > 
> > Only 'alsa-lib-dev' now with my patch, so no conflicts.
> 
> Hahahahahaha you are really funny.

I appreciate there is a problem here and we need to fix that. There is
also an education issue, people who don't know much about it don't
appreciate the struggles of someone maintaining package feeds.

Perhaps someone could write a short section for the docs about the
issues here? In future when this kind of problem comes up, we can then
at least point at the manual section to explain it.

Currently, most docs come from the "same old people", I'm partly writing
this to remind people that others can submit them and that they can help
massively in educating people.

They don't even need to be proper patches against the docs, just write a
few paragraphs, send it Scott Rifenbark's way and he can usually do
something with it. He tends to reword things so the manual has a
consistent tone and style anyway so it needn't be word perfect either,
its the content that matters (and that is the part Scott cannot do).

Cheers,

Richard



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

* Re: [PATCH] alsa-lib: remove non PN based -dev packages
  2014-07-28  8:51     ` Koen Kooi
  2014-07-28  9:24       ` Richard Purdie
@ 2014-07-28  9:35       ` Huang, Jie (Jackie)
  1 sibling, 0 replies; 7+ messages in thread
From: Huang, Jie (Jackie) @ 2014-07-28  9:35 UTC (permalink / raw)
  To: Koen Kooi; +Cc: OE-core



> 
> Op 28 jul. 2014, om 08:49 heeft Huang, Jie (Jackie) <Jackie.Huang@windriver.com> het volgende
> geschreven:
> 
> >
> >
> >> -----Original Message-----
> >> From: Koen Kooi [mailto:koen@dominion.thruhere.net]
> >> Sent: Monday, July 28, 2014 2:30 PM
> >> To: Huang, Jie (Jackie)
> >> Cc: OE-core; Richard Purdie
> >> Subject: Re: [OE-core] [PATCH] alsa-lib: remove non PN based -dev
> >> packages
> >>
> >>
> >> Op 25 jul. 2014, om 12:05 heeft jackie.huang@windriver.com het volgende geschreven:
> >>
> >>> From: Jackie Huang <jackie.huang@windriver.com>
> >>>
> >>> All dev related items should be packaged in the core PN-dev package
> >>> not in seperate packages.
> >>
> >> What's the upgrade path here for image and users that have 'alsa-dev'
> >> installed? Looks like there are
> >
> > My patch is removing 'alsa-dev' and all related files goes into
> > '${PN}-dev' (PN=alsa-lib here), so users need to install alsa-lib-dev instead of alsa-dev.
> 
> *sigh* So you have no upgrade path for situations where 'alsa-dev' is already installed or listed in a
> packagegroup or image. Worse, you don't even understand the problem :/

I see your point, I did grep on oe-core and meta-oe and didn't find any evidence that 'alsa-dev' is installed or listed
In a packagegroup or image, so I thought it's safe to remove without RREPLACES/RPROVIDES in place, sorry that I did
a wrong assumption, I will add a RPROVIDES for this, thanks!

Thanks,
Jackie

> 
> >
> >> now 2 conflicting packages, 'alsa-dev' in the feeds and
> >> 'alsa-lib-dev' on OE, without and
> >
> > Only 'alsa-lib-dev' now with my patch, so no conflicts.
> 
> Hahahahahaha you are really funny.


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

* Re: [PATCH] alsa-lib: remove non PN based -dev packages
  2014-07-28  9:24       ` Richard Purdie
@ 2014-07-28  9:42         ` Huang, Jie (Jackie)
  0 siblings, 0 replies; 7+ messages in thread
From: Huang, Jie (Jackie) @ 2014-07-28  9:42 UTC (permalink / raw)
  To: Richard Purdie, Koen Kooi; +Cc: RIFENBARK, SCOTT, OE-core



> -----Original Message-----
> From: Richard Purdie [mailto:richard.purdie@linuxfoundation.org]
> Sent: Monday, July 28, 2014 5:25 PM
> To: Koen Kooi
> Cc: Huang, Jie (Jackie); OE-core; RIFENBARK, SCOTT
> Subject: Re: [OE-core] [PATCH] alsa-lib: remove non PN based -dev packages
> 
> On Mon, 2014-07-28 at 10:51 +0200, Koen Kooi wrote:
> > Op 28 jul. 2014, om 08:49 heeft Huang, Jie (Jackie) <Jackie.Huang@windriver.com> het volgende
> geschreven:
> > >> -----Original Message-----
> > >> From: Koen Kooi [mailto:koen@dominion.thruhere.net]
> > >> Sent: Monday, July 28, 2014 2:30 PM
> > >> To: Huang, Jie (Jackie)
> > >> Cc: OE-core; Richard Purdie
> > >> Subject: Re: [OE-core] [PATCH] alsa-lib: remove non PN based -dev
> > >> packages
> > >>
> > >>
> > >> Op 25 jul. 2014, om 12:05 heeft jackie.huang@windriver.com het volgende geschreven:
> > >>
> > >>> From: Jackie Huang <jackie.huang@windriver.com>
> > >>>
> > >>> All dev related items should be packaged in the core PN-dev
> > >>> package not in seperate packages.
> > >>
> > >> What's the upgrade path here for image and users that have
> > >> 'alsa-dev' installed? Looks like there are
> > >
> > > My patch is removing 'alsa-dev' and all related files goes into
> > > '${PN}-dev' (PN=alsa-lib here), so users need to install alsa-lib-dev instead of alsa-dev.
> >
> > *sigh* So you have no upgrade path for situations where 'alsa-dev' is
> > already installed or listed in a packagegroup or image. Worse, you
> > don't even understand the problem :/
> >
> > >
> > >> now 2 conflicting packages, 'alsa-dev' in the feeds and
> > >> 'alsa-lib-dev' on OE, without and
> > >
> > > Only 'alsa-lib-dev' now with my patch, so no conflicts.
> >
> > Hahahahahaha you are really funny.
> 
> I appreciate there is a problem here and we need to fix that. There is also an education issue, people
> who don't know much about it don't appreciate the struggles of someone maintaining package feeds.

Sorry that I got misunderstanding about the commets since I didn't know much the issue, I appreciate that
and will send another patch to fix it since this one is already merged.

Thanks,
Jackie

> 
> Perhaps someone could write a short section for the docs about the issues here? In future when this
> kind of problem comes up, we can then at least point at the manual section to explain it.
> 
> Currently, most docs come from the "same old people", I'm partly writing this to remind people that
> others can submit them and that they can help massively in educating people.
> 
> They don't even need to be proper patches against the docs, just write a few paragraphs, send it Scott
> Rifenbark's way and he can usually do something with it. He tends to reword things so the manual has
> a consistent tone and style anyway so it needn't be word perfect either, its the content that matters
> (and that is the part Scott cannot do).
> 
> Cheers,
> 
> Richard


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

end of thread, other threads:[~2014-07-28  9:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25 10:05 [PATCH] alsa-lib: remove non PN based -dev packages jackie.huang
2014-07-28  6:30 ` Koen Kooi
2014-07-28  6:49   ` Huang, Jie (Jackie)
2014-07-28  8:51     ` Koen Kooi
2014-07-28  9:24       ` Richard Purdie
2014-07-28  9:42         ` Huang, Jie (Jackie)
2014-07-28  9:35       ` Huang, Jie (Jackie)

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.