diff options
| author | Marko Lindqvist <cazfi74@gmail.com> | 2013-02-11 06:00:48 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-12 13:22:43 +0000 |
| commit | 15b0bdc861da44c2d5eb6f9e4581b7fe69153f1d (patch) | |
| tree | b536080b3d2bf7414b36317e26d8d6cc89d5ecd0 | |
| parent | 17541bee4f41eb8c9240a0d962af3f422ac894f3 (diff) | |
| download | poky-15b0bdc861da44c2d5eb6f9e4581b7fe69153f1d.tar.gz | |
texinfo: remove help2man dependency
Remove manpage creation. It wasn't working because of help2man
missing when texinfo is being built. This attempt to create
manpages without help2man turns from no-op to hard error with
automake-1.13.
(From OE-Core rev: 2c8cebdfd8102d4386b5d42a7fc30cc81e8e2ef2)
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/texinfo/texinfo-4.13a/dont-depend-on-help2man.patch | 79 | ||||
| -rw-r--r-- | meta/recipes-extended/texinfo/texinfo_4.13a.bb | 3 |
2 files changed, 81 insertions, 1 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo-4.13a/dont-depend-on-help2man.patch b/meta/recipes-extended/texinfo/texinfo-4.13a/dont-depend-on-help2man.patch new file mode 100644 index 0000000000..13e0fc2da5 --- /dev/null +++ b/meta/recipes-extended/texinfo/texinfo-4.13a/dont-depend-on-help2man.patch | |||
| @@ -0,0 +1,79 @@ | |||
| 1 | Upstream-Status: Inappropŕiate | ||
| 2 | |||
| 3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
| 4 | diff -Nurd texinfo-4.13/doc/Makefile.am texinfo-4.13/doc/Makefile.am | ||
| 5 | --- texinfo-4.13/doc/Makefile.am 2008-09-18 21:31:56.000000000 +0300 | ||
| 6 | +++ texinfo-4.13/doc/Makefile.am 2013-02-08 03:13:40.943466946 +0200 | ||
| 7 | @@ -14,9 +14,6 @@ | ||
| 8 | info_TEXINFOS = texinfo.txi info-stnd.texi info.texi | ||
| 9 | DISTCLEANFILES = texinfo texinfo-* info*.info* | ||
| 10 | |||
| 11 | -man_MANS = info.1 infokey.1 install-info.1 makeinfo.1 texindex.1 \ | ||
| 12 | - info.5 texinfo.5 | ||
| 13 | - | ||
| 14 | # Use the programs built in our distribution, taking account of possible | ||
| 15 | # cross-compiling. | ||
| 16 | MAKEINFO = $(top_builddir)/$(native_tools)/makeinfo/makeinfo | ||
| 17 | @@ -36,7 +33,7 @@ | ||
| 18 | # Include our texinfo.tex, not Automake's. | ||
| 19 | EXTRA_DIST = epsf.tex texinfo.tex \ | ||
| 20 | fdl.texi \ | ||
| 21 | - $(man_MANS) $(TXI_XLATE) | ||
| 22 | + $(TXI_XLATE) | ||
| 23 | $(refcard_files) | ||
| 24 | |||
| 25 | if INSTALL_WARNINGS | ||
| 26 | @@ -77,38 +74,10 @@ | ||
| 27 | case $$program in info|install-info) program=g$$program;; \ | ||
| 28 | esac | ||
| 29 | |||
| 30 | -# Update the manpage for a binary program; set up the variables, | ||
| 31 | -# make sure the binary is up-to-date and then generate the man page. | ||
| 32 | -man_rule_bin = echo "Updating man page $@" && \ | ||
| 33 | - $(man_rule_0) && \ | ||
| 34 | - echo cd "$$dir" '&&' $(MAKE) $(AM_MAKEFLAGS) $$program$(EXEEXT) && \ | ||
| 35 | - (cd "$$dir" && $(MAKE) $(AM_MAKEFLAGS) $$program$(EXEEXT)) && \ | ||
| 36 | - echo $(HELP2MAN) --name=\""$$name"\" "$$dir/$$program" -o '$@' && \ | ||
| 37 | - $(HELP2MAN) --name="$$name" "$$dir/$$program" -o '$@' | ||
| 38 | - | ||
| 39 | -$(srcdir)/info.1: $(top_srcdir)/info/info.c $(common_mandeps) | ||
| 40 | - @name="read Info documents" && $(man_rule_bin) | ||
| 41 | -$(srcdir)/infokey.1: $(top_srcdir)/info/infokey.c $(common_mandeps) | ||
| 42 | - @name="compile customizations for Info" && $(man_rule_bin) | ||
| 43 | -$(srcdir)/install-info.1: $(top_srcdir)/install-info/install-info.c $(common_mandeps) | ||
| 44 | - @name="update info/dir entries" && $(man_rule_bin) | ||
| 45 | - | ||
| 46 | -# Here we need some postprocessing: | ||
| 47 | -$(srcdir)/makeinfo.1: $(top_srcdir)/makeinfo/makeinfo.c $(common_mandeps) | ||
| 48 | - @name="translate Texinfo documents" && $(man_rule_bin) | ||
| 49 | - mv $@ $@.tmp | ||
| 50 | - sed '/^\.IP$$/N;/\nAlso/s/I//;/\nThe/s/I//' $@.tmp >$@ | ||
| 51 | - rm $@.tmp | ||
| 52 | - | ||
| 53 | -$(srcdir)/texindex.1: $(util_srcdir)/texindex.c $(common_mandeps) | ||
| 54 | - @name="sort Texinfo index files" && $(man_rule_bin) | ||
| 55 | - | ||
| 56 | - | ||
| 57 | ## ---------- ## | ||
| 58 | ## texi2dvi. ## | ||
| 59 | ## ---------- ## | ||
| 60 | |||
| 61 | -man_MANS += texi2dvi.1 texi2pdf.1 pdftexi2dvi.1 | ||
| 62 | util_srcdir = $(top_srcdir)/util | ||
| 63 | |||
| 64 | # Do not depend on the current user's settings. | ||
| 65 | @@ -119,14 +88,5 @@ | ||
| 66 | common_texi2dvi_deps = $(common_mandeps) \ | ||
| 67 | $(util_srcdir)/texi2dvi $(util_srcdir)/texi2pdf | ||
| 68 | |||
| 69 | -$(srcdir)/texi2dvi.1: $(common_texi2dvi_deps) | ||
| 70 | - $(change_envvars); $(HELP2MAN) --name="convert Texinfo documents to DVI" $(util_srcdir)/texi2dvi >$@ | ||
| 71 | - | ||
| 72 | -$(srcdir)/texi2pdf.1: $(common_texi2dvi_deps) | ||
| 73 | - $(change_envvars); $(HELP2MAN) --name="convert Texinfo documents to PDF" $(util_srcdir)/texi2pdf >$@ | ||
| 74 | - | ||
| 75 | -$(srcdir)/pdftexi2dvi.1: $(common_texi2dvi_deps) | ||
| 76 | - $(change_envvars); $(HELP2MAN) --name="convert Texinfo documents to PDF" $(util_srcdir)/pdftexi2dvi >$@ | ||
| 77 | - | ||
| 78 | # Do not create info files for distribution. | ||
| 79 | dist-info: | ||
diff --git a/meta/recipes-extended/texinfo/texinfo_4.13a.bb b/meta/recipes-extended/texinfo/texinfo_4.13a.bb index 327faabddd..960cc5ea64 100644 --- a/meta/recipes-extended/texinfo/texinfo_4.13a.bb +++ b/meta/recipes-extended/texinfo/texinfo_4.13a.bb | |||
| @@ -6,7 +6,7 @@ HOMEPAGE = "http://www.gnu.org/software/texinfo/" | |||
| 6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
| 7 | LICENSE = "GPLv3+" | 7 | LICENSE = "GPLv3+" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010" |
| 9 | PR = "r5" | 9 | PR = "r6" |
| 10 | 10 | ||
| 11 | DEPENDS = "zlib ncurses texinfo-native" | 11 | DEPENDS = "zlib ncurses texinfo-native" |
| 12 | DEPENDS_class-native = "zlib-native ncurses-native" | 12 | DEPENDS_class-native = "zlib-native ncurses-native" |
| @@ -24,6 +24,7 @@ SRC_URI = "${GNU_MIRROR}/texinfo/texinfo-${PV}.tar.gz \ | |||
| 24 | file://link-zip.patch \ | 24 | file://link-zip.patch \ |
| 25 | file://gettext-macros.patch \ | 25 | file://gettext-macros.patch \ |
| 26 | file://texinfo_fix_for_automake-1.12.patch \ | 26 | file://texinfo_fix_for_automake-1.12.patch \ |
| 27 | file://dont-depend-on-help2man.patch \ | ||
| 27 | ${TARGET_PATCH}" | 28 | ${TARGET_PATCH}" |
| 28 | 29 | ||
| 29 | SRC_URI[md5sum] = "71ba711519209b5fb583fed2b3d86fcb" | 30 | SRC_URI[md5sum] = "71ba711519209b5fb583fed2b3d86fcb" |
