]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
autoconf: upgrade to 2.73
authorRoss Burton <ross.burton@arm.com>
Mon, 30 Mar 2026 13:28:24 +0000 (14:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Apr 2026 09:30:27 +0000 (10:30 +0100)
man-host-perl.patch and autoreconf-exclude.patch are now upstream.

Remove a hunk from autotest-automake-result-format.patch that has no
purpose.

License-Update: postal address changed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch [deleted file]
meta/recipes-devtools/autoconf/autoconf/autotest-automake-result-format.patch
meta/recipes-devtools/autoconf/autoconf/man-host-perl.patch [deleted file]
meta/recipes-devtools/autoconf/autoconf_2.73.bb [moved from meta/recipes-devtools/autoconf/autoconf_2.72.bb with 81% similarity]

diff --git a/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch b/meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch
deleted file mode 100644 (file)
index 2814196..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-From 1a50157aa11da48921200a0d8d4308863716eab0 Mon Sep 17 00:00:00 2001
-From: Ross Burton <ross.burton@intel.com>
-Date: Thu, 12 Mar 2020 17:25:23 +0000
-Subject: [PATCH] autoreconf-exclude.patch
-
-Upstream-Status: Inappropriate [oe specific]
-
----
- bin/autoreconf.in | 26 ++++++++++++++++++++++++++
- 1 file changed, 26 insertions(+)
-
-diff --git a/bin/autoreconf.in b/bin/autoreconf.in
-index 98ebab6..937f758 100644
---- a/bin/autoreconf.in
-+++ b/bin/autoreconf.in
-@@ -83,6 +83,7 @@ Operation modes:
-   -i, --install            copy missing standard auxiliary files
-       --no-recursive       don't rebuild sub-packages
-   -s, --symlink            with -i, install symbolic links instead of copies
-+  -x, --exclude=STEPS      steps we should not run
-   -m, --make               when applicable, re-run ./configure && make
-   -W, --warnings=CATEGORY  report the warnings falling in CATEGORY
-                            (comma-separated list accepted)
-@@ -141,6 +142,10 @@ my $run_make = 0;
- # Recurse into subpackages
- my $recursive = 1;
-+# Steps to exclude
-+my @exclude;
-+my @ex;
-+
- ## ---------- ##
- ## Routines.  ##
- ## ---------- ##
-@@ -161,6 +166,7 @@ sub parse_args ()
-         'B|prepend-include=s'  => \@prepend_include,
-         'i|install'            => \$install,
-         's|symlink'            => \$symlink,
-+        'x|exclude=s'          => \@exclude,
-         'm|make'               => \$run_make,
-         'recursive!'           => \$recursive);
-@@ -170,6 +176,8 @@ sub parse_args ()
-   parse_WARNINGS;
-   parse_warnings @warning;
-+  @exclude = map { split /,/ } @exclude;
-+
-   # Even if the user specified a configure.ac, trim to get the
-   # directory, and look for configure.ac again.  Because (i) the code
-   # is simpler, and (ii) we are still able to diagnose simultaneous
-@@ -493,8 +501,11 @@ sub autoreconf_current_directory ($)
-     }
-   else
-     {
-+      @ex = grep (/^autopoint$/, @exclude);
-+      if ($#ex == -1) {
-       xsystem_hint ("autopoint is needed because this package uses Gettext",
-                     $autopoint);
-+      }
-     }
-@@ -691,9 +702,12 @@ sub autoreconf_current_directory ($)
-       {
-         $libtoolize .= " --ltdl";
-       }
-+      @ex = grep (/^libtoolize$/, @exclude);
-+      if ($#ex == -1) {
-       xsystem_hint ("libtoolize is needed because this package uses Libtool",
-                   $libtoolize);
-       $rerun_aclocal = 1;
-+      }
-     }
-   else
-     {
-@@ -730,8 +744,11 @@ sub autoreconf_current_directory ($)
-     }
-   elsif ($install)
-     {
-+      @ex = grep (/^gtkdocize$/, @exclude);
-+      if ($#ex == -1) {
-       xsystem_hint ("gtkdocize is needed because this package uses Gtkdoc",
-                   $gtkdocize);
-+      }
-     }
-   else
-     {
-@@ -769,7 +786,10 @@ sub autoreconf_current_directory ($)
-   # latter runs the former, and (ii) autoconf is stricter than
-   # autoheader.  So all in all, autoconf should give better error
-   # messages.
-+  @ex = grep (/^autoconf$/, @exclude);
-+  if ($#ex == -1) {
-   xsystem ($autoconf);
-+  }
-   # -------------------- #
-@@ -790,7 +810,10 @@ sub autoreconf_current_directory ($)
-     }
-   else
-     {
-+      @ex = grep (/^autoheader$/, @exclude);
-+      if ($#ex == -1) {
-       xsystem ($autoheader);
-+      }
-     }
-@@ -807,7 +830,10 @@ sub autoreconf_current_directory ($)
-       # We should always run automake, and let it decide whether it shall
-       # update the file or not.  In fact, the effect of '$force' is already
-       # included in '$automake' via '--no-force'.
-+      @ex = grep (/^automake$/, @exclude);
-+      if ($#ex == -1) {
-       xsystem ($automake);
-+      }
-     }
-   # ---------------------------------------------------- #
index 38725574bac8a6b0ccf934af3751482d07a307ac..d88e16b52fbcbb5a0be319af4177fcccdc955665 100644 (file)
@@ -34,21 +34,6 @@ index bf18866..8097523 100644
      [[0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9]])
        at_fn_validate_ranges at_option
        AS_VAR_APPEND([at_groups], ["$at_option$as_nl"])
