[oe] [meta-oe][PATCH] jasper: enable opengl only wih x11

2023-12-13 Thread Samuli Piippo
The opengl PACKAGECONFIG depends on freeglut, but after commit f721876add48dccfd228cc09ef261909afeb2d25 that's only available with x11. Enable it only when both openg and x11 are available. Signed-off-by: Samuli Piippo --- meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb | 2 +- 1 file ch

[oe] [meta-oe][PATCH] protobuf: stage protoc binary to sysroot

2023-11-13 Thread Samuli Piippo
| ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/protobuf/protobuf-targets.cmake" | | but not all the files it references. Use SYSROOT_DIRS to stage the binary to sysroot so it's always available for other recipes. Signed-

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-11-10 Thread Samuli Piippo
> with sysroot will be necessary in the recipe? I suggest to keep it as a > comment in the recipe. What do you think? > > Slava > > On 10.11.2023 08:50, Samuli Piippo wrote: > > > | CMake Error at > /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/grpc/1

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-11-09 Thread Samuli Piippo
t; Slava > > On 10.11.2023 08:12, Samuli Piippo wrote: > > This is not strictly a nativesdk issue. > If you enable PACKAGECONFIG = "compiler" for protobuf, it will then build > protoc for the target. > This will then cause grpc target build to fail in the same way as

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-11-09 Thread Samuli Piippo
OT_DIRS:append:class-native = " ${SYSROOT_DIRS_NATIVE}" >> +SYSROOT_DIRS:append:class-nativesdk = " ${SYSROOT_DIRS_NATIVE}" >> SYSROOT_DIRS:append:class-cross = " ${SYSROOT_DIRS_NATIVE}" >> SYSROOT_DIRS:append:class-crosssdk = " ${SYSROOT_DIRS_

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-11-09 Thread Samuli Piippo
ncy correctly > for nativesdk build. > > Regards, > Slava > > On 09.11.2023 01:13, Clément Péron wrote: > > Hi Samuli, > > Le mer. 8 nov. 2023, 22:30, Samuli Piippo a > écrit : > >> Hi Clément, >> >> Were you able to reproduce the issue? >>

[oe] [meta-oe][PATCHv2] abseil-cpp: fix mingw build

2023-11-08 Thread Samuli Piippo
"../nativesdk-protobuf/4.23.4/recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-w64-mingw32/usr/bin/libabsl_log_severity.dll" | | but this file does not exist. Signed-off-by: Samuli Piippo --- ...-Win32Waiter-and-PthreadWaiter-on-Mi.patch | 62 +

Re: [oe] [meta-oe][PATCH] abseil-cpp: fix mingw build

2023-11-08 Thread Samuli Piippo
error in the commit message. There is a lengthy thread about SYSROOT_DIR problem of similar nature with protobuf recipe. > On 8. Nov 2023, at 16.53, Marko, Peter wrote: > > -Original Message- > From: openembedded-devel@lists.openembedded.org > On Behalf Of Sa

[oe] [meta-oe][PATCH] abseil-cpp: fix mingw build

2023-11-08 Thread Samuli Piippo
"../nativesdk-protobuf/4.23.4/recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-w64-mingw32/usr/bin/libabsl_log_severity.dll" | | but this file does not exist. Signed-off-by: Samuli Piippo --- ...workaround-for-MinGW64-build-failure.patch | 28 +

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-11-08 Thread Samuli Piippo
Hi Clément, Were you able to reproduce the issue? On Tue, 24 Oct 2023 at 16:33, Samuli Piippo via lists.openembedded.org wrote: > The protoc binary is not enabled for target builds. Try nativesdk build > and it should then fail to find it. > > On Tue, 24 Oct 2023 at 14:53, Clément

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-10-24 Thread Samuli Piippo
; > I just did 'find > tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-grpc/1.56.2/ -name > "protoc*"' and I see protoc binary only in recipe-sysroot-native. That > tells me that protoc, which is a part of nativesdk-protobuf-compiler, is > not installed to recipe-sy

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-10-20 Thread Samuli Piippo
ckages should be installed to > sysroot (which recipe claims it provides), or we need a way to indicate a > package level dependency (i.e. nativesdk-protobuf-compiler in this case) > > Any ideas? > > Slava > > On 18.10.2023 14:28, Samuli Piippo wrote: > > Following simple te

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-10-18 Thread Samuli Piippo
Following simple test recipe will fail now when trying to use Protobuf with CMake. inherit cmake DEPENDS += "protobuf" do_configure:prepend() { echo "find_package(Protobuf CONFIG)" > ${S}/CMakeLists.txt } BBCLASSEXTEND = "nativesdk" --- CMake Error at tmp/work/x86_64-nativesdk-pokysdk-linux

Re: [oe] [meta-oe][PATCH] protobuf: stage protoc binary to sysroot

2023-09-26 Thread Samuli Piippo
Re-applying this patch as it got removed in https://patchwork.yoctoproject.org/project/oe/patch/20230904161230.377450-1-ross.bur...@arm.com/ On Wed, 27 Sept 2023 at 08:11, Samuli Piippo via lists.openembedded.org wrote: > From: Samuli Piippo > > If protoc is enabled for the build

