All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xinit: add rxvt in RDEPENDS
@ 2020-06-22  1:51 Changqing Li
  2020-06-22  4:40 ` [OE-core] " Jacob Kroon
  0 siblings, 1 reply; 3+ messages in thread
From: Changqing Li @ 2020-06-22  1:51 UTC (permalink / raw)
  To: openembedded-core

From: Changqing Li <changqing.li@windriver.com>

fix below error:
/etc/X11/xinit/xinitrc: line 55: exec: xterm: not found

by default, xinit will generate /etc/X11/xinit/xinitrc,
and have below config in it:
XTERM -geometry 80x50+494+51 &
XTERM -geometry 80x20+494-0 &
exec XTERM -geometry 80x66+0+0 -name login

the default XTERM is xterm, but xterm is in meta-oe,
use rxvt instead

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta/recipes-graphics/xorg-app/xinit_1.4.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb b/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
index c9e28d9bba..2f2ba3af71 100644
--- a/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
+++ b/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
@@ -19,4 +19,7 @@ SRC_URI[sha256sum] = "de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa
 
 EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
 
-RDEPENDS_${PN} += "util-linux-mcookie"
+PACKAGECONFIG ??= "xterm"
+PACKAGECONFIG[xterm] = "--with-xterm=rxvt,,,"
+
+RDEPENDS_${PN} += "util-linux-mcookie rxvt-unicode"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] xinit: add rxvt in RDEPENDS
  2020-06-22  1:51 [PATCH] xinit: add rxvt in RDEPENDS Changqing Li
@ 2020-06-22  4:40 ` Jacob Kroon
  2020-06-22  7:28   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Jacob Kroon @ 2020-06-22  4:40 UTC (permalink / raw)
  To: Changqing Li, openembedded-core

On 6/22/20 3:51 AM, Changqing Li wrote:
> From: Changqing Li <changqing.li@windriver.com>
> 
> fix below error:
> /etc/X11/xinit/xinitrc: line 55: exec: xterm: not found
> 
> by default, xinit will generate /etc/X11/xinit/xinitrc,
> and have below config in it:
> XTERM -geometry 80x50+494+51 &
> XTERM -geometry 80x20+494-0 &
> exec XTERM -geometry 80x66+0+0 -name login
> 
> the default XTERM is xterm, but xterm is in meta-oe,
> use rxvt instead
> 
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
>   meta/recipes-graphics/xorg-app/xinit_1.4.1.bb | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb b/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
> index c9e28d9bba..2f2ba3af71 100644
> --- a/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
> +++ b/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
> @@ -19,4 +19,7 @@ SRC_URI[sha256sum] = "de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa
>   
>   EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
>   
> -RDEPENDS_${PN} += "util-linux-mcookie"
> +PACKAGECONFIG ??= "xterm"
> +PACKAGECONFIG[xterm] = "--with-xterm=rxvt,,,"
> +

Maybe "rxvt" would be a more suitable name for the PACKAGECONFIG ?

Jacob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] xinit: add rxvt in RDEPENDS
  2020-06-22  4:40 ` [OE-core] " Jacob Kroon
@ 2020-06-22  7:28   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2020-06-22  7:28 UTC (permalink / raw)
  To: Jacob Kroon, Changqing Li, openembedded-core

On Mon, 2020-06-22 at 06:40 +0200, Jacob Kroon wrote:
> On 6/22/20 3:51 AM, Changqing Li wrote:
> > From: Changqing Li <changqing.li@windriver.com>
> > 
> > fix below error:
> > /etc/X11/xinit/xinitrc: line 55: exec: xterm: not found
> > 
> > by default, xinit will generate /etc/X11/xinit/xinitrc,
> > and have below config in it:
> > XTERM -geometry 80x50+494+51 &
> > XTERM -geometry 80x20+494-0 &
> > exec XTERM -geometry 80x66+0+0 -name login
> > 
> > the default XTERM is xterm, but xterm is in meta-oe,
> > use rxvt instead
> > 
> > Signed-off-by: Changqing Li <changqing.li@windriver.com>
> > ---
> >   meta/recipes-graphics/xorg-app/xinit_1.4.1.bb | 5 ++++-
> >   1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
> > b/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
> > index c9e28d9bba..2f2ba3af71 100644
> > --- a/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
> > +++ b/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
> > @@ -19,4 +19,7 @@ SRC_URI[sha256sum] =
> > "de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa
> >   
> >   EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
> >   
> > -RDEPENDS_${PN} += "util-linux-mcookie"
> > +PACKAGECONFIG ??= "xterm"
> > +PACKAGECONFIG[xterm] = "--with-xterm=rxvt,,,"
> > +
> 
> Maybe "rxvt" would be a more suitable name for the PACKAGECONFIG ?

Also, the RDEPENDS should be in the PACKAGECONFIG entry itself.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-22  7:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22  1:51 [PATCH] xinit: add rxvt in RDEPENDS Changqing Li
2020-06-22  4:40 ` [OE-core] " Jacob Kroon
2020-06-22  7:28   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.