]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agokernel-dev: Fix the locations of .config and source directory
Scott Rifenbark [Mon, 6 Jun 2016 20:25:18 +0000 (13:25 -0700)] 
kernel-dev: Fix the locations of .config and source directory

The locations of the kernel .config file and source direcotry
moved a couple releases ago.  Updated the documentation
accordingly.

Also added a note explaining how to check the expansion of
variables, which servs a couple of purposes:

 * For curious readers, shows them how to understand where
   these variables come from and how they are used.

 * For suspicious readers, shows them how they can verify that
   the variables in the documentation are actually correct.

Author: Tom Zanussi <tom.zanussi@linux.intel.com>
(From yocto-docs rev: a4f92870e70cb625f2987a59aff3f460457b4889)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoprofile-manual: Added cross-reference links to INHIBIT_PACKAGE_STRIP
Scott Rifenbark [Mon, 6 Jun 2016 17:48:12 +0000 (10:48 -0700)] 
profile-manual: Added cross-reference links to INHIBIT_PACKAGE_STRIP

I added some reference links to this variable in the ref-manual
glossary.

(From yocto-docs rev: 2fe4860f99f0898fb4a850e4de133337b695dc6e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Fixed *[doc] string for INHIBIT_PACKAGE_DEBUG_SPLIT
Scott Rifenbark [Mon, 6 Jun 2016 17:17:02 +0000 (10:17 -0700)] 
ref-manual: Fixed *[doc] string for INHIBIT_PACKAGE_DEBUG_SPLIT

The string was a copy paste error.  It was using the string
for INHIBIT_PACKAGE_STRIP.

(From yocto-docs rev: d2efc36a7bc39b3fb596286dcde5efa1b8fead7c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodocumentation: Prepared manuals for a 2.2 release.
Scott Rifenbark [Mon, 6 Jun 2016 16:48:45 +0000 (09:48 -0700)] 
documentation: Prepared manuals for a 2.2 release.

* Updated poky.ent to have the appropriate 2.2 variables
* Updated all manual revision tables to have a new entry for
  2.2 - used "Sometime in 2016" for the date.
* Updated the mega-manual.sed file to process internal links
  for 2.2.

(From yocto-docs rev: 2acd49ee197e3e3e725f4cb8cc432437afd8646b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Added BlueZ version 5 feature to distro feature section.
Scott Rifenbark [Sat, 21 May 2016 22:06:15 +0000 (15:06 -0700)] 
ref-manual: Added BlueZ version 5 feature to distro feature section.

(From yocto-docs rev: c7055f313a127bc8ed65a93ed7bea21775518567)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/package_manager: adapt for Python 3
Ross Burton [Sun, 5 Jun 2016 21:52:42 +0000 (22:52 +0100)] 
lib/oe/package_manager: adapt for Python 3

string.rstrip() doesn't exist in Python 3, so use the .rstrip method on the
object itself instead.

(From OE-Core rev: 554719e3f65e468f89a96d4869766d3ff7a8012e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibarchive: respect disable-acl configuration option
Maxin B. John [Sun, 5 Jun 2016 21:12:03 +0000 (00:12 +0300)] 
libarchive: respect disable-acl configuration option

Update configure.ac to properly handle --disable-acl option

[YOCTO #9668]

(From OE-Core rev: 84fe3f29f2bdaf98c9beefdfede143084fba093b)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage-buildinfo: Update to python3 syntax
Richard Purdie [Sun, 5 Jun 2016 07:18:41 +0000 (08:18 +0100)] 
image-buildinfo: Update to python3 syntax

(From OE-Core rev: 6e7d9dd9b5cbf46b955036876a25353fafbf264c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibarchive: Add PACKAGECONFIG for lz4 to ensure determinism
Richard Purdie [Sat, 4 Jun 2016 08:04:26 +0000 (09:04 +0100)] 
libarchive: Add PACKAGECONFIG for lz4 to ensure determinism

This avoids:

WARNING: opkg-1_0.3.1-r0 do_package_qa: QA Issue: libopkg rdepends on lz4, but it isn't a build dependency, missing lz4 in DEPENDS or PACKAGECONFIG? [build-deps]

and ERROR:

build-appliance-image-15.0.0-r0 do_rootfs: Unable to install packages. Command '/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/build/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0-r0/rootfs/var/lib/smart install -y packagegroup-core-boot@qemux86_64 packagegroup-core-ssh-openssh@all psplash@core2_64 kernel-dev@qemux86_64 packagegroup-core-x11-base@all kernel-devsrc@qemux86_64 smartpm@core2_64 packagegroup-self-hosted@all rpm@core2_64 locale-base-en-us@core2_64 locale-base-en-gb@core2_64' returned 1:
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...error: Can't install libopkg1-1:0.3.1-r0.0@core2_64: no package provides lz4 >= 131+git0+d86dc9167

(From OE-Core rev: f12fe90a78ca1239691e8fd8f7b06ce59b8b72cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodpkg: Upgrade to 1.18.7
Aníbal Limón [Thu, 26 May 2016 21:18:45 +0000 (16:18 -0500)] 
dpkg: Upgrade to 1.18.7

Rebased patches:

0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
add_armeb_triplet_entry.patchadd_armeb_triplet_entry.patch

Patches removed already in upstream:

[1] 0001-When-running-do_package_write_deb-we-have-trees-of-h.patch
[2] fix-abs-redefine.patch

(From OE-Core rev: 3812f58b3a438ae533c282170416cdd1681868e0)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
[1] https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/dpkg-deb/build.c?id=7a91341446851cd3594a8b752823b8c1f26d652a
[2] https://anonscm.debian.org/cgit/dpkg/dpkg.git/commit/lib/dpkg/i18n.h?id=ecd4baa091619cbbdd70043129dd992573580371
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoofono: update to 1.18
Maxin B. John [Fri, 3 Jun 2016 08:25:55 +0000 (11:25 +0300)] 
ofono: update to 1.18

1.17 -> 1.18

(From OE-Core rev: 374e3a09e233d9c19cae07966659693bac6079a6)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognome-desktop3: update to 3.20.2
Alexander Kanavin [Fri, 3 Jun 2016 09:14:51 +0000 (12:14 +0300)] 
gnome-desktop3: update to 3.20.2

(From OE-Core rev: bafe31e8b96aabebc72660a309230fdb41374f20)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowatchdog: update to 5.15
Alexander Kanavin [Fri, 3 Jun 2016 09:15:02 +0000 (12:15 +0300)] 
watchdog: update to 5.15

Removed patches are all merged upstream.

(From OE-Core rev: e25b27c89dd13f5a311b49a974b4410e7993ddae)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemtap: update to 3.0
Alexander Kanavin [Fri, 3 Jun 2016 09:15:01 +0000 (12:15 +0300)] 
systemtap: update to 3.0

Remove docproc-build-fix.patch, as the build problem it's fixing
now happens only if building html docs is explicitly enabled
(which we do not do).

(From OE-Core rev: 1310a71a81e0b19919fc622f676fa6106be6cf9d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomsmtp: update to 1.6.5
Alexander Kanavin [Fri, 3 Jun 2016 09:15:00 +0000 (12:15 +0300)] 
msmtp: update to 1.6.5

(From OE-Core rev: c4f58052e13ebd9dd58ebe4a654ae725e10e85f8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxslt: update to 1.1.29
Alexander Kanavin [Fri, 3 Jun 2016 09:14:59 +0000 (12:14 +0300)] 
libxslt: update to 1.1.29

Drop upstreamed CVE-2015-7995.patch
Rebase pkgconfig.patch

(From OE-Core rev: f83217590d3157c1db502ddb27b94fe1c704185b)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibksba: update to 1.3.4
Alexander Kanavin [Fri, 3 Jun 2016 09:14:58 +0000 (12:14 +0300)] 
libksba: update to 1.3.4

(From OE-Core rev: eeb5b00159a3cb0404b0ff97baa9563734f44b79)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokexec-tools: update to 2.0.12
Alexander Kanavin [Fri, 3 Jun 2016 09:14:57 +0000 (12:14 +0300)] 
kexec-tools: update to 2.0.12

Drop kexec-tools-Refine-kdump-device_tree-sort.patch, it's
merged upstream.

(From OE-Core rev: 4a0eed2b44777f4b794e3972912ba51381417b7f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoiso-codes: update to 3.68
Alexander Kanavin [Fri, 3 Jun 2016 09:14:56 +0000 (12:14 +0300)] 
iso-codes: update to 3.68

License file has been renamed, but still contains LGPLv2.1

(From OE-Core rev: f8a0a8f75c64cf69bd94664c4b3ffef368830cc2)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoicu: update to 57.1
Alexander Kanavin [Fri, 3 Jun 2016 09:14:55 +0000 (12:14 +0300)] 
icu: update to 57.1

Point to the actual license file in the recipe.
Drop icu-release-56-1-flagparser-fix.patch, merged upstream.

(From OE-Core rev: 91d230dfbfd8acaea16978ee75c7a75549ffde86)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomc: update to 4.8.17
Alexander Kanavin [Fri, 3 Jun 2016 09:14:54 +0000 (12:14 +0300)] 
mc: update to 4.8.17

(From OE-Core rev: 9689cd9a006e0ac3528be3718d0a1bb0950ad5e4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogobject-introspection: update to 1.48.0
Alexander Kanavin [Fri, 3 Jun 2016 09:14:52 +0000 (12:14 +0300)] 
gobject-introspection: update to 1.48.0

Add a patch that reverts an incomplete upstream attempt at cross-compile support;
upstream has been notified:
https://bugzilla.gnome.org/show_bug.cgi?id=696773

(From OE-Core rev: 7070c02c4878f479ae7002184c56b44bc408fb26)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdb: fix upstream check
Alexander Kanavin [Fri, 3 Jun 2016 09:14:50 +0000 (12:14 +0300)] 
gdb: fix upstream check

(From OE-Core rev: 1c2f1bede35d9faddde5cb910ec76a00fab615d7)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc: fix upstream check for 5.x version
Alexander Kanavin [Fri, 3 Jun 2016 09:14:49 +0000 (12:14 +0300)] 
gcc: fix upstream check for 5.x version

(From OE-Core rev: 831ef4c6d6975adc586b035b6a228df2e68d18b6)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocantarell-fonts: update to 0.0.24
Alexander Kanavin [Fri, 3 Jun 2016 09:14:48 +0000 (12:14 +0300)] 
cantarell-fonts: update to 0.0.24

(From OE-Core rev: 3a6c9cc8e67b7d7bf720db0c82f30798e5ce322f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoffmpeg: update to 3.0.2
Alexander Kanavin [Fri, 3 Jun 2016 09:14:47 +0000 (12:14 +0300)] 
ffmpeg: update to 3.0.2

(From OE-Core rev: 3b83e8c18aa051278ad7b04d69b6258d5c567363)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuild-appliance-image: update version to 15.0.0
Alexander Kanavin [Fri, 3 Jun 2016 09:14:46 +0000 (12:14 +0300)] 
build-appliance-image: update version to 15.0.0

(From OE-Core rev: f969c6249a18e175a2dbd80b20dfdc99a83432dc)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobtrfs-tools: update to 4.5.3
Alexander Kanavin [Fri, 3 Jun 2016 09:14:45 +0000 (12:14 +0300)] 
btrfs-tools: update to 4.5.3

Drop fix-symlink-creation-multiple-times.patch (merged upstream).

(From OE-Core rev: 531b6173893ab5cbe163a071a5fea0ae39c81cbf)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoboost: update to 1.61.0
Alexander Kanavin [Fri, 3 Jun 2016 09:14:44 +0000 (12:14 +0300)] 
boost: update to 1.61.0

0001-Do-not-qualify-fenv.h-names-that-might-be-macros.patch has been merged upstream.

(From OE-Core rev: 25d4129bab9f6abeecbfec6b69612e387851bfe3)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocantarell-fonts: fix upstream check
Alexander Kanavin [Fri, 3 Jun 2016 09:14:43 +0000 (12:14 +0300)] 
cantarell-fonts: fix upstream check

(From OE-Core rev: 818034caa1e529b546075ad9bec1a85f4bc21ded)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotzcode, tzdata: fix upstream version check
Alexander Kanavin [Fri, 3 Jun 2016 09:14:42 +0000 (12:14 +0300)] 
tzcode, tzdata: fix upstream version check

(From OE-Core rev: f5dd9d51b8ccbb5672581c9297eddec6f5c6067a)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocups: fix upstream version check
Alexander Kanavin [Fri, 3 Jun 2016 09:14:41 +0000 (12:14 +0300)] 
cups: fix upstream version check

(From OE-Core rev: 7bb667e6f2e4315d72808d295820b530ba3aba72)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowebkitgtk: upgrade to 2.12.3
Alexander Kanavin [Fri, 3 Jun 2016 09:14:40 +0000 (12:14 +0300)] 
webkitgtk: upgrade to 2.12.3

(From OE-Core rev: 566ca29253a8d973924df68bc1f439e57179b29f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agort-tests, hwlatdetect: upgrade to 2.0
Alexander Kanavin [Fri, 3 Jun 2016 09:14:39 +0000 (12:14 +0300)] 
rt-tests, hwlatdetect: upgrade to 2.0

0001-Makefile-Set-CC-AR-variable-only-if-it-doesn-t-have-.patch has been merged upstream

(From OE-Core rev: 2b6c5cc41c55e11509d5c1268dc1baab0a975d59)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdbm: upgrade to 1.12
Alexander Kanavin [Fri, 3 Jun 2016 09:14:38 +0000 (12:14 +0300)] 
gdbm: upgrade to 1.12

(From OE-Core rev: 81fa61c94a99100daf2955bc699aaa213d35af94)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoasterconf.json: exclude releases Toaster can't build
Elliot Smith [Fri, 3 Jun 2016 13:59:26 +0000 (14:59 +0100)] 
toasterconf.json: exclude releases Toaster can't build

Due to the switch to Python 3, Toaster master can only build
with master and not with earlier releases.

Make master the default release for projects and remove previous
releases from configuration.

(From OE-Core rev: b96683079fc481080ba7b49731bec697b43edae8)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/pybootchart: Fix print statement
Richard Purdie [Fri, 3 Jun 2016 13:06:09 +0000 (14:06 +0100)] 
scripts/pybootchart: Fix print statement

This was broken with the python3 fixes.

(From OE-Core rev: 0eadd008d08f9a6bb17a1f641b4735d0d2012580)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: codeparser: Use hashlib for hashing, not hash()
Richard Purdie [Fri, 3 Jun 2016 12:38:33 +0000 (13:38 +0100)] 
bitbake: codeparser: Use hashlib for hashing, not hash()

"hash() is randomised by default each time you start a new instance of
recent
versions (Python3.3+) to prevent dictionary insertion DOS attacks"

which means we need to use hashlib.md5 to get consistent values for
the codeparser cache under python 3. Prior to this, the codeparser
cache was effectively useless under python3 as shown by performance
regressions.

(Bitbake rev: 12d43cf45ba48e3587392f15315d92a1a53482ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: codeparser: Small optimisation to stop repeated hash() calls
Richard Purdie [Fri, 3 Jun 2016 12:35:32 +0000 (13:35 +0100)] 
bitbake: codeparser: Small optimisation to stop repeated hash() calls

No functionality change, just avoids function call overhead in a
function which loops heavily.

(Bitbake rev: 633c0c19f87a92497a7e9771811cdc953e1b7047)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: change python to python3 in shebang
Ed Bartosh [Thu, 2 Jun 2016 10:13:02 +0000 (13:13 +0300)] 
scripts: python3: change python to python3 in shebang

(From meta-yocto rev: c2629eb1a899a95571ec3649bec7998f130fac00)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: decode subprocess output
Ed Bartosh [Thu, 2 Jun 2016 10:13:00 +0000 (13:13 +0300)] 
scripts: python3: decode subprocess output

stdeout and stderr content returned by subprocess API has different
types in Python 3(bytes) and Python 2(string). Decoding it to
'utf-8' makes it unicode on both pythons.

(From meta-yocto rev: 1de9d0b4ad289c56907d082748cdc0111988cb4f)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoengine: python3: replace iteritems() -> items()
Ed Bartosh [Thu, 2 Jun 2016 10:12:58 +0000 (13:12 +0300)] 
engine: python3: replace iteritems() -> items()

Used items() as iteritems() doesn't exist in python 3.

(From meta-yocto rev: 0fd2e739cd14c6a02b6f4610176a0ad29b2ecc0e)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: replace exec statement with builtin
Ed Bartosh [Thu, 2 Jun 2016 10:12:57 +0000 (13:12 +0300)] 
scripts: python3: replace exec statement with builtin

Used exec() builtin instead of 'exec' statement as
this statement doesn't exist in python 3.

(From meta-yocto rev: ceb6c6fac212c5e1e76bf58b793dc2b9420b4a66)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: use explicit relative imports
Ed Bartosh [Thu, 2 Jun 2016 10:12:56 +0000 (13:12 +0300)] 
scripts: python3: use explicit relative imports

Implicit relative imports within packages are not supported in
python 3. They have to be converted to explicit imports.

Used 'from .module import' syntax for relative imports.

(From meta-yocto rev: 8eb2befc544e29fd87ac1fc75886cc6d7f40ad90)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoengine.py: python3: rename sys.maxint to sys.maxsize
Ed Bartosh [Thu, 2 Jun 2016 10:12:55 +0000 (13:12 +0300)] 
engine.py: python3: rename sys.maxint to sys.maxsize

Renamed sys.maxint -> sys.maxsize as sys.maxint doesn't
exist in python 3.

(From meta-yocto rev: b165be8c7f6d44c03bc76dd25c2b9e4cb54bb65a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: use new metaclass syntax
Ed Bartosh [Thu, 2 Jun 2016 10:12:53 +0000 (13:12 +0300)] 
scripts: python3: use new metaclass syntax

Used metaclass=<metaclass> syntax instead old
__metaclass__ = <metaclass> as only new one is supported
in python 3.

(From meta-yocto rev: 70ba79981d904b4b67440c0b5755b5449cddb025)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: rename raw_input to input
Ed Bartosh [Thu, 2 Jun 2016 10:12:49 +0000 (13:12 +0300)] 
scripts: python3: rename raw_input to input

Renamed raw_input to input as raw_input does not
exist in python 3.

(From meta-yocto rev: c9df9f2699885f2ba5b031c8761aefbf3c796067)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: fetch2: fix unpacking of deb packages
Paul Eggleton [Wed, 25 May 2016 04:46:44 +0000 (16:46 +1200)] 
bitbake: fetch2: fix unpacking of deb packages

deb packages in modern Debian versions have the data tarball compressed
with xz rather than gzip, and thus explicitly extracting data.tar.gz
fails. Unfortunately ar doesn't support wildcards matching items to
extract, so we have to find out what the name of the file is first and
then extract it, relying on tar to figure out how to unpack it based on
the filename rather than doing it with pipes and making that
determination ourselves.

(Bitbake rev: 17ff08d225a8fa7faffd683c028369574954fba9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: fetch2/git.py: References must match exactly
Peter Kjellerstedt [Mon, 23 May 2016 11:35:49 +0000 (13:35 +0200)] 
bitbake: fetch2/git.py: References must match exactly

Previously the code used to match a reference to its SHA-1 in
_latest_revision() used the Python "in" operator, which made it match
if the reference matched the beginning of an existing tag or
branch. This test, however, must be exact. I.e., either the reference
matches a tag or branch exactly, or it does not match at all.

(Bitbake rev: e5986c78a6108fd7578989c20efcbf0b81c97e03)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: cookerdata: print an error if layer dir does not exist
Markus Lehtonen [Thu, 26 May 2016 08:05:43 +0000 (11:05 +0300)] 
bitbake: cookerdata: print an error if layer dir does not exist

Makes it easier for user to identify problems, e.g. typos, in BBLAYERS.

[YOCTO #9507]

(Bitbake rev: 32c9689e4b492dc5821749e284e397d717af2a6c)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosend-error-report: encode data to bytes
Ed Bartosh [Fri, 3 Jun 2016 09:04:22 +0000 (12:04 +0300)] 
send-error-report: encode data to bytes

Encoded data before sending it through http as urllib expecting bytes.
Fixed TypeError: POST data should be bytes or an iterable of bytes. It
cannot be of type str.

(From OE-Core rev: b3f4de76d1b32c5079b0b857655cc2baad088519)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/buildhistory_analysis: fix for Python 3
Joshua Lock [Fri, 3 Jun 2016 08:17:47 +0000 (09:17 +0100)] 
lib/oe/buildhistory_analysis: fix for Python 3

The read method of the data_stream File object now returns bytes,
not a str, so we must decode it.

(From OE-Core rev: cfae302c4996c49a8754497ea9f13f8331d6975d)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosecurity_flags.inc: add an entry for python3-numpy
Alexander Kanavin [Fri, 3 Jun 2016 09:21:05 +0000 (12:21 +0300)] 
security_flags.inc: add an entry for python3-numpy

The entry is same as for python-numpy and prevents build failures
when extra security flags are in use (e.g. in poky-lsb).

(From OE-Core rev: 4a95989848df62b34e3115c7e81d4f005de74119)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotestexport.bbclass: Update to use python3
Mariano Lopez [Thu, 2 Jun 2016 13:09:58 +0000 (13:09 +0000)] 
testexport.bbclass: Update to use python3

Remove deprecated attributes in order to use python3.

runexported was changed to use python3.

[YOCTO #9702]

(From OE-Core rev: 9129af6dc421455c0253be313bf5781b913dc5fd)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodosfstools: Upgrade 3.0.28 -> 4.0
Jussi Kukkonen [Thu, 2 Jun 2016 10:49:34 +0000 (13:49 +0300)] 
dosfstools: Upgrade 3.0.28 -> 4.0

* Build system is now autotools
* Patches are no longer required
* Enable compatibility symlinks

(From OE-Core rev: 5d73c59d0c9af90774411f981a3b0b7e09ce6d9e)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage-live, image-vm, wic: Remove fs size workaround
Jussi Kukkonen [Thu, 2 Jun 2016 10:49:33 +0000 (13:49 +0300)] 
image-live, image-vm, wic: Remove fs size workaround

Since mtools has been patched to live with filesystems with sizes
not divisible by sectors-per-track, we no longer need to try to
set the size based on our guess of the sectors-per-track dosfstools is
going to use.

(From OE-Core rev: 334e32af88b310ff1ed950d127a6dedeb460f8d0)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomtools: Patch out a useless sanity check
Jussi Kukkonen [Thu, 2 Jun 2016 10:49:32 +0000 (13:49 +0300)] 
mtools: Patch out a useless sanity check

The sanity check is ensuring that filesystem size is divisible by
sectors-per-track. That seems to be just an optimization for ancient
media, and quite tricky to accomplish as different dosfstools versions
produce filesystems with different sectors-per-track.

Continue processing even if filesystem size is not divisible by
sectors-per-track.

(From OE-Core rev: 970cdbe26d9b6d0bd93325c8e734416e679010df)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoca-certificates: add dependency for native/nativesdk on openssl-native
Paul Eggleton [Thu, 2 Jun 2016 20:22:46 +0000 (08:22 +1200)] 
ca-certificates: add dependency for native/nativesdk on openssl-native

When running update-ca-certificates on the build host, as we do during
do_install for ca-certificates-native (and nativesdk-ca-certificates),
as of OE-Core commit cea46e7b8d9463306779301fa97f651d750f380f we now
need openssl-native so it can run c_rehash.

(From OE-Core rev: 523c99a2f12c20ce7bfa7755609f2c860dda6717)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: change python to python3 in shebang
Ed Bartosh [Thu, 2 Jun 2016 10:13:02 +0000 (13:13 +0300)] 
scripts: python3: change python to python3 in shebang

(From OE-Core rev: 4b544ff388497cac82b0585f237900595523e1cb)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: decode subprocess output
Ed Bartosh [Thu, 2 Jun 2016 10:13:00 +0000 (13:13 +0300)] 
scripts: python3: decode subprocess output

stdeout and stderr content returned by subprocess API has different
types in Python 3(bytes) and Python 2(string). Decoding it to
'utf-8' makes it unicode on both pythons.

(From OE-Core rev: ae4d36375683b6cfd48af25bfca70b2e77f7ade5)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocombo-layer: python3: use tempfile.TemporaryFile
Ed Bartosh [Thu, 2 Jun 2016 10:13:01 +0000 (13:13 +0300)] 
combo-layer: python3: use tempfile.TemporaryFile

Used tempfile.TemporaryFile() API instead of deprecated
os.tmpfile().

(From OE-Core rev: bf1b411eb1cd2cc960325d5fdb0cb4f4f7b1e40e)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodirsize: python3: fix TypeError: unorderable types
Ed Bartosh [Thu, 2 Jun 2016 10:12:59 +0000 (13:12 +0300)] 
dirsize: python3: fix TypeError: unorderable types

Python 3 ignores the __cmp__() method and doesn't have cmp() builtin
function. This caused sorted() call to raise
    TypeError: unorderable types: Record() < Record()

Removing __cmp__ method and implementing __lt__ should solve the
problem as __lt__ is the only method needed for sort[ed] to work.

(From OE-Core rev: 391cd33720e7d7e8e261193199272739293ad881)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocombo-layer: python3: import reduce
Ed Bartosh [Thu, 2 Jun 2016 10:12:54 +0000 (13:12 +0300)] 
combo-layer: python3: import reduce

Reduce is not a builtin function in python3.
It has to be imported from functools.

(From OE-Core rev: f9bda8b36decb5a837adcfeb1173092401988801)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: use new metaclass syntax
Ed Bartosh [Thu, 2 Jun 2016 10:12:53 +0000 (13:12 +0300)] 
scripts: python3: use new metaclass syntax

Used metaclass=<metaclass> syntax instead old
__metaclass__ = <metaclass> as only new one is supported
in python 3.

(From OE-Core rev: 067a2156f36a12c731d49f88cf9d0b0bab7a0dcb)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: get rid of __future__ imports
Ed Bartosh [Thu, 2 Jun 2016 10:12:52 +0000 (13:12 +0300)] 
scripts: python3: get rid of __future__ imports

Removed print_function and with_statement imports from __future__
as they're supported by python 3 by default.

(From OE-Core rev: 77ae2daad5d775d710b953cf0c623ce74cb2c274)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: rename raw_input to input
Ed Bartosh [Thu, 2 Jun 2016 10:12:49 +0000 (13:12 +0300)] 
scripts: python3: rename raw_input to input

Renamed raw_input to input as raw_input does not
exist in python 3.

(From OE-Core rev: 32765150b860ecdea74b4494b9531f5bc40252bb)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoksize.py: python3: get rid of strings.join
Ed Bartosh [Thu, 2 Jun 2016 10:12:51 +0000 (13:12 +0300)] 
ksize.py: python3: get rid of strings.join

Used join method instead of strings.join as stings.join
doesn't exist in python 3.

(From OE-Core rev: 10529d8fbc7254523f9749f4b35b07ebcccb6205)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: python3: fix urllib imports
Ed Bartosh [Thu, 2 Jun 2016 10:12:50 +0000 (13:12 +0300)] 
scripts: python3: fix urllib imports

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>
9 years agoscripts: python3: use new style except statement
Ed Bartosh [Thu, 2 Jun 2016 10:12:48 +0000 (13:12 +0300)] 
scripts: python3: use new style except statement

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>
9 years agoscripts: python3: convert iterables to lists
Ed Bartosh [Thu, 2 Jun 2016 10:12:47 +0000 (13:12 +0300)] 
scripts: python3: convert iterables to lists

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>
9 years agoautomake: drop the Python scriptlets to determine Python's directories
Alexander Kanavin [Thu, 2 Jun 2016 09:26:08 +0000 (12:26 +0300)] 
automake: drop the Python scriptlets to determine Python's directories

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>
9 years agopython3-numpy: add a recipe
Alexander Kanavin [Thu, 2 Jun 2016 09:26:07 +0000 (12:26 +0300)] 
python3-numpy: add a recipe

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>
9 years agohwlatdetect: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:26:06 +0000 (12:26 +0300)] 
hwlatdetect: move to Python 3

(From OE-Core rev: 4aa0d34155834e2e1ef7972c5dd6490a6f0c49e8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibcap-ng: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:26:05 +0000 (12:26 +0300)] 
libcap-ng: move to Python 3

(From OE-Core rev: 671a8e58aba0a01ad8571995dadbf569706df954)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemtap: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:26:04 +0000 (12:26 +0300)] 
systemtap: move to Python 3

(From OE-Core rev: fa707f700c0d2317cc5c0289e3e1fc1eb859ef40)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-ust: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:26:03 +0000 (12:26 +0300)] 
lttng-ust: move to Python 3

(From OE-Core rev: f49beaf99171e081a0e5df50d38a1122045ca029)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-tools: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:26:02 +0000 (12:26 +0300)] 
lttng-tools: move to Python 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>
9 years agognome-doc-utils: remove recipe
Alexander Kanavin [Thu, 2 Jun 2016 09:26:01 +0000 (12:26 +0300)] 
gnome-doc-utils: remove recipe

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>
9 years agolibnewt-python: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:26:00 +0000 (12:26 +0300)] 
libnewt-python: move to Python 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>
9 years agolibuser: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:59 +0000 (12:25 +0300)] 
libuser: move to Python 3

(From OE-Core rev: b2037a6d1735755ff44913d89c674303191954e0)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-docutils: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:58 +0000 (12:25 +0300)] 
python-docutils: move to Python 3

(From OE-Core rev: 798db38f993cf9bad6feb2da6e0eea0a582ba9f3)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-imaging: remove unused recipe
Alexander Kanavin [Thu, 2 Jun 2016 09:25:57 +0000 (12:25 +0300)] 
python-imaging: remove unused recipe

(From OE-Core rev: b03ebfaee278eb98b4bd0e11a682ac0cda192086)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-pyrex: remove unused recipe
Alexander Kanavin [Thu, 2 Jun 2016 09:25:56 +0000 (12:25 +0300)] 
python-pyrex: remove unused recipe

(From OE-Core rev: 976097f72af02ae4009ab81158927fca54ea78ff)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoswig: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:55 +0000 (12:25 +0300)] 
swig: move to Python 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>
9 years agogdb: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:54 +0000 (12:25 +0300)] 
gdb: move to Python 3

(From OE-Core rev: 675d11c73dc1f420c471af01a520f6a20d8a7337)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootchart2: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:53 +0000 (12:25 +0300)] 
bootchart2: move to Python 3

(From OE-Core rev: c4829e96272376c61d8645df75c4b946f37b461c)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-pycairo: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:52 +0000 (12:25 +0300)] 
python-pycairo: move to Python 3

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>
9 years agoutil-linux: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:51 +0000 (12:25 +0300)] 
util-linux: move to Python 3

(From OE-Core rev: 0dacdb780bce78e2c12b1ac9914a1a0194d6ff39)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: drop python dependency for ptests
Alexander Kanavin [Thu, 2 Jun 2016 09:25:50 +0000 (12:25 +0300)] 
systemd: drop python dependency for ptests

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>
9 years agonfs-utils: switch to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:49 +0000 (12:25 +0300)] 
nfs-utils: switch to Python 3

(From OE-Core rev: 91c3d8859676a8b0615563e1f8855566359f90c7)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-full-cmdline: drop python-dbus from the list of services
Alexander Kanavin [Thu, 2 Jun 2016 09:25:48 +0000 (12:25 +0300)] 
packagegroup-core-full-cmdline: drop python-dbus from the list of services

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>
9 years agoofono: drop the custom-made revert to Python 2 from Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:47 +0000 (12:25 +0300)] 
ofono: drop the custom-made revert to Python 2 from Python 3

(From OE-Core rev: 5645bd904b41fb765a03c4246ce6bcc3cda28f9d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoconnman: do not install Python test scripts
Alexander Kanavin [Thu, 2 Jun 2016 09:25:46 +0000 (12:25 +0300)] 
connman: do not install Python test scripts

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>
9 years agobluez5: switch to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:45 +0000 (12:25 +0300)] 
bluez5: switch to Python 3

(From OE-Core rev: 51250c3dd2bbbdfcc1d9dfba8ed2111335802fe9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoneard: do not package python test scripts
Alexander Kanavin [Thu, 2 Jun 2016 09:25:44 +0000 (12:25 +0300)] 
neard: do not package python test scripts

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>
9 years agopython-pygobject: port to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:43 +0000 (12:25 +0300)] 
python-pygobject: port to Python 3

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>
9 years agodbus-test: remove unneeded pygobject dependency
Alexander Kanavin [Thu, 2 Jun 2016 09:25:42 +0000 (12:25 +0300)] 
dbus-test: remove unneeded pygobject dependency

(From OE-Core rev: f0ade81f696c5c4f69db48632e69f2f23aaa3c8f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib: move to Python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:41 +0000 (12:25 +0300)] 
glib: move to Python 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>
9 years agopython3: drop 110-enable-zlib.patch
Alexander Kanavin [Thu, 2 Jun 2016 09:25:40 +0000 (12:25 +0300)] 
python3: drop 110-enable-zlib.patch

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>
9 years agopython-dbus: update to 1.2.4, port to python 3
Alexander Kanavin [Thu, 2 Jun 2016 09:25:39 +0000 (12:25 +0300)] 
python-dbus: update to 1.2.4, port to python 3

(From OE-Core rev: 691032c4f0e424c3a097a015a14279ea0a6dd71d)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>