27 Commits

Author SHA1 Message Date
Daniel Gomez
b4d24d70ac python3-pyqt5: Update recipe to use pypi class
*  Update recipe to inherit from pypi class.
*  Update homepage.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2021-03-02 17:32:02 +01:00
Martin Jansa
11c1ee8873 python3-pyqt5: upgrade to final 5.15.1
* use the released version from:
  https://www.riverbankcomputing.com/news/PyQt_v5.15.1_Released
  because the snapshots are pruned very quickly and were causing many fetch issues
  as the http://sources.openembedded.org/ is no longer updated from meta-qt5 builds
* unfortunately this will sort lower than 5.15.1.dev2008271829 added in:
  1650757f41
  I should have rejected it before, if you care about binary package feeds, then send PE bump

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-03-02 17:32:02 +01:00
Daniel Gomez
a7940accda python3-pyqt5: Update to dev2008271829 snapshot
Old version no longer available:

ERROR: python3-pyqt5-5.15.1.dev2008081558-r0 do_fetch: Fetcher failure
for URL: 'https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5-5.15.1.dev2008081558.tar.gz'.
Unable to fetch URL from any source.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
2021-03-02 17:32:02 +01:00
Khem Raj
4bb1636821 python3-pyqt5: Update to dev2008081558 snapshot
Old one is gone

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-02 17:32:02 +01:00
Philip Balister
65b8e152f6 python3-pyqt5: Update to 5.15.1.dev2007111314
* Resolves missing source tarball for me.

Signed-off-by: Philip Balister <philip@opensdr.com>
2021-03-02 17:32:02 +01:00
Khem Raj
7356cd9782 python3-pyqt5: Update to 5.15 version
5.13 release no longer works with QT 5.15+ since it uses some of removed
interfaces

Fixes
QtQuick/sipQtQuickQSGGeometry.cpp:940:103: error: use of deleted function 'QSGGeometry& QSGGeometry::operator=(const QSGGeometry&)'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-03-02 17:32:02 +01:00
Artem Panfilov
f712bf9f88 python-pyqt5: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
2020-03-13 08:20:38 +01:00
Artem Panfilov
79b0f3a605 python-pyqtchart: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
2020-03-13 08:19:55 +01:00
Martin Jansa
89de99e7e2 python-{pyqt5,pyqtchart}: fold .inc file into .bb
* drop 2nd DEPENDS assignment from python-pyqtchart.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 20:19:38 +01:00
Martin Jansa
5d79044938 python-pyqt5: drop python 2 recipe
* sip-native was already removed from meta-oe and wasn't resurected in meta-python2
  so even with meta-python2 layer included this recipe cannot be built:

  ERROR: Nothing PROVIDES 'sip' (but /OE/build/oe-core/meta-qt5/recipes-python/pyqt5/python-pyqt5_5.13.2.bb DEPENDS on or otherwise requires it). Close matches:
    sip3
  ERROR: Required build target 'python-pyqt5' has no buildable providers.
  Missing or unbuildable dependency chain was: ['python-pyqt5', 'sip']

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 20:15:30 +01:00
Martin Jansa
b2a958a4cd python-pyqt5: disable whole PyQt_OpenGL and QtWidgets, QtQuickWidgets, QtQuick modules without opengl in DISTRO_FEATURES
* fixes:
  sip: QOpenGLFramebufferObject is undefined
  in default nodistro setup without opengl in DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 19:59:08 +01:00
Adrian Fiergolski
caf09cd53c Add PyQtChart.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-02-06 14:01:49 +01:00
Martin Jansa
a797f85c6f python-pyqt5, qtwebengine, qtwebkit, qt-kiosk-browser: skip without meta-python2
Neither of these actually builds with python3, skip them when
meta-python2 isn't included until real fix is available.

qtwebkit might not get the support for python3 at all

qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2

python-pyqt5 is already blacklisted because of sip

qtwebengine with python3 shows in log.do_configure that it won't actually
build qtwebengine, but it doesn't fail. do_compile fails but with a bit
misleading error:

ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed
ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1:
cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden' -after ) && make -f Makefile
make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:295: recipe for target 'errorbuild' failed
make[1]: *** [errorbuild] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:57:37 +01:00
Martin Jansa
b1f4f1fdd0 Revert "recipes: Use python3 during build"
This reverts commit 47fb26dedd.

