scm/bb/tizen-distro.git
7 years agometa-tizen: tizen-platform-wrapper: Update relocated git repo 84/97984/1
Philippe Coval [Thu, 3 Nov 2016 08:40:39 +0000 (09:40 +0100)]
meta-tizen: tizen-platform-wrapper: Update relocated git repo

Change-Id: I0b9e2880db3c6ce7e44ff3d1bb2e0e78c56848a4
Bug-Tizen: BTY-121
(From meta-tizen rev: 068b840ac0c8a8ba9d886db04b528aa6fc917f81)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
7 years agometa-tizen: tizen-platform-config: Update relocated git repo 83/97983/1
Philippe Coval [Thu, 3 Nov 2016 08:40:39 +0000 (09:40 +0100)]
meta-tizen: tizen-platform-config: Update relocated git repo

Change-Id: Idcd23c89a9baad0dad9368f9bcd7a2e42f1bcb15
Bug-Tizen: BTY-121
(From meta-tizen rev: 8c3f6e736619e6183817990a153b64b10c9fb9be)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agoAutomatic commit to update last_revision 68/58068/1
Leon Anavi [Wed, 27 Jan 2016 08:22:47 +0000 (08:22 +0000)]
Automatic commit to update last_revision

Change-Id: I39ed0eb7dc0d0beeb0dae59dad0d7f7773e49cba
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: security-server: Prevent running ldconfig or systemctl if... 67/58067/1
Philippe Coval [Wed, 20 Jan 2016 09:33:25 +0000 (10:33 +0100)]
meta-tizen: security-server: Prevent running ldconfig or systemctl if...

This should be executed on system and not on build host.
Note It might worth to rewrite all recipes that involve systemd
and inherit systemd class when possible (check how for user sessions).

Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :

   /sbin/ldconfig.real: \
   Can't create temporary cache file /etc/ld.so.cache~: \
   Permission denied

Note, "or condition" is prefered because of shell's -e option.

Change-Id: Ib519697d4df1b9754e34ba030eb5b4ebf8c3ad92
(From meta-tizen rev: 4488b2e666ba6757db57af09bfd981c93d6446f8)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: privacy-manager-server: Prevent running ldconfig if not on system 66/58066/1
Philippe Coval [Wed, 20 Jan 2016 09:33:25 +0000 (10:33 +0100)]
meta-tizen: privacy-manager-server: Prevent running ldconfig if not on system

Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :

   /sbin/ldconfig.real: \
   Can't create temporary cache file /etc/ld.so.cache~: \
   Permission denied

Note, "or condition" is prefered because of shell's -e option.

Change-Id: I06d3731455912b536c053b29833de9d44832027b
(From meta-tizen rev: 4a9ae2d0394a94ad7ecbd927aae40b125ee5baf7)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: festival: Prevent running ldconfig if not on system 65/58065/1
Philippe Coval [Wed, 20 Jan 2016 09:33:25 +0000 (10:33 +0100)]
meta-tizen: festival: Prevent running ldconfig if not on system

Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :

   /sbin/ldconfig.real: \
   Can't create temporary cache file /etc/ld.so.cache~: \
   Permission denied

Note, "or condition" is prefered because of shell's -e option.

Change-Id: I2de3d79aef7c884727f91538ff3ac73babb07125
(From meta-tizen rev: 317bfee66280e5dfdbc014fb38ceb0edc95faeca)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: message-port: Prevent running ldconfig if not on system 64/58064/1
Philippe Coval [Wed, 20 Jan 2016 09:33:25 +0000 (10:33 +0100)]
meta-tizen: message-port: Prevent running ldconfig if not on system

Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :

   /sbin/ldconfig.real: \
   Can't create temporary cache file /etc/ld.so.cache~: \
   Permission denied

Note, "or condition" is prefered because of shell's -e option.

Change-Id: I0f1c9b6389ed37cccf6ad9d2a6bf77966043f2da
(From meta-tizen rev: 34fe05b1b2c0258c570cf77d05c9ab6ef56fa49d)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: murphy: Prevent running ldconfig if not on system 63/58063/1
Philippe Coval [Wed, 20 Jan 2016 09:33:26 +0000 (10:33 +0100)]
meta-tizen: murphy: Prevent running ldconfig if not on system

Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :

   /sbin/ldconfig.real: \
   Can't create temporary cache file /etc/ld.so.cache~: \
   Permission denied

Note, "or condition" is prefered because of shell's -e option.

Change-Id: I2ae3467c0f0e8b5b620d1772774771e3c33774ae
(From meta-tizen rev: 759339cc168638291a5e1ab3f82b6b403786907d)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: ail: Prevent running ldconfig if not on system 62/58062/1
Philippe Coval [Tue, 19 Jan 2016 14:33:51 +0000 (15:33 +0100)]
meta-tizen: ail: Prevent running ldconfig if not on system

Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :

   /sbin/ldconfig.real: \
   Can't create temporary cache file /etc/ld.so.cache~: \
   Permission denied

Note, "or condition" is preferred because of shell's -e option.

Change-Id: Ie211954bfb1753a8fa7d450caa653c1e03a9ffff
(From meta-tizen rev: 6dddf426bdc822e482ef792cdf5bcc7d82681a5b)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: gumd: Prevent running ldconfig if not on system 61/58061/1
Philippe Coval [Mon, 18 Jan 2016 10:19:08 +0000 (11:19 +0100)]
meta-tizen: gumd: Prevent running ldconfig if not on system

Without this change,
bitbake tries to run ldconfig on host instead
and then complains (but not fail !) about permission issue like :

   /sbin/ldconfig.real: \
   Can't create temporary cache file /etc/ld.so.cache~: \
   Permission denied

Note, "or condition" is prefered because of shell's -e option.

Change-Id: Ie211954bfb1753a8fa7d450caa653c1e03a99d63
(From meta-tizen rev: 0dbe39ac0ee3899efb15608feab593fb4752b88c)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: config-image: Test existance of file/dir before changing it 60/58060/1
Philippe Coval [Tue, 19 Jan 2016 14:33:52 +0000 (15:33 +0100)]
meta-tizen: config-image: Test existance of file/dir before changing it

Change-Id: I13178f9adc0e79c2124c2c486fed39ab45a2ffff
(From meta-tizen rev: 97c5e4b1aa22df2ce78887ec1e31227e83505219)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: pam: fix shell tests on package install 59/58059/1
Philippe Coval [Tue, 19 Jan 2016 15:15:06 +0000 (16:15 +0100)]
meta-tizen: pam: fix shell tests on package install

