Skip to contentSkip to conversation

xterm: split out resize into a separate package

PATCH Superseded Jonathan Liu 2 participants 3 messages Feb 27, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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..acc5b87 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} += "/usr/lib/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
Quoted 1 line · Jonathan Liu

+FILES_${PN} += "/usr/lib/X11"

why is this hardcoded

#2 lore raw
Quoted 6 lines · Khem Raj
Quoted 1 line · Jonathan Liu

+FILES_${PN} += "/usr/lib/X11"

why is this hardcoded

It was originally like that. I have sent a V2 fixing it.

Regards,
Jonathan