[oe] [meta-oe][PATCH] protobuf: stage protoc binary to sysroot

2023-09-26 Thread Samuli Piippo
From: Samuli Piippo If protoc is enabled for the build, recipes using protobuf will fail when protoc is not available in the recipe sysroot: | The imported target "protobuf::protoc" references the file | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots

Re: [oe] [PATCH] Revert "protobuf: stage protoc binary to sysroot"

2023-09-11 Thread Samuli Piippo
Hi Ross, The binaries are surely not useful for execution, but unfortunately they are needed for CMake. With this revert, Qt is now again experiencing build failures with protobuf: | CMake Error at /home/qt/qt6/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qtgrpc/6.7.0/recipe-sysroot/us

[oe] [meta-oe][dunfell][PATCH] spirv-tools: switch from master branch to main for re2

2023-05-17 Thread Samuli Piippo
Signed-off-by: Samuli Piippo --- meta-oe/recipes-graphics/spir/spirv-tools_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/spir/spirv-tools_git.bb b/meta-oe/recipes-graphics/spir/spirv-tools_git.bb index a76c97ad60..ffacee4c9f 100644 --- a

[oe] [meta-oe][langdale][PATCH] protobuf: stage protoc binary to sysroot

2022-12-19 Thread Samuli Piippo
From: Samuli Piippo If protoc is enabled for the build, recipes using protobuf will fail when protoc is not available in the recipe sysroot: | The imported target "protobuf::protoc" references the file | | ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots

[oe] [meta-oe][PATCH] protobuf: stage protoc binary to sysroot

2022-11-23 Thread Samuli Piippo
| ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/protobuf/protobuf-targets.cmake" | | but not all the files it references. Use SYSROOT_DIRS to stage the binary to sysroot so it's always available for other recipes. Signed-

Re: [oe] [meta-multimedia][PATCH] flite: add recipe

2022-05-31 Thread Samuli Piippo
On Mon, 30 May 2022 at 17:43, Scott Murray wrote: > On Mon, 30 May 2022, Samuli Piippo wrote: > > > CMU Flite (festival-lite) is a small, fast run-time open source > > text to speech synthesis engine developed at CMU and primarily > > designed for small embedded machine

[oe] [meta-oe][PATCH] libtomcrypt: add recipe

2022-05-30 Thread Samuli Piippo
. Signed-off-by: Samuli Piippo --- .../libtomcrypt/libtomcrypt_1.18.2.bb | 21 +++ 1 file changed, 21 insertions(+) create mode 100644 meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb diff --git a/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb b/meta-oe

[oe] [meta-multimedia][PATCH] flite: add recipe

2022-05-30 Thread Samuli Piippo
CMU Flite (festival-lite) is a small, fast run-time open source text to speech synthesis engine developed at CMU and primarily designed for small embedded machines. Signed-off-by: Samuli Piippo --- .../recipes-multimedia/flite/flite_2.2.bb | 19 +++ 1 file changed, 19

[oe] [meta-python][PATCH] python3-qface: upgrade 2.0.7 -> 2.0.8

