summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/man/man_1.6f.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-08-13 09:49:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:42 +0100
commit0547b669414260960d9223953a8e104dec205710 (patch)
tree70172a3205c595e022f09c34021b63408e885a20 /meta/recipes-extended/man/man_1.6f.bb
parentb6bbf40996e6242349843658e46d3752cea3a534 (diff)
downloadpoky-0547b669414260960d9223953a8e104dec205710.tar.gz
man: make man actually work by installing custom man.config
The default man.conf is named wrong and doesn't work. It references gtbl, while groff installs tbl and other things. This man.conf is imported from OE classic and runtime tested on angstrom. Before: root@beaglebone:~# man man sh: /usr/bin/gtbl: No such file or directory sh: line 0: echo: write error: Broken pipe gunzip: write: Broken pipe gunzip: error inflating sh: line 0: echo: write error: Broken pipe sh: line 0: echo: write error: Broken pipe After: root@beaglebone:~# man man MAN(1) Manual pager utils MAN(1) NAME man - an interface to the on-line reference manuals SYNOPSIS man [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-m system[,...]] [-M path] [-S list] [-e extension] [-i|-I] [--regex|--wildcard] [--names-only] [-a] [-u] [--no-subpages] [-P pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation] [--no-justifi- cation] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] [[section] page ...] ... man -k [apropos options] regexp ... man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ... man -f [whatis options] page ... man -l [-C file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-P pager] [-r prompt] [-7] [-E encoding] [-p string] [-t] [-T[device]] [-H[browser]] [-X[dpi]] [-Z] file ... man -w|-W [-C file] [-d] [-D] page ... man -c [-C file] [-d] [-D] page ... man [-hV] Check for config name: root@beaglebone:~# rm /etc/man.config root@beaglebone:~# man man Warning: cannot open configuration file /etc/man.config No manual entry for man As a bonus a bunch of references to the buildhost get removed from the config file. (From OE-Core rev: edff7ae2d2fbd9ccc69645f9f86f3b9d0a53cb23) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/man/man_1.6f.bb')
-rw-r--r--meta/recipes-extended/man/man_1.6f.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/man/man_1.6f.bb b/meta/recipes-extended/man/man_1.6f.bb
index 3dce1ae6cf..90bd0d30e1 100644
--- a/meta/recipes-extended/man/man_1.6f.bb
+++ b/meta/recipes-extended/man/man_1.6f.bb
@@ -5,7 +5,7 @@ HOMEPAGE = "http://primates.ximian.com/~flucifredi/man"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 6LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
7 7
8PR = "r4" 8PR = "r5"
9 9
10DEPENDS = "groff less" 10DEPENDS = "groff less"
11 11
@@ -54,7 +54,7 @@ do_install_append(){
54 mkdir -p ${D}${sysconfdir} 54 mkdir -p ${D}${sysconfdir}
55 mkdir -p ${D}${datadir}/man/man5 55 mkdir -p ${D}${datadir}/man/man5
56 mkdir -p ${D}${datadir}/man/man7 56 mkdir -p ${D}${datadir}/man/man7
57 cp ${S}/src/man.conf ${D}${sysconfdir} 57 cp ${WORKDIR}/man.conf ${D}${sysconfdir}/man.config
58 cp ${WORKDIR}/man.1.gz ${D}${datadir}/man/man1/ 58 cp ${WORKDIR}/man.1.gz ${D}${datadir}/man/man1/
59 cp ${WORKDIR}/man.7.gz ${D}${datadir}/man/man7/ 59 cp ${WORKDIR}/man.7.gz ${D}${datadir}/man/man7/
60 cp ${WORKDIR}/manpath.5.gz ${D}${datadir}/man/man5/ 60 cp ${WORKDIR}/manpath.5.gz ${D}${datadir}/man/man5/
@@ -62,4 +62,4 @@ do_install_append(){
62 62
63 63
64RDEPENDS_${PN} = "less groff" 64RDEPENDS_${PN} = "less groff"
65FILES_${PN} += "${datadir}/locale ${sysconfdir}/man.conf" 65FILES_${PN} += "${datadir}/locale ${sysconfdir}/man.config"