summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2012-12-28 00:05:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-07 11:09:39 +0000
commitf6da046ac861379cbb7ab41f327c7ba5966af6c6 (patch)
treee2203a33f9c0152f11bf1f90e9ce13d9f001eddb /meta/recipes-devtools/automake
parent5ffe7a216c4ff2e90a374cf8ba3523107a3017e8 (diff)
downloadpoky-f6da046ac861379cbb7ab41f327c7ba5966af6c6.tar.gz
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. (From OE-Core rev: f2a530be5941ddf708720b920d0213d7d3928cd1) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/automake')
-rw-r--r--meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch28
-rw-r--r--meta/recipes-devtools/automake/automake/python-libdir.patch41
-rw-r--r--meta/recipes-devtools/automake/automake_1.12.6.bb (renamed from meta/recipes-devtools/automake/automake_1.12.5.bb)4
3 files changed, 38 insertions, 35 deletions
diff --git a/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch b/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch
index f09bfbca5d..f8334a7212 100644
--- a/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch
+++ b/meta/recipes-devtools/automake/automake/py-compile-compile-only-optimized-byte-code.patch
@@ -5,20 +5,20 @@ Upstream-Status: Inappropriate [embedded specific]
5 pyc files by automake. 5 pyc files by automake.
6 6
7Signed-off-by: Andreas Oberritter <obi@opendreambox.org> 7Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
8---
9 lib/py-compile | 17 -----------------
10 1 files changed, 0 insertions(+), 17 deletions(-)
11 8
12diff --git a/lib/py-compile b/lib/py-compile 9Updated for automake-1.12.6
13index 3f9d05b..101c814 100755 10
14--- a/lib/py-compile 11Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
15+++ b/lib/py-compile 12
16@@ -101,23 +101,6 @@ else 13diff -Nurd automake-1.12.6/lib/py-compile automake-1.12.6/lib/py-compile
14--- automake-1.12.6/lib/py-compile 2012-12-13 21:57:31.000000000 +0200
15+++ automake-1.12.6/lib/py-compile 2012-12-27 19:34:01.426015140 +0200
16@@ -115,26 +115,6 @@
17 filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" 17 filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
18 fi 18 fi
19 19
20-$PYTHON -c " 20-$PYTHON -c "
21-import sys, os, py_compile 21-import sys, os, py_compile, imp
22- 22-
23-files = '''$files''' 23-files = '''$files'''
24- 24-
@@ -31,12 +31,12 @@ index 3f9d05b..101c814 100755
31- continue 31- continue
32- sys.stdout.write(file) 32- sys.stdout.write(file)
33- sys.stdout.flush() 33- sys.stdout.flush()
34- py_compile.compile(filepath, filepath + 'c', path) 34- if hasattr(imp, 'get_tag'):
35- py_compile.compile(filepath, imp.cache_from_source(filepath), path)
36- else:
37- py_compile.compile(filepath, filepath + 'c', path)
35-sys.stdout.write('\n')" || exit $? 38-sys.stdout.write('\n')" || exit $?
36- 39-
37 # this will fail for python < 1.5, but that doesn't matter ... 40 # this will fail for python < 1.5, but that doesn't matter ...
38 $PYTHON -O -c " 41 $PYTHON -O -c "
39 import sys, os, py_compile 42 import sys, os, py_compile, imp
40--
411.7.0.4
42
diff --git a/meta/recipes-devtools/automake/automake/python-libdir.patch b/meta/recipes-devtools/automake/automake/python-libdir.patch
index 0783600588..47541bdedc 100644
--- a/meta/recipes-devtools/automake/automake/python-libdir.patch
+++ b/meta/recipes-devtools/automake/automake/python-libdir.patch
@@ -2,11 +2,14 @@ Upstream-Status: Inappropriate [embedded specific]
2 2
3Signed-off-by: Kumar Gala <galak@kernel.crashing.org> 3Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
4 4
5Index: automake-1.11.3/m4/python.m4 5Updated for automake-1.12.6
6=================================================================== 6
7--- automake-1.11.3.orig/m4/python.m4 2012-01-31 11:41:18.000000000 +0000 7Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
8+++ automake-1.11.3/m4/python.m4 2012-04-24 10:04:57.726413598 +0000 8
9@@ -92,12 +92,13 @@ 9diff -Nurd automake-1.12.6/m4/python.m4 automake-1.12.6/m4/python.m4
10--- automake-1.12.6/m4/python.m4 2012-12-13 22:02:25.000000000 +0200
11+++ automake-1.12.6/m4/python.m4 2012-12-27 17:40:26.558164660 +0200
12@@ -91,12 +91,13 @@
10 [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) 13 [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
11 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) 14 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
12 15
@@ -22,17 +25,17 @@ Index: automake-1.11.3/m4/python.m4
22 AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) 25 AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
23 26
24 dnl At times (like when building shared libraries) you may want 27 dnl At times (like when building shared libraries) you may want
25@@ -123,7 +124,8 @@ 28@@ -148,7 +149,8 @@
26 else 29 else:
27 am_py_prefix=$prefix 30 from distutils import sysconfig
28 fi 31 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
29- am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null` 32-sys.stdout.write(sitedir)"`
30+ am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || 33+sys.stdout.write(sitedir)" ||
31+ echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"` 34+ echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
32 case $am_cv_python_pythondir in 35 case $am_cv_python_pythondir in
33 $am_py_prefix*) 36 $am_py_prefix*)
34 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` 37 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
35@@ -133,7 +135,7 @@ 38@@ -158,7 +160,7 @@
36 case $am_py_prefix in 39 case $am_py_prefix in
37 /usr|/System*) ;; 40 /usr|/System*) ;;
38 *) 41 *)
@@ -41,17 +44,17 @@ Index: automake-1.11.3/m4/python.m4
41 ;; 44 ;;
42 esac 45 esac
43 ;; 46 ;;
44@@ -158,7 +160,8 @@ 47@@ -190,7 +192,8 @@
45 else 48 else:
46 am_py_exec_prefix=$exec_prefix 49 from distutils import sysconfig
47 fi 50 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
48- am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null` 51-sys.stdout.write(sitedir)"`
49+ am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || 52+sys.stdout.write(sitedir)" ||
50+ echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"` 53+ echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
51 case $am_cv_python_pyexecdir in 54 case $am_cv_python_pyexecdir in
52 $am_py_exec_prefix*) 55 $am_py_exec_prefix*)
53 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` 56 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
54@@ -168,7 +171,7 @@ 57@@ -200,7 +203,7 @@
55 case $am_py_exec_prefix in 58 case $am_py_exec_prefix in
56 /usr|/System*) ;; 59 /usr|/System*) ;;
57 *) 60 *)
diff --git a/meta/recipes-devtools/automake/automake_1.12.5.bb b/meta/recipes-devtools/automake/automake_1.12.6.bb
index c68167483a..59bbdd8bfd 100644
--- a/meta/recipes-devtools/automake/automake_1.12.5.bb
+++ b/meta/recipes-devtools/automake/automake_1.12.6.bb
@@ -26,8 +26,8 @@ SRC_URI += "${PATHFIXPATCH} \
26 file://py-compile-compile-only-optimized-byte-code.patch \ 26 file://py-compile-compile-only-optimized-byte-code.patch \
27 file://buildtest.patch" 27 file://buildtest.patch"
28 28
29SRC_URI[md5sum] = "674f6d28f8723e0f478cb03de30f36f1" 29SRC_URI[md5sum] = "199d39ece2e6070d64ac20d45ac86026"
30SRC_URI[sha256sum] = "82089e23b384d3e64efa4f09f133a02dadb91c0593d4f1d4e12c29d806be9925" 30SRC_URI[sha256sum] = "0cbe570db487908e70af7119da85ba04f7e28656b26f717df0265ae08defd9ef"
31 31
32PR = "r0" 32PR = "r0"
33 33