[oe] [PATCH v2] canutils: new recipe

Vitus Jensen vjensen at gmx.de
Sun May 16 20:26:17 UTC 2010


On Fri, 7 May 2010, Koen Kooi wrote:

> On 07-05-10 12:18, Stefan Schmidt wrote:
>> Hello.
>>
>> On Sat, 2010-05-01 at 16:22, Vitus Jensen wrote:
>>> Adds canutils (PTX flavour) 4.0.4 as alternative to socketcan-utils-test.
>>> canutils RCONFLICTS with socketcan-utils-test because of identical
>>> file names.
>>>
>>> Signed-off-by: Vitus Jensen <vjensen at gmx.de>
>>> ---
>>>  recipes/socketcan/canutils_4.0.4.bb           |   19 +++++++++++++++++++
>>>  recipes/socketcan/socketcan-utils-test_svn.bb |    1 +
>>>  2 files changed, 20 insertions(+), 0 deletions(-)
>>>  create mode 100644 recipes/socketcan/canutils_4.0.4.bb
>>>
>>> diff --git a/recipes/socketcan/canutils_4.0.4.bb b/recipes/socketcan/canutils_4.0.4.bb
>>> new file mode 100644
>>> index 0000000..e769c46
>>> --- /dev/null
>>> +++ b/recipes/socketcan/canutils_4.0.4.bb
>>> @@ -0,0 +1,19 @@
>>> +DESCRIPTION = "canutils (PTX flavour)"
>>> +AUTHOR = "Luotao Fu"
>>> +HOMEPAGE = "http://www.pengutronix.de"
>>> +SECTION = "console/network"
>>> +PRIORITY = "optional"
>>> +LICENSE = "LGPL"
>>> +DEPENDS = "libsocketcan"
>>> +RDEPENDS = "libsocketcan"
>>
>> Why do you need this RDEPENDS on the lib when it is already in DEPENDS?
>
> The better question is "Why doesn't OE shlib code pickup that
> dependency?" :)
...

I thought that both settings worked independly and added RDEPENDS because 
of the shared library.  But the dependency was indeed detected 
automatically.

As for the git access: it's our policy here to fetch if possibly directly 
from a sourcecode repository.  Providing readonly access via git or svn is 
really getting common and I guess those tarballs will go away sometime.

BTW: there is already a new canutils/libsocketcan release which ships with 
a new linux/can/netlink.h header (can_netlink.h).  I will provide recipes 
for both versions and ship can_netlink.h again.  Otherwise it could 
create a race between libsocketcan and linux-libc-headers versions.

Vitus

-- 
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers




More information about the Openembedded-devel mailing list