All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL]Fix moving libtcl8.5.so into tcl-lib.
@ 2010-11-08  7:00 Lu Jingdong
  2010-11-09  2:20 ` Saul Wold
  2010-11-10 19:40 ` Saul Wold
  0 siblings, 2 replies; 6+ messages in thread
From: Lu Jingdong @ 2010-11-08  7:00 UTC (permalink / raw)
  To: poky

Note: <commit_id> parameter assumed as 'HEAD'

  meta/recipes-devtools/tcltk/tcl_8.5.8.bb                 |    4 
  1 files changed, 2 insertions(+), 2 deletions(-)

Jingdong Lu (1):
      Fix moving libtcl8.5.so into tcl-lib.

Pull URL:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro

-- 
Lu Jingdong
jingdong.lu@windriver.com
China, Wind River



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

* Re: [PULL]Fix moving libtcl8.5.so into tcl-lib.
  2010-11-08  7:00 [PULL]Fix moving libtcl8.5.so into tcl-lib Lu Jingdong
@ 2010-11-09  2:20 ` Saul Wold
  2010-11-09  4:52   ` Lu Jingdong
  2010-11-10 19:40 ` Saul Wold
  1 sibling, 1 reply; 6+ messages in thread
From: Saul Wold @ 2010-11-09  2:20 UTC (permalink / raw)
  To: poky

On 11/07/2010 11:00 PM, Lu Jingdong wrote:
> Note:<commit_id>  parameter assumed as 'HEAD'
>
>    meta/recipes-devtools/tcltk/tcl_8.5.8.bb                 |    4
>    1 files changed, 2 insertions(+), 2 deletions(-)
>
> Jingdong Lu (1):
>        Fix moving libtcl8.5.so into tcl-lib.
>
> Pull URL:
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro
>
Jingdong:

Can you give some additional rational as to why this change is needed, 
other recipes use the "so.*" format vs the "so*".

Thanks
	Sau!


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

* Re: [PULL]Fix moving libtcl8.5.so into tcl-lib.
  2010-11-09  2:20 ` Saul Wold
@ 2010-11-09  4:52   ` Lu Jingdong
  2010-11-09 15:16     ` Mark Hatle
  0 siblings, 1 reply; 6+ messages in thread
From: Lu Jingdong @ 2010-11-09  4:52 UTC (permalink / raw)
  To: Saul Wold; +Cc: poky

Saul:

    tcl provides only one library named "libtcl8.5.so" and it hasn't
libraries named like "libtcl8.5.so.*". So when we use "so.*" in  FILES_
${PN}-lib = "${libdir}/libtcl8.5.so.*", we can't include "libtcl8.5.so"
into "tcl-lib" package and we can't get the package "tcl-lib" because it
is a empty package.

    It doesn't like other libraries. For example, libxcb provides 
"libxcb-glx.so.0.0.0", "libxcb-glx.so.0" and "libxcb-glx.so". Among of
them, "libxcb-glx.so.0" and "libxcb-glx.so" are symbol links of
"libxcb-glx.so.0.0.0", so we can use the "so.*" and it includes the
following two files("libxcb-glx.so.0.0.0" and "libxcb-glx.so.0"). The
file "libxcb-glx.so" is in the "libxcb-dev" package. I am not sure
whether "libxcb-glx.so" should in the "libxcb-dev".

On Mon, 2010-11-08 at 18:20 -0800, Saul Wold wrote:
> On 11/07/2010 11:00 PM, Lu Jingdong wrote:
> > Note:<commit_id>  parameter assumed as 'HEAD'
> >
> >    meta/recipes-devtools/tcltk/tcl_8.5.8.bb                 |    4
> >    1 files changed, 2 insertions(+), 2 deletions(-)
> >
> > Jingdong Lu (1):
> >        Fix moving libtcl8.5.so into tcl-lib.
> >
> > Pull URL:
> > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro
> >
> Jingdong:
> 
> Can you give some additional rational as to why this change is needed, 
> other recipes use the "so.*" format vs the "so*".
> 
> Thanks
> 	Sau!
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

-- 
Lu Jingdong
jingdong.lu@windriver.com
China, Wind River



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

* Re: [PULL]Fix moving libtcl8.5.so into tcl-lib.
  2010-11-09  4:52   ` Lu Jingdong
@ 2010-11-09 15:16     ` Mark Hatle
  2010-11-14 18:52       ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Hatle @ 2010-11-09 15:16 UTC (permalink / raw)
  To: poky

On 11/8/10 10:52 PM, Lu Jingdong wrote:
> Saul:
>
>      tcl provides only one library named "libtcl8.5.so" and it hasn't
> libraries named like "libtcl8.5.so.*". So when we use "so.*" in  FILES_
> ${PN}-lib = "${libdir}/libtcl8.5.so.*", we can't include "libtcl8.5.so"
> into "tcl-lib" package and we can't get the package "tcl-lib" because it
> is a empty package.
>
>      It doesn't like other libraries. For example, libxcb provides
> "libxcb-glx.so.0.0.0", "libxcb-glx.so.0" and "libxcb-glx.so". Among of
> them, "libxcb-glx.so.0" and "libxcb-glx.so" are symbol links of
> "libxcb-glx.so.0.0.0", so we can use the "so.*" and it includes the
> following two files("libxcb-glx.so.0.0.0" and "libxcb-glx.so.0"). The
> file "libxcb-glx.so" is in the "libxcb-dev" package. I am not sure
> whether "libxcb-glx.so" should in the "libxcb-dev".

