scm/bb/tizen-distro.git
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agorecipes-git: update to latest revisions in 5.4 branch
Martin Jansa [Fri, 27 Feb 2015 10:24:01 +0000 (11:24 +0100)]
recipes-git: update to latest revisions in 5.4 branch

(From meta-qt5 rev: acbb72d884aecb02de29006081fa55efe8cac9f8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtdeclarative, qtmultimedia, qtscript, qtsvl: Drop GPLv2
Martin Jansa [Fri, 27 Feb 2015 17:25:56 +0000 (18:25 +0100)]
qtdeclarative, qtmultimedia, qtscript, qtsvl: Drop GPLv2

* LICENSE.GPLv2 was removed in 5.4.1

(From meta-qt5 rev: ceb2a0b2a947fe02a3a317a69ee5a28b90cabf5a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtwebengine: refresh patches
Martin Jansa [Fri, 27 Feb 2015 10:50:43 +0000 (11:50 +0100)]
qtwebengine: refresh patches

* drop 0001-eLinux-build-ffmpegsumo-as-well.patch which is already included in 5.4.1

(From meta-qt5 rev: f8c39026aa1510eaf62fcedc42bc687d6d8ad6ac)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agorecipes: Refresh patches to match git recipes
Martin Jansa [Fri, 27 Feb 2015 10:12:46 +0000 (11:12 +0100)]
recipes: Refresh patches to match git recipes

(From meta-qt5 rev: 4d4a34c5d29ef7b730eb9da87b39f91352ef66fa)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtsystems: rename to 5.4.1
Martin Jansa [Fri, 27 Feb 2015 17:23:26 +0000 (18:23 +0100)]
qtsystems: rename to 5.4.1

(From meta-qt5 rev: fa521467249da68e89c762a178550c8109bccae3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtbase.inc: mention that qtwebengine requires qtbase with accessibility enabled
Martin Jansa [Fri, 27 Feb 2015 16:04:39 +0000 (17:04 +0100)]
qtbase.inc: mention that qtwebengine requires qtbase with accessibility enabled

(From meta-qt5 rev: b5d4990c1c1765d8894f0ef03becfea988511d9c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoAdd qttranslations to qt5-versions.inc and packagegroups
Stephan Binner [Fri, 27 Feb 2015 13:51:13 +0000 (14:51 +0100)]
Add qttranslations to qt5-versions.inc and packagegroups

(From meta-qt5 rev: aa11ed05ca99f1b66258089e3085121dd72b0ab3)

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>
9 years agofix build of qtbase with "gles2" package config
Stephan Binner [Thu, 26 Feb 2015 13:11:14 +0000 (14:11 +0100)]
fix build of qtbase with "gles2" package config

(From meta-qt5 rev: b47a9525ca84800e1035f1e2d237573ed048b202)

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>
9 years agorecipes: upgrade from 5.4.0 to 5.4.1
Stephan Binner [Thu, 26 Feb 2015 12:30:06 +0000 (13:30 +0100)]
recipes: upgrade from 5.4.0 to 5.4.1

(From meta-qt5 rev: e87cd44fba14319cedd6195a227f468671f568cd)

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>
9 years agoqtwebkit.inc: add PACKAGECONFIG for qtwebchannel
Jonathan Liu [Tue, 24 Feb 2015 12:20:51 +0000 (23:20 +1100)]
qtwebkit.inc: add PACKAGECONFIG for qtwebchannel

(From meta-qt5 rev: 085df473cf381e0464d8875a5332aff2d0c44a9f)

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>
9 years agoRevert "qtbase: remove patches required for native(-sdk) only"
Otavio Salvador [Fri, 27 Feb 2015 16:23:08 +0000 (13:23 -0300)]
Revert "qtbase: remove patches required for native(-sdk) only"

This reverts commit b4be9ded11fd6738f0edeb10bada3c83f82a88a0.

The change breaks qtxmlpatterns like:

,----
| ERROR: QA Issue: qtxmlpatterns: The compile log indicates that
|     host include and/or library paths were used.
|          Please check the log
|          '.../tmp/work/.../qtxmlpatterns/5.4.0-r0/temp/log.do_compile'
|          for more information. [compile-host-path]
`----

(From meta-qt5 rev: d02ea33262489f6892db857f9674d14a08f7ca54)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtwebkit: fix textrel QA warnings when building qtwebkit for x86
Andre McCurdy [Wed, 18 Feb 2015 06:22:12 +0000 (22:22 -0800)]
qtwebkit: fix textrel QA warnings when building qtwebkit for x86

WARNING: QA Issue: ELF binary '/home/andre/rdk/rdk-master/build-vbox32/tmp/work/core2-32-rdk-linux/qtwebkit/5.4.0-r0/packages-split/qtwebkit/usr/lib/libQt5WebKit.so.5.4.0' has relocations in .text [textrel]

Patch from upstream webkit:

  https://bugs.webkit.org/show_bug.cgi?id=70610

Minor refresh required to apply cleanly to the older webkit sources used
by qtwebkit. Specifically, the patch needed to be modified to account
for PLATFORM(MAC) -> OS(DARWIN) renaming in recent webkit which is not
part of qtwebkit yet ( https://bugs.webkit.org/show_bug.cgi?id=99683 ).

(From meta-qt5 rev: a137e6e8b45f11c77f6615cfa6ff50d025669b11)

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>
9 years agoqmake5: don't always look in directories recursively
Alexandre Belloni [Wed, 18 Feb 2015 20:57:57 +0000 (21:57 +0100)]
qmake5: don't always look in directories recursively

QT needs to be compiled without the -r parameter from the qmake command
line. This is necessary to avoid those errors when building
qtdeclarative or qt3d without opengl for example:
Project ERROR: Unknown module(s) in QT: quick-private
or
Project ERROR: Unknown module(s) in QT: quick

Also update comments regarding the dependencies.

(From meta-qt5 rev: d9c741cce23ed6ff741ed67b77f57e04e5b440b8)

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtdeclarative, *qtbase*: upgrade to latest revision in 5.4 branch
Martin Jansa [Wed, 18 Feb 2015 16:18:00 +0000 (17:18 +0100)]
qtdeclarative, *qtbase*: upgrade to latest revision in 5.4 branch

(From meta-qt5 rev: f90537a7decfa5599606d3290bc25de02bfa5796)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoadd gdb append to enable python packageconfig
Andreas Müller [Tue, 27 Jan 2015 05:53:53 +0000 (06:53 +0100)]
add gdb append to enable python packageconfig

debugging with qt-creator on target requires gdb build with python support

(From meta-qt5 rev: 9d17546d56b5e710a6420b482514202236f410e3)

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>
9 years agoqt5-creator: add 3.3.0 of qt-creator
Andreas Müller [Tue, 27 Jan 2015 05:53:52 +0000 (06:53 +0100)]
qt5-creator: add 3.3.0 of qt-creator

* this is the first version which dropped qt4 support
* rename recipe to avoid conflicts with meta-oe's qt-creator
* Desktop file was based on [1]

[1] http://pkgs.fedoraproject.org/cgit/qt-creator.git/tree/qtcreator.desktop

(From meta-qt5 rev: dfea51574bd4fe5ce1c2e3bf3f18b8ee7c0e8eb7)

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>
9 years agoqtbase: build qmake for target with paths aligned
Andreas Müller [Tue, 27 Jan 2015 05:53:51 +0000 (06:53 +0100)]
qtbase: build qmake for target with paths aligned

Proper qmake operation was tested with qt5-creator.

(From meta-qt5 rev: ce88fc4221a8f71cc8f37dec2213f797a5e366c4)

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>
9 years agoqtbase/EXTERNAL_HOST_BINS: split out code only required for native-(sdk)
Andreas Müller [Tue, 27 Jan 2015 05:53:50 +0000 (06:53 +0100)]
qtbase/EXTERNAL_HOST_BINS: split out code only required for native-(sdk)

* code was moved from 0003-Add-external-hostbindir-option.patch to
  0014-Add-external-hostbindir-option-native.patch
* only native(-sdk) versions of qtbase apply
  0014-Add-external-hostbindir-option-native.patch

(From meta-qt5 rev: 92b7b49934d0ab5accd14b44427c6df5194087d6)

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>
9 years agoqtbase: remove patches required for native(-sdk) only
Andreas Müller [Tue, 27 Jan 2015 05:53:49 +0000 (06:53 +0100)]
qtbase: remove patches required for native(-sdk) only

(From meta-qt5 rev: b4be9ded11fd6738f0edeb10bada3c83f82a88a0)

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>
9 years agoqt5-plugin-generic-vboxtouch: fix unpackaged cmake file
Martin Jansa [Mon, 16 Feb 2015 18:01:18 +0000 (19:01 +0100)]
qt5-plugin-generic-vboxtouch: fix unpackaged cmake file

(From meta-qt5 rev: 2de53bec6759e5c24eae130ac8a3a6e68738aebc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtmultimedia: Easy use of GStreamer 1.0 support
Otavio Salvador [Sat, 7 Feb 2015 20:56:19 +0000 (18:56 -0200)]
qtmultimedia: Easy use of GStreamer 1.0 support

This rework how we add the GStreamer 1.0 support in the code. A new
PACKAGECONFIG option called 'gstreamer' has been added for it.

(From meta-qt5 rev: a0fb5595129f50e36ce044d3269e96aa834aa0b0)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtmultimedia: Use 'bb.utils.contains' function
Otavio Salvador [Sat, 7 Feb 2015 20:53:46 +0000 (18:53 -0200)]
qtmultimedia: Use 'bb.utils.contains' function

The 'base_contains' function is deprecated and we should to use the
bb.utils.contains one instead. Update the code accordingly.

(From meta-qt5 rev: 41fb141aa65ba40e11c6c0b65f3fa02edc50f4cd)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtmultimedia: Use 'qtCompileTest' mechanism for GStreamer
Otavio Salvador [Sat, 7 Feb 2015 20:39:55 +0000 (18:39 -0200)]
qtmultimedia: Use 'qtCompileTest' mechanism for GStreamer

We can use the 'done_config_openal' and 'done_config_gstreamer' trick
to avoid the respective features it to be enabled.

(From meta-qt5 rev: 98740e63b06f3a156c27769b4d28004f07d8f8a9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtmultimedia: Fix floating dependency gst-plugins-bad
Otavio Salvador [Sat, 7 Feb 2015 20:33:26 +0000 (18:33 -0200)]
qtmultimedia: Fix floating dependency gst-plugins-bad

When using GStreamer 0.10 support, QMake detects if GStreamer
Photography interface is available. To avoid a floating dependency we
add the gst-plugins-bad as dependency so it is always present.

(From meta-qt5 rev: 0732449ee42bb3582e5c141fa2363e18beb43a9f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtwebengine: Enable ffmpegsumo for HTML5 video
Carlos Rafael Giani [Wed, 11 Feb 2015 22:12:53 +0000 (23:12 +0100)]
qtwebengine: Enable ffmpegsumo for HTML5 video

(From meta-qt5 rev: 41772b33725f4adc19990aa201a399a6a6180348)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtwebengine: Add missing runtime dependencies for examples
Otavio Salvador [Sat, 7 Feb 2015 22:02:59 +0000 (20:02 -0200)]
qtwebengine: Add missing runtime dependencies for examples

The qtdeclarative-qmlplugins and qtquickcontrols-qmlplugins are
required for the examples to run. Add them as rdepends.

(From meta-qt5 rev: 6eeeeb2025ec40b73b4de02289eb78c01c2a2757)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtwebengine: Add a missing build dependency on libcap
Otavio Salvador [Thu, 5 Feb 2015 17:30:51 +0000 (15:30 -0200)]
qtwebengine: Add a missing build dependency on libcap

(From meta-qt5 rev: 61eb1c40d3e517423ce9b8076df0af1466c6032b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqt5.inc: Fix packaging of architecture independent data
Otavio Salvador [Sun, 8 Feb 2015 21:24:10 +0000 (19:24 -0200)]
qt5.inc: Fix packaging of architecture independent data

The architecture independent data were being added to the '-dev'
package however it shouldn't be. For example the QtWebEngine had the
translation and the resources package were not being installed with
the main package, as it should be.

This commit changes the qttools and qttranslations recipes as well so
those keep its contents in the respective packages:

 qttools: add the phrasebooks in the qttools-tools package
 qttranslations: add a new subpackage for qtquickcontrols

(From meta-qt5 rev: 247aeca8772a6310f4ea384542f5b3a1371a4efd)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtwebchannel: Add recipes for 5.4.0 and Git
Stephan Binner [Fri, 6 Feb 2015 15:47:23 +0000 (16:47 +0100)]
qtwebchannel: Add recipes for 5.4.0 and Git

(From meta-qt5 rev: 7b615428cfc4c0b912ba54ab3eaae690dce5d7a1)

Signed-off-by: Stephan Binner <stephan.binner@basyskom.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqt3d: change to 'dev' branch
Tobias Olausson [Thu, 15 Jan 2015 14:48:39 +0000 (15:48 +0100)]
qt3d: change to 'dev' branch

The master branch of qt3d has been removed by the Qt project, and
the commit pointed to by the SRCREV is now in the 'dev' branch.

(From meta-qt5 rev: adeaa6128b665920eb98eb7c064f4aacbd74b873)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtmultimedia: Add support to enable/disable PulseAudio and ALSA
Otavio Salvador [Wed, 7 Jan 2015 21:33:38 +0000 (19:33 -0200)]
qtmultimedia: Add support to enable/disable PulseAudio and ALSA

The way QtMultimedia use to detect the PulseAudio and ALSA makes it
non obvious how to disable it. After researching how Gentoo does it
the 'done_config_<flag>' has been found. So now, we respect the distro
support for PulseAudio and ALSA.

(From meta-qt5 rev: ec50df68b80f9704f135dd4c9f384a5596ec77cb)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqttranslations: adding recipes for qt specific translations
kkelly87 [Wed, 7 Jan 2015 20:05:15 +0000 (15:05 -0500)]
qttranslations: adding recipes for qt specific translations

The meta-qt5 layer is missing a recipe for the qttranslation submodule so qt specific items like
the OK or Cancel button had no associated translations. This submission is for master while my previous patch
 will work as a backport to dizzy.

(From meta-qt5 rev: a7fa426daac8ce53e806db20e0fd7bf8ae9cfbfa)

Signed-off-by: Kevin Kelly <kaneda18@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqt5-opengles2-test: exclude from world because of gles2 dependency
Martin Jansa [Thu, 8 Jan 2015 10:55:38 +0000 (11:55 +0100)]
qt5-opengles2-test: exclude from world because of gles2 dependency

(From meta-qt5 rev: e2e1864dcaf0cb50a5757fc9033844cdc59adce9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqmake5_base: add *.prf to SSTATE_SCAN_FILES
Martin Jansa [Tue, 6 Jan 2015 14:57:54 +0000 (15:57 +0100)]
qmake5_base: add *.prf to SSTATE_SCAN_FILES

* e.g. maliit-framework-qt5 is staging sysroot specific paths in
  sysroot-destdir/usr/lib/qt5/mkspecs/features/maliit-plugins.prf
  sysroot-destdir/usr/lib/qt5/mkspecs/features/maliit-framework.prf
  make sure they are replaced with correct ones on sstate reuse

(From meta-qt5 rev: e2f5adc92c0f6223eb557c5dcbfe2eb9830deb73)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtbase: Add gcc to QMAKE_COMPILER variable.
Julien Brianceau \\(jbriance\\) [Wed, 31 Dec 2014 08:26:36 +0000 (08:26 +0000)]
qtbase: Add gcc to QMAKE_COMPILER variable.

According to mkspecs/features/spec_post.prf, QMAKE_COMPILER variable should at least contain gcc for linux-oe-g++ platform.

This patch fixes a crash issue in QtWebKit introduced in v5.4.0 by:
https://qt.gitorious.org/qt/qtwebkit/commit/34d4628b981add039a9a349723cbdff1dadca144

(From meta-qt5 rev: ad958ec94752371aa25bfbfd0f60489a20a45c0f)

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>
9 years agoqtmultimedia: Fix crash when use Gstreamer 0.10 plugin
Mingtao Qu [Thu, 18 Dec 2014 07:31:08 +0000 (15:31 +0800)]
qtmultimedia: Fix crash when use Gstreamer 0.10 plugin

In QVideoSurfaceGstSink::get_caps(), when use 0.10 version Gstreamer,
It create GstCap with a wrong type (G_TYPE_STRING) of parameter 'format',
a g_strcpy exception will be found.
This patch fixes the parameter type to use GST_TYPE_FOURCC as expacted.

(From meta-qt5 rev: 46c76e43e73d914b5833e93b2a0fa7b5a8d00002)

Signed-off-by: Mingtao Qu <zarelaky@hotmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoqtbase: Make libraries build with cmake find gl(es) headers
Andreas Müller [Thu, 18 Dec 2014 14:08:53 +0000 (15:08 +0100)]
qtbase: Make libraries build with cmake find gl(es) headers

(From meta-qt5 rev: bb6049fbe1808a1e33085740672e8fb7fc1bef20)

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>
9 years agoAutomatic commit to update last_revision
Mauro Carvalho Chehab [Fri, 24 Jul 2015 16:41:57 +0000 (13:41 -0300)]
Automatic commit to update last_revision

Change-Id: I9032239d88f7b8e0765805fe1d2955ca3c385890

9 years agometa-tizen: dev images: add nano editor to it
Mauro Carvalho Chehab [Fri, 24 Jul 2015 15:40:51 +0000 (15:40 +0000)]
meta-tizen: dev images: add nano editor to it

Ok, people really love 'vi', but sometimes using a simpler editor
like 'nano' may help. So, let's add it, at least at the -dev
images.

Change-Id: Ie37d66c200a421373f5e3d39eee384fb68b19896
(From meta-tizen rev: 28890d8a5eaefdc974d1e4092323a3f6d411cb6c)

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agometa-tizen: image: install ncurses-terminfo
Mauro Carvalho Chehab [Fri, 24 Jul 2015 14:14:54 +0000 (11:14 -0300)]
meta-tizen: image: install ncurses-terminfo

Without that, terminal are pretty much useless, as several
things don't work, and no ncurses app would actually work.

Change-Id: I639856a76491307b52044ba18e6434af66d6969f
(From meta-tizen rev: 7f49da3ec342064a92c646e6d398afe63acaea92)

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoAutomatic commit to update last_revision
Mauro Carvalho Chehab [Wed, 22 Jul 2015 12:05:19 +0000 (12:05 +0000)]
Automatic commit to update last_revision

Change-Id: I736575857ae4490e2fbaa1fc49eb1f8ed4727411

9 years agometa-tizen: Ignore .gitreview
Mauro Carvalho Chehab [Wed, 22 Jul 2015 11:42:58 +0000 (11:42 +0000)]
meta-tizen: Ignore .gitreview

The .gitreview is the configuration file for gerrit git-review
command. As the tizen-distro layer merge scripts check if the
meta-tizen tree is dirty, we need to ignore it, or otherwise
it will refuse to merge from it.

Change-Id: Ib2d41b69b4d956392176ce98b8625dac6ed8024e
(From meta-tizen rev: af886b35e3f715a28d17d08e7f54ab613444ff37)

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agometa-tizen: dropbear: fix system authentication/account
Mauro Carvalho Chehab [Wed, 22 Jul 2015 11:27:22 +0000 (11:27 +0000)]
meta-tizen: dropbear: fix system authentication/account

Tizen uses a different name for PAM file authentication than
meta tizen. This causes a ssh to the machine to fail on
dropbear ssh server.

(From meta-tizen rev: c076a4a924c686571348f4778f9e49599fb46268)

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agometa-tizen: gstreamer: don't require target wayland-scanner
Mauro Carvalho Chehab [Tue, 21 Jul 2015 19:37:01 +0000 (19:37 +0000)]
meta-tizen: gstreamer: don't require target wayland-scanner

Only native wayland-scanner will run when cross-compiling.
Requiring it for the target host won't work.

Patch co-authored with Thiago Santos <thiagoss@osg.samsung.com>

(From meta-tizen rev: 610e24309f247356fc34100679450bfc8efe5365)

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agocrosswalk: add missing files
Mauro Carvalho Chehab [Wed, 22 Jul 2015 11:47:27 +0000 (11:47 +0000)]
crosswalk: add missing files

changeset 7816074af54f was not merged right. Add missing files

Change-Id: Ibe4a78d688e6fe9cde65a56f84d961b8cc422966
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
9 years agoAutomatic commit to update last_revision
Mauro Carvalho Chehab [Wed, 22 Jul 2015 11:06:20 +0000 (11:06 +0000)]
Automatic commit to update last_revision

Change-Id: If956fa5538b789933a99c83ed11257edd5146d28

9 years agometa-tizen: images: i915 driver is x86-specific
Mauro Carvalho Chehab [Mon, 20 Jul 2015 15:00:39 +0000 (12:00 -0300)]
meta-tizen: images: i915 driver is x86-specific

Only on x86 the mesa i915 driver can be compiled. So, change
the IMAGE_INSTALL rule to only include it for x86 archs.

Change-Id: Ic8702a9f07c40e317d7b965ad38ff46901b58b5d
(From meta-tizen rev: f69c32ea03921e48f19d72b0f1d80b76e08ba7f2)

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