[OE-core] [oe-commits] Martin Jansa : xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa

Mark Hatle mark.hatle at windriver.com
Thu Sep 27 22:41:03 UTC 2012


Just an FYI -- Martin Jansa found a problem with the implement of the package 
version comparison.

In deb and ipk, they do not support '<' or '>', instead it's '<<' and '>>'. 
(Odd, historical reasons apparently).

While RPM doesn't have any idea what '<<' or '>>' is.

Talking with RP and others it seems like the best approach is to implement a 
conversion, in the deb and ipk packaging classes, to convert '<' and '>' to the 
'<<' and '>>' equivalents.  As well as add a sanity check that nobody is using 
'<<' or '>>'.

I'm in the process of doing that now.

--Mark

On 9/27/12 1:08 PM, Otavio Salvador wrote:
> On Thu, Sep 27, 2012 at 2:55 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
>> On Thu, Sep 27, 2012 at 05:34:19PM +0200, Martin Jansa wrote:
>>> On Thu, Sep 27, 2012 at 02:29:25PM +0000, git at git.openembedded.org wrote:
>>>> Module: openembedded-core.git
>>>> Branch: master
>>>> Commit: ed0216d29fc4355c5220f3ad51df04a63cacb0c3
>>>> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ed0216d29fc4355c5220f3ad51df04a63cacb0c3
>>>>
>>>> Author: Martin Jansa <martin.jansa at gmail.com>
>>>> Date:   Sat Sep 22 19:13:14 2012 +0200
>>>>
>>>> xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa
>>>>
>>>> * it doesn't make much sense with PV, because xserver-xorg-module-exa
>>>>    was introduced in
>>>>    http://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/xorg-xserver?id=1a666ee1cda3c0b74daba5881fc5f62e13deec66
>>>>    so our xserver-xorg-module-exa RCONFLICTS with xserver-xorg (<= 1.11.2-r4)
>>>>    and (< 1.11.2) is not good enough
>>>>
>>>> * because we don't know how many PRINC are in BSP/DISTRO layers,
>>>>    then it's safer to RCONFLICTS with every older version then current
>>>>    EXTENDPKGV
>>>>
>>>> Also fixes whitespace to work correctly with opkg
>>>
>>> The whitespace problem wasn't opkg fault AFAIK, but
>>> bb.utils.explode_dep_versions as shown in
>>> http://patchwork.openembedded.org/patch/37069/
>>
>> Ah and it was meant to be applied together with this patch, so now it's
>> missing PR bump..
>
> It keeps failing for me.
>





More information about the Openembedded-core mailing list