diff options
author | Gary Thomas <gary@mlbassoc.com> | 2015-07-24 10:17:48 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 10:32:37 +0100 |
commit | 856082cf0baec608e099462422fc2ef6724acc7f (patch) | |
tree | dcaac5896489656463766cd7480098bdde0f8354 /meta/recipes-graphics | |
parent | d8975070082a77d2d4c941abded2f6e1aba5d0b7 (diff) | |
download | poky-856082cf0baec608e099462422fc2ef6724acc7f.tar.gz |
libepoxy: Don't try to use python3 during configuration
The scripts use argparse which is only in Python 3.2 onwards, so to avoid
failures on hosts using 3.0 or 3.1 just look for Python 2.
(From OE-Core rev: da889e86bac55178e06b6e2328ddf9415698fd79)
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/libepoxy/libepoxy/no-need-for-python3.patch | 20 | ||||
-rw-r--r-- | meta/recipes-graphics/libepoxy/libepoxy_git.bb | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libepoxy/libepoxy/no-need-for-python3.patch b/meta/recipes-graphics/libepoxy/libepoxy/no-need-for-python3.patch new file mode 100644 index 0000000000..dc5ef2871c --- /dev/null +++ b/meta/recipes-graphics/libepoxy/libepoxy/no-need-for-python3.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | There is no need to use python3 by this package (the python scripts | ||
2 | that are using during configuration only need python2.7+) | ||
3 | |||
4 | Upstream-Status: innapropriate [configuration] | ||
5 | |||
6 | Signed-off-by: Gary Thomas <gary@mlbassoc.com> | ||
7 | -- | ||
8 | Index: git/configure.ac | ||
9 | =================================================================== | ||
10 | --- git.orig/configure.ac | ||
11 | +++ git/configure.ac | ||
12 | @@ -40,7 +40,7 @@ m4_ifndef([XORG_MACROS_VERSION], | ||
13 | XORG_MACROS_VERSION(1.8) | ||
14 | XORG_DEFAULT_OPTIONS | ||
15 | |||
16 | -AC_CHECK_PROGS([PYTHON], [python3 python2 python]) | ||
17 | +AC_CHECK_PROGS([PYTHON], [python2 python]) | ||
18 | |||
19 | # Initialize libtool | ||
20 | AC_DISABLE_STATIC | ||
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_git.bb b/meta/recipes-graphics/libepoxy/libepoxy_git.bb index 9816257495..535af5d9f1 100644 --- a/meta/recipes-graphics/libepoxy/libepoxy_git.bb +++ b/meta/recipes-graphics/libepoxy/libepoxy_git.bb | |||
@@ -10,6 +10,7 @@ SRC_URI = " \ | |||
10 | git://github.com/anholt/libepoxy.git \ | 10 | git://github.com/anholt/libepoxy.git \ |
11 | file://0001-select-platforms-based-on-configuration-results.patch \ | 11 | file://0001-select-platforms-based-on-configuration-results.patch \ |
12 | file://0002-add-an-option-to-disable-glx-support.patch \ | 12 | file://0002-add-an-option-to-disable-glx-support.patch \ |
13 | file://no-need-for-python3.patch \ | ||
13 | " | 14 | " |
14 | SRCREV="20062c25e7612cab023cdef44d3277ba1bd0b2de" | 15 | SRCREV="20062c25e7612cab023cdef44d3277ba1bd0b2de" |
15 | PV = "1.2+git${SRCPV}" | 16 | PV = "1.2+git${SRCPV}" |