This is likely a check we may want to add to our QA suite.  The rule for which 
symlinks must be in the run-time package vs a development package is:


Run-time:
The actual dynamic library file (duh)
Symlinks to the dynamic library file with the filename of an SONAME specified by 
the library file


Development:
Any "other" symlinks to the dynamic library NOT referenced by an SONAME
Any static library files
Any symlinks to static library files
Any (related) .la files
Any (related) .pc files
Any (related) headers


It should be fairly simple to validate the run-time, and lack of development 
components in the run-time package.


Does anyone know if this validation is already part of the sanity checking, or 
would this be an enhancement?

--Mark

> On Mon, 2010-11-08 at 18:20 -0800, Saul Wold wrote:
>> On 11/07/2010 11:00 PM, Lu Jingdong wrote:
>>> Note:<commit_id>   parameter assumed as 'HEAD'
>>>
>>>     meta/recipes-devtools/tcltk/tcl_8.5.8.bb                 |    4
>>>     1 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>> Jingdong Lu (1):
>>>         Fix moving libtcl8.5.so into tcl-lib.
>>>
>>> Pull URL:
>>> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro
>>>
>> Jingdong:
>>
>> Can you give some additional rational as to why this change is needed,
>> other recipes use the "so.*" format vs the "so*".
>>
>> Thanks
>> 	Sau!
>> _______________________________________________
>> poky mailing list
>> poky@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
>



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

* Re: [PULL]Fix moving libtcl8.5.so into tcl-lib.
  2010-11-08  7:00 [PULL]Fix moving libtcl8.5.so into tcl-lib Lu Jingdong
  2010-11-09  2:20 ` Saul Wold
@ 2010-11-10 19:40 ` Saul Wold
  1 sibling, 0 replies; 6+ messages in thread
From: Saul Wold @ 2010-11-10 19:40 UTC (permalink / raw)
  To: Lu Jingdong; +Cc: poky@pokylinux.org

On 11/07/2010 11:00 PM, Lu Jingdong wrote:
> Note:<commit_id>  parameter assumed as 'HEAD'
>
>    meta/recipes-devtools/tcltk/tcl_8.5.8.bb                 |    4
>    1 files changed, 2 insertions(+), 2 deletions(-)
>
> Jingdong Lu (1):
>        Fix moving libtcl8.5.so into tcl-lib.
>
> Pull URL:
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jingdonglu/distro
>
Merged into Master

Thanks
	Sau!



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

* Re: [PULL]Fix moving libtcl8.5.so into tcl-lib.
  2010-11-09 15:16     ` Mark Hatle
@ 2010-11-14 18:52       ` Richard Purdie
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2010-11-14 18:52 UTC (permalink / raw)
  To: Mark Hatle; +Cc: poky

On Tue, 2010-11-09 at 09:16 -0600, Mark Hatle wrote:
> On 11/8/10 10:52 PM, Lu Jingdong wrote:
> > Saul:
> >
> >      tcl provides only one library named "libtcl8.5.so" and it hasn't
> > libraries named like "libtcl8.5.so.*". So when we use "so.*" in  FILES_
> > ${PN}-lib = "${libdir}/libtcl8.5.so.*", we can't include "libtcl8.5.so"
> > into "tcl-lib" package and we can't get the package "tcl-lib" because it
> > is a empty package.
> >
> >      It doesn't like other libraries. For example, libxcb provides
> > "libxcb-glx.so.0.0.0", "libxcb-glx.so.0" and "libxcb-glx.so". Among of
> > them, "libxcb-glx.so.0" and "libxcb-glx.so" are symbol links of
> > "libxcb-glx.so.0.0.0", so we can use the "so.*" and it includes the
> > following two files("libxcb-glx.so.0.0.0" and "libxcb-glx.so.0"). The
> > file "libxcb-glx.so" is in the "libxcb-dev" package. I am not sure
> > whether "libxcb-glx.so" should in the "libxcb-dev".
> 
> This is likely a check we may want to add to our QA suite.  The rule for which 
> symlinks must be in the run-time package vs a development package is:
> 
> 
> Run-time:
> The actual dynamic library file (duh)
> Symlinks to the dynamic library file with the filename of an SONAME specified by 
> the library file
> 
> 
> Development:
> Any "other" symlinks to the dynamic library NOT referenced by an SONAME
> Any static library files
> Any symlinks to static library files
> Any (related) .la files
> Any (related) .pc files
> Any (related) headers
> 
> 
> It should be fairly simple to validate the run-time, and lack of development 
> components in the run-time package.
> 
> 
> Does anyone know if this validation is already part of the sanity checking, or 
> would this be an enhancement?

I think its all already part of the sanity checks...

Cheers,

Richard



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

end of thread, other threads:[~2010-11-14 18:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08  7:00 [PULL]Fix moving libtcl8.5.so into tcl-lib Lu Jingdong
2010-11-09  2:20 ` Saul Wold
2010-11-09  4:52   ` Lu Jingdong
2010-11-09 15:16     ` Mark Hatle
2010-11-14 18:52       ` Richard Purdie
2010-11-10 19:40 ` Saul Wold

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.