Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fido' into jethro
Browse files Browse the repository at this point in the history
* origin/fido:
  Correctly update qtquickcompiler SHA1
  Reuse qt5-git.inc to define git repo location
  Remove automotive recipes
  Update Qt5 submodules
  Handle qtquickcompiler in update-qt5-modules.sh script
  Correctly use QtQuickCompiler when available
  Change git protocol from ssh to http
  Update qtdeclarative module
  Update boot2qt-demos version

Conflicts:
	conf/distro/b2qt-auto.conf
	recipes-qt/automotive/gammaray_git.bb
	recipes-qt/automotive/neptune-ui/neptune.service
	recipes-qt/automotive/neptune-ui_git.bb
	recipes-qt/automotive/qtapplicationmanager_git.bb
	recipes-qt/automotive/qtivi_git.bb
	recipes-qt/automotive/qtwebbrowser_git.bb
	recipes-qt/b2qt-addons/b2qt-demos.bb
	recipes-qt/b2qt-addons/b2qt-launcher.bb
	recipes-qt/b2qt-addons/democompositor_git.bb
	recipes-qt/images/b2qt-automotive-qt5-image.bb
	recipes-qt/meta/meta-toolchain-b2qt-automotive-qt5-sdk.bb
	recipes-qt/qt5-addons/qtvirtualkeyboard_git.bb
	recipes-qt/qt5/nativesdk-qtbase_git.bbappend
	recipes-qt/qt5/qt3d_git.bbappend
	recipes-qt/qt5/qtbase-native_git.bbappend
	recipes-qt/qt5/qtbase_git.bbappend
	recipes-qt/qt5/qtcanvas3d_git.bbappend
	recipes-qt/qt5/qtcharts_git.bb
	recipes-qt/qt5/qtconnectivity_git.bbappend
	recipes-qt/qt5/qtdatavis3d_git.bb
	recipes-qt/qt5/qtdeclarative-render2d_git.bb
	recipes-qt/qt5/qtdeclarative_git.bbappend
	recipes-qt/qt5/qtgraphicaleffects_git.bbappend
	recipes-qt/qt5/qtimageformats_git.bbappend
	recipes-qt/qt5/qtlocation_git.bbappend
	recipes-qt/qt5/qtmultimedia_git.bbappend
	recipes-qt/qt5/qtquickcompiler_git.bb
	recipes-qt/qt5/qtquickcontrols2_git.bb
	recipes-qt/qt5/qtquickcontrols_git.bbappend
	recipes-qt/qt5/qtsensors_git.bbappend
	recipes-qt/qt5/qtserialbus_git.bb
	recipes-qt/qt5/qtserialport_git.bbappend
	recipes-qt/qt5/qtsvg_git.bbappend
	recipes-qt/qt5/qttools_git.bbappend
	recipes-qt/qt5/qttranslations_git.bbappend
	recipes-qt/qt5/qtvirtualkeyboard_git.bb
	recipes-qt/qt5/qtvirtualkeyboard_git.bbappend
	recipes-qt/qt5/qtwayland-native_5.7-wip.bb
	recipes-qt/qt5/qtwayland-native_git.bbappend
	recipes-qt/qt5/qtwayland_5.7-wip.bb
	recipes-qt/qt5/qtwayland_git.bbappend
	recipes-qt/qt5/qtwebchannel_git.bbappend
	recipes-qt/qt5/qtwebengine_git.bbappend
	recipes-qt/qt5/qtwebsockets_git.bbappend
	recipes-qt/qt5/qtxmlpatterns_git.bbappend
	scripts/manifest.xml

Change-Id: Ibf7f89a35c9e19bd8cf81c49cb44f6fd454838b4
  • Loading branch information
