All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] xterm: split out resize into a separate package
@ 2014-02-27  3:18 Jonathan Liu
  2014-02-27  4:11 ` Khem Raj
  2014-03-05 18:06 ` Martin Jansa
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Liu @ 2014-02-27  3:18 UTC (permalink / raw)
  To: openembedded-devel

The resize program is useful on its own without xterm. For example, it
may be used to resize a serial console.

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta-oe/recipes-graphics/xorg-app/xterm_293.bb | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_293.bb b/meta-oe/recipes-graphics/xorg-app/xterm_293.bb
index 67853b9..61bf71e 100644
--- a/meta-oe/recipes-graphics/xorg-app/xterm_293.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xterm_293.bb
@@ -20,4 +20,13 @@ do_configure() {
     oe_runconf
 }
 
-FILES_${PN} += " /usr/lib/X11"
+PACKAGES =+ "${PN}-resize ${PN}-resize-dbg ${PN}-resize-doc"
+
+FILES_${PN} += "${libdir}/X11"
+FILES_${PN}-resize += "${bindir}/resize"
+FILES_${PN}-resize-dbg += "${bindir}/.debug/resize"
+FILES_${PN}-resize-doc += "${mandir}/man1/resize.1"
+
+RRECOMMENDS_${PN} += "${PN}-resize"
+RRECOMMENDS_${PN}-dbg += "${PN}-resize-dbg"
+RRECOMMENDS_${PN}-doc += "${PN}-resize-doc"
-- 
1.9.0



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

* Re: [meta-oe][PATCH v2] xterm: split out resize into a separate package
  2014-02-27  3:18 [meta-oe][PATCH v2] xterm: split out resize into a separate package Jonathan Liu
@ 2014-02-27  4:11 ` Khem Raj
  2014-03-05 18:06 ` Martin Jansa
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2014-02-27  4:11 UTC (permalink / raw)
  To: openembeded-devel

On Wed, Feb 26, 2014 at 7:18 PM, Jonathan Liu <net147@gmail.com> wrote:
> -FILES_${PN} += " /usr/lib/X11"
> +PACKAGES =+ "${PN}-resize ${PN}-resize-dbg ${PN}-resize-doc"
> +
> +FILES_${PN} += "${libdir}/X11"

Multilib case needs testing since libdir will change in that case


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

* Re: [meta-oe][PATCH v2] xterm: split out resize into a separate package
  2014-02-27  3:18 [meta-oe][PATCH v2] xterm: split out resize into a separate package Jonathan Liu
  2014-02-27  4:11 ` Khem Raj
@ 2014-03-05 18:06 ` Martin Jansa
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2014-03-05 18:06 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]

On Thu, Feb 27, 2014 at 02:18:22PM +1100, Jonathan Liu wrote:
> The resize program is useful on its own without xterm. For example, it
> may be used to resize a serial console.
> 
> Signed-off-by: Jonathan Liu <net147@gmail.com>
> ---
>  meta-oe/recipes-graphics/xorg-app/xterm_293.bb | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_293.bb b/meta-oe/recipes-graphics/xorg-app/xterm_293.bb
> index 67853b9..61bf71e 100644
> --- a/meta-oe/recipes-graphics/xorg-app/xterm_293.bb
> +++ b/meta-oe/recipes-graphics/xorg-app/xterm_293.bb
> @@ -20,4 +20,13 @@ do_configure() {
>      oe_runconf
>  }
>  
> -FILES_${PN} += " /usr/lib/X11"
> +PACKAGES =+ "${PN}-resize ${PN}-resize-dbg ${PN}-resize-doc"

I don't remember the reason now, but IIRC there should be just one -dbg
package per recipe (not sure about -doc), please check oe-core ML.

> +
> +FILES_${PN} += "${libdir}/X11"
> +FILES_${PN}-resize += "${bindir}/resize"
> +FILES_${PN}-resize-dbg += "${bindir}/.debug/resize"
> +FILES_${PN}-resize-doc += "${mandir}/man1/resize.1"
> +
> +RRECOMMENDS_${PN} += "${PN}-resize"
> +RRECOMMENDS_${PN}-dbg += "${PN}-resize-dbg"
> +RRECOMMENDS_${PN}-doc += "${PN}-resize-doc"
> -- 
> 1.9.0
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2014-03-05 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27  3:18 [meta-oe][PATCH v2] xterm: split out resize into a separate package Jonathan Liu
2014-02-27  4:11 ` Khem Raj
2014-03-05 18:06 ` Martin Jansa

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.