Skip to contentSkip to conversation

e-wm-menu problem

PATCH Koen Kooi 4 participants 4 messages Nov 26, 2009

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

Hi,

Lately I've notice a problem when building and installing e-wm: it drags in e-menu-shr. It's due to (improper) usage of RPROVIDES + RCONFLICTS.

My proposal is that images should choose which applications.menu they are using (the one from gnome-desktop, e-wm, e-menu-shr-etc) and have e-wm stop RRECOMMENDING it.

The basic patch looks like this:

recipes/e17/e-wm_svn.bb +3 -4
@@ -3,7 +3,7 @@ DEPENDS = "eet evas ecore edje efreet edbus"
-PR = "r7"
+PR = "r8"
 
@@ -90,7 +90,6 @@ RRECOMMENDS_${PN} = "\
-  ${PN}-menu \
 
--- a/recipes/shr/e-wm-menu-shr_git.bb
+++ b/recipes/shr/e-wm-menu-shr_git.bb
@@ -2,8 +2,8 @@ DESCRIPTION = "illume SHR applications.menu config"
 
+PR = "r1"
 
-RPROVIDES_${PN} = "e-wm-menu"
 

And then a + <menu of choice> in your tasks and/or images.

What do you think about it?

regards,

Koen

#1 lore raw
Quoted 31 lines · Koen Kooi

Hi,

Lately I've notice a problem when building and installing e-wm: it drags in e-menu-shr. It's due to (improper) usage of RPROVIDES + RCONFLICTS.

My proposal is that images should choose which applications.menu they are using (the one from gnome-desktop, e-wm, e-menu-shr-etc) and have e-wm stop RRECOMMENDING it.

The basic patch looks like this:

recipes/e17/e-wm_svn.bb +1 -2
@@ -3,7 +3,7 @@ DEPENDS = "eet evas ecore edje efreet edbus"
-PR = "r7"
+PR = "r8"
 
@@ -90,7 +90,6 @@ RRECOMMENDS_${PN} = "\
-  ${PN}-menu \
 
recipes/shr/e-wm-menu-shr_git.bb +1 -1
@@ -2,8 +2,8 @@ DESCRIPTION = "illume SHR applications.menu config"
 
+PR = "r1"
 
-RPROVIDES_${PN} = "e-wm-menu"
 

And then a + <menu of choice> in your tasks and/or images.

Quoted 1 line

What do you think about it?

Fine for us - will just add it to the SHR image... And sorry for breaking it :|

Quoted 3 lines

regards,

Koen

Thanks

Signature · 1 line
Klaus 'mrmoku' Kurzmann
#2 lore raw
In reply to Koen Kooi

Am Donnerstag, den 26.11.2009, 09:20 +0100 schrieb Koen Kooi:

Quoted 6 lines

Lately I've notice a problem when building and installing e-wm: it drags in e-menu-shr. It's due to (improper) usage of RPROVIDES + RCONFLICTS.

My proposal is that images should choose which applications.menu they are using (the one from gnome-desktop, e-wm, e-menu-shr-etc) and have e-wm stop RRECOMMENDING it.

I think we should not remove it but rather move this to an RSUGGESTS, so that we have at least a small connection left in the package that suggests(sic!) that this package is supposed to work best if it has an accompanying package that provides the menu config.

:M:

#3 lore raw
Quoted 4 lines · Michael 'Mickey' Lauer

Am Donnerstag, den 26.11.2009, 09:20 +0100 schrieb Koen Kooi:

Quoted 3 lines

Lately I've notice a problem when building and installing e-wm: it drags in e-menu-shr. It's due to (improper) usage of RPROVIDES + RCONFLICTS.

Quoted 8 lines
Quoted 3 lines

My proposal is that images should choose which applications.menu they are using (the one from gnome-desktop, e-wm, e-menu-shr-etc) and have e-wm stop RRECOMMENDING it.

I think we should not remove it but rather move this to an RSUGGESTS, so that we have at least a small connection left in the package that suggests(sic!) that this package is supposed to work best if it has an accompanying package that provides the menu config.

That sounds OK, though I don't quite understand what the problem is with using Recommends: here. If opkg is installing e-menu-shr due to the recommendation even though another satisfier is already installed, that's a bug in opkg and ought really to be fixed there. It would be a little bit sad if we had to stop using Recommends altogether just because opkg gets it wrong sometimes.

p.