diff options
author | Alexander Kanavin <alex@linutronix.de> | 2024-12-04 07:49:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-05 17:07:10 +0000 |
commit | 5ba74f45277f2abcd5cec91ac38d41a394e6a083 (patch) | |
tree | 550fdfd61e4e99c97f3be8a25c5ddc6de771bf37 | |
parent | 17b49cd08935acdaced6df27f24782afc47925dc (diff) | |
download | poky-5ba74f45277f2abcd5cec91ac38d41a394e6a083.tar.gz |
texinfo: update 7.1 -> 7.1.1
Rather than try to patch out specific manpages needing help2man,
simply don't build them: this is less prone to tricky rebase
conflicts.
(From OE-Core rev: 33bcc61ed8506b7cee339dc750999729a70ca078)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/texinfo/texinfo/0001-Makefile.am-do-not-build-manpages.patch | 29 | ||||
-rw-r--r-- | meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch | 12 | ||||
-rw-r--r-- | meta/recipes-extended/texinfo/texinfo/0002-dont-depend-on-help2man.patch | 68 | ||||
-rw-r--r-- | meta/recipes-extended/texinfo/texinfo/0003-texinfo-Update-to-5.1.patch | 11 | ||||
-rw-r--r-- | meta/recipes-extended/texinfo/texinfo_7.1.1.bb (renamed from meta/recipes-extended/texinfo/texinfo_7.1.bb) | 4 |
5 files changed, 39 insertions, 85 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo/0001-Makefile.am-do-not-build-manpages.patch b/meta/recipes-extended/texinfo/texinfo/0001-Makefile.am-do-not-build-manpages.patch new file mode 100644 index 0000000000..e3e8f30b5e --- /dev/null +++ b/meta/recipes-extended/texinfo/texinfo/0001-Makefile.am-do-not-build-manpages.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From f7572109b64db9ea5aa44078eaad25ad2a2283f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Thu, 28 Nov 2024 13:16:15 +0100 | ||
4 | Subject: [PATCH] Makefile.am: do not build manpages | ||
5 | |||
6 | This requires help2man. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-core doesn't provide help2man] | ||
9 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
10 | --- | ||
11 | Makefile.am | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/Makefile.am b/Makefile.am | ||
15 | index f733797..1013fcf 100644 | ||
16 | --- a/Makefile.am | ||
17 | +++ b/Makefile.am | ||
18 | @@ -66,7 +66,7 @@ if HOST_IS_WINDOWS | ||
19 | endif | ||
20 | endif | ||
21 | SUBDIRS += install-info po po_document tp Pod-Simple-Texinfo texindex util \ | ||
22 | - doc man | ||
23 | + doc | ||
24 | SUBDIRS += js | ||
25 | endif | ||
26 | |||
27 | -- | ||
28 | 2.39.5 | ||
29 | |||
diff --git a/meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch b/meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch index b43a115b23..8ddf50261d 100644 --- a/meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch +++ b/meta/recipes-extended/texinfo/texinfo/0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch | |||
@@ -1,8 +1,7 @@ | |||
1 | From ee9d23373b488c4a499c561d71e6b6ba7ca1bd31 Mon Sep 17 00:00:00 2001 | 1 | From db2c41668d62c234fa69c71db18c162500dd403f Mon Sep 17 00:00:00 2001 |
2 | From: Joshua Lock <josh@linux.intel.com> | 2 | From: Joshua Lock <josh@linux.intel.com> |
3 | Date: Fri, 16 Sep 2011 15:35:48 -0700 | 3 | Date: Fri, 16 Sep 2011 15:35:48 -0700 |
4 | Subject: [PATCH 1/3] texinfo: several changes to build without zlib and | 4 | Subject: [PATCH] texinfo: several changes to build without zlib and ncurses |
5 | ncurses | ||
6 | 5 | ||
7 | We already DEPEND on the native texinfo being present before building so | 6 | We already DEPEND on the native texinfo being present before building so |
8 | there isn't any need to try and build the required native texinfo binaries | 7 | there isn't any need to try and build the required native texinfo binaries |
@@ -16,10 +15,10 @@ Signed-off-by: Joshua Lock <josh@linux.intel.com> | |||
16 | 1 file changed, 1 insertion(+), 23 deletions(-) | 15 | 1 file changed, 1 insertion(+), 23 deletions(-) |
17 | 16 | ||
18 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
19 | index 8094498..5b72fc1 100644 | 18 | index 00626a3..5b725fe 100644 |
20 | --- a/configure.ac | 19 | --- a/configure.ac |
21 | +++ b/configure.ac | 20 | +++ b/configure.ac |
22 | @@ -247,29 +247,7 @@ AC_CANONICAL_BUILD | 21 | @@ -267,29 +267,7 @@ AC_CANONICAL_BUILD |
23 | # $native_tools is also added to SUBDIRS in the main Makefile.am, | 22 | # $native_tools is also added to SUBDIRS in the main Makefile.am, |
24 | # so that make compiles the native tools first. | 23 | # so that make compiles the native tools first. |
25 | # | 24 | # |
@@ -50,6 +49,3 @@ index 8094498..5b72fc1 100644 | |||
50 | AC_SUBST(native_tools) | 49 | AC_SUBST(native_tools) |
51 | AM_CONDITIONAL(TOOLS_ONLY, [[test "x$tools_only" = x1]]) | 50 | AM_CONDITIONAL(TOOLS_ONLY, [[test "x$tools_only" = x1]]) |
52 | 51 | ||
53 | -- | ||
54 | 2.39.2 | ||
55 | |||
diff --git a/meta/recipes-extended/texinfo/texinfo/0002-dont-depend-on-help2man.patch b/meta/recipes-extended/texinfo/texinfo/0002-dont-depend-on-help2man.patch deleted file mode 100644 index f3b6827d58..0000000000 --- a/meta/recipes-extended/texinfo/texinfo/0002-dont-depend-on-help2man.patch +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | From e02be81fa68ddc7f939abd99de4e42759a0d5d8c Mon Sep 17 00:00:00 2001 | ||
2 | From: Edwin Plauchu <edwin.plauchu.camacho@intel.com> | ||
3 | Date: Tue, 29 Nov 2016 13:43:24 -0600 | ||
4 | Subject: [PATCH 2/3] dont-depend-on-help2man | ||
5 | |||
6 | Upstream-Status: Inappropriate | ||
7 | |||
8 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
9 | Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com> | ||
10 | --- | ||
11 | doc/Makefile.am | 2 +- | ||
12 | man/Makefile.am | 12 ++++++------ | ||
13 | 2 files changed, 7 insertions(+), 7 deletions(-) | ||
14 | |||
15 | diff --git a/doc/Makefile.am b/doc/Makefile.am | ||
16 | index e9e6298..f1b9895 100644 | ||
17 | --- a/doc/Makefile.am | ||
18 | +++ b/doc/Makefile.am | ||
19 | @@ -63,7 +63,7 @@ refcard/txirefcard.pdf refcard/txirefcard-a4.pdf: refcard/txirefcard.tex | ||
20 | # Include our texinfo.tex, not Automake's. | ||
21 | EXTRA_DIST = epsf.tex texinfo.tex \ | ||
22 | fdl.texi \ | ||
23 | - $(man_MANS) $(TXI_XLATE) \ | ||
24 | + $(TXI_XLATE) \ | ||
25 | $(refcard_files) \ | ||
26 | texinfo-tex-test.texi texinfo-tex-test.WIDOWs \ | ||
27 | texinfo-ja.tex short-sample-ja.texi \ | ||
28 | diff --git a/man/Makefile.am b/man/Makefile.am | ||
29 | index f2c703f..61caeeb 100644 | ||
30 | --- a/man/Makefile.am | ||
31 | +++ b/man/Makefile.am | ||
32 | @@ -11,27 +11,27 @@ | ||
33 | # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
34 | |||
35 | # These are generated using help2man. | ||
36 | -man_MANS = install-info.1 makeinfo.1 texindex.1 texi2dvi.1 | ||
37 | +#man_MANS = install-info.1 makeinfo.1 texindex.1 texi2dvi.1 | ||
38 | |||
39 | # These require the build in info/, thus can't do if we failed to find a | ||
40 | # terminal library. | ||
41 | if HAVE_TERMLIBS | ||
42 | -man_MANS += info.1 | ||
43 | +#man_MANS += info.1 | ||
44 | endif | ||
45 | |||
46 | # These are hand-written. | ||
47 | -man_MANS += info.5 texinfo.5 | ||
48 | +#man_MANS += info.5 texinfo.5 | ||
49 | |||
50 | -man_MANS += pod2texi.1 | ||
51 | +#man_MANS += pod2texi.1 | ||
52 | |||
53 | pod2texi.1: $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl | ||
54 | $(POD2MAN) $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl >"$@" | ||
55 | |||
56 | |||
57 | # These are just .so's to the common program. | ||
58 | -man_MANS += texi2any.1 texi2pdf.1 pdftexi2dvi.1 | ||
59 | +#man_MANS += texi2any.1 texi2pdf.1 pdftexi2dvi.1 | ||
60 | |||
61 | -EXTRA_DIST = $(man_MANS) ginfo.h2m | ||
62 | +EXTRA_DIST = ginfo.h2m | ||
63 | |||
64 | # Maintainers should be able to regenerate. | ||
65 | MAINTAINERCLEANFILES = $(man_MANS) | ||
66 | -- | ||
67 | 2.39.2 | ||
68 | |||
diff --git a/meta/recipes-extended/texinfo/texinfo/0003-texinfo-Update-to-5.1.patch b/meta/recipes-extended/texinfo/texinfo/0003-texinfo-Update-to-5.1.patch index f99f8b87d5..4985d30503 100644 --- a/meta/recipes-extended/texinfo/texinfo/0003-texinfo-Update-to-5.1.patch +++ b/meta/recipes-extended/texinfo/texinfo/0003-texinfo-Update-to-5.1.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 33b85a3928895b812b37dc759c6de711802db45f Mon Sep 17 00:00:00 2001 | 1 | From 0131013100bf0baabfc0f9a44341e0d9d7cca794 Mon Sep 17 00:00:00 2001 |
2 | From: Saul Wold <sgw@linux.intel.com> | 2 | From: Saul Wold <sgw@linux.intel.com> |
3 | Date: Mon, 29 Jul 2013 15:02:34 -0700 | 3 | Date: Mon, 29 Jul 2013 15:02:34 -0700 |
4 | Subject: [PATCH 3/3] texinfo: Update to 5.1 | 4 | Subject: [PATCH] texinfo: Update to 5.1 |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [cross build specific] | 6 | Upstream-Status: Inappropriate [cross build specific] |
7 | 7 | ||
@@ -11,10 +11,10 @@ Signed-off-by: Saul Wold <sgw@linux.intel.com> | |||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
12 | 12 | ||
13 | diff --git a/info/Makefile.am b/info/Makefile.am | 13 | diff --git a/info/Makefile.am b/info/Makefile.am |
14 | index f57b341..a019aa7 100644 | 14 | index 660d7f5..bed840a 100644 |
15 | --- a/info/Makefile.am | 15 | --- a/info/Makefile.am |
16 | +++ b/info/Makefile.am | 16 | +++ b/info/Makefile.am |
17 | @@ -77,7 +77,7 @@ cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \ | 17 | @@ -81,7 +81,7 @@ cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \ |
18 | # more than once. | 18 | # more than once. |
19 | funs.h: makedoc$(EXEEXT) $(cmd_sources) | 19 | funs.h: makedoc$(EXEEXT) $(cmd_sources) |
20 | rm -f $(generated_sources) | 20 | rm -f $(generated_sources) |
@@ -23,6 +23,3 @@ index f57b341..a019aa7 100644 | |||
23 | 23 | ||
24 | # The following hack is necessary to hint make before the automatic | 24 | # The following hack is necessary to hint make before the automatic |
25 | # dependencies are built. | 25 | # dependencies are built. |
26 | -- | ||
27 | 2.39.2 | ||
28 | |||
diff --git a/meta/recipes-extended/texinfo/texinfo_7.1.bb b/meta/recipes-extended/texinfo/texinfo_7.1.1.bb index 65d8252fb9..cc8683f085 100644 --- a/meta/recipes-extended/texinfo/texinfo_7.1.bb +++ b/meta/recipes-extended/texinfo/texinfo_7.1.1.bb | |||
@@ -30,11 +30,11 @@ TARGET_PATCH:class-native = "" | |||
30 | 30 | ||
31 | SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \ | 31 | SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \ |
32 | file://0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch \ | 32 | file://0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch \ |
33 | file://0002-dont-depend-on-help2man.patch \ | 33 | file://0001-Makefile.am-do-not-build-manpages.patch \ |
34 | ${TARGET_PATCH} \ | 34 | ${TARGET_PATCH} \ |
35 | " | 35 | " |
36 | 36 | ||
37 | SRC_URI[sha256sum] = "dd5710b3a53ac002644677a06145748e260592a35be182dc830ebebb79c5d5a0" | 37 | SRC_URI[sha256sum] = "a46b46b54fd79641a8af5be4ad525788956ccf9798d3113396abeafa9020ef63" |
38 | 38 | ||
39 | tex_texinfo = "texmf/tex/texinfo" | 39 | tex_texinfo = "texmf/tex/texinfo" |
40 | 40 | ||