Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Randy MacLeod <randy.macleod@windriver.com>
To: Trevor Gamblin <Trevor.Gamblin@windriver.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] quilt: added less to RDEPENDS list
Date: Wed, 21 Aug 2019 22:43:37 -0400	[thread overview]
Message-ID: <aed232e0-f899-bf56-d040-a7a671d3bee3@windriver.com> (raw)
In-Reply-To: <1566417666-22515-2-git-send-email-Trevor.Gamblin@windriver.com>

Re: [OE-core] [PATCH 2/2] quilt: added less to RDEPENDS list

s/added/add/

When in Rome:
$ cd .../oe-core
$ git log --oneline -10000 | grep -i add | wc -l
1376

$ git log --oneline -10000 | grep -i added | wc -l
19

On 8/21/19 4:01 PM, Trevor Gamblin wrote:
> From: Trevor Gamblin <trevor.gamblin@windriver.com>
> 
> The quilt "series" option relies on "less -R", but > BusyBox's implementation of less does not provide -R. It
> could be determined how to enable it in busybox's recipe,
> but given the use case it likely isn't needed.

That statement could be misleading, try:

The quilt "series" option relies on "less -R" but since
that option is not enabled by busybox in oe-core by default
so hard-code the dependency on 'less'.

 From 'man less':
    -r or --raw-control-chars
       Causes "raw" control characters to be displayed. ...
    -R or --RAW-CONTROL-CHARS
       Like -r, but only ANSI "color" escape sequences are
       output in "raw" form.  ...

In 2018, BusyBox's less added:
    8528d3d4f less: optional support of -R
but it is not enable by default for oe-core. While we could
enable the option, all known use-cases involve larger, more
developer-oriented recipes such as quilt or man pages.

---

I maintain that we need to resist adding one more wafer-thin
200 byte config to our default busybox config to avoid bloat
over the years. We wouldn't want the busybox package to burst!

../Randy

 > could be determined how to enable it in busybox's recipe,
 > but given the use case it likely isn't needed.
> 
> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   meta/recipes-devtools/quilt/quilt.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/quilt/quilt.inc b/meta/recipes-devtools/quilt/quilt.inc
> index dcba62c..433e9b4 100644
> --- a/meta/recipes-devtools/quilt/quilt.inc
> +++ b/meta/recipes-devtools/quilt/quilt.inc
> @@ -78,7 +78,7 @@ FILES_guards = "${bindir}/guards"
>   FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${BPN}"
>   FILES_guards-doc = "${mandir}/man1/guards.1"
>   
> -RDEPENDS_${PN} = "bash patch diffstat bzip2 util-linux"
> +RDEPENDS_${PN} = "bash patch diffstat bzip2 util-linux less"
>   RDEPENDS_${PN}_class-native = "diffstat-native patch-native bzip2-native"
>   
>   RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \
> 


-- 
# Randy MacLeod
# Wind River Linux


  reply	other threads:[~2019-08-22  2:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-21 20:01 [PATCH 1/2] quilt: Export missing QUILT_PC variable in ptest Makefile Trevor Gamblin
2019-08-21 20:01 ` [PATCH 2/2] quilt: added less to RDEPENDS list Trevor Gamblin
2019-08-22  2:43   ` Randy MacLeod [this message]
2019-08-22  3:35     ` Andre McCurdy
2019-08-22  2:59 ` [PATCH 1/2] quilt: Export missing QUILT_PC variable in ptest Makefile Randy MacLeod

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aed232e0-f899-bf56-d040-a7a671d3bee3@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=Trevor.Gamblin@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox