Skip to contentSkip to conversation

xterm: split out resize into a separate package

PATCH In review Jonathan Liu 3 participants 3 messages Feb 27, 2014 – Mar 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 xterm: split out resize into a separate package

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

---
 meta-oe/recipes-graphics/xorg-app/xterm_293.bb | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/xorg-app/xterm_293.bb +10 -1
index 67853b9..61bf71e 100644
@@ -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"
Signature · 1 line
1.9.0
#1 lore raw

meta-oe/recipes-graphics/xorg-app/xterm_293.bb do_configure() { · line 25

Quoted 4 lines · Jonathan Liu
meta-oe/recipes-graphics/xorg-app/xterm_293.bb +3 -1
-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

#2 lore raw
In reply to Jonathan Liu
Quoted 13 lines · Jonathan Liu

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

---
 meta-oe/recipes-graphics/xorg-app/xterm_293.bb | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/xorg-app/xterm_293.bb +0 -0
index 67853b9..61bf71e 100644

meta-oe/recipes-graphics/xorg-app/xterm_293.bb do_configure() { · line 23

Quoted 5 lines
meta-oe/recipes-graphics/xorg-app/xterm_293.bb +1 -1
@@ -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.

Quoted 16 lines
meta-oe/recipes-graphics/xorg-app/xterm_293.bb +9 -0
+
+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"
Signature · 6 lines
1.9.0

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]