Patchwork [7/9] ncurses: drop empty dir to remove QA warning

login
register
mail settings
Submitter lumag
Date Dec. 13, 2011, 4:19 p.m.
Message ID <1323793193-31090-7-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/16831/
State New
Headers show

Comments

lumag - Dec. 13, 2011, 4:19 p.m.
ncurses doesn't install any files in ${libdir}/terminfo, drop that directory.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 meta/recipes-core/ncurses/ncurses.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Khem Raj - Dec. 13, 2011, 7:43 p.m.
On Tue, Dec 13, 2011 at 8:19 AM, Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com> wrote:
> ncurses doesn't install any files in ${libdir}/terminfo, drop that directory.
>

its a symlink terminfo -> ../share/terminfo
and in my case

$ ls ../share/terminfo/
.  ..  1  2  3  4  5  6  7  8  9  a  A  b  c  d  e  E  f  g  h  i  j
k  l  L  m  M  n  N  o  p  P  q  Q  r  s  t  u  v  w  x  X  z

> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> ---
>  meta/recipes-core/ncurses/ncurses.inc |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
> index 98f45a4..1449f34 100644
> --- a/meta/recipes-core/ncurses/ncurses.inc
> +++ b/meta/recipes-core/ncurses/ncurses.inc
> @@ -171,6 +171,8 @@ do_install() {
>         echo 'INPUT(AS_NEEDED(-ltinfo))' >>$f
>
>        oe_multilib_header curses.h
> +
> +       rm ${D}${libdir}/terminfo
>  }
>
>  python populate_packages_prepend () {
> --
> 1.7.7.3
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 98f45a4..1449f34 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -171,6 +171,8 @@  do_install() {
         echo 'INPUT(AS_NEEDED(-ltinfo))' >>$f
 
 	oe_multilib_header curses.h
+
+	rm ${D}${libdir}/terminfo
 }
 
 python populate_packages_prepend () {