gnome.bbclass: inherit upstream-version-is-even

Submitted by Kang Kai on June 11, 2019, 8:37 a.m. | Patch ID: 162100

Details

Message ID 20190611083731.190996-1-kai.kang@windriver.com
State New
Headers show

Commit Message

Kang Kai June 11, 2019, 8:37 a.m.
From: Kai Kang <kai.kang@windriver.com>

According to gnome versioning policy, "Even/odd minor package versions
can be used respectively for stable/unstable releases.". Make
gnome.bbclass inherit upstream-version-is-even to comply with the
policy.

Ref:
https://developer.gnome.org/programming-guidelines/stable/versioning.html.en#stable-unstable-versions

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/classes/gnome.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/gnome.bbclass b/meta/classes/gnome.bbclass
index c6202bbb75..d3841e24ef 100644
--- a/meta/classes/gnome.bbclass
+++ b/meta/classes/gnome.bbclass
@@ -1 +1 @@ 
-inherit gnomebase gtk-icon-cache gconf mime
+inherit gnomebase gtk-icon-cache gconf mime upstream-version-is-even

Comments

Richard Purdie June 11, 2019, 8:41 a.m.
On Tue, 2019-06-11 at 04:37 -0400, kai.kang@windriver.com wrote:
> From: Kai Kang <kai.kang@windriver.com>
> 
> According to gnome versioning policy, "Even/odd minor package
> versions
> can be used respectively for stable/unstable releases.". Make
> gnome.bbclass inherit upstream-version-is-even to comply with the
> policy.
> 
> Ref:
> https://developer.gnome.org/programming-guidelines/stable/versioning.html.en#stable-unstable-versions
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  meta/classes/gnome.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

The question is whether all recipes using the gnome class use the gnome
version policy? I'm not sure that is true?

Cheers,

Richard
Kang Kai June 11, 2019, 9:07 a.m.
On 2019/6/11 下午4:41, Richard Purdie wrote:
> On Tue, 2019-06-11 at 04:37 -0400, kai.kang@windriver.com wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> According to gnome versioning policy, "Even/odd minor package
>> versions
>> can be used respectively for stable/unstable releases.". Make
>> gnome.bbclass inherit upstream-version-is-even to comply with the
>> policy.
>>
>> Ref:
>> https://developer.gnome.org/programming-guidelines/stable/versioning.html.en#stable-unstable-versions
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>>   meta/classes/gnome.bbclass | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
> The question is whether all recipes using the gnome class use the gnome
> version policy? I'm not sure that is true?

My thought was gnome.bbclass inherits gnonebase.bbclass which means the 
sources from gnome and should comply the version policy of gnome.
But I check it again and find that some packages override the SRC_URI 
such as pavucontrol which doesn't obey the policy. Please ignore it.


Thanks,
Kai


>
> Cheers,
>
> Richard
>
>
>
>