diff options
-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" |