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>
This commit is contained in:
Alexander Kanavin
2024-12-04 07:49:12 +01:00
committed by Richard Purdie
parent 17b49cd089
commit 5ba74f4527
5 changed files with 39 additions and 85 deletions

View File

@@ -0,0 +1,29 @@
From f7572109b64db9ea5aa44078eaad25ad2a2283f8 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Thu, 28 Nov 2024 13:16:15 +0100
Subject: [PATCH] Makefile.am: do not build manpages
This requires help2man.
Upstream-Status: Inappropriate [oe-core doesn't provide help2man]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index f733797..1013fcf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,7 +66,7 @@ if HOST_IS_WINDOWS
endif
endif
SUBDIRS += install-info po po_document tp Pod-Simple-Texinfo texindex util \
- doc man
+ doc
SUBDIRS += js
endif
--
2.39.5

View File

@@ -1,8 +1,7 @@
From ee9d23373b488c4a499c561d71e6b6ba7ca1bd31 Mon Sep 17 00:00:00 2001
From db2c41668d62c234fa69c71db18c162500dd403f Mon Sep 17 00:00:00 2001
From: Joshua Lock <josh@linux.intel.com>
Date: Fri, 16 Sep 2011 15:35:48 -0700
Subject: [PATCH 1/3] texinfo: several changes to build without zlib and
ncurses
Subject: [PATCH] texinfo: several changes to build without zlib and ncurses
We already DEPEND on the native texinfo being present before building so
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>
1 file changed, 1 insertion(+), 23 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8094498..5b72fc1 100644
index 00626a3..5b725fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -247,29 +247,7 @@ AC_CANONICAL_BUILD
@@ -267,29 +267,7 @@ AC_CANONICAL_BUILD
# $native_tools is also added to SUBDIRS in the main Makefile.am,
# so that make compiles the native tools first.
#
@@ -50,6 +49,3 @@ index 8094498..5b72fc1 100644
AC_SUBST(native_tools)
AM_CONDITIONAL(TOOLS_ONLY, [[test "x$tools_only" = x1]])
--
2.39.2

View File

@@ -1,68 +0,0 @@
From e02be81fa68ddc7f939abd99de4e42759a0d5d8c Mon Sep 17 00:00:00 2001
From: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
Date: Tue, 29 Nov 2016 13:43:24 -0600
Subject: [PATCH 2/3] dont-depend-on-help2man
Upstream-Status: Inappropriate
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
---
doc/Makefile.am | 2 +-
man/Makefile.am | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e9e6298..f1b9895 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -63,7 +63,7 @@ refcard/txirefcard.pdf refcard/txirefcard-a4.pdf: refcard/txirefcard.tex
# Include our texinfo.tex, not Automake's.
EXTRA_DIST = epsf.tex texinfo.tex \
fdl.texi \
- $(man_MANS) $(TXI_XLATE) \
+ $(TXI_XLATE) \
$(refcard_files) \
texinfo-tex-test.texi texinfo-tex-test.WIDOWs \
texinfo-ja.tex short-sample-ja.texi \
diff --git a/man/Makefile.am b/man/Makefile.am
index f2c703f..61caeeb 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -11,27 +11,27 @@
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# These are generated using help2man.
-man_MANS = install-info.1 makeinfo.1 texindex.1 texi2dvi.1
+#man_MANS = install-info.1 makeinfo.1 texindex.1 texi2dvi.1
# These require the build in info/, thus can't do if we failed to find a
# terminal library.
if HAVE_TERMLIBS
-man_MANS += info.1
+#man_MANS += info.1
endif
# These are hand-written.
-man_MANS += info.5 texinfo.5
+#man_MANS += info.5 texinfo.5
-man_MANS += pod2texi.1
+#man_MANS += pod2texi.1
pod2texi.1: $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl
$(POD2MAN) $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl >"$@"
# These are just .so's to the common program.
-man_MANS += texi2any.1 texi2pdf.1 pdftexi2dvi.1
+#man_MANS += texi2any.1 texi2pdf.1 pdftexi2dvi.1
-EXTRA_DIST = $(man_MANS) ginfo.h2m
+EXTRA_DIST = ginfo.h2m
# Maintainers should be able to regenerate.
MAINTAINERCLEANFILES = $(man_MANS)
--
2.39.2

View File

@@ -1,7 +1,7 @@
From 33b85a3928895b812b37dc759c6de711802db45f Mon Sep 17 00:00:00 2001
From 0131013100bf0baabfc0f9a44341e0d9d7cca794 Mon Sep 17 00:00:00 2001
From: Saul Wold <sgw@linux.intel.com>
Date: Mon, 29 Jul 2013 15:02:34 -0700
Subject: [PATCH 3/3] texinfo: Update to 5.1
Subject: [PATCH] texinfo: Update to 5.1
Upstream-Status: Inappropriate [cross build specific]
@@ -11,10 +11,10 @@ Signed-off-by: Saul Wold <sgw@linux.intel.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/info/Makefile.am b/info/Makefile.am
index f57b341..a019aa7 100644
index 660d7f5..bed840a 100644
--- a/info/Makefile.am
+++ b/info/Makefile.am
@@ -77,7 +77,7 @@ cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \
@@ -81,7 +81,7 @@ cmd_sources = $(srcdir)/session.c $(srcdir)/echo-area.c $(srcdir)/infodoc.c \
# more than once.
funs.h: makedoc$(EXEEXT) $(cmd_sources)
rm -f $(generated_sources)
@@ -23,6 +23,3 @@ index f57b341..a019aa7 100644
# The following hack is necessary to hint make before the automatic
# dependencies are built.
--
2.39.2

View File

@@ -30,11 +30,11 @@ TARGET_PATCH:class-native = ""
SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \
file://0001-texinfo-several-changes-to-build-without-zlib-and-nc.patch \
file://0002-dont-depend-on-help2man.patch \
file://0001-Makefile.am-do-not-build-manpages.patch \
${TARGET_PATCH} \
"
SRC_URI[sha256sum] = "dd5710b3a53ac002644677a06145748e260592a35be182dc830ebebb79c5d5a0"
SRC_URI[sha256sum] = "a46b46b54fd79641a8af5be4ad525788956ccf9798d3113396abeafa9020ef63"
tex_texinfo = "texmf/tex/texinfo"