From 9c1d1ddf5e2c3a8beed1a2937dea0f2b9edd5c71 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 26 Dec 2013 23:00:53 +0800 Subject: automake: upgrade to 1.14 Upgrade from 1.13.4 to 1.14: - Remove the PATHFIXPATCH variable and path_prog_fixes.patch since the problem can be fixed by the do_install_append(). - Remove prefer-cpio-over-pax-for-ustar-archives.patch since it have been fixed by the upgrade. (From OE-Core rev: a223d646de4074ec792b879b8d21497c58c7bd4a) Signed-off-by: Robert Yang Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../automake/automake/path_prog_fixes.patch | 41 ------------------ .../prefer-cpio-over-pax-for-ustar-archives.patch | 48 ---------------------- meta/recipes-devtools/automake/automake_1.13.4.bb | 48 ---------------------- meta/recipes-devtools/automake/automake_1.14.bb | 42 +++++++++++++++++++ 4 files changed, 42 insertions(+), 137 deletions(-) delete mode 100644 meta/recipes-devtools/automake/automake/path_prog_fixes.patch delete mode 100644 meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch delete mode 100644 meta/recipes-devtools/automake/automake_1.13.4.bb create mode 100644 meta/recipes-devtools/automake/automake_1.14.bb (limited to 'meta') diff --git a/meta/recipes-devtools/automake/automake/path_prog_fixes.patch b/meta/recipes-devtools/automake/automake/path_prog_fixes.patch deleted file mode 100644 index 9ee0672..0000000 --- a/meta/recipes-devtools/automake/automake/path_prog_fixes.patch +++ /dev/null @@ -1,41 +0,0 @@ -Upstream-Status: Inappropriate [embedded specific] - ---- - Makefile.am | 3 ++- - Makefile.in | 3 ++- - aclocal.in | 4 ++-- - automake.in | 6 ++++-- - 4 files changed, 10 insertions(+), 6 deletions(-) - -Index: automake-1.12.1/aclocal.in -=================================================================== ---- automake-1.12.1.orig/aclocal.in -+++ automake-1.12.1/aclocal.in -@@ -1,8 +1,8 @@ --#!@PERL@ -w -+#!@bindir@/env perl - # -*- perl -*- - # @configure_input@ - --eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' -+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @bindir@/env perl -S "$0" "$@";; esac' - if 0; - - # aclocal - create aclocal.m4 by scanning configure.ac -Index: automake-1.12.1/automake.in -=================================================================== ---- automake-1.12.1.orig/automake.in -+++ automake-1.12.1/automake.in -@@ -1,8 +1,10 @@ --#!@PERL@ -w -+#!@bindir@/env perl - # -*- perl -*- - # @configure_input@ - --eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' -+use warnings; -+ -+eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @bindir@/env perl -S "$0" "$@";; esac' - if 0; - - # automake - create Makefile.in from Makefile.am diff --git a/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch b/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch deleted file mode 100644 index 6ffff83..0000000 --- a/meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch +++ /dev/null @@ -1,48 +0,0 @@ -When the user has a UID or GID that is larger than the ustar format -supports, pax does not error out gracefully in some cases (FC13). In -this case cpio does. - -See for more details: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8343 - -Additionally drop tar.m4 out of that part of the Makefile or we end up in -a fatal attempt to regen loop: - -CDPATH="${ZSH_VERSION+.}:" && cd . && perllibdir="automake-1.11.1/lib:./lib" "automake-1.11.1/aclocal" --acdir=m4 -I m4 -/bin/sh: automake-1.11.1/aclocal: No such file or directory -make: *** [aclocal.m4] Error 127 - -Upstream-Status: Pending - -Signed-off-by: Tom Rini - -Updated for version 1.11.3: -Signed-off-by: Nitin A Kamble -Date: 2011/03/14 - -Updated for version 1.13.2: -Signed-off-by: Marko Lindqvist - -diff -Nurd automake-1.13.2/Makefile.in automake-1.13.2/Makefile.in ---- automake-1.13.2/Makefile.in 2013-05-15 23:12:58.000000000 +0300 -+++ automake-1.13.2/Makefile.in 2013-05-23 02:13:41.364026301 +0300 -@@ -141,7 +141,7 @@ - $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \ - $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/silent.m4 \ - $(top_srcdir)/m4/strip.m4 $(top_srcdir)/m4/substnot.m4 \ -- $(top_srcdir)/m4/tar.m4 $(top_srcdir)/configure.ac -+ $(top_srcdir)/configure.ac - am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) - am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ -diff -Nurd automake-1.13.2/m4/tar.m4 automake-1.13.2/m4/tar.m4 ---- automake-1.13.2/m4/tar.m4 2013-05-13 23:12:48.000000000 +0300 -+++ automake-1.13.2/m4/tar.m4 2013-05-23 02:13:26.600025805 +0300 -@@ -26,7 +26,7 @@ - AC_SUBST([AMTAR], ['$${TAR-tar}']) - - # We'll loop over all known methods to create a tar archive until one works. --_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none' - - m4_if([$1], [v7], - [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], \ No newline at end of file diff --git a/meta/recipes-devtools/automake/automake_1.13.4.bb b/meta/recipes-devtools/automake/automake_1.13.4.bb deleted file mode 100644 index 7630754..0000000 --- a/meta/recipes-devtools/automake/automake_1.13.4.bb +++ /dev/null @@ -1,48 +0,0 @@ -require automake.inc -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -DEPENDS_class-native = "autoconf-native" - -NAMEVER = "${@oe.utils.trim_version("${PV}", 2)}" - -RDEPENDS_${PN} += "\ - autoconf \ - perl \ - perl-module-bytes \ - perl-module-data-dumper \ - perl-module-strict \ - perl-module-text-parsewords \ - perl-module-thread-queue \ - perl-module-threads \ - perl-module-vars " - -RDEPENDS_${PN}_class-native = "autoconf-native perl-native-runtime" - -PATHFIXPATCH = "file://path_prog_fixes.patch" -PATHFIXPATCH_class-native = "" -PATHFIXPATCH_class-nativesdk = "" - -SRC_URI += "${PATHFIXPATCH} \ - file://prefer-cpio-over-pax-for-ustar-archives.patch \ - file://python-libdir.patch \ - file://py-compile-compile-only-optimized-byte-code.patch \ - file://buildtest.patch" - -SRC_URI[md5sum] = "9199e266993a5bbdc914923349d51e3e" -SRC_URI[sha256sum] = "4c93abc0bff54b296f41f92dd3aa1e73e554265a6f719df465574983ef6f878c" - -do_install_append () { - install -d ${D}${datadir} - - # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location - # for target as /usr/bin/perl, so fix it to /usr/bin/perl. - for i in aclocal aclocal-${NAMEVER} automake automake-${NAMEVER}; do - if [ -f ${D}${bindir}/$i ]; then - sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/perl,' \ - -e 's,exec .*/bin/perl \(.*\) exec .*/bin/perl \(.*\),exec ${USRBINPATH}/perl \1 exec ${USRBINPATH}/perl \2,' \ - ${D}${bindir}/$i - fi - done -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/automake/automake_1.14.bb b/meta/recipes-devtools/automake/automake_1.14.bb new file mode 100644 index 0000000..de6fcfa --- /dev/null +++ b/meta/recipes-devtools/automake/automake_1.14.bb @@ -0,0 +1,42 @@ +require automake.inc +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +DEPENDS_class-native = "autoconf-native" + +NAMEVER = "${@oe.utils.trim_version("${PV}", 2)}" + +RDEPENDS_${PN} += "\ + autoconf \ + perl \ + perl-module-bytes \ + perl-module-data-dumper \ + perl-module-strict \ + perl-module-text-parsewords \ + perl-module-thread-queue \ + perl-module-threads \ + perl-module-vars " + +RDEPENDS_${PN}_class-native = "autoconf-native perl-native-runtime" + +SRC_URI += " file://python-libdir.patch \ + file://py-compile-compile-only-optimized-byte-code.patch \ + file://buildtest.patch" + +SRC_URI[md5sum] = "a3c0d9298c6112f5f2c26c639ccaaed7" +SRC_URI[sha256sum] = "7847424d4204d1627c129e9c15b81e145836afa2a1bf9003ffe10aa26ea75755" + +do_install_append () { + install -d ${D}${datadir} + + # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location + # for target as /usr/bin/perl, so fix it to /usr/bin/perl. + for i in aclocal aclocal-${NAMEVER} automake automake-${NAMEVER}; do + if [ -f ${D}${bindir}/$i ]; then + sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/perl,' \ + -e 's,exec .*/bin/perl \(.*\) exec .*/bin/perl \(.*\),exec ${USRBINPATH}/perl \1 exec ${USRBINPATH}/perl \2,' \ + ${D}${bindir}/$i + fi + done +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.1