-@@ -728,10 +735,10 @@ m4_divert_push([HELP_MODES])dnl
- cat <<_ATEOF || at_write_fail=1
- Operation modes:
--  -h, --help     print the help message, then exit
--  -V, --version  print version number, then exit
--  -c, --clean    remove all the files this test suite might create and exit
--  -l, --list     describes all the tests, or the selected TESTS
-+  -h, --help      print the help message, then exit
-+  -V, --version   print version number, then exit
-+  -c, --clean     remove all the files this test suite might create and exit
-+  -l, --list      describes all the tests, or the selected TESTS
- _ATEOF
- m4_divert_pop([HELP_MODES])dnl
- m4_wrap([m4_divert_push([HELP_TUNING_BEGIN])dnl
 @@ -757,6 +764,7 @@ Execution tuning:
    -d, --debug    inhibit clean up and top-level logging
  [                 default for debugging scripts]
diff --git a/meta/recipes-devtools/autoconf/autoconf/man-host-perl.patch b/meta/recipes-devtools/autoconf/autoconf/man-host-perl.patch
deleted file mode 100644 (file)
index 0f49583..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1c033f2a23941c46d88b9ac279f87bf2c6e99499 Mon Sep 17 00:00:00 2001
-From: Ross Burton <ross.burton@arm.com>
-Date: Wed, 15 Jul 2020 16:03:21 +0100
-Subject: [PATCH] Don't use the target perl when regenerating the man pages.
-
-Upstream-Status: Inappropriate
-Signed-off-by: Ross Burton <ross.burton@arm.com>
-
----
- man/local.mk | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/man/local.mk b/man/local.mk
-index 775c131..ba94753 100644
---- a/man/local.mk
-+++ b/man/local.mk
-@@ -77,13 +77,12 @@ SUFFIXES += .w .1
-       @echo "Updating man page $@"
-       $(MKDIR_P) $(@D)
-       PATH="$(top_srcdir)/man$(PATH_SEPARATOR)$$PATH"; \
--      PERL="$(PERL)"; \
-       PACKAGE_NAME="$(PACKAGE_NAME)"; \
-       VERSION="$(VERSION)"; \
-       RELEASE_YEAR="$(RELEASE_YEAR)"; \
-       top_srcdir="$(top_srcdir)"; \
-       channeldefs_pm="$(channeldefs_pm)"; \
--      export PATH PERL PACKAGE_NAME VERSION RELEASE_YEAR; \
-+      export PATH PACKAGE_NAME VERSION RELEASE_YEAR; \
-       export top_srcdir channeldefs_pm; \
-       $(HELP2MAN) \
-           --include=$(srcdir)/$*.x \
similarity index 81%
rename from meta/recipes-devtools/autoconf/autoconf_2.72.bb
rename to meta/recipes-devtools/autoconf/autoconf_2.73.bb
index b599f270c79f0f8c2e77d07bbc3bd67897313c2b..2dd8fb27721edfb971f0fc8c03d3c6b3ddc1acd9 100644 (file)
@@ -8,27 +8,22 @@ SECTION = "devel"
 DEPENDS = "m4-native autoconf-native automake-native gnu-config-native help2man-native"
 DEPENDS:remove:class-native = "autoconf-native automake-native help2man-native"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=cc3f3a7596cb558bbd9eb7fbaa3ef16c \
+LIC_FILES_CHKSUM = "file://COPYING;md5=570a9b3749dd0463a1778803b12a6dce \
                    file://COPYINGv3;md5=1ebbd3e34237af26da5dc08a4e440464"
 
 SRC_URI = " \
            ${GNU_MIRROR}/autoconf/${BP}.tar.gz \
            file://program_prefix.patch \
-           file://autoreconf-exclude.patch \
            file://remove-usr-local-lib-from-m4.patch \
            file://preferbash.patch \
            file://autotest-automake-result-format.patch \
-           file://man-host-perl.patch \
 "
 SRC_URI:append:class-native = " file://no-man.patch"
 
-SRC_URI[sha256sum] = "afb181a76e1ee72832f6581c0eddf8df032b83e2e0239ef79ebedc4467d92d6e"
+SRC_URI[sha256sum] = "259ddfa3bddc799cfb81489cc0f17dfdf1bd6d1505dda53c0f45ff60d6a4f9a7"
 
-# Remove this when upgrading past 2.72, as package managers sort 2.72e (the
-# fifth release candidate) after 2.72.
-PKGV = "2.72e+really${PV}"
-
-RDEPENDS:${PN} = "m4 gnu-config \
+RDEPENDS:${PN} = "m4 \
+                 gnu-config \
                  perl \
                  perl-module-bytes \
                  perl-module-carp \
@@ -45,13 +40,13 @@ RDEPENDS:${PN} = "m4 gnu-config \
                  perl-module-file-spec \
                  perl-module-file-spec-unix \
                  perl-module-file-stat \
-                  perl-module-file-temp \
+                 perl-module-file-temp \
                  perl-module-getopt-long \
                  perl-module-io-file \
-                  perl-module-list-util \
+                 perl-module-list-util \
                  perl-module-overloading \
                  perl-module-posix \
-                  perl-module-scalar-util \
+                 perl-module-scalar-util \
                  perl-module-symbol \
                  perl-module-thread-queue \
                  perl-module-threads \