[oe] inc file discussion

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sat Oct 9 17:16:26 UTC 2010


Clarifying a few things.

Actually I don't care too much whether DESCRIPTION and other fields
are in the .inc file or in the bb file as long as it is done fairly
consistently.
Now it is not.
And the reason why I prefer the bb file is because not every recipe
has an .inc file, so it is a one stop shop.

I'm not proposing rigid rules. I can see a case for DEPENDS in .inc files.
Then again I actually bumped into this an hour or so after posting this.

pulseaudio can work with and without tcpwrapper, but there was no
choice forced. There was no depends, so if you happen to build
tcpwrapper before it would pick it up (but would not end up in
RDEPENDS or so).
If you did not build pulseaudio before you would not get tcpwrapper.
support/usage in pulseaudio.

One solution is to add tcpwrapper to the DEPENDS of pulseaudio.
However this was in an inc.

This gave me the following dilemma:
1 add in the recipe with _append  or +=
2 add to the inc and test the other version(s)
3 add to the inc and not test the other version(s) and assume things
work properly.
4 not do the patch.
5. remove the old recipe

I expect a lot of people would go for 3, but that *could* introduce a problem.

BTW maybe it is indeed time for BBVERSIONS or whatever it was called.

Frans




More information about the Openembedded-devel mailing list