aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* qt5-creator: fix build with QMAKE_ARupstream/jansa/qt5-creatorMartin Jansa2018-09-273-1/+82
| | | | | | | | | | | | * now it builds OK at least for qemux86-64, but then do_install fails: | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/recipe-sysroot-native/usr/bin/qmake -install qinstall /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/image/usr/share/doc/qtcreator/qtcreator.qch | Error copying /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch to /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/image/usr/share/doc/qtcreator/qtcreator.qch: Cannot open /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.7.1+gitAUTOINC+8768e39d3c-r0/build/share/doc/qtcreator/qtcreator.qch for input | Makefile:492: recipe for target 'install_inst_qch_docs' failed http://errors.yoctoproject.org/Errors/Build/68948/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: upgrade to 4.7.1+Martin Jansa2018-09-265-133/+12
| | | | | | | | botan was replaced with botan2 in: http://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?h=4.7&id=a44fe2e4f03fc18ce9c3d050f71fe369916259b8 lets see if we still need those fixes for botan Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: package all files in ${PN}-examplesMartin Jansa2018-09-261-19/+3
| | | | | | | | * including static and dev files * and disable QA warning about that: ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA Issue: non -staticdev package contains static .a library: qtbase-examples path '/work/core2-64-oe-linux/qtbase/5.11.2+gitAUTOINC+49efea26a5-r0/packages-split/qtbase-examples/usr/share/examples/widgets/tools/plugandpaint/plugins/libpnp_basictools.a' [staticdev] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: use single -dev and -staticdev packageMartin Jansa2018-09-262-18/+13
| | | | | | * don't create separate examples-dev and examples-staticdev for all modules Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: refresh .patch files and push them to meta-qt5 forkMartin Jansa2018-09-256-33/+51
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: Fix build due to missing lreleaseKhem Raj2018-09-252-2/+26
| | | | | | | | | | | Fixes make[2]: /mnt/a/yoe/build/tmp/work/i586-yoe-linux-musl/qt5-creator/4.5.1-r0/recipe-sysroot/usr/bin/lrelease: Command not found make[2]: *** [Makefile:420: qtcreator_cs.qm] Error 127 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtchooser: Update to latest gitKhem Raj2018-09-251-2/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: Add patches to fix breakpad in new webengine release on muslKhem Raj2018-09-253-0/+121
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Do not use cross_compile checkKhem Raj2018-09-259-31/+17
| | | | | | | | This check is not accepted by qmake resulting in subsequent failures in qtwebengine Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix errors due to -isystemKhem Raj2018-09-2520-30/+60
| | | | | | | | | | empty out QMAKE_CFLAGS_ISYSTEM this will ensure that -isystem is not used instead it will use -I to include internal QT headers Dont hardcode QMAKE_DEFAULT_INCDIRS when cross compile Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Fix build error for armv8BE multilib.Lei Maohui2018-09-256-10/+53
| | | | | | | | * MJ: modified to apply correctly and to be included in native and nativesdk builds as the comment above SRC_URI says. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: update to latest revision in 5.11 branchMartin Jansa2018-09-2584-130/+121
| | | | | | | | | | * drop nobranch=1 again * update the branches and tags on meta-qt5/qt* forks and the tag name in recipes * use latest revision in 5.11 branch instead of 5.11.2 which might be removed again Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: update to Qt 5.11.2Samuli Piippo2018-09-2545-811/+979
| | | | | | | | Update The-Qt-Company-Commercial license to the actual commercial license which also replaces preview license in qtbase. Remove old licenses that are no longer used in any module. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* libqofono: include /qt5/mkspecs in ${PN}-devMartin Jansa2018-09-251-0/+1
| | | | | | | | * libqofono doesn't respect the install variables and mkspecs end in ${datadir}/qt5/mkspecs even when QT_DIR_NAME is empty and OE_QMAKE_PATH_ARCHDATA is just ${datadir}/mkspecs Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit-examples: Fix build with QT 5.11Khem Raj2018-09-252-0/+50
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: Use relative paths for pri files when cross compileKhem Raj2018-09-253-206/+43
| | | | | | This helps in compiling examples etc. without hardcoded headers Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qmake5_paths: change the default QT_DIR_NAME to be emptyMartin Jansa2018-09-253-5/+5
| | | | | | | | * there aren't many people using qt4 and qt5 in the same image anymore, it's time to stop using this work around and to follow default packaging rules Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nativesdk-qtbase: use default PACKAGESMartin Jansa2018-09-202-16/+4
| | | | | | | * don't append -tools to all packages * fixes automatic packaging of .debug files in ${PN}-dbg Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5-creator: strip few more useless rpathsMartin Jansa2018-09-191-1/+3
| | | | | | | | | | * fixes: ERROR: qt5-creator-4.5.1-r0 do_package_qa: QA Issue: qt5-creator: /work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/plugins/qmldesigner/libcomponentsplugin.so contains probably-redundant RPATH /usr/lib qt5-creator: /work/core2-64-oe-linux/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/plugins/qmldesigner/libqtquickplugin.so contains probably-redundant RPATH /usr/lib [useless-rpaths] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: remove unnecessary FILES.*-dbg variables for packaging .debug filesMartin Jansa2018-09-1918-70/+2
| | | | | | | | | | | | | | | | | | | | * package.bbclass can do it automatically since: commit da5ec06814e105451cca11cce76b5c5231110524 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Tue Dec 15 15:38:54 2015 +0000 package: Add auto package splitting of .debug files * .debug files for examples were incorrectly picked by qtbase-qmlplugins-dbg causing following QE error, because unlike qtbase-examples-dbg we don't have libdir in INSANE_SKIP. ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA Issue: qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/plugandpaint/plugins/.debug/libpnp_extrafilters.so qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/styleplugin/styles/.debug/libsimplestyleplugin.so qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/echoplugin/plugins/.debug/libechoplugin.so [libdir] ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt3d-runtime: Fix compile errors as seen with mips/muslKhem Raj2018-09-192-0/+31
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt3d-runtime: upgrade to latest revision in 2.0 branchMartin Jansa2018-09-191-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Make qtwebkit support arm32 BE.Lei Maohui2018-09-192-1/+27
| | | | | | | | * It can work on arm32 BE. * MJ: modified to apply correctly Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtscript: add patches to meta-qt5 forkMartin Jansa2018-09-192-5/+8
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtscript: Fix build on muslKhem Raj2018-09-192-1/+39
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: add patches to meta-qt5 forkMartin Jansa2018-09-193-28/+27
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Fix conflicts with -I and -isystemKhem Raj2018-09-192-0/+208
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebkit: Fix build with muslKhem Raj2018-09-192-1/+73
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Strip out redundant RPATHKhem Raj2018-09-191-1/+6
| | | | | | | | | | Fixes ERROR: QA Issue: qt5-creator: /work/mips32r2-bec-linux-musl/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/libexec/qtcreator/qbs_processlauncher contains probably-redundant RPATH /usr/lib qt5-creator: /work/mips32r2-bec-linux-musl/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/libexec/qtcreator/qtcreator_process_stub contains probably-redundant RPATH /usr/lib qt5-creator: /work/mips32r2-bec-linux-musl/qt5-creator/4.5.1-r0/packages-split/qt5-creator/usr/lib/qt5/qtcreator/libqbscore.so.1.10.1 contains probably-redundant RPATH /usr/lib [useless-rpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt5-creator: Fix building botan for all non-x86 archesKhem Raj2018-09-192-0/+20
| | | | | | The original fix was just for x86/x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: use nasm-native instead of yasm-nativeMartin Jansa2018-09-191-1/+1
| | | | | | | * yasm-native was removed in: http://git.openembedded.org/openembedded-core/commit/?id=b7f3f7ecfdf26129c5df2d3ee14e73c4633ea5a3 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix install locations used in static buildsSamuli Piippo2018-09-141-2/+27
| | | | | | | | | | Both qml and plugin paths need to be adjusted for static builds, so that they point to the recipe-sysroot instead of the native one. Similar change is already applied to host bins. These changes do not affect regular dynamic builds, as the sections are only used in static builds. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtwebengine: enable debug info for webengineSamuli Piippo2018-09-142-11/+10
| | | | | | | Enable debug info for webengine builds. The mkspec needed fixing, otherwise CFLAGS were fed incorrectly to Ninja. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtscript: Update the custom patch from mainlineAlistair Francis2018-08-313-59/+51
| | | | | | Update the custom qtscript patch to use a backported patch instead. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
* qtbase: remove renameat2 PACKAGECONFIGAndreas Müller2018-08-221-2/+0
| | | | | | | * since glibc 2.28 it is not necessary that Qt implements it * reduce PACKAGECONFIG mania a bit Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtbase: fix build with glibc-2.28 - for non-readers like meAndreas Müller2018-08-226-3/+48
| | | | | | | | | | | | 539e4f09f749f024d6e157a49559e5ad7f51470a fixed bootstrapped build. At least cross builds are not done bootstrapped. Fix them too by copying statx/renameat2 macros - non-bootsrapped conditional - to qfilesystemengine_unix.cpp - it is fortunately the only source using QT_FEATURE_renameat2 / QT_FEATURE_statx (or QT_CONFIG(renameat2) / QT_CONFIG(statx)). Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* qtwebengine: Fix optonal glib-2.0 dependencyJens Rehsack2018-08-221-1/+1
| | | | | | | | The corresponding recipe in poky is named "glib-2.0_XXX.bb", not "glib_XXX.bb" which causes parser errors when enabling 'glib' in PACKAGECONFIG. Signed-off-by: Jens Rehsack <sno@netbsd.org>
* qtwebkit_git.bb: Fix configure failure on bisonManjukumar Matha2018-08-171-1/+1
| | | | | | | | | | | | | | Fix the following error during do_configure | CMake Error at | Could NOT find BISON (missing: BISON_EXECUTABLE) (Required is at least | version "2.1") | Call Stack (most recent call first): Add dependency to bison-native to fix the above error Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* qtwebengine: Add PACKAGECONFIG for pepper-plugins printing-and-pdf spellcheckerMartin Jansa2018-08-151-0/+6
| | | | | | * also add libpci runtime dependency for x86 targets (imported from meta-luneui) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebengine: add a package config to enable proprietary codecsAlban Bedel2018-08-151-0/+1
| | | | | | | Add a package config that allow to enable proprietary codecs for h264 support. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
* qt3d-runtime: add recipe for Qt 3D Studio runtime librarySamuli Piippo2018-08-141-0/+16
| | | | | | | | | The Qt 3D Studio Runtime provides C++ and QML APIs for integrating Qt 3D Studio scenes into Qt applications, as well as the viewer application that is used in combination with the Qt 3D Studio application during the design phase Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: update the dependency for gbm PACKAGECONFIGMartin Jansa2018-08-141-1/+1
| | | | | | | * mesa* conditionally provides virtual/libgbm when gbm is enabled there so it's better than depending on just virtual/mesa Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix build with glibc-2.28Martin Jansa2018-08-147-37/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: qtbase/5.11.1+gitAUTOINC+74305ba470-r0/git/src/corelib/io/qfilesystemengine_unix.cpp:94: qtbase/5.11.1+gitAUTOINC+74305ba470-r0/recipe-sysroot/usr/include/linux/stat.h:56:8: error: redefinition of 'struct statx_timestamp' struct statx_timestamp { ^~~~~~~~~~~~~~~ qtbase/5.11.1+gitAUTOINC+74305ba470-r0/recipe-sysroot/usr/include/bits/statx.h:25:8: note: previous definition of 'struct statx_timestamp' struct statx_timestamp ^~~~~~~~~~~~~~~ You might encounter another error: qtbase/5.11.1+gitAUTOINC+74305ba470-r0/git/src/corelib/io/qfilesystemengine_unix.cpp:109:12: error: 'int renameat2(int, const char*, int, const char*, unsigned int)' was declared 'extern' and later 'static' [-fpermissive] static int renameat2(int oldfd, const char *oldpath, int newfd, const char *newpath, unsigned flags) ^~~~~~~~~ qtbase/5.11.1+gitAUTOINC+74305ba470-r0/recipe-sysroot/usr/include/stdio.h:164:12: note: previous declaration of 'int renameat2(int, const char*, int, const char*, unsigned int)' extern int renameat2 (int __oldfd, const char *__old, int __newfd, ^~~~~~~~~ In that case enable renameat2 in your PACKAGECONFIG. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nativesdk-packagegroup-qt5-toolchain-host: Add perl modulesSeokha Ko2018-08-141-0/+1
| | | | perl modules are needed for syncqt.pl
* qtchooser: drop useless patch, set PVMartin Jansa2018-07-272-38/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * set PV to something better than just 'git' * drop 0001-Makefile-install-the-man-dir.patch, the change was already applied long before the currently used SRCREV, do_patch WARNING: was correctly complaining: WARNING: qtchooser-git-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch 0001-Makefile-install-the-man-dir.patch patching file Makefile Hunk #1 succeeded at 2 with fuzz 1 (offset 1 line). Hunk #2 succeeded at 79 with fuzz 2 (offset 22 lines). Now at patch 0001-Makefile-install-the-man-dir.patch Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* packagegroup-qt5-toolchain-target: Remove non-existing qttranslations-qt ↵Khem Raj2018-07-271-1/+0
| | | | | | | | | | from rdeps Fixes ERROR: Nothing RPROVIDES 'qttranslations-qt' (but /home/jenkins/oe/world/oe-build/sources/meta-qt5/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'qttranslations-qt' is unbuildable, removing... Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Add a kde PACKAGECONFIGAlistair Francis2018-07-101-0/+2
| | | | | | | | If trying to build KDE there are extra package config options required. This patch adds a KDE DISTRO_CONFIG that enables the extra PACKAGECONFIG options required. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
* qt5: add option to build Qt5 staticallySamuli Piippo2018-07-044-1/+30
| | | | | | | | | | | | | | | | Add PACKAGECONFIG that enables static build for qtbase and consequently to all Qt recipes. This can be enabled with DISTRO_FEATURE 'qt5-static', which also adds qtdeclarative-native dependency to all recipes that depend on qtdeclarative as it's required for qmlimportscannertool. Building examples and tests with static build can take excessive amounts of time and disk space, so disabling DISTRO_FEATURE 'ptest' and PACKAGECONFIGs 'examples' from qtbase is advised. Not all recipes support static builds and those are not fixed here. Change-Id: Ia0e2a2467cd42d4395ed5292a645fd1d89ad521a Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qtbase: fix install locations used in static buildsSamuli Piippo2018-07-041-1/+26
| | | | | | | | | | Both qml and plugin paths need to be adjusted for static builds, so that they point to the recipe-sysroot instead of the native one. Similar change is already applied to host bins. These changes do not affect regular dynamic builds, as the sections are only used in static builds. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* qttranslations: do not use qt meta catalog translation packageSamuli Piippo2018-07-041-6/+1
| | | | | | | | The qt_xx packages are meta catalogs that have dependencies to qtquick1 which is not available anymore, which then breaks loading of the translation file. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>