summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* scripts: python3: fix urllib importsEd Bartosh2016-06-032-9/+9
| | | | | | | | | | | | Some functions and classes have been moved from urllib[2] to urllib.request and urllib.error in python 3. Used new imports to make the code working in python 3. (From OE-Core rev: ec3f1759e8b491a44a1fc1ecb6f89919dd30da97) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: python3: use new style except statementEd Bartosh2016-06-034-14/+14
| | | | | | | | | | | Changed old syle except statements 'except <exception>, var' to new style 'except <exception> as var' as old style is not supported in python3. (From OE-Core rev: 438eabc248f272e3d272aecaa4c9cec177b172d5) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: python3: convert iterables to listsEd Bartosh2016-06-037-12/+12
| | | | | | | | | | | Converted return value of items() keys() and values() to lists when dictionary is modified in the loop and when the result is added to the list. (From OE-Core rev: 874a269eb1d70060c2f3b3f8b70800e2aea789f4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake: drop the Python scriptlets to determine Python's directoriesAlexander Kanavin2016-06-031-18/+44
| | | | | | | | | | | | | | | python.m4 has python scriptlets that determine where the system's library directory is. For Python 2.x distutils.sysconfig is used (which works because we patch it), for Python 3.x plain sysconfig is used (which doesn't work for example on x32). There is also a hardcoded fallback if the scriptlets fail. This commit removes the scriptlets altogether and just uses the hardcoded path always, due to above mentioned issues with x32. (From OE-Core rev: 0c856653ce65403791e1e5c78229820ff794bae3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: add a recipeAlexander Kanavin2016-06-031-0/+101
| | | | | | | | | | This is needed for updating piglit to use Python 3. Python 2 based recipe can be later moved to meta-oe. (From OE-Core rev: d08f523b71d3463f0ed604be81ae78a7a79390f3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hwlatdetect: move to Python 3Alexander Kanavin2016-06-031-2/+4
| | | | | | | (From OE-Core rev: 4aa0d34155834e2e1ef7972c5dd6490a6f0c49e8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap-ng: move to Python 3Alexander Kanavin2016-06-031-5/+7
| | | | | | | (From OE-Core rev: 671a8e58aba0a01ad8571995dadbf569706df954) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: move to Python 3Alexander Kanavin2016-06-031-3/+2
| | | | | | | (From OE-Core rev: fa707f700c0d2317cc5c0289e3e1fc1eb859ef40) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: move to Python 3Alexander Kanavin2016-06-031-1/+8
| | | | | | | (From OE-Core rev: f49beaf99171e081a0e5df50d38a1122045ca029) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: move to Python 3Alexander Kanavin2016-06-032-34/+3
| | | | | | | (From OE-Core rev: e0cd0bd7da24b7e68e57feb448926ea9b0007590) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: remove recipeAlexander Kanavin2016-06-037-203/+1
| | | | | | | | | Nothing in oe-core actually requires it. (From OE-Core rev: 8ba5fcb5232bd79d67657218b9d1b3a10bf56b08) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnewt-python: move to Python 3Alexander Kanavin2016-06-031-3/+3
| | | | | | | (From OE-Core rev: 70e39d11bffd3fa2bb143ea640e470c9da6748ba) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libuser: move to Python 3Alexander Kanavin2016-06-031-3/+5
| | | | | | | (From OE-Core rev: b2037a6d1735755ff44913d89c674303191954e0) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-docutils: move to Python 3Alexander Kanavin2016-06-032-4/+4
| | | | | | | (From OE-Core rev: 798db38f993cf9bad6feb2da6e0eea0a582ba9f3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-imaging: remove unused recipeAlexander Kanavin2016-06-036-197/+0
| | | | | | | (From OE-Core rev: b03ebfaee278eb98b4bd0e11a682ac0cda192086) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pyrex: remove unused recipeAlexander Kanavin2016-06-034-43/+0
| | | | | | | (From OE-Core rev: 976097f72af02ae4009ab81158927fca54ea78ff) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* swig: move to Python 3Alexander Kanavin2016-06-031-4/+3
| | | | | | | (From OE-Core rev: aa77072c9587ca89ffd64162b43ca0f61f0c2d52) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: move to Python 3Alexander Kanavin2016-06-034-12/+12
| | | | | | | (From OE-Core rev: 675d11c73dc1f420c471af01a520f6a20d8a7337) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootchart2: move to Python 3Alexander Kanavin2016-06-031-10/+6
| | | | | | | (From OE-Core rev: c4829e96272376c61d8645df75c4b946f37b461c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pycairo: move to Python 3Alexander Kanavin2016-06-032-41/+40
| | | | | | | | | | | The Python 3 version comes in a separate tarball, and is relicensed under LGPLv3: http://cairographics.org/pycairo/ (From OE-Core rev: bfd62071befd0f20597cf9c62c281fb6e815bd2e) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: move to Python 3Alexander Kanavin2016-06-031-5/+6
| | | | | | | (From OE-Core rev: 0dacdb780bce78e2c12b1ac9914a1a0194d6ff39) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: drop python dependency for ptestsAlexander Kanavin2016-06-031-1/+1
| | | | | | | | | | Python tests are not actually used, because systemd is configured using --without-python (From OE-Core rev: acea8caa0ce4f8fd1a0d33c01c12d4b5a81508d8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: switch to Python 3Alexander Kanavin2016-06-031-1/+5
| | | | | | | (From OE-Core rev: 91c3d8859676a8b0615563e1f8855566359f90c7) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-full-cmdline: drop python-dbus from the list of servicesAlexander Kanavin2016-06-031-1/+0
| | | | | | | | | Any Python scripts should include this dependency explicitly. (From OE-Core rev: f0caf5765f7a969917639912ffccb1c32e2012d1) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: drop the custom-made revert to Python 2 from Python 3Alexander Kanavin2016-06-033-1272/+5
| | | | | | | (From OE-Core rev: 5645bd904b41fb765a03c4246ce6bcc3cda28f9d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: do not install Python test scriptsAlexander Kanavin2016-06-031-5/+1
| | | | | | | | | | They are not compatible with python 3, and require python-dbus and python-gobject (which are provided only for Python 3). (From OE-Core rev: 1e248522d1141e0e48562add75373c9930c2c0be) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: switch to Python 3Alexander Kanavin2016-06-031-1/+5
| | | | | | | (From OE-Core rev: 51250c3dd2bbbdfcc1d9dfba8ed2111335802fe9) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* neard: do not package python test scriptsAlexander Kanavin2016-06-031-12/+1
| | | | | | | | | | | They require python-dbus and python-gobject (which are only provided for Python 3), and have not been ported to Python 3. (From OE-Core rev: 6334de28bfd5252343deef326e4edca785254b85) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pygobject: port to Python 3Alexander Kanavin2016-06-032-4/+4
| | | | | | | | | This reverts commit 7f7c9ab29eba0e58916629ca13dc4a494535ce19. (From OE-Core rev: f55e040f901371427db0f7c68a7139e55d5953d2) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-test: remove unneeded pygobject dependencyAlexander Kanavin2016-06-031-1/+1
| | | | | | | (From OE-Core rev: f0ade81f696c5c4f69db48632e69f2f23aaa3c8f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib: move to Python 3Alexander Kanavin2016-06-031-5/+3
| | | | | | | | | | Drop python-pygobject and python-dbus dependencies, because nothing in ptests depends on them, and it creates a circular dependency chain. (From OE-Core rev: 95840a416afd50dc6140367570f045c5128c94f4) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: drop 110-enable-zlib.patchAlexander Kanavin2016-06-033-23/+0
| | | | | | | | | | With the patch, the zlib extension wasn't built at all. Without the patch, it gets build just fine. (From OE-Core rev: 59870a852cf88ecef094db0a2adec168a8997626) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-dbus: update to 1.2.4, port to python 3Alexander Kanavin2016-06-031-7/+8
| | | | | | | (From OE-Core rev: 691032c4f0e424c3a097a015a14279ea0a6dd71d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: switch Python dependency to Python 3.xAlexander Kanavin2016-06-031-2/+2
| | | | | | | (From OE-Core rev: a10fd8722fb7c5f2c5a206203d0c7f4237a86466) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: support systemd-boot as a stand-alone EFI bootloaderJianxun Zhang2016-06-034-24/+186
| | | | | | | | | | | | | | | | | | | | | | | The "systemd-boot" is gummiboot now included into systemd project. The old gummiboot project supported in OE is dead. Our intention is to get a gummiboot-like EFI bootloader without much dependency on systemd and its features. This work is largely derived from the existing bbclass and recipes of gummiboot and systemd. (commit tip: ee25d0e3987d7732a2e46e1640693b4cf419a9fc) Please refer to the history up to the tip for authorship and credit information for the original works. To enable the systemd-boot in build, add this line EFI_PROVIDER = "systemd-boot" in your machine conf file. (From OE-Core rev: e9add1cd01e498d2aa52528ec52342cae48a387a) Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pango_1.40.1.bb: Fix compilation errorDmitry Rozhkov2016-06-031-1/+1
| | | | | | | | | | | | | | | | | On a build host not having libglib-2.0 installed compiling pango fails with the error message ./gen-all-unicode: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory The executable doesn't have RPATH set to the library installed in the native sysroot. The fix sets RPATH. (From OE-Core rev: 25168b82f82f9b205973014664fe2044ec4d4d6d) Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: update dependency listMaxin B. John2016-06-031-1/+1
| | | | | | | | | | | | | | Depend only on bison-native as configure script is checking only for bison binary and libpam itself doesn't need target bison. Add libxml2-native for deterministic build (it detects xmlcatalog and xmllint) (From OE-Core rev: d904d24a9cb1f15688b9924981d9c3d4dac7065f) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iw: update to version 4.7Maxin B. John2016-06-032-20/+26
| | | | | | | | | | | | 4.3 -> 4.7 Refreshed the patch for new version: 1) 0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch (From OE-Core rev: 0c6fc9a01ba58adc221f04cc79ece7efc16c0ee7) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl2: Fix build with wayland 1.10Martin Jansa2016-06-032-1/+60
| | | | | | | (From OE-Core rev: 77187701e35e858835ae51b3ac089a385e97657a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux.bbclass: Added configurable SYSLINUX_ALLOWOPTIONS variableDavis, Michael2016-06-031-1/+7
| | | | | | | | | | The new variable allows for images to be created without an editable boot line in syslinux. Default behavior remains unchanged. (From OE-Core rev: 935578c139a260c18e437419be82d7fd7e8be81a) Signed-off-by: Michael Davis <michael.davis@essvote.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-layers: show-layers: disable parsingPaul Eggleton2016-06-021-1/+1
| | | | | | | | | | | | We don't need to parse all recipes just to show the list of layers, since that comes straight from the configuration, so save a bit of time by not doing so. (A minor regression that came in with the the bitbake-layers refactoring). (Bitbake rev: a609ad7d560260a8d50dfa197cd960f496c5da73) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: Add Ubuntu 16.04 to tested/supported list since I run it myselfRichard Purdie2016-06-021-0/+1
| | | | | | (From meta-yocto rev: 462aaa3a4354b88fb234ebb8953080f6cef29334) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_check.py: Don't mix tabs and spacesJussi Kukkonen2016-06-021-2/+2
| | | | | | | (From OE-Core rev: 6c8d1876f5a2d53fa89531e4a5f414d5d5da77be) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: use python3 explicitlyEd Bartosh2016-06-021-3/+3
| | | | | | | | | | | | Explicitly used python3 as default python for oe builds will continue to be python2. [YOCTO #9584] (Bitbake rev: fde5c962cb69a11b072d1f238c2371a5137d030d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: fix urllib importsEd Bartosh2016-06-022-4/+11
| | | | | | | | | | | | Some functions have been moved from urllib to urllib.parse in python 3. Modifying the code to import unquote, urlencode and unquote_plus from urllib.parse if import from urllib fails should make it working on both python 2 and python 3. (Bitbake rev: b91aa29fa20befd9841678a727bb91100363518f) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: don't use mru.count in the templateEd Bartosh2016-06-021-1/+1
| | | | | | | | | | | mru is a list. It has a count method, but it differs from the one for the queryset. Using mru.count causes 'Latest project builds' section to silently disappear when toaster runs on python 3. (Bitbake rev: c3ff90c9f028bff5733ebac7b5e72a4688addd3e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: use // operator instead of /Ed Bartosh2016-06-022-2/+2
| | | | | | | | | | | | | | Division operator works differently in Python 3. It results in float unlike in Python 2, where it results in int. Explicitly used "floor division" operator instead of 'division' operator. This should make the code to result in integer under both pythons. (Bitbake rev: 0c38441ed99b49dae8ef9613e320f0760853d6aa) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Revert "buildinfohelper: work around unicode exceptions"Ed Bartosh2016-06-021-6/+4
| | | | | | | | | | | This commit causes buildinfohelper to crash when run on python 3 as python 3 doesn't have unicode builtin function. This reverts commit 7a309d964a86f3474eaab7df6d438ed797f935c0. (Bitbake rev: 750ca5c8d5a25fc519b75c56352dec7823c7e240) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: xmlrpc: add parameter use_builtin_typesEd Bartosh2016-06-021-1/+1
| | | | | | | | | | | | Added use_builtin_types parameter to XMLRPCProxyServer.__init__ to fix this error: ERROR: Could not connect to server 0.0.0.0:37132 : __init__() got an unexpected keyword argument 'use_builtin_types' (Bitbake rev: ceb6e5bd33a25c45c2afe1559b9394c466db8a92) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: use knotty when working with bitbake serverEd Bartosh2016-06-021-2/+2
| | | | | | | | | | | | | | | Using empty BITBAKE_UI environment variable causes bitbake server to fail with the error: FATAL: Unable to import extension module "" from bb.ui Valid extension modules: knotty or toasterui\n' Used BITBAKE_UI="knotty" when starting and stoping bitbake server to solve above issue. (Bitbake rev: b9a9ddfb6f53259be214032fb93812149d0cce19) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>