Patchwork [meta-oe,2/2] nano: rreplaces/rconflicts nano-tiny

login
register
mail settings
Submitter Christopher Larson
Date June 28, 2012, 6:18 p.m.
Message ID <1340907500-14243-2-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/30815/
State New, archived
Headers show

Comments

Christopher Larson - June 28, 2012, 6:18 p.m.
Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
 meta-oe/recipes-support/nano/nano.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Khem Raj - June 29, 2012, 12:10 a.m.
On Thu, Jun 28, 2012 at 11:18 AM, Christopher Larson <kergoth@gmail.com> wrote:
> Signed-off-by: Christopher Larson <kergoth@gmail.com>
> ---
>  meta-oe/recipes-support/nano/nano.inc | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/nano/nano.inc b/meta-oe/recipes-support/nano/nano.inc
> index 2d52cab..9e9cc62 100644
> --- a/meta-oe/recipes-support/nano/nano.inc
> +++ b/meta-oe/recipes-support/nano/nano.inc
> @@ -7,8 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
>  SECTION = "console/utils"
>  DEPENDS = "ncurses"
>  RDEPENDS_${PN} = "ncurses-terminfo"
> +RREPLACES_${PN} += "nano-tiny"
> +RCONFLICTS_${PN} += "nano-tiny"
>
> -INC_PR = "r2"
> +INC_PR = "r3"

I was wondering if tinyness of nano can be turned into a PACKAGECONFIG ?

>
>  PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
>
> --
> 1.7.11
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Chris Larson - June 29, 2012, 12:20 a.m.
On Thu, Jun 28, 2012 at 5:10 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Thu, Jun 28, 2012 at 11:18 AM, Christopher Larson <kergoth@gmail.com> wrote:
>> Signed-off-by: Christopher Larson <kergoth@gmail.com>
>> ---
>>  meta-oe/recipes-support/nano/nano.inc | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-support/nano/nano.inc b/meta-oe/recipes-support/nano/nano.inc
>> index 2d52cab..9e9cc62 100644
>> --- a/meta-oe/recipes-support/nano/nano.inc
>> +++ b/meta-oe/recipes-support/nano/nano.inc
>> @@ -7,8 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
>>  SECTION = "console/utils"
>>  DEPENDS = "ncurses"
>>  RDEPENDS_${PN} = "ncurses-terminfo"
>> +RREPLACES_${PN} += "nano-tiny"
>> +RCONFLICTS_${PN} += "nano-tiny"
>>
>> -INC_PR = "r2"
>> +INC_PR = "r3"
>
> I was wondering if tinyness of nano can be turned into a PACKAGECONFIG ?

Good point, could do it that way too. Hmm.

Patch

diff --git a/meta-oe/recipes-support/nano/nano.inc b/meta-oe/recipes-support/nano/nano.inc
index 2d52cab..9e9cc62 100644
--- a/meta-oe/recipes-support/nano/nano.inc
+++ b/meta-oe/recipes-support/nano/nano.inc
@@ -7,8 +7,10 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
 SECTION = "console/utils"
 DEPENDS = "ncurses"
 RDEPENDS_${PN} = "ncurses-terminfo"
+RREPLACES_${PN} += "nano-tiny"
+RCONFLICTS_${PN} += "nano-tiny"
 
-INC_PR = "r2"
+INC_PR = "r3"
 
 PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"