2022-05-16 Thread Samuli Piippo
Adds compatibility with antlr4 version 4.10. Signed-off-by: Samuli Piippo --- .../python/{python3-qface_2.0.7.bb => python3-qface_2.0.8.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-qface_2.0.7.bb => python3-qface_2.0.8.b

Re: [oe] [meta-oe][PATCH] wxwidgets: Fix checking for PACKAGECONFIG and DISTRO_FEATURES

2022-04-06 Thread Samuli Piippo
This commit breaks builds when DISTRO_FEATURES has opengl, but not x11. ERROR: //meta-openembedded/meta-oe/recipes-extended/wxwidgets/ wxwidgets_3.1.5.bb: wxwidgets: PACKAGECONFIG[no_gui] Conflict package config 'opengl' set in PACKAGECONFIG. On Sat, 2 Apr 2022 at 06:26, Robert Yang wrote: > Th

[oe] [meta-python][PATCH] python3-qface: upgrade 2.0.6 -> 2.0.7

2022-04-05 Thread Samuli Piippo
Adds compatibility with jinja 3.1.1 Signed-off-by: Samuli Piippo --- .../python/{python3-qface_2.0.6.bb => python3-qface_2.0.7.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-qface_2.0.6.bb => python3-qface_2.0.7.bb} (85%)

Re: [oe] [meta-python][PATCH 2/3] python3-antrl4-runtime: add recipe

2022-03-01 Thread Samuli Piippo
d'oh! v2 sent. -samuli On Tue, 1 Mar 2022 at 12:16, Anders Montonen wrote: > Hi, > > > On 1 Mar 2022, at 11:33, Samuli Piippo wrote: > > > > Signed-off-by: Samuli Piippo > > --- > > .../python/python3-antrl4-runtime_4.9.2.bb| 11

[oe] [meta-python][PATCHv2 3/3] python3-qface: add recipe

2022-03-01 Thread Samuli Piippo
Signed-off-by: Samuli Piippo --- .../python/python3-qface_2.0.6.bb | 24 +++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-qface_2.0.6.bb diff --git a/meta-python/recipes-devtools/python/python3-qface_2.0.6.bb b

[oe] [meta-python][PATCHv2 1/3] python3-path: add recipe

2022-03-01 Thread Samuli Piippo
Signed-off-by: Samuli Piippo --- .../recipes-devtools/python/python3-path_16.4.0.bb | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-path_16.4.0.bb diff --git a/meta-python/recipes-devtools/python/python3-path_16.4.0.bb b

[oe] [meta-python][PATCHv2 2/3] python3-antlr4-runtime: add recipe

2022-03-01 Thread Samuli Piippo
Signed-off-by: Samuli Piippo --- .../python/python3-antlr4-runtime_4.9.2.bb| 11 +++ 1 file changed, 11 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-antlr4-runtime_4.9.2.bb diff --git a/meta-python/recipes-devtools/python/python3-antlr4

[oe] [meta-python][PATCH 3/3] python3-qface: add recipe

2022-03-01 Thread Samuli Piippo
Signed-off-by: Samuli Piippo --- .../python/python3-qface_2.0.6.bb | 24 +++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-qface_2.0.6.bb diff --git a/meta-python/recipes-devtools/python/python3-qface_2.0.6.bb b

[oe] [meta-python][PATCH 2/3] python3-antrl4-runtime: add recipe

2022-03-01 Thread Samuli Piippo
Signed-off-by: Samuli Piippo --- .../python/python3-antrl4-runtime_4.9.2.bb| 11 +++ 1 file changed, 11 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-antrl4-runtime_4.9.2.bb diff --git a/meta-python/recipes-devtools/python/python3-antrl4

[oe] [meta-python][PATCH 1/3] python3-path: add recipe

2022-03-01 Thread Samuli Piippo
Signed-off-by: Samuli Piippo --- .../recipes-devtools/python/python3-path_16.4.0.bb | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-path_16.4.0.bb diff --git a/meta-python/recipes-devtools/python/python3-path_16.4.0.bb b

Re: [oe] [meta-python][PATCH 0/7] setuptools-rust and python3-cryptography

2022-01-19 Thread Samuli Piippo
Hi, This seems to be causing build break for nativesdk builds. nativesdk-python3-cryptography: running build_rust error: Error loading target specification: Could not find specification for target "x86_64-pokysdk-linux". Run `rustc --print target-list` for a list of built-in targets The same buil

Re: [oe] meta-qt5 - support for QT 5.12.1?

2019-03-08 Thread Samuli Piippo
Plan is to release Qt 5.12.2 next week, we'll send a pull merge request then. On Fri, 8 Mar 2019 at 16:27, wrote: > > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listin

Re: [oe] [meta-qt5][PATCH] Change default SRC_URI from github.com to code.qt.io

2018-07-31 Thread Samuli Piippo
nk. > > > On Mon, Jul 30, 2018 at 12:23 PM Samuli Piippo > wrote: >> >> Have you been using codereview.qt-project.org as the QT_GIT previously? >> refs/changes/* are gerrit and CI specific refs and are never be >> mirrored to github or code.qt.io >> >&

Re: [oe] [meta-qt5][PATCH] Change default SRC_URI from github.com to code.qt.io

2018-07-30 Thread Samuli Piippo
ikko Gronoff wrote: >> >>> There have been issues in the past with github qt mirror being out of >>> sync with code.qt.io for certain module repos. Right now there's been a >>> several days long break in update cycle for seemingly all the qt >>> modules

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-21 Thread Samuli Piippo
e removed in upstream? > > On Thu, Jun 21, 2018 at 7:14 AM Samuli Piippo > wrote: >> >> On 20 June 2018 at 15:19, Martin Jansa wrote: >> > On Wed, Jun 20, 2018 at 02:57:39PM +0300, Samuli Piippo wrote: >> >> On 20 June 2018 at 14:29, Martin Jansa wrote: &

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Samuli Piippo
On 20 June 2018 at 15:19, Martin Jansa wrote: > On Wed, Jun 20, 2018 at 02:57:39PM +0300, Samuli Piippo wrote: >> On 20 June 2018 at 14:29, Martin Jansa wrote: >> > 3) we cannot use nobranch=1, because that breaks AUTOREV >> >> How does it break AUTOREV? >>

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Samuli Piippo
no, sorry, I mixed AUTOREV with something else. On 20 June 2018 at 15:19, Martin Jansa wrote: > On Wed, Jun 20, 2018 at 02:57:39PM +0300, Samuli Piippo wrote: >> On 20 June 2018 at 14:29, Martin Jansa wrote: >> > 3) we cannot use nobranch=1, because that breaks AUTOREV >&

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-20 Thread Samuli Piippo
On 20 June 2018 at 14:29, Martin Jansa wrote: > 3) we cannot use nobranch=1, because that breaks AUTOREV How does it break AUTOREV? We are using nobranch=1 when testing non-released Qt versions and haven't seen issues with it. -- ___ Openembedded-devel

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-14 Thread Samuli Piippo
There's existing bug report for GCC that matches this problem: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82882 It's been fixed for one case, but not for all. On 8 June 2018 at 07:21, Samuli Piippo wrote: > On 6 June 2018 at 23:05, Martin Jansa wrote: >> On Tue, May 29,

Re: [oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-06-07 Thread Samuli Piippo
On 6 June 2018 at 23:05, Martin Jansa wrote: > On Tue, May 29, 2018 at 12:25:56PM +0300, Samuli Piippo wrote: >> Add recipes for Qt OPC UA and Qt WebGL platform plugin. > > Unfortunately qtremoteobjects is causing gcc 8.1 to segfault > during the build: > http://errors.yo

[oe] [meta-qt5][PATCH] qt5: Update to Qt 5.11.0

2018-05-29 Thread Samuli Piippo
Add recipes for Qt OPC UA and Qt WebGL platform plugin. --- recipes-qt/qt5/nativesdk-qtbase_git.bb| 7 +- recipes-qt/qt5/qt3d_git.bb| 2 +- recipes-qt/qt5/qt5-git.inc| 2 +- recipes-qt/qt5/qtbase-native_git.bb | 3 +- recipes-qt/qt5/qtb

[oe] [meta-qt5][PATCH] qt5: add common PACKAGECONFIG for QtQuickCompiler

2018-05-16 Thread Samuli Piippo
-off-by: Samuli Piippo --- recipes-qt/qt5/qt5.inc | 2 ++ recipes-qt/qt5/qtcharts_git.bb | 2 ++ recipes-qt/qt5/qtvirtualkeyboard_git.bb | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 95e3854

[oe] [meta-qt5][PATCH] qtbase: don't pass empty filename to function

2018-05-09 Thread Samuli Piippo
The environment variable is empty when running qmake from SDK or in device, which gives 'Empty filename passed to function' warning. Signed-off-by: Samuli Piippo --- ...3-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[oe] [meta-qt5][PATCH] nativesdk-qtbase: add quotes to CC and CXX in environment file

2018-05-09 Thread Samuli Piippo
CC and CXX include sysroot as argument to compiler and therefore includes spaces, which need to be quoted to work e.g., with dash. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/nativesdk-qtbase_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-qt/qt5

Re: [oe] [meta-qt5][rocko][PATCH] qtbase: use mysql_config from correct path

2018-04-19 Thread Samuli Piippo
ng about HOSTTOOLS > not RSS. > > On Thu, Apr 19, 2018 at 12:09 PM, Samuli Piippo > wrote: >> >> Works with master as well; this is really needed with morty and older >> OE releases, where recipe-sysroot is not used. >> I was using different branches myself, hence

Re: [oe] [meta-qt5][rocko][PATCH] qtbase: use mysql_config from correct path

2018-04-19 Thread Samuli Piippo
ich are > used since rocko, but then it wouldn't be needed in rocko, only in older. > > Please test it with master, if it works there I'll apply it to all branches, > because people tend to use different branch of meta-qt5 with different OE > releases. > > On Thu, Apr

Re: [oe] [meta-qt5][rocko][PATCH] qtbase: use mysql_config from correct path

2018-04-18 Thread Samuli Piippo
only needed on rocko and older. With recipe-sysroot it works correctly. On 19 April 2018 at 08:42, Martin Jansa wrote: > Is it needed in sumo and master branches as well? If yes, then it should be > applied there first. > > On Wed, Apr 18, 2018 at 12:04 PM, Samuli P

[oe] [meta-qt5][rocko][PATCH] qtbase: use mysql_config from correct path

2018-04-18 Thread Samuli Piippo
mysql_config from host sysroot is found first which gives wrong paths for cross-compilation. Use it from crosscompile path instead. Change-Id: Ia1e7d8e0c582016130f595b1be279255e9d0b055 Signed-off-by: Samuli Piippo --- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1

Re: [oe] [meta-qt5][rocko][WIP][PATCH] qt5: upgrade to 5.9.5

2018-04-12 Thread Samuli Piippo
I don't think it will be fixed any time soon, which is why we sent https://patchwork.openembedded.org/patch/148747/ On 12 April 2018 at 17:30, Martin Jansa wrote: >> Also, I guess you also need to bump the version number in >> recipes-qt/qt5/qt5-git.inc, > right? > > Right I forgot to squash th

Re: [oe] [meta-qt5][rocko][WIP][PATCH] qt5: upgrade to 5.9.5

2018-04-12 Thread Samuli Piippo
Then you should use sha1s pointed by the v5.9.5 tags and not the HEAD On 12 April 2018 at 17:22, Martin Jansa wrote: >> You need to either wait until the 5.9.5 is merged into 5.9 or use the > nobranch option. > > It was already merged to 5.9 > > On Thu, Apr 12, 2018 at 4

Re: [oe] [meta-qt5][rocko][WIP][PATCH] qt5: upgrade to 5.9.5

2018-04-12 Thread Samuli Piippo
t; diff --git a/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch > b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch > index a0a9531..31598de 100644 > --- a/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch > +++ b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch > @@ -1,4 +1,4 @@

Re: [oe] [meta-qt5] [PATCH] qtwayland: handle examples, tests PACKAGECONFIG

2018-03-16 Thread Samuli Piippo
This happens on every module, but only if you have examples enabled in qtbase: https://github.com/meta-qt5/meta-qt5/commit/909858baf064216a3b221edb59b40cc93d536a44 On 16 March 2018 at 11:00, wrote: > From: Ming Liu > > The examples and tests parts of qtwayland are enabled by default even > the

Re: [oe] [meta-qt5][PATCH 2/2] qtbase: Add packageconfigs for renameat2 and getentropy use

2018-02-23 Thread Samuli Piippo
renameat2 is a system call without a libc wrapper, so the configure test will always fail. The system call will still be used if that is defined, so PACKAGECONFIG doesn't make sense for it. On 23 February 2018 at 04:17, Khem Raj wrote: > On Thu, Feb 22, 2018 at 5:27 PM, Martin Jansa wrote: >> On

Re: [oe] [meta-qt5][PATCHv2] qt5-git.inc: drop nobranch=1

2018-02-22 Thread Samuli Piippo
do they disappear? Or why aren't they included in 5.x branches at the > time of the release so that we can use just 5.x without the SRCREVs being > only on 5.x.x branches? > > On Thu, Feb 22, 2018 at 6:27 PM, Samuli Piippo > wrote: >> >> Note that the Qt release branc

Re: [oe] [meta-qt5][PATCHv2] qt5-git.inc: drop nobranch=1

2018-02-22 Thread Samuli Piippo
Note that the Qt release branches (5.x.x) will usually disappear right after the release, which will break the build without nobranch=1 On 22 February 2018 at 19:02, Martin Jansa wrote: > * sneaked in with: > commit 333949a8239dfa7788b35f1059614733e11a6a25 > Author: Samuli Piippo

[oe] [meta-qt5][PATCH] qt5: refactor ptest

2018-02-01 Thread Samuli Piippo
they have been already built during do_compile task. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/{qtbase => ptest}/run-ptest | 0 recipes-qt/qt5/qt5-ptest.inc | 51 +++--- recipes-qt/qt5/qtbase_git.bb | 15 + recipes-qt/qt5/qtdec

[oe] [meta-qt5][PATCH] Upgrade to Qt 5.10.0

2017-12-14 Thread Samuli Piippo
0001-Allow-a-tools-only-build.patch +++ b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch @@ -3,6 +3,7 @@ From: Samuli Piippo Date: Wed, 10 Feb 2016 09:02:09 +0200 Subject: [PATCH] Allow a tools-only build +Change-Id: I4de6b96ec51fe297a0eeb757cef56d8fb40bd6f0 --- qt3d.pro

[oe] [meta-qt5][PATCH] qtlocation: correct PACKAGECONFIG for mapboxgl

2017-11-10 Thread Samuli Piippo
Previous patch was removed, but PACKAGECONFIG was not changed to match the new feature flag. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/qtlocation_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-qt/qt5/qtlocation_git.bb b/recipes-qt/qt5

[oe] [meta-qt5][PATCH] qt5: remove use of OE_QMAKE_WAYLAND_SCANNER

2017-11-10 Thread Samuli Piippo
This was never defined for nativesdk, which then broke sdk which had nativesdk-qtwayland included. Rather than add it there, remove its use everywhere, since it was not adding anything meaningful to the build. Signed-off-by: Samuli Piippo --- classes/qmake5_base.bbclass

[oe] [meta-qt5][PATCH] gstreamer1.0-plugins-bad: add expansion parameter

2017-11-10 Thread Samuli Piippo
The expansion is now again optional, but for brief time it was required. Add the default value (True) so that the layer can be used also with older oe-core versions. Signed-off-by: Samuli Piippo --- recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 4 ++-- 1 file changed, 2

[oe] [meta-qt5][PATCH] qt5: use correct HostPrefix

2017-11-09 Thread Samuli Piippo
Different HostPrefix was used when building Qt and in external SDK's qt.conf. This caused e.g., wrong path in qmodule.pri for PKG_CONFIG_EXECUTABLE. Task-number: QTBUG-63097 Signed-off-by: Samuli Piippo --- classes/qmake5_base.bbclass | 2 +- recipes-qt/qt5/qtbase_git.bb | 2 +- 2

Re: [oe] [meta-qt5][PATCH v3] Upgrade to Qt 5.9.0

2017-06-09 Thread Samuli Piippo
I could not say. The origin bugreport that changed this for QtWebEngine was https://bugreports.qt.io/browse/QTBUG-59504 On 09.06.2017 11:16, Martin Jansa wrote: Then why does it work for chromium which used to have the same issue? On Fri, Jun 9, 2017 at 7:15 AM, Samuli Piippo

[oe] [meta-qt5][PATCH v4] Upgrade to Qt 5.9.0

2017-06-08 Thread Samuli Piippo
@@ -1,12 +1,14 @@ -From 64f46f5399627430f9ce1a888fb9212b33977231 Mon Sep 17 00:00:00 2001 +From b3fbc6be8844cf2eb8a47d39b1b7ce8016ce5d52 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 10 Feb 2016 09:02:09 +0200 Subject: [PATCH] Allow a tools-only build +Change-Id: I4de6b96ec51fe297a0eeb757cef

Re: [oe] [meta-qt5][PATCH v3] Upgrade to Qt 5.9.0

2017-06-08 Thread Samuli Piippo
Patch updated to fix build issues with qtlocation and qtremoteobjects On 08.06.2017 15:30, Samuli Piippo wrote: * adapt QtWebEngine recipe to use GN instead of GYP * add QtRemoteObjects and QtWebView as a new Qt modules * update available QtBase configure arguments * remove obsolete patches

[oe] [meta-qt5][PATCH v3] Upgrade to Qt 5.9.0

2017-06-08 Thread Samuli Piippo
igure paths for target qmake properly" could not be applied anymore and support must be done differently * QtWebEngine now requires gcc-multilib to be installed on the host system Signed-off-by: Samuli Piippo --- classes/qmake5_base.bbclass| 6 +- recipes-qt/qt5

[oe] [meta-qt5][PATCH v2] Upgrade to Qt 5.9.0

2017-06-02 Thread Samuli Piippo
igure paths for target qmake properly" could not be applied anymore and support must be done differently * QtWebEngine now requires gcc-multilib to be installed on the host system Signed-off-by: Samuli Piippo --- classes/qmake5_base.bbclass| 6 +- recipes-qt/qt5

Re: [oe] [meta-qt5][PATCH] Upgrade to Qt 5.9.0

2017-06-01 Thread Samuli Piippo
On 01.06.2017 15:57, Daniel Mack wrote: On 06/01/2017 02:35 PM, Samuli Piippo wrote: Parts of the chromium is built for the host and requires gcc-multilib to be installed when building on a x64 host. I should have noted that in commit message. My /usr/bin/cc is a symlink to gcc Hmm, same

Re: [oe] [meta-qt5][PATCH] Upgrade to Qt 5.9.0

2017-06-01 Thread Samuli Piippo
On 01.06.2017 10:30, Daniel Mack wrote: On 05/31/2017 08:40 AM, Samuli Piippo wrote: * adapt QtWebEngine recipe to use GN instead of GYP * add QtRemoteObjects as a new Qt module * update available QtBase configure arguments * remove obsolete patches * patch all .pc files to remove build paths

[oe] [meta-qt5][PATCH] Upgrade to Qt 5.9.0

2017-05-31 Thread Samuli Piippo
arget qmake properly" could not be applied anymore and support must be done differently Signed-off-by: Samuli Piippo --- classes/qmake5_base.bbclass| 6 +- recipes-qt/qt5/nativesdk-qtbase_git.bb | 7 +- .../qt5/qt3d/0001-Allow-a-tools-only-build.pat

Re: [oe] [meta-qt5] [PATCH] qtxmlpatterns: add ptest

2017-05-21 Thread Samuli Piippo
Since the code seems to be copy-pasted as is to several modules, it really should be moved to a new .bbclass or .inc and inherited/included in the modules that support it. -samuli On 22.05.2017 08:25, Huang Qiyu wrote: Add ptest for qtxmlpatterns by using provided testsuite. Signed-off-by: H

Re: [oe] [meta-qt5][PATCH v2] qt3d: Add assimp dependency

2017-02-09 Thread Samuli Piippo
In 5.8 (master), there is now a "system-assimp" PACKAGECONFIG option that correctly enables/disables assimp dependency. fatal error: assimp/Importer.hpp: No such file or directory Is this really a fatal build error or a config test error? In case qt3d doesn't find system assimp, it will use i

Re: [oe] [meta-qt5][PATCH v5] Upgrade to Qt 5.8

2017-01-27 Thread Samuli Piippo
On 01/26/2017 05:22 PM, Johannes Pointner wrote: Did you also see the issue with the QMAKE_INCDIR_EGL, QMAKE_LIBS_EGL and QMAKE_CFLAGS_EGL variables? What's the target and configuration you using for the build and what's the actual error you are seeing? --

Re: [oe] [meta-qt5][PATCH v5] Upgrade to Qt 5.8

2017-01-26 Thread Samuli Piippo
On Thu, Jan 26, 2017 at 2:54 PM, Martin Jansa wrote: > On Thu, Jan 26, 2017 at 11:00:59AM +0100, Johannes Pointner wrote: >> Hello, >> >> I tried to build qtbase after this update, but it failed to configure >> because of PACKAGECONFIG options which are no longer available or >> moved to another p

Re: [oe] [meta-qt5][PATCH v4] Upgrade to Qt 5.8

2017-01-12 Thread Samuli Piippo
The webengine bug has been reported, but it's still unresolved: https://bugreports.qt.io/browse/QTBUG-57705 On Thu, Jan 12, 2017 at 9:08 PM, Martin Jansa wrote: > v5 is fine, will you also include the fix for qtwebengine on qemux86? > > Thanks > > On Thu, Jan 12, 2017 at 12:

Re: [oe] [meta-qt5][PATCH v4] Upgrade to Qt 5.8

2017-01-12 Thread Samuli Piippo
The release date for Qt 5.8.0 is fast approaching (current target 17th of January). Would you prefer a v5 patch of this one or a new patch on top of v4? -samuli -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lis

Re: [oe] [meta-qt5][PATCH v4] Upgrade to Qt 5.8

2017-01-03 Thread Samuli Piippo
On Mon, Jan 2, 2017 at 8:47 PM, Martin Jansa wrote: > On Tue, Dec 20, 2016 at 05:30:11PM +0200, Samuli Piippo wrote: >> On 20.12.2016 17:05, Martin Jansa wrote: >> > On Tue, Dec 20, 2016 at 04:58:49PM +0200, Samuli Piippo wrote: >> >> On 20.12.2016 16:30, Martin Jans

Re: [oe] [meta-qt5][PATCH v4] Upgrade to Qt 5.8

2016-12-20 Thread Samuli Piippo
On 20.12.2016 17:05, Martin Jansa wrote: On Tue, Dec 20, 2016 at 04:58:49PM +0200, Samuli Piippo wrote: On 20.12.2016 16:30, Martin Jansa wrote: On Thu, Dec 15, 2016 at 04:49:55PM +0200, Samuli Piippo wrote: Changes from v3 patch: - sha1s updated to expected RC content - fixed the qt3d assimp

Re: [oe] [meta-qt5][PATCH v4] Upgrade to Qt 5.8

2016-12-20 Thread Samuli Piippo
On 20.12.2016 16:30, Martin Jansa wrote: On Thu, Dec 15, 2016 at 04:49:55PM +0200, Samuli Piippo wrote: Changes from v3 patch: - sha1s updated to expected RC content - fixed the qt3d assimp build-deps issue - the new Qt configuration system taken into use where applicable webengine build

Re: [oe] [meta-qt5][PATCH v4] Upgrade to Qt 5.8

2016-12-15 Thread Samuli Piippo
Changes from v3 patch: - sha1s updated to expected RC content - fixed the qt3d assimp build-deps issue - the new Qt configuration system taken into use where applicable webengine build problem with x86_64 host and x86 target is still there. -samuli On 15.12.2016 15:48, Samuli Piippo wrote

[oe] [meta-qt5][PATCHv3] Upgrade to Qt 5.8

2016-11-24 Thread Samuli Piippo
root folder. Update PACKAGECONFIGs for qtbase to match current configure options. Merge the two qtwayland recipes to one that supports all three targets (target, native, nativesdk) without need for additional patch. Change-Id: Ib37c4d7323e8b45aa2b171e8427b6ec15aaee213 Signed-off-by: Samuli Piippo

Re: [oe] [meta-qt5][PATCHv2] Upgrade to Qt 5.8

2016-11-24 Thread Samuli Piippo
t 9:23 AM, Samuli Piippo > wrote: > > > On 23.11.2016 22:14, Martin Jansa wrote: > > > >> On Wed, Nov 23, 2016 at 07:52:51PM +0100, Martin Jansa wrote: > >> > >>> On Wed, Nov 23, 2016 at 04:43:46PM +0100, Martin Jansa wrote: > >>>

Re: [oe] [meta-qt5][PATCHv2] Upgrade to Qt 5.8

2016-11-24 Thread Samuli Piippo
On 23.11.2016 22:14, Martin Jansa wrote: On Wed, Nov 23, 2016 at 07:52:51PM +0100, Martin Jansa wrote: On Wed, Nov 23, 2016 at 04:43:46PM +0100, Martin Jansa wrote: On Wed, Nov 23, 2016 at 04:29:41PM +0100, Martin Jansa wrote: On Fri, Nov 18, 2016 at 09:48:54AM +0200, Samuli Piippo wrote

[oe] [meta-qt5][PATCHv2] Upgrade to Qt 5.8

2016-11-18 Thread Samuli Piippo
root folder. Update PACKAGECONFIGs for qtbase to match current configure options. Merge the two qtwayland recipes to one that supports all three targets (target, native, nativesdk) without need for additional patch. Change-Id: Ib37c4d7323e8b45aa2b171e8427b6ec15aaee213 Signed-off-by: Samuli Piippo

[oe] [meta-qt5][PATCH] Upgrade to Qt 5.8

2016-11-14 Thread Samuli Piippo
root folder. Update PACKAGECONFIGs for qtbase to match current configure options. Merge the two qtwayland recipes to one that supports all three targets (target, native, nativesdk) without need for additional patch. Change-Id: Ib37c4d7323e8b45aa2b171e8427b6ec15aaee213 Signed-off-by: Samuli Piippo

Re: [oe] [meta-qt5 PATCH] qmake5_paths.bbclass: Fix fonts installation path

2016-10-21 Thread Samuli Piippo
That looks like the correct path to use, but how does this fix the problem? OE_QMAKE_PATH_QT_FONTS doesn't seem to used anywhere in meta-qt5 any more and probably should have been removed together with the font packaging bits. -samuli On 20.10.2016 19:53, Otavio Salvador wrote: Hello folks,

Re: [oe] [meta-qt5][krogoth][PATCH] qtwayland: Fix building of QWaylandIntegration if some Qt5 features are disabled.

2016-09-25 Thread Samuli Piippo
On 25.09.2016 12:37, Vesa Jääskeläinen wrote: On 25/09/2016 10.54, Vesa Jääskeläinen wrote: QPlatformIntegration's interface methods are disabled based on QT_NO_OPENGL, QT_NO_CLIPBOARD, QT_NO_DRAGANDDROP, QT_NO_ACCESSIBILITY and QT_NO_SESSIONMANAGER, these has to be taken into account when compi

[oe] [meta-qt5][PATCH] qtvirtualkeyboard: add PACKAGECONFIG options

2016-08-26 Thread Samuli Piippo
Add all available configurations to PACKAGECONFIGs. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/qtvirtualkeyboard_git.bb | 42 - 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bb b/recipes-qt/qt5

[oe] [meta-qt5][PATCHv2] qt5: Allow disabling SHA validation for branch

2016-05-09 Thread Samuli Piippo
validate that given SHA is found from the given branch. Add additional variable that can be used to disable the SHA check when branch is known to be later removed, but SHA remains valid. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/qt5-git.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[oe] [meta-qt5][PATCH] qt5: add one more subfolder for ${PN}-qmldesigner

2016-04-21 Thread Samuli Piippo
QtQuickControls2 has deeper folder structure, make sure that files go to correct packages. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/qt5.inc | 1 + recipes-qt/qt5/qtquickcontrols2_git.bb | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-qt/qt5

[oe] [meta-qt5][PATCH] qt5: Allow disabling SHA validation for branch

2016-04-20 Thread Samuli Piippo
validate that given SHA is found from the given branch. Add additional variable that can be used to disable the SHA check when branch is known to be later removed, but SHA remains valid. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/qt5-git.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

Re: [oe] [meta-qt5][PATCH v2 31/31] qtquickcontrols2: initial add 5.6.0

2016-04-11 Thread Samuli Piippo
On 11.04.2016 14:09, Andreas Müller wrote: On Mon, Apr 11, 2016 at 8:02 AM, Samuli Piippo wrote: On 10.04.2016 22:41, Andreas Müller wrote: Signed-off-by: Andreas Müller --- recipes-qt/qt5/qtquickcontrols2_git.bb | 15 +++ 1 file changed, 15 insertions(+) create mode

Re: [oe] [meta-qt5][PATCH v2 31/31] qtquickcontrols2: initial add 5.6.0

2016-04-11 Thread Samuli Piippo
On 10.04.2016 22:41, Andreas Müller wrote: Signed-off-by: Andreas Müller --- recipes-qt/qt5/qtquickcontrols2_git.bb | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 recipes-qt/qt5/qtquickcontrols2_git.bb diff --git a/recipes-qt/qt5/qtquickcontrols2_git.bb b/recipe

[oe] [meta-qt5][PATCH] qtbase: add runtime dependency to xkeyboard-config

2016-02-25 Thread Samuli Piippo
When qtbase is configured with xkbcommon-evdev (usually without X), make sure xkeyboard-config is installed to provide keymap database. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/qtbase_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-qt/qt5/qtbase_git.bb

Re: [oe] [meta-qt5][PATCH] qt5: use common PACKAGECONFIG to build examples

2016-02-19 Thread Samuli Piippo
On 04.02.2016 13:19, Otavio Salvador wrote: On Wed, Feb 3, 2016 at 1:12 PM, Samuli Piippo wrote: Each Qt module's examples can now be enabled with PACKAGECONFIG. Replace the webkit patch with a PACKAGECONFIG option and follow common practice by not building QtWayland examples by default,

Re: [oe] [meta-qt5][PATCH] nativesdk-qtbase: use runtime linked dbus

2016-02-16 Thread Samuli Piippo
On 16.02.2016 13:38, Otavio Salvador wrote: On Tue, Feb 16, 2016 at 7:13 AM, Samuli Piippo wrote: On 16.02.2016 00:34, Otavio Salvador wrote: On Sun, Feb 14, 2016 at 2:25 PM, Samuli Piippo wrote: Remove direct dependency to nativesdk-dbus. Instead configure qtbase to use runtime linked

Re: [oe] [meta-qt5][PATCH] nativesdk-qtbase: use runtime linked dbus

2016-02-16 Thread Samuli Piippo
On 16.02.2016 00:34, Otavio Salvador wrote: On Sun, Feb 14, 2016 at 2:25 PM, Samuli Piippo wrote: Remove direct dependency to nativesdk-dbus. Instead configure qtbase to use runtime linked dbus library, if that is found. Signed-off-by: Samuli Piippo Why? This puts a dependency on the host

[oe] [meta-qt5][PATCH] nativesdk-qtbase: use runtime linked dbus

2016-02-14 Thread Samuli Piippo
Remove direct dependency to nativesdk-dbus. Instead configure qtbase to use runtime linked dbus library, if that is found. Signed-off-by: Samuli Piippo --- recipes-qt/qt5/nativesdk-qtbase_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-qt/qt5/nativesdk

[oe] [meta-qt5][PATCH] qt3d: support qgltf in native and nativesdk builds

2016-02-12 Thread Samuli Piippo
/null +++ b/recipes-qt/qt5/qt3d/0001-Allow-a-tools-only-build.patch @@ -0,0 +1,31 @@ +From 778d0c4515bae5bdeb650fb3e6b3e32a73722b51 Mon Sep 17 00:00:00 2001 +From: Samuli Piippo +Date: Wed, 10 Feb 2016 09:02:09 +0200 +Subject: [PATCH] Allow a tools-only build + +--- + qt3d.pro | 7 ++- + 1 file

  1   2   >