From 0547b669414260960d9223953a8e104dec205710 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 13 Aug 2012 09:49:00 +0200 Subject: 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-extended/man/man_1.6f.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-extended/man/man_1.6f.bb') 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" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" -PR = "r4" +PR = "r5" DEPENDS = "groff less" @@ -54,7 +54,7 @@ do_install_append(){ mkdir -p ${D}${sysconfdir} mkdir -p ${D}${datadir}/man/man5 mkdir -p ${D}${datadir}/man/man7 - cp ${S}/src/man.conf ${D}${sysconfdir} + cp ${WORKDIR}/man.conf ${D}${sysconfdir}/man.config cp ${WORKDIR}/man.1.gz ${D}${datadir}/man/man1/ cp ${WORKDIR}/man.7.gz ${D}${datadir}/man/man7/ cp ${WORKDIR}/manpath.5.gz ${D}${datadir}/man/man5/ @@ -62,4 +62,4 @@ do_install_append(){ RDEPENDS_${PN} = "less groff" -FILES_${PN} += "${datadir}/locale ${sysconfdir}/man.conf" +FILES_${PN} += "${datadir}/locale ${sysconfdir}/man.config" -- cgit v1.2.3-54-g00ecf