Without this change you will may able to create an image
with this silent error :

  | Output from pam-*@*:
  | /*/rootfs/install/tmp/rpm-tmp.*: 4: [: x$D: unexpected operator
  | /*/rootfs/install/tmp/rpm-tmp.*: 5: [: -a: unexpected operator

Change-Id: Idbdafd3a05309a479d00f50ab0ae62cd28ddffff
(From meta-tizen rev: 5fa37bc13d0dc3a96f93dc93f378194826f64e47)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAutomatic commit to update last_revision 58/56658/1
Philippe Coval [Mon, 11 Jan 2016 18:43:57 +0000 (19:43 +0100)]
Automatic commit to update last_revision

Change-Id: I45f585ba64986271cc687e341bac8783b5320051
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agometa-tizen: tiff: Cleanup remove trailing spaces as suggested 57/56657/1
Philippe Coval [Sun, 3 Jan 2016 12:52:21 +0000 (13:52 +0100)]
meta-tizen: tiff: Cleanup remove trailing spaces as suggested

Change-Id: I4919fae48f97eae42b1b3ba08d0a665f9bb1a597
(From meta-tizen rev: 42107d289e9c0ab1a33ebe985b094e182dc00e9b)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agometa-tizen: tiff: Keep makefiles in documentation sources tree 56/56656/1
Philippe Coval [Thu, 17 Dec 2015 09:02:10 +0000 (09:02 +0000)]
meta-tizen: tiff: Keep makefiles in documentation sources tree

And workaround doc installation.
Without autotools will not rebuild package without cleaning it.

Change-Id: I7f93d2a7ff3c76db567c1f01f62f2fa9ad76a2d4
(From meta-tizen rev: 8328576084f5f3fe0d531efbdb54f048b1272595)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agometa-tizen: tiff: Fix QA issue by installing dirs one per one 55/56655/1
Philippe Coval [Sat, 17 Dec 2016 11:12:02 +0000 (12:12 +0100)]
meta-tizen: tiff: Fix QA issue by installing dirs one per one

This change will work on shells that do not support "expandable path"
and will fail to build and report warning message like this:

  WARNING: QA Issue: tiff: Files/directories were installed but not shipped
  /{
  /{/usr
  /{/usr/share
  /{/usr/share/man
  /{/usr/share/man/{man1,man3},usr
  /{/usr/share/man/{man1,man3},usr/{bin,lib,include}} [installed-vs-shipped]

(From meta-tizen rev: b0c5887dc1e2640aa2dc634e66af0d87949f1989)

Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Change-Id: I6f5bb17f6631a3466d274dc17eac28f42f9de6e9

8 years agometa-tizen: tizen-platform-config: Fix embedded script indentation (IVI) 54/56654/1
Philippe Coval [Wed, 16 Dec 2015 08:59:08 +0000 (08:59 +0000)]
meta-tizen: tizen-platform-config: Fix embedded script indentation (IVI)

Then delimiter will be used, and source file written correctly.

Without, bitbake did not fail but raise a warning like this:
  warning: here-document at line 11 delimited by end-of-file (wanted `ENDOFCAT')

Change-Id: I30aa0ddfb6b48807e193bc07960a961d71b5bdbf
(From meta-tizen rev: 17c92602c96a6b8472156980d2f428e8d223765d)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agometa-tizen: tizen-platform-config: Fix embedded script indentation (Common) 53/56653/1
Philippe Coval [Wed, 16 Dec 2015 08:59:07 +0000 (08:59 +0000)]
meta-tizen: tizen-platform-config: Fix embedded script indentation (Common)

Then delimiter will be used, and source file written correctly.

Without, bitbake did not fail but raise a warning like this:
  warning: here-document at line 11 delimited by end-of-file (wanted `ENDOFCAT')

Change-Id: I951e01b714c33041f4b0a3c88ad1924a561bbc1d
(From meta-tizen rev: 312a51b98c0892638d898e6fa2b46514f020a3d5)
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agoAutomatic commit to update last_revision 14/55414/1
wchang kim [Wed, 23 Dec 2015 11:45:24 +0000 (20:45 +0900)]
Automatic commit to update last_revision
Signed-off-by: wchang kim <wchang.kim@samsung.com>
Change-Id: Ia26213ed73550debd8b47a266d253d153a27a6e6

8 years agometa-tizen: Description:Changing the filelist of nodejs-npm package and etc. 13/55413/1
wchang kim [Wed, 23 Dec 2015 11:28:11 +0000 (20:28 +0900)]
meta-tizen: Description:Changing the filelist of nodejs-npm package and etc.
Changing the filelist : nodejs_0.12.7.bb
Removing the white space : nodejs.service, nodejs_0.12.7.bb
Seperating the common recipe : rpi-hwup-image-tizen-micro.bb, target-image-common.bb
Signed-off-by: wchang kim <wchang.kim@samsung.com>
Change-Id: I1dce8c3dd18bd4b15107688a92dac23d73e2218f
(From meta-tizen rev: cd09962e6d636d9c497f0edce9fbcac1082994c4)
Signed-off-by: wchang kim <wchang.kim@samsung.com>
8 years agoAutomatic commit to update last_revision 81/55381/1
wchang kim [Wed, 23 Dec 2015 10:15:24 +0000 (19:15 +0900)]
Automatic commit to update last_revision
Signed-off-by: wchang kim <wchang.kim@samsung.com>
Change-Id: I29383df1f4e49d229068722dff462622c8aac75c

8 years agometa-tizen: Description:Adding the v4l2grab utility and wpa_cli package. 80/55380/1
wchang kim [Wed, 23 Dec 2015 10:12:49 +0000 (19:12 +0900)]
meta-tizen: Description:Adding the v4l2grab utility and wpa_cli package.
The recipe of v42lgrab is from
'https://github.com/alext-mkrs/meta-alext-edison/tree/master/recipes-addfeatures'.
This utility is used to take a picture via usb camera supported v4l2.
wpa_cli is added to tizen micro image.
nodejs-npm, openssh-sftp-server and userland are removed from tizen
micro image.

Change-Id: Ibe109b4f57809abdd637240916295f604f077498
(From meta-tizen rev:6618e9345341c3f70dbb7f2121b6dddc34d6ac51)
Signed-off-by: wchang kim <wchang.kim@samsung.com>
8 years agometa-tizen: Description:Insatll npm modules into target except npm Adding the npm... 79/55379/1
wchang kim [Tue, 22 Dec 2015 22:52:20 +0000 (07:52 +0900)]
meta-tizen: Description:Insatll npm modules into target except npm Adding the npm.class and modifying the recipe of nodejs to install npm modules. Adding the scripts to instert the NODE_PATH to /etc/porfile. Signed-off-by: wchang kim <wchang.kim@samsung.com>
Change-Id: I67300339bd3550563ec27503b68a63eedfeeae6e
(From meta-tizen rev: b82b23014763f998eb87b8ebb7dd1bf63afb2935)
Signed-off-by: wchang kim <wchang.kim@samsung.com>
8 years agoAutomatic commit to update last_revision 10/55010/1
Leon Anavi [Mon, 21 Dec 2015 08:42:06 +0000 (10:42 +0200)]
Automatic commit to update last_revision

Change-Id: I6f4d22e331781ba58de3b78326208eef2c7d28ac
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: Description : Creating and Adding new layer for tizen micro profile base... 09/55009/1
wchang kim [Thu, 17 Dec 2015 09:06:22 +0000 (18:06 +0900)]
meta-tizen: Description : Creating and Adding new layer for tizen micro profile base. Tizen micro profile has minimul system , nodejs and nginx. rpi-hwup-image-tizen-micro.bb is the target recipe for raspberry pi2 board.

Some files was generated by yocto-layer tool.
Some files was copied from meta-openembedded.

We are preparing the wiki page how to build and apply the tizen micro image for raspberry pi2 board.

Change-Id: I0a76d7852f7a4f54e4f74669985224276150b168
(From meta-tizen rev: 0c5a55fc7f76c165579e6244eee56040a5445729)
Signed-off-by: wchang kim <wchang.kim@samsung.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: alsa-utils_%.bbappend: fix vt102 error 08/55008/1
Leon Anavi [Thu, 10 Dec 2015 12:01:16 +0000 (14:01 +0200)]
meta-tizen: alsa-utils_%.bbappend: fix vt102 error

Fix "Error opening terminal: vt102" by adding run time dependencies
on ncurses and ncurses-terminfo-base.

Bug-Tizen: BTY-120
(From meta-tizen rev: 40021de01be3fb0c4766b483a6f15acc13d6232f)
Change-Id: Ie75eec87a3eb0c63a28cab42d88f7a19384308fd
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAutomatic commit to update last_revision 70/53970/1
Leon Anavi [Thu, 10 Dec 2015 12:22:49 +0000 (14:22 +0200)]
Automatic commit to update last_revision

Change-Id: I7b8cb0422b68d158070b03066aabd2df9f0ef5ed
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: ofono: use python 2.x in the test scripts 69/53969/1
Leon Anavi [Fri, 20 Nov 2015 15:12:46 +0000 (17:12 +0200)]
meta-tizen: ofono: use python 2.x in the test scripts

Bug-Tizen: BTY-118
Change-Id: Ic85a5bcf71cd57a4c621ac9244f670cc2a3514bc
(From meta-tizen rev: 8a02429aa137e5d1d57fada65e4d701b3ca774fb)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAutomatic commit to update last_revision 37/52437/1
Leon Anavi [Mon, 23 Nov 2015 11:00:51 +0000 (13:00 +0200)]
Automatic commit to update last_revision

Change-Id: I6b2122ba776411a4b02aac14db021297cd69bf8a

8 years agometa-tizen: crosswalk-thirdparty: fix uninitialized variable error 36/52436/1
Leon Anavi [Tue, 10 Nov 2015 12:38:51 +0000 (14:38 +0200)]
meta-tizen: crosswalk-thirdparty: fix uninitialized variable error

Bug-Tizen: BTY-117
Change-Id: Iebe1dcd483d29586f28f70122f7e56d2de2aa764
(From meta-tizen rev: 403739839cea6342f15c4d277f87cfc759766b44)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: capi-network-nfc: fix uninitialized variable error 35/52435/1
Leon Anavi [Mon, 9 Nov 2015 13:53:47 +0000 (15:53 +0200)]
meta-tizen: capi-network-nfc: fix uninitialized variable error

Bug: BTY-116

Change-Id: Ie1a19cf2cd879c5339396e731035f472086b4a65
(From meta-tizen rev: b8eefa614eeadde5140459ab0c0b7603689ac246)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-tizen: privacy-manager-server: fix uninitialized variable error 34/52434/1
Leon Anavi [Mon, 9 Nov 2015 13:27:31 +0000 (15:27 +0200)]
meta-tizen: privacy-manager-server: fix uninitialized variable error

Bug: BTY-115

Change-Id: Ied040c30ec6212a9b84c5fa9a80d893be11d2118
(From meta-tizen rev: cb19eb87781916603855a7222e83921bdfed1f6c)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAutomatic commit to update last_revision 33/49933/1
Leon Anavi [Wed, 21 Oct 2015 16:12:19 +0000 (19:12 +0300)]
Automatic commit to update last_revision

Change-Id: Ifd3c54ae18c1bd1b8a833c926cf66e26307367c5

8 years agometa-tizen: Fix ofono recipes: use python 2 instead of 3 in script dial-number 32/49932/1
Leon Anavi [Fri, 9 Oct 2015 16:07:13 +0000 (19:07 +0300)]
meta-tizen: Fix ofono recipes: use python 2 instead of 3 in script dial-number

Bug: BTY-114
Change-Id: I732d287bf132250c78650cc0704b8ec6e9bdcbe8
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAutomatic commit to update last_revision
Mauro Carvalho Chehab [Tue, 25 Aug 2015 12:27:57 +0000 (09:27 -0300)]
Automatic commit to update last_revision

Change-Id: I09cbb6fa3062418a5d95e97a85266cda47fe09f0

8 years agometa-tizen: Update LICENSE fields to fix warnings
Mats Wichmann [Mon, 17 Aug 2015 21:37:06 +0000 (15:37 -0600)]
meta-tizen: Update LICENSE fields to fix warnings

Most of the errors were misunderstandings of two rules:
- license names have to be single-word;
- they are combined using & | (not words)

Bug: BTY-113

Change-Id: I31937d74352f71512132c9a03c4c0d91c90ee979
(From meta-tizen rev: fee79219db0773684291f0362bc057f1b304ab5a)

Signed-off-by: Mats Wichmann <mats@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoAutomatic commit to update last_revision
Mauro Carvalho Chehab [Sun, 26 Jul 2015 13:13:58 +0000 (10:13 -0300)]
Automatic commit to update last_revision

Change-Id: I992a99dc70530f10ddf8f172071cd74c023bfd70

8 years agobitbake: lib/bb/utils: add safeguard against recursively deleting things we shouldn't
Paul Eggleton [Fri, 17 Apr 2015 14:26:59 +0000 (15:26 +0100)]
bitbake: lib/bb/utils: add safeguard against recursively deleting things we shouldn't

Add some very basic safeguard against recursively deleting paths such
as / and /home in the event of bugs or user mistakes.

Addresses [YOCTO #7620].

(Bitbake master rev: 56cddeb9e1e4d249f84ccd6ef65db245636e38ea)

(Bitbake rev: fbf1c39641f78d553961974a2bb96256eb9496e7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: fetch/git: Remove a possible trailing '/' in subpath
Anders Darander [Fri, 17 Apr 2015 05:49:42 +0000 (07:49 +0200)]
bitbake: fetch/git: Remove a possible trailing '/' in subpath

If the subpath parameter to the git fetcher ends with a trailing '/',
 bb.utils.prunedir() will be called on '/'...

Fixes [YOCTO #7620].

(Bitbake master rev: 380a3fb372c8b0a53dd7528562e6e7a222dc76ef)

(Bitbake rev: faffa1c4a4d8353b21a0d359076153da0dc31a05)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: bitbake: tests/data: add test for incorrect remove behaviour
Ross Burton [Mon, 2 Feb 2015 15:09:24 +0000 (15:09 +0000)]
bitbake: bitbake: tests/data: add test for incorrect remove behaviour

The _remove operator isn't working correctly when used with a variable that
expands to several items, so add a test case to exercise this path.

(Bitbake rev: cb2a62a5fbffb358528a85b46c1fc6383286cb9d)

(Bitbake rev: ed950f95fc80f069e800e9c6e785641f307e6512)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: bitbake: data_smart: split expanded removal values when handling _remove
Ross Burton [Mon, 2 Feb 2015 15:09:25 +0000 (15:09 +0000)]
bitbake: bitbake: data_smart: split expanded removal values when handling _remove

Given these assignments:

 TEST="a b c d"
 TEST_remove = "b d"

TEST evaluates to "a c".  However, if the _remove override is given as a
variable:

 TEST="a b c d"
 FOO = "b d"
 TEST_remove = "${FOO}

TEST evaluates to "a b c d", because when FOO is expanded it isn't split into a
list.

Solve this by splitting all members of removeactive once they've been expanded.

[ YOCTO #7272 ]

(Bitbake rev: 207013b6dde82f9654f9be996695c8335b95a288)

(Bitbake rev: c25b0e0ca289f6ad0ed697a0b0252fa48ab5dd0b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: data.py: fixes bad substitution when running devshell
Richard Tollerton [Thu, 9 Apr 2015 20:21:49 +0000 (15:21 -0500)]
bitbake: data.py: fixes bad substitution when running devshell

Running bitbake inside make results in the exported environment variable
MAKEOVERRIDES="${-*-command-variables-*-}", which the shell chokes on
when trying to expand it. But of course, it probably shouldn't have been
trying to expand it in the first place -- so just escape the dollar
sign.

(Bitbake rev: 18cd0ce6a55c9065c3f1bf223b47d817b5efcd8f)

(Bitbake rev: 34226a9e02f319a7547967bbdaca3ca918927dd1)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: cooker/server: Fix up 100% CPU usage at idle
Richard Purdie [Fri, 10 Apr 2015 14:57:07 +0000 (15:57 +0100)]
bitbake: cooker/server: Fix up 100% CPU usage at idle

The recent inotify changes are causing a 100% cpu usage issue in the
idle handlers. To avoid this, we update the idle functions to optionally
report a float value which is the delay before the function needs to be
called again. 1 second is fine for the inotify handler, in reality its
more like 0.1s due to the default idle function sleep.

This reverts performance regressions of 1.5 minutes on a kernel build
and ~5-6 minutes on a image from scratch.

(Bitbake rev: 0e0ba408c2dce14a0fabd3fdf61d8465a031495b)

(Bitbake rev: 88dfe16b5abd804bae0c1e3b60cb93cb951cbc3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: cooker: read file watches on server idle
Alexandru DAMIAN [Fri, 10 Apr 2015 14:57:06 +0000 (15:57 +0100)]
bitbake: cooker: read file watches on server idle

The inotify facility monitoring changes to the config files
could be overwhelmed by massive changes to the watched files
while server is running.

This patch adds verification the notification watches to the
server idle functions, in addition to the cooker updateCache
command which executes only infrequently, thus preventing
overflowing the notification buffer.

[YOCTO #7316]

(Bitbake rev: 996e663fd5c254292f44eca46f5fdc95af897f98)

(Bitbake rev: b44694b1efc7389536df2f901a8b70321edfeeba)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: cooker: Improve pyinotify performance
Richard Purdie [Fri, 10 Apr 2015 14:57:05 +0000 (15:57 +0100)]
bitbake: cooker: Improve pyinotify performance

Benchmarks show that the introduction of pyinotify regressed
performance. This patch ensures we only call the add_watch() function
for new entries, not ones we've already processed which does improve
performance as measured by "time bitbake -p".

This doesn't completely remove the overhead but it does substantially
reduce it.

(Bitbake rev: 493361f35f6cc332d4ea359a2695622c2c91a9c2)

(Bitbake rev: f668b347a8f9563f41d454288b9d4632190f308f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: cooker: Further optimise pyinotify
Richard Purdie [Fri, 10 Apr 2015 14:57:04 +0000 (15:57 +0100)]
bitbake: cooker: Further optimise pyinotify

We currently add crazy numbers of watches on files. The per user limit is 8192
by default and on a system handling multiple builds, this can be an issue.

We don't need to watch all files individually, we can watch the directory containing
the file instead. This gives better resource utilisation and better performance
further reverting some of the performance regression seen with the introduction
of pyinotify.

(Bitbake rev: a2d441237916a99405b800c1a3dc39f860100a8c)

(Bitbake rev: 6ab3945fc54b2a242292a874d78ebd8cccb99573)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: cooker: Fix pyinotify handling of ENOENT issues
Richard Purdie [Fri, 10 Apr 2015 14:57:03 +0000 (15:57 +0100)]
bitbake: cooker: Fix pyinotify handling of ENOENT issues

We try and add watches for files that don't exist but if they did, would influence
the parser. The parent directory of these files may not exist, in which case we need
to watch any parent that does exist for changes. This change implements that fallback
handling.

(Bitbake rev: 979ddbe4b7340d7cf2f432f6b1eba1c58d55ff42)

(Bitbake rev: 6d0abc6a5c9b8b37eecfa63fbcb5343162bc9311)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: cooker/cache/parse: Implement pyinofity based reconfigure
Richard Purdie [Fri, 10 Apr 2015 14:57:02 +0000 (15:57 +0100)]
bitbake: cooker/cache/parse: Implement pyinofity based reconfigure

Memory resident bitbake has one current flaw, changes in the base configuration
are not noticed by bitbake. The parsing cache is also refreshed on each invocation
of bitbake (although the mtime cache is not cleared so its pointless).

This change adds in pyinotify support and adds two different watchers, one
for the base configuration and one for the parsed recipes.

Changes in the latter will trigger a reparse (and an update of the mtime cache).
The former will trigger a complete reload of the configuration.

Note that this code will also correctly handle creation of new configuration files
since the __depends and __base_depends variables already track these for cache
correctness purposes.

We could be a little more clever about parsing cache invalidation, right now we just
invalidate the whole thing and recheck. For now, its better than what we have and doesn't
seem to perform that badly though.

For education and QA purposes I can document a workflow that illustrates this:

$ source oe-init-build-env-memres
$ time bitbake bash
[base configuration is loaded, recipes are parsed, bash builds]
$ time bitbake bash
[command returns quickly since all caches are valid]
$ touch ../meta/classes/gettext.bbclass
$ time bitbake bash
[reparse is triggered, time is longer than above]
$ echo 'FOO = "1"' >> conf/local.conf
$ time bitbake bash
[reparse is triggered, but with a base configuration reload too]

As far as changes go, I like this one a lot, it makes memory resident bitbake
truly usable and may be the tweak we need to make it the default.

The new pyinotify dependency is covered in the previous commit.

(Bitbake rev: 0557d03c170fba8d7efe82be1b9641d0eb229213)

(Bitbake rev: 47809de6459deb346929e4ca6efa87a997cfcb38)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: bitbake: Add pyinotify to lib/
Richard Purdie [Fri, 10 Apr 2015 14:57:01 +0000 (15:57 +0100)]
bitbake: bitbake: Add pyinotify to lib/

We need inotify support within bitbake and pyinotify provides the best
mechanism to add this. We have a few options:

a) Depend on pyinotify from the system
b) Add in our own copy
c) Only use pyinotify in cases like the memory resident server

For a), it would mean adding in dependencies, updating documentation and
generally creating churn for users as well as having implications for things
like the build-appliance recipe.

It turns out that glibc has the C functionality we need from version 2.4
onwards (2006) and that we just need a single python file for b), there
is no binary module needed. We therefore add in a copy of pyinotify 0.9.5
into the tree meaning we can depend on it simply and unconditionally.

c) is unattractive as we need fewer possible code paths, not more.

(Bitbake rev: d49004a4e247e3958a2f7ea9ffe5ec92794e1352)

(Bitbake rev: 2835b12288cf0c46586d6f708a0ee0b5e025cba3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: cooker: Shut down the parser in error state
Richard Purdie [Thu, 8 Jan 2015 09:41:03 +0000 (09:41 +0000)]
bitbake: cooker: Shut down the parser in error state

If the cooker is in an error state, we shouldn't continue to try parsing.
This fixes an issue where an invalid PR server is detected when bitbake
is started and ensures bitbake exits cleanly rather than hanging.

[YOCTO #6934]

(Bitbake rev: 923fc5ee0ace02cc29110bff502a2c65e6bdebf0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: bitbake-worker: Use setsid() rather than setpgid()
Richard Purdie [Mon, 8 Dec 2014 21:31:56 +0000 (21:31 +0000)]
bitbake: bitbake-worker: Use setsid() rather than setpgid()

The bug has a long discussion of this. Basically, in some environments,
the exact details of which aren't understood, a Ctrl+C signal to the
UI is being transmitted to all the process children. Looking at the output
of "ps ax -O tpgid", its clear the main process is still the terminal
owner of these processes.

stty -a on a problematic system shows: "-ignbrk brkint"
and on a working system shows: "-ignbrk -brkint"

The description of brkint would suggest this is the problem, setting up
that terminal environment wasn't able to reproduce the problem though.
It was confirmed that using setsid() caused the problem to be resolved
and is probably the right thing to be doing anyway, so lets do it.

[YOCTO #6949]

(Bitbake rev: 81d90389edd4d4778d3aec86e0775ab98dd1496e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: cache/fetch2/siggen: Ensure we track include history for file checksums
Richard Purdie [Mon, 8 Dec 2014 21:25:23 +0000 (21:25 +0000)]
bitbake: cache/fetch2/siggen: Ensure we track include history for file checksums

Currently, if you reference a file url, its checksum is included in the
task hash, however if you change to a different file at a different
location, perhaps taking advantage of the FILESPATH functionality, the
system will not reparse the file in question and change its checksum to
match the new file.

To correctly handle this, the system not only needs to know if the
existing file still exists or not, but also check the existance
of every file it would have looked at when computing the original file.

We already do this in the bitbake parsing code for class inclusion. This
change uses the same technique to log the file list we looked at and
if files in these locations exist when they previously did not, to
invalidate and reparse the file.

Since data stored in the cache is flattened text, we have to use a string
form of the data and split on the ":" character which is ugly, but is
an internal detail we can improve later if a better method is found.

The cache version changes to trigger a reparse since the previous
cache data is now incompatible.

[YOCTO #7019]

(Bitbake rev: 67ebf368aab8fbe372374190f013bdf2c83c59de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: wget: Add localpaths method which gives localpath with history
Richard Purdie [Mon, 8 Dec 2014 21:22:26 +0000 (21:22 +0000)]
bitbake: wget: Add localpaths method which gives localpath with history

In some cases for cache purpoes we not only need to know which file
is going to be used but also which paths were considered. Add a
localpaths method which includes the history.

The core which() funciton already supports this, this just extends
the function to preserve the extra data we need. localpath becomes
just a special case of the case with history.

(Bitbake rev: d71407dbbf82659f245e002ecaad02b26838f455)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: ast: Add error when trying to use dash in sh function names
Richard Purdie [Thu, 8 Jan 2015 10:35:16 +0000 (10:35 +0000)]
bitbake: ast: Add error when trying to use dash in sh function names

A dash character is illegal in function names in sh (but not bash). Since
our shell tasks run under sh and the shell parser is sh based, EXPORT_FUNCTIONS
won't work with class names containing a dash.

We can't change sh, we can ensure the user is warned about the problem
straight away though.

[YOCTO #7006]

(Bitbake rev: 879fe20f47ba75f4afb3484d4398d5fd60431e12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: siggen: Ensure taskdata default functions exist in base class
Richard Purdie [Fri, 23 Jan 2015 14:38:12 +0000 (14:38 +0000)]
bitbake: siggen: Ensure taskdata default functions exist in base class

The get/set_taskdata functions are now part of the API of the class,
ensure they exist in the base class definition so the noop handler
works.

[YOCTO #7233]

(Bitbake rev: d571149cd82028c5e05cca33a3007ce1b779a654)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agobitbake: fetch2/git: Allow other namespaces than refs/heads to be searched.
Fredrik Svensson [Tue, 4 Nov 2014 11:29:32 +0000 (12:29 +0100)]
bitbake: fetch2/git: Allow other namespaces than refs/heads to be searched.

This makes it possble to fetch Gerrit review references which are
normally stored under refs/changes.

Please disregard previous patch with the same topic.

(Bitbake rev: ab8cbf2a71750f5ea36e218036b050857301607b)

Signed-off-by: Fredrik Svensson <fredrik.svensson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoAutomatic commit to update last_revision
Mauro Carvalho Chehab [Fri, 24 Jul 2015 17:00:55 +0000 (14:00 -0300)]
Automatic commit to update last_revision

Change-Id: I7222095488af8df51b999eb972bcd5e39dc5a236

8 years agoAutomatic commit to update last_revision
Mauro Carvalho Chehab [Fri, 24 Jul 2015 16:36:25 +0000 (13:36 -0300)]
Automatic commit to update last_revision

Change-Id: I7cad9e74c9efa7059b3e8764b850c9bab0c30bba

8 years agoqt5-opengles2-test: update to last commit
Andreas Müller [Sat, 13 Jun 2015 07:02:55 +0000 (09:02 +0200)]
qt5-opengles2-test: update to last commit

* don't segfault in case qtsensors does not find accelerometer values

(From meta-qt5 rev: 6d9e2a6dfc21f7d9a3a11b4bcb426b5dfe6feaeb)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtbase: Fix build with musl
Khem Raj [Mon, 8 Jun 2015 21:39:08 +0000 (14:39 -0700)]
qtbase: Fix build with musl

This is a generic fix to accomodate musl which is adhering to posix
and doesnt have legacy to carry, so lets invert the conditional so the
special legacy case of glibc is checked and else part then covers rest
of cases which are newer glibc/uclibc and musl

(From meta-qt5 rev: d9d1d04760430cd0e5edd1764d832860715e7b83)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebkit: Fix build with musl
Khem Raj [Mon, 8 Jun 2015 16:56:37 +0000 (09:56 -0700)]
qtwebkit: Fix build with musl

Make backtrace() API conditional to glibc

(From meta-qt5 rev: eedb3e64137cdcab347aefe6ef3f9e781cce83e8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebengine: Use QT_GIT for SRC_URI
Otavio Salvador [Thu, 18 Jun 2015 20:09:20 +0000 (17:09 -0300)]
qtwebengine: Use QT_GIT for SRC_URI

The recipe was pointing to gitorious, which is dead. Update it to use
QT_GIT variable to allow for easier change in future of the Git server
to use.

(From meta-qt5 rev: 5509fa944cb9ec640e380ab733ab93ca516189f3)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt3d: fix DEPENDS
Martin Jansa [Fri, 5 Jun 2015 11:09:13 +0000 (13:09 +0200)]
qt3d: fix DEPENDS

* nativesdk dependencies were incorrectly introduced in:
  commit 48ee17af942ac9860e834c8dec049370e7802a56
  Author: Martin Jansa <Martin.Jansa@gmail.com>
  Date:   Thu May 28 14:58:06 2015 +0200
  Subject: qt5: merge .inc and _git.bb files

(From meta-qt5 rev: 9925146ee780e7a1df8bf2bc958619b7cfdae690)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebkit-examples: fix missing qtxmlpatterns dependency
Andre McCurdy [Sat, 30 May 2015 04:33:03 +0000 (21:33 -0700)]
qtwebkit-examples: fix missing qtxmlpatterns dependency

The webkitwidgets/xmlpatterns examples depend on qtxmlpatterns.

(From meta-qt5 rev: 1d856bbaa8ead0c68724673c0adb83b82fa449b0)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebengine: use x86 over-ride instead of i586
Andre McCurdy [Thu, 4 Jun 2015 19:23:36 +0000 (12:23 -0700)]
qtwebengine: use x86 over-ride instead of i586

Support i686 without needing to duplicate the i586 over-ride.

(From meta-qt5 rev: 661c3d36b6a91fd1d6c9d4edf3f598f1ec2f2576)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwayland: Bump QT_VERSION to "5.4.3"
Khem Raj [Thu, 4 Jun 2015 19:09:42 +0000 (12:09 -0700)]
qtwayland: Bump QT_VERSION to "5.4.3"

We pin the recipe at 182488129c3f6a67a7e781fdb7c0147777191991
and upstream changed the MODULE_VERSION = 5.4.3 in that commit

Fixes
| install: cannot stat
'/mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/q
twayland/5.4.2+gitAUTOINC+182488129c-r0/build/include/QtCompositor/5.4.2/QtCompositor/private/qwayland-server-*.h':
No such fil
e or directory

(From meta-qt5 rev: 32c199d8ab1d09f96209fa685664d61e184c83b6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5: upgrade to latest revision in 5.4 branches
Martin Jansa [Mon, 1 Jun 2015 14:07:21 +0000 (16:07 +0200)]
qt5: upgrade to latest revision in 5.4 branches

(From meta-qt5 rev: 82b211aa423cd9ae46422823139b24a07e8b0fa9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5: merge .inc and _git.bb files
Martin Jansa [Thu, 28 May 2015 12:58:06 +0000 (14:58 +0200)]
qt5: merge .inc and _git.bb files

(From meta-qt5 rev: 48ee17af942ac9860e834c8dec049370e7802a56)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5: rename <module>-git directories with patches to just <module>
Martin Jansa [Thu, 28 May 2015 12:52:48 +0000 (14:52 +0200)]
qt5: rename <module>-git directories with patches to just <module>

(From meta-qt5 rev: 3208763b8b3f65b17825ded4b2c9b9166d78f2b2)

Change-Id: If1ea97332373651f811c9e8b0a655473ce9e30d4
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5: drop recipes for 5.4.1 version
Martin Jansa [Thu, 28 May 2015 12:50:37 +0000 (14:50 +0200)]
qt5: drop recipes for 5.4.1 version

* we don't plan to keep 2 versions, one from tarballs and one from git
  now there is 5.4.2 in git recipes and 5.4.1 tarballs aren't very useful
  anymore

(From meta-qt5 rev: 3fa7bb148ed40bd018ce51b5f20c0c8792638568)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtbase-native: add CLEANBROKEN
Martin Jansa [Thu, 28 May 2015 10:26:18 +0000 (12:26 +0200)]
qtbase-native: add CLEANBROKEN

* otherwise do_configure fails with:
  make[2]: *** No rule to make target 'cmake-clean', needed by 'sub-installed_cmake-clean'.  Stop.
  make[2]: *** Waiting for unfinished jobs....
  hidden very far in log.do_configure

(From meta-qt5 rev: 17eb158c6d2cd290b054b5bd54311aa44a02d04d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebkit: Backport fix to build with gcc5
Khem Raj [Mon, 18 May 2015 04:55:13 +0000 (21:55 -0700)]
qtwebkit: Backport fix to build with gcc5

This is already committed upstream to 5.4 branch
may be next minor upgrade will get it but until then
we need it

(From meta-qt5 rev: 5ebbfedbc72452d2de18ce1557a36f3ba8b1175f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5-opengles2-test: Upgrade to latest tip
Khem Raj [Mon, 18 May 2015 04:55:14 +0000 (21:55 -0700)]
qt5-opengles2-test: Upgrade to latest tip

Fix dependencies on the way

(From meta-qt5 rev: 8525f31981cb387709619129459eb82aec11f4b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtbase: fix dependency for sql-mysql PACKAGECONFIG
Andrey Rusalin [Wed, 13 May 2015 11:42:40 +0000 (14:42 +0300)]
qtbase: fix dependency for sql-mysql PACKAGECONFIG

(From meta-qt5 rev: 378dfc20ad0e024412da7f3be22efe04c3421c6d)

Signed-off-by: Andrey Rusalin <arusalin@dev.rtsoft.ru>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtbase-native: speed up configure task
Julien Brianceau \\(jbriance\\) [Tue, 5 May 2015 14:20:56 +0000 (14:20 +0000)]
qtbase-native: speed up configure task

* Use parallel make to speed up build of qmake during configure task
* Take the opportunity to use clean configure parameters to use
  opensource license instead of "(echo o; echo yes) |" trick.

(From meta-qt5 rev: bb20ed60fc596098940f18bd2418a8bdc866bec3)

Signed-off-by: Julien Brianceau <jbriance@cisco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoninja-native: upgrade to 1.5.3
Martin Jansa [Mon, 11 May 2015 11:38:49 +0000 (13:38 +0200)]
ninja-native: upgrade to 1.5.3

(From meta-qt5 rev: 80de39d556dd71dff6feb347278e92e291d8d098)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agogit-recipes: upgrade to latest revision in 5.4 branch
Martin Jansa [Thu, 16 Apr 2015 11:14:57 +0000 (13:14 +0200)]
git-recipes: upgrade to latest revision in 5.4 branch

* this gets us close to 5.4.2 for people who want to test it in advance
* I plan to apply this to fido branch (as well as final upgrade to 5.4.2
  recipes
* I'm preparing similar patch for 5.5 revisions, which will be applied
  only in master branch

(From meta-qt5 rev: 04240161ef8ec0f584c68485abc02778786c5e75)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtscript,qtwebking: disable thumb
Martin Jansa [Wed, 22 Apr 2015 13:33:01 +0000 (15:33 +0200)]
qtscript,qtwebking: disable thumb

* qemuarm builds fail when thumb is enabled

(From meta-qt5 rev: 932b32c1c9e9a3ac833c82ff9273683345056ec7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtbase: remove 2nd BSD from LICENSE
Martin Jansa [Tue, 28 Apr 2015 22:02:46 +0000 (00:02 +0200)]
qtbase: remove 2nd BSD from LICENSE

* BSD is now in default LICENSE variable:
  recipes-qt/qt5/qt5-5.4.1.inc:LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
  recipes-qt/qt5/qt5-git.inc:LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"

(From meta-qt5 rev: 933bffb61f2a8797f6a76f9e7a3f5437fe4716fe)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtsystems: add packageconfig for bluez4 and disable it by default
Martin Jansa [Tue, 28 Apr 2015 20:20:37 +0000 (22:20 +0200)]
qtsystems: add packageconfig for bluez4 and disable it by default

* bluez5 is now enabled by default and conflicts with bluez4

(From meta-qt5 rev: 7d53151d261c3f4979246860719ae75d160e1e1d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtconnectivity: improve PACKAGECONFIG handling
Martin Jansa [Tue, 28 Apr 2015 20:19:59 +0000 (22:19 +0200)]
qtconnectivity: improve PACKAGECONFIG handling

(From meta-qt5 rev: 5a67ecd3d782c3622f2405e4562261070f50f5e2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebsockets: specify GFDL license version
Jonathan Liu [Thu, 23 Apr 2015 14:19:28 +0000 (00:19 +1000)]
qtwebsockets: specify GFDL license version

Fixes the following warning:
"WARNING: qtwebsockets: No generic license file exists for: GFDL in any provider"

(From meta-qt5 rev: 9ec7538c0a56620394529ca981132e54c2f414a3)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebchannel: update LIC_FILES_CHKSUM
Rui Sebastiao [Thu, 23 Apr 2015 12:24:52 +0000 (13:24 +0100)]
qtwebchannel: update LIC_FILES_CHKSUM

(From meta-qt5 rev: fa97d726cc33a9d20df884a1876095eb90338bb4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agolicenses: Add LGPL_Exception texts and reference them from LICENSE
Martin Jansa [Fri, 17 Apr 2015 13:30:26 +0000 (15:30 +0200)]
licenses: Add LGPL_Exception texts and reference them from LICENSE

* add the license text as they appear in qtbase 5.4 and 5.5
* The-Qt-Company-Qt-LGPL-Exception-1.1 will be used in 5.5 beta recipes
  I'll introduce shortly
* based on patch from Herb Kuta

(From meta-qt5 rev: 48ebff679e5dc084d395b861a1fc4cb21790d51b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5.inc: suppress QA warnings about examples libs not in libdir
Denys Dmytriyenko [Wed, 8 Apr 2015 19:26:04 +0000 (15:26 -0400)]
qt5.inc: suppress QA warnings about examples libs not in libdir

(From meta-qt5 rev: d17b8cd011c5bca3d73bd37fad242e7206969983)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebkit: Fix build with newer glib-2.0
Martin Jansa [Mon, 13 Apr 2015 14:47:15 +0000 (16:47 +0200)]
qtwebkit: Fix build with newer glib-2.0

(From meta-qt5 rev: fae85d875ba12c19e19f28aaa22c66bbcef00206)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5nmapper: Fix compatibility issue
Neena Busireddy [Wed, 8 Apr 2015 20:30:47 +0000 (15:30 -0500)]
qt5nmapper: Fix compatibility issue

qt5nmapper app fails to run with the following error:

file:///usr/share/qt5nmapper-1.0/Qt5_NMapper.qml:34:5: Type Panel unavailable
         Panel {
         ^
file:///usr/share/qt5nmapper-1.0/content/Panel.qml:118:9: Type Switch unavailable
             Switch {
             ^
file:///usr/share/qt5nmapper-1.0/content/Switch.qml:8:21: Cannot assign a value to a signal (expecting a script to be run)
         property string onText: "On"

This patch changes the string from onText to onTextstring which was
introduced with Qt 5.3

(From meta-qt5 rev: 831c66e4c2c1cdf8656723de1bd4171e2db78015)

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5: add QT_GIT to define git repo for Qt core components
Andre McCurdy [Fri, 13 Mar 2015 19:59:48 +0000 (12:59 -0700)]
qt5: add QT_GIT to define git repo for Qt core components

Replace duplicated git URIs with a single definition in layer.conf.

(From meta-qt5 rev: 87235825459d376bf4537c9523eb2496e15893aa)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5-git, *qtbase*, qt5everywheredemo: Fetch from code.qt.io
Frederico Cadete [Tue, 10 Mar 2015 16:50:13 +0000 (17:50 +0100)]
qt5-git, *qtbase*, qt5everywheredemo: Fetch from code.qt.io

* Gitorious disabled the git:// protocol, breaking fetches.
* Also, this service is scheduled to stop in May 2015, so move to
  code.qt.io.
* qt5everywheredemo needs different SRCREV because this repo was
  recreated in code.qt.io and SRCREV
  9a868f96ee63c21ceda890d8dfc9d33f093d1b6d doesn't exist on code.qt.io

  It was initial commit in gitorious repo:
  commit 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d
  Author: Sergio Ahumada <sergio.ahumada@digia.com>
  Date:   Wed Jul 3 12:09:40 2013 +0200

      Initial commit

  This is exactly matching with this commit in code.qt.io:
  commit c17fe9e0ec0882ac4c4dc1168095f569acab5d09
  Author: Kimmo Ollila <kimmo.ollila@digia.com>
  Date:   Wed Jun 19 13:02:05 2013 +0300

       Fixed radio crash on application close

(From meta-qt5 rev: 22c431e7a1fa525c75bf1fa48c82d01955001350)

Signed-off-by: Frederico Cadete <frederico@cadete.eu>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5: fix current git version
Heikki Sarkanen [Tue, 10 Mar 2015 15:47:10 +0000 (17:47 +0200)]
qt5: fix current git version

Bitbake doesn't detect lower git version:
NOTE: preferred version 5.4.0+git% of qtbase-native not available (for item qtbase-native)
NOTE: versions of qtbase-native available: 5.4.1 5.4.1+gitAUTOINC+a782369071

(From meta-qt5 rev: c3cb6426cdb0da00443997540b29cdd4544932ae)

Signed-off-by: Heikki Sarkanen <heikki.sarkanen@tamtron.fi>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtserialport: backport patch to silence Valgrind warning
Jonathan Liu [Tue, 10 Mar 2015 06:37:12 +0000 (17:37 +1100)]
qtserialport: backport patch to silence Valgrind warning

(From meta-qt5 rev: 1fd5df421ea30ac7f2bd994f58956ce46e90fcec)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5-base: fix file ownership of fonts
Jonathan Liu [Tue, 10 Mar 2015 01:01:28 +0000 (12:01 +1100)]
qt5-base: fix file ownership of fonts

The file ownership needs to be explicitly set otherwise it inherits
the user and group id of the build user.

(From meta-qt5 rev: 5d9286ab811d6382b7f4c48aff6079ed580218d4)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebengine: Fix build with accessibility enabled
Martin Jansa [Thu, 5 Mar 2015 14:00:32 +0000 (15:00 +0100)]
qtwebengine: Fix build with accessibility enabled

(From meta-qt5 rev: 936d70288fd30f4df42bc382fec886a6495ef582)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5-creator: update to 3.3.1
Andreas Müller [Wed, 4 Mar 2015 09:02:10 +0000 (10:02 +0100)]
qt5-creator: update to 3.3.1

* LGPL_EXCEPTION.TXT: 'Digia' -> 'The Qt Company'
* LICENSE.LGPLv3: Preamble added
* LICENSE.LGPLv21: Preamble added

(From meta-qt5 rev: b6c10d7c7ef6010e79d58227615045c84c118c43)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqt5-creator: add qtquick1 to DEPENDS
Andreas Müller [Wed, 4 Mar 2015 09:02:09 +0000 (10:02 +0100)]
qt5-creator: add qtquick1 to DEPENDS

| qt5-creator-3.3.0: qt5-creator rdepends on qtquick1, but it isn't a build dependency? [build-deps]

(From meta-qt5 rev: fb880b1c6069217960a333b2a2a152ce69d6a821)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebengine: Fix build if qtbase has no accessibility
Stephan Binner [Tue, 3 Mar 2015 17:25:41 +0000 (18:25 +0100)]
qtwebengine: Fix build if qtbase has no accessibility

* backport patch from 5.4 branch to 5.4.1 release
* bump SRCREV in git recipe to use newer revision from 5.4 which
  already includes this patch

(From meta-qt5 rev: a1a62c871a47a92e3712845283f6163f6f892109)

Signed-off-by: Stephan Binner <stephan.binner@basyskom.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agonativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself
Denys Dmytriyenko [Mon, 2 Mar 2015 16:17:58 +0000 (11:17 -0500)]
nativesdk-qtbase.inc: avoid removing directories, namely /usr/lib itself

(From meta-qt5 rev: 7a65ba6089560efdd840a9590684c24fbcdb7818)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebengine: change license to LGPL-3.0
Andy Nichols [Mon, 2 Mar 2015 15:30:28 +0000 (16:30 +0100)]
qtwebengine: change license to LGPL-3.0

The opensource license for qtwebegine as of Qt 5.4.0-beta
has been changed to only be available under LGPL-3.0. The
checksum for this license is already for the LGPL-3.0 version
so no need to update.

(From meta-qt5 rev: 89fc70e465543ae7ffa404512d9d1d7f2b1c7ae3)

Signed-off-by: Andy Nichols <andy.nichols@theqtcompany.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtbase: fix security issue in processing BMP files
Martin Jansa [Fri, 27 Feb 2015 19:58:35 +0000 (20:58 +0100)]
qtbase: fix security issue in processing BMP files

(From meta-qt5 rev: f072467269f6cd0966008e58dd58974f69615d12)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
8 years agoqtwebengine: fix executing config tests instead of ignoring libcap test failure
Martin Jansa [Fri, 27 Feb 2015 19:58:35 +0000 (20:58 +0100)]
qtwebengine: fix executing config tests instead of ignoring libcap test failure

(From meta-qt5 rev: ca1042b8feb8cac2ac1ca835ac67d0ad6d373d0c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>