Neither of these actually builds with python3, it's good fix to
start parsing the layer again, but better to just skip them when
meta-python2 isn't available until real fix is available.

qtwebkit might not get the support for python3 at all

qtwebengine I have some changes for the initial build, but there
are many more needed as shown in upstream chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=942720
https://bugs.chromium.org/p/chromium/issues/list?q=label%3AProj-Python3Migration&can=2

python-pyqt5 is already blacklisted because of sip

qtwebengine with python3 shows in log.do_configure that it won't actually
build qtwebengine, but it doesn't fail. do_compile fails but with a bit
misleading error:

ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: oe_runmake failed
ERROR: qtwebengine-5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0 do_compile: Execution of '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/temp/run.do_compile.16479' failed with exit code 1:
cd src/ && ( test -e Makefile || /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native/usr/bin/qmake -o Makefile /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/git/src/src.pro CONFIG+=force_debug_info QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests 'QMAKE_CXX=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CC=x86_64-webos-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_LINK=x86_64-webos-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot' 'QMAKE_CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native= ' 'QMAKE_CXXFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0=/usr/src/debug/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden' -after ) && make -f Makefile
make[1]: Entering directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:295: recipe for target 'errorbuild' failed
make[1]: *** [errorbuild] Error 2
make[1]: Leaving directory '/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.14.0+gitAUTOINC+d366f1d5d3_939daf833f-r0/build/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24 11:56:35 +01:00
Khem Raj
47fb26dedd recipes: Use python3 during build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-20 10:42:50 +01:00
Khem Raj
02715fff5e pyqt5: Upgrade to 5.13.2
Blacklist py2 version, it does not build and py2 is on its way out in
Jan 2020 anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 13:51:18 +01:00
Francesco Mocci
267e646125 python(3)-pyqt5: add qml support
* drop unnecessary PYQT_MODULES override with the same value

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-31 15:26:31 +00:00
Philip Balister
ba08444f42 python-pyqt5: Update to version 5.12.1.
Signed-off-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-12 10:03:00 +00:00
Philip Balister
6a1a387a50 python-pyqt: Fix annoying problems.
* Python ABI only applies to include files.

Signed-off-by: Philip Balister <philip@opensdr.com>
2019-05-12 10:01:39 +00:00
Khem Raj
f22750291b python-pyqt5: MAKEFLAGS pass -j 1 via MAKEFLAGS during do_install
The fix to reset PARALLEL_MAKEINST isnt enough here because qmake
bbclass creates EXTRA_OEMAKE where it passes the -jX via MAKEFLAGS
its better to set MAKEFLAGS in do_install to undo that effect

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-29 07:16:36 -02:00
Khem Raj
18f82a8b32 python-pyqt5: Disable parallel install
Avoid certain race during do_install

|   File
"/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/python-pyqt5/5.11.3-r0/PyQt5_gpl-5.11.3/mk_distinfo.py",
line 108, in <module>
|     fn_f = open(fn, 'rb')
| FileNotFoundError: [Errno 2] No such file or directory:
'/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/python-pyqt5/5.11.3-r0/image//usr/lib/python2.7/site-packages/PyQt5/QtCore.so'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-20 16:09:52 +00:00
Philip Balister
fd1f0f4731 python-pyqt5: Update to 5.11.3 and add python3 recipe.
Signed-off-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-11-13 11:09:05 +00:00
Martin Jansa
b716195f60 qmake5_paths: change the default QT_DIR_NAME to be empty
* 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>
2018-09-25 09:22:18 +00:00
Martin Jansa
03b4c7b669 qt: remove unnecessary FILES.*-dbg variables for packaging .debug files
* 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>
2018-09-19 16:36:36 +00:00
Diego Rondini
e199d801f8 python-pyqt5: update recipe to 5.10.1
Update recipe to version 5.10.1, removing upstreamed patches in the process.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-21 18:37:08 +00:00
Diego Rondini
3c4f2cba1f python-pyqt5: include QtWidgets module
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-21 11:00:47 +02:00
Philip Balister
6605c48f3a python-pyqt5: Add recipe.
* Build tested on raspberrypi3
 * I promise to chase the patch upstream.
 * v2 auto detects QT_VERSION

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-16 09:35:13 +02:00