sapiippo committed Aug 22, 2016
2 parents 1778a81 + 797b8c9 commit 83b656e
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 57 deletions.
1 change: 1 addition & 0 deletions classes/internal-build.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ python enable_internal_build () {
except:
return

e.data.setVar('ENABLE_QTQUICKCOMPILER', "1")
e.data.setVar('SSTATE_MIRRORS', "file://.* http://yocto-cache.ci.local/sstate-caches/${DISTRO_CODENAME}/PATH")
e.data.setVar('PREMIRRORS', "\
ftp://.*/.* http://yocto-cache.ci.local/sources/ \n \
Expand Down
20 changes: 10 additions & 10 deletions classes/qtquickcompiler.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
############################################################################

python __anonymous() {
provider = "qtquickcompiler"
provider = ""
sdk_path = d.getVar('B2QTBASE', True) + "/recipes-qt/qt5-addons/qtquickcompiler-sdk"
pn = d.getVar("PN", True)

sdk_path = d.getVar('QT_SDK_PATH', True) or ""
if len(sdk_path) != 0:
qtquickcompiler_path = d.getVar('B2QTBASE', True) + "/recipes-qt/qt5-addons/qtquickcompiler-sdk"
if not os.path.isdir(qtquickcompiler_path):
bb.note("QtQuickCompiler not available")
return
else:
provider = "qtquickcompiler-sdk"
if d.getVar('ENABLE_QTQUICKCOMPILER', True) == "1":
provider = "qtquickcompiler"
elif os.path.isdir(sdk_path):
provider = "qtquickcompiler-sdk"
else:
bb.note("qtquickcompiler not enabled for %s" % pn)
return

pn = d.getVar("PN", True)
if "toolchain-host" in pn:
d.appendVar('RDEPENDS_' + pn, " nativesdk-%s-tools" % provider)
if "toolchain-target" in pn:
Expand Down
33 changes: 0 additions & 33 deletions conf/distro/b2qt-auto.conf

This file was deleted.

3 changes: 3 additions & 0 deletions conf/local.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ INHERIT += "rm_work"
INHERIT += "image-buildinfo"
INHERIT += "internal-build"

# Enables use of QtQuickCompiler if you have access to the gerrit project
#ENABLE_QTQUICKCOMPILER = "1"

ACCEPT_FSL_EULA = "1"
LICENSE_FLAGS_WHITELIST = "commercial"

Expand Down
6 changes: 3 additions & 3 deletions recipes-qt/b2qt-addons/b2qt-demos.bb
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ DESCRIPTION = "Boot to Qt Demos"
LICENSE = "BSD | The-Qt-Company-DCLA-2.1"
LIC_FILES_CHKSUM = "file://about-b2qt/AboutBoot2Qt.qml;md5=b0a1a6eef4a172b0a8cb4dad9a167d91;beginline=1;endline=49"

inherit qmake5 sdk-sources
inherit qmake5

SRC_URI = " \
git://codereview.qt-project.org/qt-apps/boot2qt-demos.git;branch=${BRANCH};protocol=http;name=demos \
${QT_GIT}/qt-apps-boot2qt-demos.git;branch=${BRANCH};name=demos \
${QT_GIT}/qtcanvas3d.git;branch=${QT_BRANCH};name=qtcanvas3d;destsuffix=qtcanvas3d \
${QT_GIT}/qtquickcontrols.git;branch=${QT_BRANCH};name=qtquickcontrols;destsuffix=qtquickcontrols \
git://codereview.qt-project.org/qt-apps/qtwebbrowser.git;branch=${BROWSER_BRANCH};protocol=http;name=qtwebbrowser;destsuffix=git/basicsuite/qtwebbrowser/tqtc-qtwebbrowser;sdk-uri=5.7/Boot2Qt/sources/b2qt-demos/basicsuite/qtwebbrowser/tqtc-qtwebbrowser \
${QT_GIT}/qt-apps-qtwebbrowser.git;branch=${BROWSER_BRANCH};name=qtwebbrowser;destsuffix=git/basicsuite/qtwebbrowser/tqtc-qtwebbrowser \
https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt_video_720p.webm;name=video1 \
https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt+World+Summit+2015+Recap.mp4;name=video2 \
"
Expand Down
10 changes: 4 additions & 6 deletions recipes-qt/b2qt-addons/b2qt-launcher.bb
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,17 @@ LICENSE = "(BSD & GPL-3.0) | The-Qt-Company-DCLA-2.1"
LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504"

inherit qmake5
require recipes-qt/qt5/qt5-git.inc

SRC_URI = " \
git://codereview.qt-project.org/qt-apps/boot2qt-launcher;branch=${BRANCH};protocol=http \
QT_MODULE = "qt-apps-boot2qt-launcher"

SRC_URI += " \
file://b2qt-startup.sh \
file://qtlauncher.service \
file://b2qt.service \
"

SRCREV = "7ff96b74f8721dbaf50722561770815a4530b6a0"
BRANCH = "5.7"
PV = "5.7+git${SRCPV}"

S = "${WORKDIR}/git"

DEPENDS = "qtbase qtdeclarative \
${@base_contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}"
Expand Down
7 changes: 2 additions & 5 deletions recipes-qt/b2qt-addons/democompositor_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ LICENSE = "BSD | The-Qt-Company-DCLA-2.1"
LIC_FILES_CHKSUM = "file://main.cpp;md5=b0a1a6eef4a172b0a8cb4dad9a167d91;beginline=1;endline=49"

inherit qmake5
require recipes-qt/qt5/qt5-git.inc

SRC_URI = " \
git://codereview.qt-project.org/qt-apps/boot2qt-demos.git;branch=${BRANCH};protocol=http \
"
QT_MODULE = "qt-apps-boot2qt-demos"

SRCREV = "a6d8f7ce79fb5c17e706f25daf4dda4d97b5323e"
BRANCH = "5.7"
PV = "5.7+git${SRCPV}"

S = "${WORKDIR}/git/wayland/democompositor/"

Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions scripts/update-qt5-modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ for S in $SHA1S; do
elif [ "${PROJECT}" = "qtwebengine/src/3rdparty" ]; then
sed -i -e "/^SRCREV_chromium/s/\".*\"/\"${SHA1}\"/" qtwebengine_git.bb*
echo "qtwebengine (chromium) -> ${SHA1}"
elif [ "${PROJECT}" = "tqtc-qmlcompiler" ]; then
sed -i -e "/^SRCREV/s/\".*\"/\"${SHA1}\"/" qtquickcompiler_git.bb*
echo "qtquickcompiler -> ${SHA1}"
elif [ "$(echo *${PROJECT}*_git.bb*)" != "*${PROJECT}*_git.bb*" ]; then
sed -i -e "/^SRCREV/s/\".*\"/\"${SHA1}\"/" *${PROJECT}*_git.bb*
echo "${PROJECT} -> ${SHA1}"
Expand Down

0 comments on commit 83b656e

Please sign in to comment.