automake update
Upstream has released new bugfix release from automake-1.12. Automake-1.13 is expected soon, but this patch updates to 1.12.6 anyway. At least it should be make eventual update to 1.13 easier as patches to apply to source tree are adjusted for changes already present in 1.12.6.
Those patches are the thing to test in this update. Update is otherwise quite simple (=not bugprone), but python-libdir.patch and py-compile-only-optimized-byte-code.patch didn't apply cleanly and had to be adjusted for new version.
- ML
PATCH 1/1 automake: update to upstream version 1.12.6
python-libdir.patch and py-compile-only-optimized-byte-code.patch updated to apply to new codebase.
Signed-off-by Marko Lindqvist <[email protected]>
---
...-compile-compile-only-optimized-byte-code.patch | 28 ++++++-------
.../automake/automake/python-libdir.patch | 41 +++++++++++---------
.../{automake_1.12.5.bb => automake_1.12.6.bb} | 4 +-
3 files changed, 38 insertions(+), 35 deletions(-)
rename meta/recipes-devtools/automake/{automake_1.12.5.bb => automake_1.12.6.bb} (90%)meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch +14 -14
@@ -5,20 +5,20 @@ Upstream-Status: Inappropriate [embedded specific] pyc files by automake. Signed-off-by: Andreas Oberritter <[email protected]> ---- - lib/py-compile | 17 ----------------- - 1 files changed, 0 insertions(+), 17 deletions(-) -diff --git a/lib/py-compile b/lib/py-compile -index 3f9d05b..101c814 100755 ---- a/lib/py-compile -+++ b/lib/py-compile -@@ -101,23 +101,6 @@ else +Updated for automake-1.12.6 + +Signed-off-by: Marko Lindqvist <[email protected]> + +diff -Nurd automake-1.12.6/lib/py-compile automake-1.12.6/lib/py-compile +--- automake-1.12.6/lib/py-compile 2012-12-13 21:57:31.000000000 +0200 ++++ automake-1.12.6/lib/py-compile 2012-12-27 19:34:01.426015140 +0200 +@@ -115,26 +115,6 @@ filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" fi -$PYTHON -c " --import sys, os, py_compile +-import sys, os, py_compile, imp - -files = '''$files''' -
@@ -31,12 +31,12 @@ index 3f9d05b..101c814 100755 - continue - sys.stdout.write(file) - sys.stdout.flush() -- py_compile.compile(filepath, filepath + 'c', path) +- if hasattr(imp, 'get_tag'): +- py_compile.compile(filepath, imp.cache_from_source(filepath), path) +- else: +- py_compile.compile(filepath, filepath + 'c', path) -sys.stdout.write('\n')" || exit $? - # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " - import sys, os, py_compile --- -1.7.0.4 - + import sys, os, py_compile, imp
meta/recipes-devtools/automake/automake/python-libdir.patch +22 -19
67 lines not on this page · raw message
meta/recipes-devtools/automake/automake_1.12.6.bb renamed from meta/recipes-devtools/automake/automake_1.12.5.bb +2 -2
@@ -26,8 +26,8 @@ SRC_URI += "${PATHFIXPATCH} \ file://py-compile-compile-only-optimized-byte-code.patch \ file://buildtest.patch" -SRC_URI[md5sum] = "674f6d28f8723e0f478cb03de30f36f1" -SRC_URI[sha256sum] = "82089e23b384d3e64efa4f09f133a02dadb91c0593d4f1d4e12c29d806be9925" +SRC_URI[md5sum] = "199d39ece2e6070d64ac20d45ac86026" +SRC_URI[sha256sum] = "0cbe570db487908e70af7119da85ba04f7e28656b26f717df0265ae08defd9ef" PR = "r0"
Signature · 1 line
1.7.10.4