From 34f52203d45d5e8af8a1aee6e37240aabf7f08c3 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 2 Mar 2018 13:08:39 +0200 Subject: Rename recipes Add _git postfix to recipes which use sources from git and rename recipes to match their git repositories Change-Id: Idc67d136f280c7d224d586f79c5e7ce6f7e20fa2 Reviewed-by: Mikko Gronoff --- meta-boot2qt/recipes-core/ostree/ostree.bb | 86 ------------- meta-boot2qt/recipes-core/ostree/ostree_git.bb | 86 +++++++++++++ .../recipes-graphics/fonts/ttf-opensans.bb | 51 -------- .../recipes-graphics/fonts/ttf-opensans_git.bb | 51 ++++++++ .../recipes-graphics/hunspell/hunspell-dicts.bb | 57 --------- .../hunspell/hunspell-dicts_git.bb | 57 +++++++++ .../automotive/qmllive-target/qmllive-target.patch | 19 --- .../recipes-qt/automotive/qmllive-target_git.bb | 50 -------- .../automotive/qmllive/qmllive-target.patch | 19 +++ meta-boot2qt/recipes-qt/automotive/qmllive_git.bb | 49 ++++++++ .../recipes-qt/b2qt-addons/b2qt-appcontroller.bb | 56 --------- .../b2qt-appcontroller/appcontroller.conf | 7 -- .../colibri-vf/appcontroller.conf | 9 -- .../b2qt-appcontroller/emulator/appcontroller.conf | 10 -- .../b2qt-appcontroller/mx6/appcontroller.conf | 10 -- .../b2qt-appcontroller/mx7/appcontroller.conf | 9 -- .../b2qt-appcontroller/rpi/appcontroller.conf | 7 -- .../tegra-t18x/appcontroller.conf | 8 -- .../b2qt-appcontroller/ti33x/appcontroller.conf | 8 -- meta-boot2qt/recipes-qt/b2qt-addons/b2qt-demos.bb | 134 --------------------- .../recipes-qt/b2qt-addons/b2qt-launcher.bb | 65 ---------- .../b2qt-addons/b2qt-launcher/b2qt-startup.sh | 49 -------- .../b2qt-addons/b2qt-launcher/b2qt.service | 10 -- .../b2qt-launcher/beaglebone/b2qt.service | 11 -- .../b2qt-launcher/beaglebone/qtlauncher.service | 11 -- .../b2qt-launcher/emulator/b2qt.service | 10 -- .../b2qt-launcher/emulator/qtlauncher.service | 11 -- .../b2qt-addons/b2qt-launcher/qtlauncher.service | 10 -- .../recipes-qt/b2qt-addons/democompositor_git.bb | 47 -------- meta-boot2qt/recipes-qt/b2qt-addons/qdbd.bb | 72 ----------- .../b2qt-addons/qdbd/b2qt-gadget-network.sh | 103 ---------------- meta-boot2qt/recipes-qt/b2qt-addons/qdbd/defaults | 8 -- .../recipes-qt/b2qt-addons/qdbd/qdbd-init.sh | 120 ------------------ .../recipes-qt/b2qt-addons/qdbd/qdbd.service | 11 -- .../boot2qt-appcontroller/appcontroller.conf | 7 ++ .../colibri-vf/appcontroller.conf | 9 ++ .../emulator/appcontroller.conf | 10 ++ .../boot2qt-appcontroller/mx6/appcontroller.conf | 10 ++ .../boot2qt-appcontroller/mx7/appcontroller.conf | 9 ++ .../boot2qt-appcontroller/rpi/appcontroller.conf | 7 ++ .../tegra-t18x/appcontroller.conf | 8 ++ .../boot2qt-appcontroller/ti33x/appcontroller.conf | 8 ++ .../boot2qt-addons/boot2qt-appcontroller_git.bb | 55 +++++++++ .../recipes-qt/boot2qt-addons/boot2qt-demos_git.bb | 134 +++++++++++++++++++++ .../boot2qt-launcher/b2qt-startup.sh | 49 ++++++++ .../boot2qt-addons/boot2qt-launcher/b2qt.service | 10 ++ .../boot2qt-launcher/beaglebone/b2qt.service | 11 ++ .../boot2qt-launcher/beaglebone/qtlauncher.service | 11 ++ .../boot2qt-launcher/emulator/b2qt.service | 10 ++ .../boot2qt-launcher/emulator/qtlauncher.service | 11 ++ .../boot2qt-launcher/qtlauncher.service | 10 ++ .../boot2qt-addons/boot2qt-launcher_git.bb | 64 ++++++++++ .../boot2qt-addons/democompositor_git.bb | 47 ++++++++ .../boot2qt-addons/qdb/b2qt-gadget-network.sh | 103 ++++++++++++++++ .../recipes-qt/boot2qt-addons/qdb/defaults | 8 ++ .../recipes-qt/boot2qt-addons/qdb/qdbd-init.sh | 120 ++++++++++++++++++ .../recipes-qt/boot2qt-addons/qdb/qdbd.service | 11 ++ meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb | 71 +++++++++++ meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb | 44 ------- .../recipes-qt/qt5/qtdeviceutilities_git.bb | 44 +++++++ meta-boot2qt/recipes-qt/qt5/qtglesstream.bb | 63 ---------- meta-boot2qt/recipes-qt/qt5/qtglesstream_git.bb | 63 ++++++++++ meta-boot2qt/recipes-qt/qt5/qtotaupdate.bb | 42 ------- meta-boot2qt/recipes-qt/qt5/qtotaupdate_git.bb | 42 +++++++ 64 files changed, 1204 insertions(+), 1208 deletions(-) delete mode 100644 meta-boot2qt/recipes-core/ostree/ostree.bb create mode 100644 meta-boot2qt/recipes-core/ostree/ostree_git.bb delete mode 100644 meta-boot2qt/recipes-graphics/fonts/ttf-opensans.bb create mode 100644 meta-boot2qt/recipes-graphics/fonts/ttf-opensans_git.bb delete mode 100644 meta-boot2qt/recipes-graphics/hunspell/hunspell-dicts.bb create mode 100644 meta-boot2qt/recipes-graphics/hunspell/hunspell-dicts_git.bb delete mode 100644 meta-boot2qt/recipes-qt/automotive/qmllive-target/qmllive-target.patch delete mode 100644 meta-boot2qt/recipes-qt/automotive/qmllive-target_git.bb create mode 100644 meta-boot2qt/recipes-qt/automotive/qmllive/qmllive-target.patch create mode 100644 meta-boot2qt/recipes-qt/automotive/qmllive_git.bb delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller.bb delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-demos.bb delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher.bb delete mode 100755 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/b2qt-startup.sh delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/b2qt.service delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/emulator/b2qt.service delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/emulator/qtlauncher.service delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/qtlauncher.service delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/democompositor_git.bb delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/qdbd.bb delete mode 100755 meta-boot2qt/recipes-qt/b2qt-addons/qdbd/b2qt-gadget-network.sh delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/qdbd/defaults delete mode 100755 meta-boot2qt/recipes-qt/b2qt-addons/qdbd/qdbd-init.sh delete mode 100644 meta-boot2qt/recipes-qt/b2qt-addons/qdbd/qdbd.service create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/colibri-vf/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/emulator/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx6/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx7/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/rpi/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/tegra-t18x/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/ti33x/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller_git.bb create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb create mode 100755 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/b2qt-startup.sh create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/b2qt.service create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/beaglebone/b2qt.service create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/beaglebone/qtlauncher.service create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/emulator/b2qt.service create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/emulator/qtlauncher.service create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/qtlauncher.service create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/democompositor_git.bb create mode 100755 meta-boot2qt/recipes-qt/boot2qt-addons/qdb/b2qt-gadget-network.sh create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/qdb/defaults create mode 100755 meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd.service create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb delete mode 100644 meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb create mode 100644 meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb delete mode 100644 meta-boot2qt/recipes-qt/qt5/qtglesstream.bb create mode 100644 meta-boot2qt/recipes-qt/qt5/qtglesstream_git.bb delete mode 100644 meta-boot2qt/recipes-qt/qt5/qtotaupdate.bb create mode 100644 meta-boot2qt/recipes-qt/qt5/qtotaupdate_git.bb (limited to 'meta-boot2qt') diff --git a/meta-boot2qt/recipes-core/ostree/ostree.bb b/meta-boot2qt/recipes-core/ostree/ostree.bb deleted file mode 100644 index e4c8076..0000000 --- a/meta-boot2qt/recipes-core/ostree/ostree.bb +++ /dev/null @@ -1,86 +0,0 @@ -############################################################################ -## -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -SUMMARY = "Shared library with a reference command line tool for managing bootable, immutable, versioned filesystem trees." - -LICENSE = "LGPL-2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" - -inherit autotools pkgconfig systemd - -SRC_URI = " \ - git://github.com/ostreedev/ostree.git \ - file://Mount-boot-partition.patch \ - file://ostree-prepare-root-enabler-for-simpler-kernel-arg.patch \ - file://deploy-add-karg-none-argument.patch \ - file://Support-for-booting-without-initramfs.patch \ - file://Allow-updating-files-in-the-boot-directory.patch \ - file://u-boot-add-bootdir-to-the-generated-uEnv.txt.patch \ - file://Create-firmware-convenience-symlinks.patch \ - file://Print-pull-progress-also-when-not-on-console.patch \ - file://Workaround-the-SIGCHLD-handler-issue.patch \ - file://workaround-gtkdocize-configure-issue-in-autog.patch \ - " - -SRCREV = "8ece4d6d51bdbe3e41ab318259276bb83e553aa0" - -S = "${WORKDIR}/git" - -DEPENDS = "glib-2.0 glib-2.0-native e2fsprogs gpgme attr libsoup-2.4 libassuan xz systemd" -# Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image. -# The production image do not require bash for proper working. -RDEPENDS_${PN} += "bash" -RRECOMMENDS_${PN} += "gnupg" - -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" -PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,," - -SYSTEMD_SERVICE_${PN} = "ostree-prepare-root.service ostree-remount.service" -FILES_${PN} += "${systemd_unitdir}/system/ \ - ${libdir}/dracut/" - -EXTRA_OECONF = "--with-dracut \ - --without-selinux \ - --without-libarchive \ - --with-builtin-grub2-mkconfig \ - --enable-rofiles-fuse=no \ - --enable-gtk-doc-html=no \ - --enable-man=no \ - --with-soup \ - --with-static-prepare-root \ - --disable-otmpfile \ - --enable-introspection=no \ - --enable-libsoup-client-certs" - -do_configure_prepend() { - cd ${S} - # Update submodules and workaround bugs. - env NOCONFIGURE=1 ./autogen.sh - cd - -} diff --git a/meta-boot2qt/recipes-core/ostree/ostree_git.bb b/meta-boot2qt/recipes-core/ostree/ostree_git.bb new file mode 100644 index 0000000..e4c8076 --- /dev/null +++ b/meta-boot2qt/recipes-core/ostree/ostree_git.bb @@ -0,0 +1,86 @@ +############################################################################ +## +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +SUMMARY = "Shared library with a reference command line tool for managing bootable, immutable, versioned filesystem trees." + +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" + +inherit autotools pkgconfig systemd + +SRC_URI = " \ + git://github.com/ostreedev/ostree.git \ + file://Mount-boot-partition.patch \ + file://ostree-prepare-root-enabler-for-simpler-kernel-arg.patch \ + file://deploy-add-karg-none-argument.patch \ + file://Support-for-booting-without-initramfs.patch \ + file://Allow-updating-files-in-the-boot-directory.patch \ + file://u-boot-add-bootdir-to-the-generated-uEnv.txt.patch \ + file://Create-firmware-convenience-symlinks.patch \ + file://Print-pull-progress-also-when-not-on-console.patch \ + file://Workaround-the-SIGCHLD-handler-issue.patch \ + file://workaround-gtkdocize-configure-issue-in-autog.patch \ + " + +SRCREV = "8ece4d6d51bdbe3e41ab318259276bb83e553aa0" + +S = "${WORKDIR}/git" + +DEPENDS = "glib-2.0 glib-2.0-native e2fsprogs gpgme attr libsoup-2.4 libassuan xz systemd" +# Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image. +# The production image do not require bash for proper working. +RDEPENDS_${PN} += "bash" +RRECOMMENDS_${PN} += "gnupg" + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,," + +SYSTEMD_SERVICE_${PN} = "ostree-prepare-root.service ostree-remount.service" +FILES_${PN} += "${systemd_unitdir}/system/ \ + ${libdir}/dracut/" + +EXTRA_OECONF = "--with-dracut \ + --without-selinux \ + --without-libarchive \ + --with-builtin-grub2-mkconfig \ + --enable-rofiles-fuse=no \ + --enable-gtk-doc-html=no \ + --enable-man=no \ + --with-soup \ + --with-static-prepare-root \ + --disable-otmpfile \ + --enable-introspection=no \ + --enable-libsoup-client-certs" + +do_configure_prepend() { + cd ${S} + # Update submodules and workaround bugs. + env NOCONFIGURE=1 ./autogen.sh + cd - +} diff --git a/meta-boot2qt/recipes-graphics/fonts/ttf-opensans.bb b/meta-boot2qt/recipes-graphics/fonts/ttf-opensans.bb deleted file mode 100644 index 1d581ac..0000000 --- a/meta-boot2qt/recipes-graphics/fonts/ttf-opensans.bb +++ /dev/null @@ -1,51 +0,0 @@ -############################################################################ -## -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -SUMMARY = "Open Sans Fonts" -SECTION = "fonts" -HOMEPAGE = "https://fonts.google.com" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://apache/opensans/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87" - -INHIBIT_DEFAULT_DEPS = "1" - -inherit allarch fontcache - -SRC_URI = "git://github.com/google/fonts" -SRCREV = "beaec0837bd21524b57ecb435158f9011fc03999" - -S = "${WORKDIR}/git" - -do_install() { - install -m 0755 -d ${D}${datadir}/fonts/truetype/opensans - install -m 0644 apache/opensans/*.ttf ${D}${datadir}/fonts/truetype/opensans -} - -PACKAGES = "${PN}" -FILES_${PN} += "${datadir}/fonts/truetype/opensans" diff --git a/meta-boot2qt/recipes-graphics/fonts/ttf-opensans_git.bb b/meta-boot2qt/recipes-graphics/fonts/ttf-opensans_git.bb new file mode 100644 index 0000000..1d581ac --- /dev/null +++ b/meta-boot2qt/recipes-graphics/fonts/ttf-opensans_git.bb @@ -0,0 +1,51 @@ +############################################################################ +## +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +SUMMARY = "Open Sans Fonts" +SECTION = "fonts" +HOMEPAGE = "https://fonts.google.com" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://apache/opensans/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87" + +INHIBIT_DEFAULT_DEPS = "1" + +inherit allarch fontcache + +SRC_URI = "git://github.com/google/fonts" +SRCREV = "beaec0837bd21524b57ecb435158f9011fc03999" + +S = "${WORKDIR}/git" + +do_install() { + install -m 0755 -d ${D}${datadir}/fonts/truetype/opensans + install -m 0644 apache/opensans/*.ttf ${D}${datadir}/fonts/truetype/opensans +} + +PACKAGES = "${PN}" +FILES_${PN} += "${datadir}/fonts/truetype/opensans" diff --git a/meta-boot2qt/recipes-graphics/hunspell/hunspell-dicts.bb b/meta-boot2qt/recipes-graphics/hunspell/hunspell-dicts.bb deleted file mode 100644 index 92fd300..0000000 --- a/meta-boot2qt/recipes-graphics/hunspell/hunspell-dicts.bb +++ /dev/null @@ -1,57 +0,0 @@ -############################################################################ -## -## Copyright (C) 2017 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "Hunspell Dictionaries" - -LICENSE = "GPL-2.0 & (GPL-2.0|LGPL-2.1|MPL-1.1)" -LIC_FILES_CHKSUM = " \ - file://en/license.txt;md5=686e6cb566fd6382c9fcc7a557bf4544 \ - file://ar/COPYING.txt;md5=ccafd10563b9ffba693011bf470062c6 \ -" - -SRC_URI = "git://github.com/libreoffice/dictionaries.git;branch=libreoffice-5-4-2" - -S = "${WORKDIR}/git" - -inherit bin_package - -# using branch libreoffice-5.4.2 for dictionaries -SRCREV = "28016713cf482d2ac466d03e007ce91ddb8b76aa" - -FILES_${PN} = "${datadir}/hunspell" - -do_install() { - install -m 0755 -d ${D}${datadir}/hunspell - - install -m 0755 ${S}/ar/ar.dic ${D}${datadir}/hunspell/ar_EG.dic - install -m 0755 ${S}/ar/ar.aff ${D}${datadir}/hunspell/ar_EG.aff - - install -m 0755 ${S}/en/en_GB.dic ${D}${datadir}/hunspell - install -m 0755 ${S}/en/en_GB.aff ${D}${datadir}/hunspell -} diff --git a/meta-boot2qt/recipes-graphics/hunspell/hunspell-dicts_git.bb b/meta-boot2qt/recipes-graphics/hunspell/hunspell-dicts_git.bb new file mode 100644 index 0000000..92fd300 --- /dev/null +++ b/meta-boot2qt/recipes-graphics/hunspell/hunspell-dicts_git.bb @@ -0,0 +1,57 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Hunspell Dictionaries" + +LICENSE = "GPL-2.0 & (GPL-2.0|LGPL-2.1|MPL-1.1)" +LIC_FILES_CHKSUM = " \ + file://en/license.txt;md5=686e6cb566fd6382c9fcc7a557bf4544 \ + file://ar/COPYING.txt;md5=ccafd10563b9ffba693011bf470062c6 \ +" + +SRC_URI = "git://github.com/libreoffice/dictionaries.git;branch=libreoffice-5-4-2" + +S = "${WORKDIR}/git" + +inherit bin_package + +# using branch libreoffice-5.4.2 for dictionaries +SRCREV = "28016713cf482d2ac466d03e007ce91ddb8b76aa" + +FILES_${PN} = "${datadir}/hunspell" + +do_install() { + install -m 0755 -d ${D}${datadir}/hunspell + + install -m 0755 ${S}/ar/ar.dic ${D}${datadir}/hunspell/ar_EG.dic + install -m 0755 ${S}/ar/ar.aff ${D}${datadir}/hunspell/ar_EG.aff + + install -m 0755 ${S}/en/en_GB.dic ${D}${datadir}/hunspell + install -m 0755 ${S}/en/en_GB.aff ${D}${datadir}/hunspell +} diff --git a/meta-boot2qt/recipes-qt/automotive/qmllive-target/qmllive-target.patch b/meta-boot2qt/recipes-qt/automotive/qmllive-target/qmllive-target.patch deleted file mode 100644 index e3f81fa..0000000 --- a/meta-boot2qt/recipes-qt/automotive/qmllive-target/qmllive-target.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/runtime.pro b/runtime.pro -index 73dd6d7..e569b23 100644 ---- a/runtime.pro -+++ b/runtime.pro -@@ -1,5 +1,4 @@ - TARGET = qmlliveruntime --DESTDIR = ../../bin - - QT *= widgets quick - osx: CONFIG -= app_bundle -@@ -14,6 +13,6 @@ include(../src.pri) - RESOURCES += \ - qml.qrc - -- -- -+target.path += /usr/bin -+INSTALLS += target - diff --git a/meta-boot2qt/recipes-qt/automotive/qmllive-target_git.bb b/meta-boot2qt/recipes-qt/automotive/qmllive-target_git.bb deleted file mode 100644 index 54f1188..0000000 --- a/meta-boot2qt/recipes-qt/automotive/qmllive-target_git.bb +++ /dev/null @@ -1,50 +0,0 @@ -############################################################################ -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "QML Live target runtime" - -LICENSE = "GPL-3.0" -LIC_FILES_CHKSUM = "file://../../LICENSE.GPL3;md5=75cd0dbc6f2d24e7eeb128ff59b74f4c" - -inherit qmake5 -require recipes-qt/qt5/qt5-git.inc - -QT_GIT_PROJECT = "qt-apps" -QT_MODULE = "qmllive" -QT_MODULE_BRANCH = "master" - -SRC_URI += " \ - file://qmllive-target.patch \ - " - -SRCREV = "d0d41c71c4691a5f3e2b72e22917f314b4190ffc" - -S = "${WORKDIR}/git/src/runtime" - -DEPENDS = "qtbase qtdeclarative" diff --git a/meta-boot2qt/recipes-qt/automotive/qmllive/qmllive-target.patch b/meta-boot2qt/recipes-qt/automotive/qmllive/qmllive-target.patch new file mode 100644 index 0000000..e3f81fa --- /dev/null +++ b/meta-boot2qt/recipes-qt/automotive/qmllive/qmllive-target.patch @@ -0,0 +1,19 @@ +diff --git a/runtime.pro b/runtime.pro +index 73dd6d7..e569b23 100644 +--- a/runtime.pro ++++ b/runtime.pro +@@ -1,5 +1,4 @@ + TARGET = qmlliveruntime +-DESTDIR = ../../bin + + QT *= widgets quick + osx: CONFIG -= app_bundle +@@ -14,6 +13,6 @@ include(../src.pri) + RESOURCES += \ + qml.qrc + +- +- ++target.path += /usr/bin ++INSTALLS += target + diff --git a/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb b/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb new file mode 100644 index 0000000..ce1bb82 --- /dev/null +++ b/meta-boot2qt/recipes-qt/automotive/qmllive_git.bb @@ -0,0 +1,49 @@ +############################################################################ +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "QML Live target runtime" + +LICENSE = "GPL-3.0" +LIC_FILES_CHKSUM = "file://../../LICENSE.GPL3;md5=75cd0dbc6f2d24e7eeb128ff59b74f4c" + +inherit qmake5 +require recipes-qt/qt5/qt5-git.inc + +QT_GIT_PROJECT = "qt-apps" +QT_MODULE_BRANCH = "master" + +SRC_URI += " \ + file://qmllive-target.patch \ + " + +SRCREV = "d0d41c71c4691a5f3e2b72e22917f314b4190ffc" + +S = "${WORKDIR}/git/src/runtime" + +DEPENDS = "qtbase qtdeclarative" diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller.bb b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller.bb deleted file mode 100644 index 9c52606..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller.bb +++ /dev/null @@ -1,56 +0,0 @@ -############################################################################ -## -## Copyright (C) 2017 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "Boot to Qt Appcontroller" -LICENSE = "The-Qt-Company-DCLA-2.1" -LIC_FILES_CHKSUM = "file://main.cpp;md5=f25c7436dbc72d4719a5684b28dbcf4b;beginline=1;endline=17" - -inherit qmake5 -require recipes-qt/qt5/qt5-git.inc - -SRC_URI = " \ - git://codereview.qt-project.org/qt-apps/boot2qt-appcontroller;${QT_MODULE_BRANCH_PARAM};protocol=http \ - file://appcontroller.conf \ - " - -SRCREV = "5ab7fdbf0845c40418272bafa565295511055d3b" - -DEPENDS = "qtbase" - -do_configure_append() { - sed -i -e '/^platform=/d' ${WORKDIR}/appcontroller.conf - echo platform=${MACHINE} >> ${WORKDIR}/appcontroller.conf -} - -do_install_append() { - install -m 0755 -d ${D}${sysconfdir} - install -m 0755 ${WORKDIR}/appcontroller.conf ${D}${sysconfdir}/ -} - -FILES_${PN} += "${sysconfdir}/appcontroller.conf" diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf deleted file mode 100644 index 1ef3732..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf +++ /dev/null @@ -1,7 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/tmp -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf deleted file mode 100644 index 4fa1931..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf +++ /dev/null @@ -1,9 +0,0 @@ -env=QMLSCENE_DEVICE=softwarecontext -env=QT_QPA_PLATFORM=linuxfb -env=QSG_RENDER_LOOP=basic -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/tmp -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf deleted file mode 100644 index 2bc6eca..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf +++ /dev/null @@ -1,10 +0,0 @@ -env=QT_QPA_GENERIC_PLUGINS=simulator -env=QT_QPA_EGLFS_HIDECURSOR=1 -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QTGLESSTREAM_DISPLAY=192.168.56.1 -env=SIMULATOR_HOSTNAME=192.168.56.1 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/tmp -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf deleted file mode 100644 index 4e3415f..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf +++ /dev/null @@ -1,10 +0,0 @@ -env=FB_MULTI_BUFFER=2 -env=QT_QPA_EGLFS_FORCEVSYNC=1 -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0 -env=QT_GSTREAMER_CAMERABIN_VIDEOSRC=mxc_v4l2=imxv4l2videosrc,v4l2src -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/tmp -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf deleted file mode 100644 index b27315e..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf +++ /dev/null @@ -1,9 +0,0 @@ -env=QMLSCENE_DEVICE=softwarecontext -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_QPA_PLATFORM=linuxfb -env=QSG_RENDER_LOOP=basic -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/tmp -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf deleted file mode 100644 index 0915343..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf +++ /dev/null @@ -1,7 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=1 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/tmp -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf deleted file mode 100644 index 21bb44c..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf +++ /dev/null @@ -1,8 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/tmp -env=QSG_RENDER_LOOP=basic -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf deleted file mode 100644 index 37284de..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf +++ /dev/null @@ -1,8 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=QT_QPA_EGLFS_INTEGRATION=none -env=XDG_RUNTIME_DIR=/tmp -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-demos.bb b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-demos.bb deleted file mode 100644 index 3726482..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-demos.bb +++ /dev/null @@ -1,134 +0,0 @@ -############################################################################ -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -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 - -QT_GIT_PROJECT="" - -SRC_URI = " \ - ${QT_GIT}qt-apps/boot2qt-demos.git;branch=${BRANCH};name=demos \ - ${QT_GIT}qt/qtcanvas3d.git;branch=${QT_BRANCH};name=qtcanvas3d;destsuffix=qtcanvas3d \ - ${QT_GIT}qt/qtquickcontrols.git;branch=${QT_BRANCH};name=qtquickcontrols;destsuffix=qtquickcontrols \ - ${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 \ - " - -PV = "5.11.0+git${SRCPV}" - -BRANCH = "5.10" -BROWSER_BRANCH = "dev" -QT_BRANCH = "5.10" -SRCREV_demos = "f9c7da64cea85d44998e62f4e0d3ec217a22f0d2" -SRCREV_qtcanvas3d = "32404e27101c5ec81b4ab965faf38263429bbc5a" -SRCREV_qtquickcontrols = "c6713e212ef0b97c45d6466b73220567e94a05f1" -SRCREV_qtwebbrowser = "7c570ee4297946f3ed70565a630d690070533cbd" -SRCREV_FORMAT = "demos_qtcanvas3d_qtquickcontrols_qtwebbrowser" - -SRC_URI[video1.md5sum] = "56de4dcfd5201952dce9af9c69fcec9b" -SRC_URI[video1.sha256sum] = "809123419acac99353439e52c870e2e497dfa8f434ef0777e6c7303e6ad27f89" -SRC_URI[video2.md5sum] = "e03422de1dba27189872e7d579e7da1b" -SRC_URI[video2.sha256sum] = "651e0b4d2b3272dc10bfc9edba4f0c1a7084cd087c75e8a098f7ba3454c7e485" - -S = "${WORKDIR}/git/basicsuite" - -DEPENDS = "qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtgraphicaleffects qtsensors qtmultimedia qtcanvas3d \ - ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" - -do_install_append() { - # we only need plugins from the demos - rm -rf ${D}/data/user/camera - rm -rf ${D}/data/user/sensorexplorer - rm -rf ${D}/data/user/qtwebbrowser - - # we need all qml and content files - cp -r ${S}/* ${D}/data/user/qt/ - - # but none of the source files - find ${D}/data/user/qt/ \( -name '*.cpp' -or -name '*.h' -or -name '*.pro' \) -delete - rm -rf ${D}/data/user/qt/qtwebbrowser/tqtc-qtwebbrowser - rm -rf ${D}/data/user/qt/qtwebbrowser/qmldir - - if [ -d ${WORKDIR}/git/images ]; then - install -d 0755 ${D}/data/images - install -m 0644 ${WORKDIR}/git/images/* ${D}/data/images/ - fi - - install -d -m 0755 ${D}/data/videos - install -m 0644 ${WORKDIR}/Qt_video_720p.webm ${D}/data/videos - install -m 0644 ${WORKDIR}/Qt+World+Summit+2015+Recap.mp4 ${D}/data/videos - - cp ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/threejs/planets/*.qml ${D}/data/user/qt/canvas3d-planets - cp ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/threejs/planets/*.js ${D}/data/user/qt/canvas3d-planets - cp -r ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/threejs/planets/images ${D}/data/user/qt/canvas3d-planets - cp ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/threejs/controls/ControlEventSource.qml ${D}/data/user/qt/canvas3d-planets - cp ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/3rdparty/*.js ${D}/data/user/qt/canvas3d-planets - - # get rid of qrc:/ prefixes and the custom slider - sed -i 's/qrc:\(\/\)\?//g' ${D}/data/user/qt/canvas3d-planets/*.qml - sed -i 's/qrc:\(\/\)\?//g' ${D}/data/user/qt/canvas3d-planets/*.js - sed -i 's/StyledSlider/Slider/g' ${D}/data/user/qt/canvas3d-planets/planets.qml - sed -i '/import QtCanvas3D/a import QtQuick.Controls 1.2' ${D}/data/user/qt/canvas3d-planets/planets.qml - - # Qt Quick Extras - cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/dashboard/qml ${D}/data/user/qt/enterprise-dashboard/ - cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/dashboard/images ${D}/data/user/qt/enterprise-dashboard/ - - cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/gallery/qml ${D}/data/user/qt/enterprise-gallery/ - cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/gallery/images ${D}/data/user/qt/enterprise-gallery/ - cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/gallery/fonts ${D}/data/user/qt/enterprise-gallery/ - - cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/flat/images ${D}/data/user/qt/enterprise-flat-controls/ - cp ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/flat/*.qml ${D}/data/user/qt/enterprise-flat-controls/ - - sed -i '/import QtQuick.Window/c\' ${D}/data/user/qt/enterprise-dashboard/qml/dashboard.qml ${D}/data/user/qt/enterprise-gallery/qml/gallery.qml - sed -i 's/Window /Rectangle /1' ${D}/data/user/qt/enterprise-dashboard/qml/dashboard.qml ${D}/data/user/qt/enterprise-gallery/qml/gallery.qml - sed -i 's/ApplicationWindow /Rectangle /1' ${D}/data/user/qt/enterprise-flat-controls/main.qml - sed -i '/title: "Qt Quick Extras Demo"/c\' ${D}/data/user/qt/enterprise-dashboard/qml/dashboard.qml ${D}/data/user/qt/enterprise-gallery/qml/gallery.qml - sed -i '/title: "Flat Example"/c\' ${D}/data/user/qt/enterprise-flat-controls/main.qml - sed -i 's/"Light Flat UI Demo"/"Qt Quick Controls"/1' ${D}/data/user/qt/enterprise-flat-controls/main.qml - sed -i '/{ name: "Exit", action: null }/c\' ${D}/data/user/qt/enterprise-flat-controls/main.qml - - sed -i -e 's/qrc:/../g' ${D}/data/user/qt/enterprise-dashboard/qml/* ${D}/data/user/qt/enterprise-gallery/qml/* - sed -i 's/qrc:\///g' ${D}/data/user/qt/enterprise-flat-controls/Content.qml -} - -FILES_${PN} += " \ - /data/images/ \ - /data/videos/ \ - /data/user \ - " - -FILES_${PN}-dbg += " \ - /data/user/qt/qmlplugins/*/.debug/ \ - " diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher.bb b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher.bb deleted file mode 100644 index 225079d..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher.bb +++ /dev/null @@ -1,65 +0,0 @@ -############################################################################ -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "Boot to Qt Demo Launcher" -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 - -QT_GIT_PROJECT = "qt-apps" -QT_MODULE = "boot2qt-launcher" - -SRC_URI += " \ - file://b2qt-startup.sh \ - file://qtlauncher.service \ - file://b2qt.service \ - " - -SRCREV = "8d7fe0e4b8852a16469a6d0fe910309e8964ab58" - -DEPENDS = "qtbase qtdeclarative \ - ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" - -do_install_append() { - install -m 0755 -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/b2qt-startup.sh ${D}${sysconfdir}/init.d/ - - install -m 0755 -d ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/qtlauncher.service ${D}${systemd_unitdir}/system/ - install -m 0644 ${WORKDIR}/b2qt.service ${D}${systemd_unitdir}/system/ -} - -INITSCRIPT_NAME = "b2qt-startup.sh" -INITSCRIPT_PARAMS = "defaults 30" - -SYSTEMD_SERVICE_${PN} = "qtlauncher.service b2qt.service" - -inherit update-rc.d systemd diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/b2qt-startup.sh b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/b2qt-startup.sh deleted file mode 100755 index 89e4bbb..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/b2qt-startup.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -############################################################################ -## -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -case "$1" in -start) - if [ -x /data/user/b2qt ]; then - APP="/data/user/b2qt" - elif [ -x /usr/bin/b2qt ]; then - APP="/usr/bin/b2qt" - else - APP="/usr/bin/qtlauncher --applications-root /data/user/qt" - fi - /usr/bin/appcontroller ${APP} & - ;; -stop) - /usr/bin/appcontroller --stop - ;; -*) - echo "Usage: $0 {start|stop}" - exit 1 -esac -exit 0 diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/b2qt.service b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/b2qt.service deleted file mode 100644 index f941f91..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/b2qt.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=B2Qt user application -After=systemd-user-sessions.service -ConditionPathExists=/usr/bin/b2qt - -[Service] -ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt - -[Install] -WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service deleted file mode 100644 index cdf6480..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=B2Qt user application -BindsTo=dev-fb0.device -After=dev-fb0.device -ConditionPathExists=/usr/bin/b2qt - -[Service] -ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt - -[Install] -WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service deleted file mode 100644 index 1094675..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=B2Qt Launcher Demo -BindsTo=dev-fb0.device -After=dev-fb0.device -ConditionPathExists=!/usr/bin/b2qt - -[Service] -ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt - -[Install] -WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/emulator/b2qt.service b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/emulator/b2qt.service deleted file mode 100644 index 65fba92..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/emulator/b2qt.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=B2Qt user application -After=multi-user.target -ConditionPathExists=/usr/bin/b2qt - -[Service] -ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt - -[Install] -WantedBy=custom.target diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/emulator/qtlauncher.service b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/emulator/qtlauncher.service deleted file mode 100644 index 2b02c87..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/emulator/qtlauncher.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=B2Qt Launcher Demo -After=multi-user.target - -ConditionPathExists=!/usr/bin/b2qt - -[Service] -ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt - -[Install] -WantedBy=custom.target diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/qtlauncher.service b/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/qtlauncher.service deleted file mode 100644 index 7658ca8..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/b2qt-launcher/qtlauncher.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=B2Qt Launcher Demo -After=systemd-user-sessions.service -ConditionPathExists=!/usr/bin/b2qt - -[Service] -ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt - -[Install] -WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/democompositor_git.bb b/meta-boot2qt/recipes-qt/b2qt-addons/democompositor_git.bb deleted file mode 100644 index 3d9a196..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/democompositor_git.bb +++ /dev/null @@ -1,47 +0,0 @@ -############################################################################ -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "Boot to Qt Wayland Demo Compositor" -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 - -QT_GIT_PROJECT = "qt-apps" -QT_MODULE = "boot2qt-demos" - -SRCREV = "b9585b440819e1444b20f30435f81c46801158c5" - -S = "${WORKDIR}/git/wayland/democompositor/" - -DEPENDS = "qtbase qtwayland" - -FILES_${PN} += "/data/user/democompositor" -FILES_${PN}-dbg += "/data/user/democompositor/.debug" diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd.bb b/meta-boot2qt/recipes-qt/b2qt-addons/qdbd.bb deleted file mode 100644 index 8057e19..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd.bb +++ /dev/null @@ -1,72 +0,0 @@ -############################################################################ -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "Qt Debug Bridge Daemon" -SECTION = "devel" -LICENSE = "GPL-3.0 | The-Qt-Company-DCLA-2.1" -LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504" - -inherit distro_features_check -inherit qmake5 -require recipes-qt/qt5/qt5-git.inc - -QT_GIT_PROJECT = "qt-apps" -QT_MODULE = "qdb" -QT_MODULE_BRANCH = "5.9" - -SRC_URI += "file://b2qt-gadget-network.sh \ - file://defaults \ - file://qdbd.service \ - file://qdbd-init.sh \ - " - -SRCREV = "69f95b6a8d2ca0912a8d502a2b6871109725731e" -PV = "1.1.0+git${SRCPV}" - -REQUIRED_DISTRO_FEATURES = "systemd" -DEPENDS = "qtbase" -RRECOMMENDS_${PN} += "kernel-module-usb-f-fs kernel-module-usb-f-rndis" - -EXTRA_QMAKEVARS_PRE = "CONFIG+=daemon_only" - -do_install_append() { - install -m 0755 ${WORKDIR}/b2qt-gadget-network.sh ${D}${bindir}/ - - install -m 0755 ${WORKDIR}/qdbd-init.sh ${D}${bindir}/ - - install -m 0755 -d ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/qdbd.service ${D}${systemd_unitdir}/system/ - - install -m 0755 -d ${D}${sysconfdir}/default - install -m 0644 ${WORKDIR}/defaults ${D}${sysconfdir}/default/qdbd -} - -SYSTEMD_SERVICE_${PN} = "qdbd.service" - -inherit systemd diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/b2qt-gadget-network.sh b/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/b2qt-gadget-network.sh deleted file mode 100755 index 3161db7..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/b2qt-gadget-network.sh +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh -############################################################################ -## -## Copyright (C) 2017 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -set -e - -NETWORK_UNIT=/usr/lib/systemd/network/usb-rndis.network - -usage() { - echo "Usage: $(basename $0) --reset" - echo " $(basename $0) --set " - echo - echo "Network is given as the device IPv4 address followed by the prefix length." - echo "For example \"192.168.0.1/24\"." - exit 1 -} - -while test -n "$1"; do - case "$1" in - "help" | "--help" | "-h") - usage - exit 0 - ;; - "--reset") - if [ -n "$COMMAND" ]; then - usage - exit 1 - fi - COMMAND="reset" - ;; - "--set") - if [ -n "$COMMAND" ]; then - usage - exit 1 - fi - COMMAND="set" - shift - NETWORK=$1 - ;; - esac - shift -done - -if [ -z "$COMMAND" ]; then - usage - exit 1 -fi - -case "$COMMAND" in - "set") - cat < $NETWORK_UNIT -# This file is automatically written by b2qt-gadget-network.sh -[Match] -Type=gadget - -[Network] -Address=${NETWORK} -DHCPServer=yes - -[DHCPServer] -EmitDNS=no -EmitRouter=no -EOF - ;; - "reset") - cat < $NETWORK_UNIT -# This file is automatically written by b2qt-gadget-network.sh -[Match] -Type=gadget - -[Network] -DHCPServer=no -EOF - ;; -esac - -systemctl restart systemd-networkd diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/defaults b/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/defaults deleted file mode 100644 index 5ced90d..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/defaults +++ /dev/null @@ -1,8 +0,0 @@ -VENDOR=0xdbdb -PRODUCT=0x0001 -if [ -e /sys/class/net/eth0/address ]; then - SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) -else - SERIAL=$(hostname)-$(cat /etc/machine-id) -fi -export QT_HASH_SEED=0 diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/qdbd-init.sh b/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/qdbd-init.sh deleted file mode 100755 index 15981b0..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/qdbd-init.sh +++ /dev/null @@ -1,120 +0,0 @@ -#! /bin/sh -############################################################################### -## Copyright (C) 2016 The Qt Company Ltd. -## Contact: http://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:BSD$ -## You may use this file under the terms of the BSD license as follows: -## -## "Redistribution and use in source and binary forms, with or without -## modification, are permitted provided that the following conditions are -## met: -## * Redistributions of source code must retain the above copyright -## notice, this list of conditions and the following disclaimer. -## * Redistributions in binary form must reproduce the above copyright -## notice, this list of conditions and the following disclaimer in -## the documentation and/or other materials provided with the -## distribution. -## * Neither the name of The Qt Company Ltd nor the names of its -## contributors may be used to endorse or promote products derived -## from this software without specific prior written permission. -## -## -## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -## -## $QT_END_LICENSE$ -############################################################################### -MANUFACTURER="The Qt Company" -PRODUCT_STRING="Boot2Qt Ethernet/RNDIS connection" - -DAEMON=/usr/bin/qdbd -CONFIGFS_PATH=/sys/kernel/config - -GADGET_CONFIG=$CONFIGFS_PATH/usb_gadget/g1 - -. /etc/default/qdbd - -initialize_gadget() { - # Initialize gadget with first UDC driver - for driverpath in /sys/class/udc/*; do - drivername=`basename $driverpath` - echo "$drivername" > $GADGET_CONFIG/UDC - break - done -} - -disable_gadget() { - echo "" > $GADGET_CONFIG/UDC -} - -case "$1" in -start) - b2qt-gadget-network.sh --reset - modprobe libcomposite - sleep 1 - # Gadget configuration - mkdir -p $GADGET_CONFIG - echo $VENDOR > $GADGET_CONFIG/idVendor - echo $PRODUCT > $GADGET_CONFIG/idProduct - mkdir -p $GADGET_CONFIG/strings/0x409 - echo $MANUFACTURER > $GADGET_CONFIG/strings/0x409/manufacturer - echo $PRODUCT_STRING > $GADGET_CONFIG/strings/0x409/product - echo ${SERIAL:0:32} > $GADGET_CONFIG/strings/0x409/serialnumber - mkdir -p $GADGET_CONFIG/configs/c.1/strings/0x409 - echo "USB Ethernet + QDB" > $GADGET_CONFIG/configs/c.1/strings/0x409/configuration - mkdir -p $GADGET_CONFIG/functions/rndis.usb0 - mkdir -p $GADGET_CONFIG/functions/ffs.qdb - ln -sf $GADGET_CONFIG/functions/rndis.usb0 $GADGET_CONFIG/configs/c.1 - ln -sf $GADGET_CONFIG/functions/ffs.qdb $GADGET_CONFIG/configs/c.1 - # Function fs mountpoints - mkdir -p /dev/usb-ffs - chmod 770 /dev/usb-ffs - mkdir -p /dev/usb-ffs/qdb - chmod 770 /dev/usb-ffs/qdb - mount -t functionfs qdb /dev/usb-ffs/qdb -o uid=0,gid=0 - shift - start-stop-daemon --start --quiet --exec $DAEMON -- $@ & - sleep 1 - initialize_gadget - ;; -stop) - disable_gadget - start-stop-daemon --stop --quiet --exec $DAEMON - sleep 1 - umount /dev/usb-ffs/qdb - rm $GADGET_CONFIG/configs/c.1/rndis.usb0 - rm $GADGET_CONFIG/configs/c.1/ffs.qdb - rmdir $GADGET_CONFIG/configs/c.1/strings/0x409 - rmdir $GADGET_CONFIG/configs/c.1 - rmdir $GADGET_CONFIG/functions/rndis.usb0 - rmdir $GADGET_CONFIG/functions/ffs.qdb - rmdir $GADGET_CONFIG/strings/0x409 - rmdir $GADGET_CONFIG - ;; -restart) - disable_gadget - start-stop-daemon --stop --quiet --exec $DAEMON - b2qt-gadget-network.sh --reset - sleep 1 - shift - start-stop-daemon --start --quiet --exec $DAEMON -- $@ & - sleep 1 - initialize_gadget - ;; -*) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac -exit 0 diff --git a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/qdbd.service b/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/qdbd.service deleted file mode 100644 index be8e701..0000000 --- a/meta-boot2qt/recipes-qt/b2qt-addons/qdbd/qdbd.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Qt Debug Bridge Daemon -After=basic.target - -[Service] -Type=forking -ExecStart=/usr/bin/qdbd-init.sh start -ExecStop=/usr/bin/qdbd-init.sh stop - -[Install] -WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/appcontroller.conf new file mode 100644 index 0000000..1ef3732 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/appcontroller.conf @@ -0,0 +1,7 @@ +env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins +env=QT_IM_MODULE=qtvirtualkeyboard +env=QT_QPA_EGLFS_FORCE888=0 +env=QT_QUICK_CONTROLS_1_STYLE=Flat +env=XDG_RUNTIME_DIR=/tmp +env=QTWEBENGINE_DISABLE_SANDBOX=1 +base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/colibri-vf/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/colibri-vf/appcontroller.conf new file mode 100644 index 0000000..4fa1931 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/colibri-vf/appcontroller.conf @@ -0,0 +1,9 @@ +env=QMLSCENE_DEVICE=softwarecontext +env=QT_QPA_PLATFORM=linuxfb +env=QSG_RENDER_LOOP=basic +env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins +env=QT_IM_MODULE=qtvirtualkeyboard +env=QT_QUICK_CONTROLS_1_STYLE=Flat +env=XDG_RUNTIME_DIR=/tmp +env=QTWEBENGINE_DISABLE_SANDBOX=1 +base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/emulator/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/emulator/appcontroller.conf new file mode 100644 index 0000000..2bc6eca --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/emulator/appcontroller.conf @@ -0,0 +1,10 @@ +env=QT_QPA_GENERIC_PLUGINS=simulator +env=QT_QPA_EGLFS_HIDECURSOR=1 +env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins +env=QT_IM_MODULE=qtvirtualkeyboard +env=QTGLESSTREAM_DISPLAY=192.168.56.1 +env=SIMULATOR_HOSTNAME=192.168.56.1 +env=QT_QUICK_CONTROLS_1_STYLE=Flat +env=XDG_RUNTIME_DIR=/tmp +env=QTWEBENGINE_DISABLE_SANDBOX=1 +base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx6/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx6/appcontroller.conf new file mode 100644 index 0000000..4e3415f --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx6/appcontroller.conf @@ -0,0 +1,10 @@ +env=FB_MULTI_BUFFER=2 +env=QT_QPA_EGLFS_FORCEVSYNC=1 +env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins +env=QT_IM_MODULE=qtvirtualkeyboard +env=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0 +env=QT_GSTREAMER_CAMERABIN_VIDEOSRC=mxc_v4l2=imxv4l2videosrc,v4l2src +env=QT_QUICK_CONTROLS_1_STYLE=Flat +env=XDG_RUNTIME_DIR=/tmp +env=QTWEBENGINE_DISABLE_SANDBOX=1 +base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx7/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx7/appcontroller.conf new file mode 100644 index 0000000..b27315e --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx7/appcontroller.conf @@ -0,0 +1,9 @@ +env=QMLSCENE_DEVICE=softwarecontext +env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins +env=QT_QPA_PLATFORM=linuxfb +env=QSG_RENDER_LOOP=basic +env=QT_IM_MODULE=qtvirtualkeyboard +env=QT_QUICK_CONTROLS_1_STYLE=Flat +env=XDG_RUNTIME_DIR=/tmp +env=QTWEBENGINE_DISABLE_SANDBOX=1 +base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/rpi/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/rpi/appcontroller.conf new file mode 100644 index 0000000..0915343 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/rpi/appcontroller.conf @@ -0,0 +1,7 @@ +env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins +env=QT_IM_MODULE=qtvirtualkeyboard +env=QT_QPA_EGLFS_FORCE888=1 +env=QT_QUICK_CONTROLS_1_STYLE=Flat +env=XDG_RUNTIME_DIR=/tmp +env=QTWEBENGINE_DISABLE_SANDBOX=1 +base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/tegra-t18x/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/tegra-t18x/appcontroller.conf new file mode 100644 index 0000000..21bb44c --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/tegra-t18x/appcontroller.conf @@ -0,0 +1,8 @@ +env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins +env=QT_IM_MODULE=qtvirtualkeyboard +env=QT_QPA_EGLFS_FORCE888=0 +env=QT_QUICK_CONTROLS_1_STYLE=Flat +env=XDG_RUNTIME_DIR=/tmp +env=QSG_RENDER_LOOP=basic +env=QTWEBENGINE_DISABLE_SANDBOX=1 +base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/ti33x/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/ti33x/appcontroller.conf new file mode 100644 index 0000000..37284de --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/ti33x/appcontroller.conf @@ -0,0 +1,8 @@ +env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins +env=QT_IM_MODULE=qtvirtualkeyboard +env=QT_QPA_EGLFS_FORCE888=0 +env=QT_QUICK_CONTROLS_1_STYLE=Flat +env=QT_QPA_EGLFS_INTEGRATION=none +env=XDG_RUNTIME_DIR=/tmp +env=QTWEBENGINE_DISABLE_SANDBOX=1 +base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller_git.bb new file mode 100644 index 0000000..82f02be --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller_git.bb @@ -0,0 +1,55 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Boot to Qt Appcontroller" +LICENSE = "The-Qt-Company-DCLA-2.1" +LIC_FILES_CHKSUM = "file://main.cpp;md5=f25c7436dbc72d4719a5684b28dbcf4b;beginline=1;endline=17" + +inherit qmake5 +require recipes-qt/qt5/qt5-git.inc + +QT_GIT_PROJECT = "qt-apps" + +SRC_URI += "file://appcontroller.conf" + +SRCREV = "5ab7fdbf0845c40418272bafa565295511055d3b" + +DEPENDS = "qtbase" + +do_configure_append() { + sed -i -e '/^platform=/d' ${WORKDIR}/appcontroller.conf + echo platform=${MACHINE} >> ${WORKDIR}/appcontroller.conf +} + +do_install_append() { + install -m 0755 -d ${D}${sysconfdir} + install -m 0755 ${WORKDIR}/appcontroller.conf ${D}${sysconfdir}/ +} + +FILES_${PN} += "${sysconfdir}/appcontroller.conf" diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb new file mode 100644 index 0000000..3726482 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demos_git.bb @@ -0,0 +1,134 @@ +############################################################################ +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +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 + +QT_GIT_PROJECT="" + +SRC_URI = " \ + ${QT_GIT}qt-apps/boot2qt-demos.git;branch=${BRANCH};name=demos \ + ${QT_GIT}qt/qtcanvas3d.git;branch=${QT_BRANCH};name=qtcanvas3d;destsuffix=qtcanvas3d \ + ${QT_GIT}qt/qtquickcontrols.git;branch=${QT_BRANCH};name=qtquickcontrols;destsuffix=qtquickcontrols \ + ${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 \ + " + +PV = "5.11.0+git${SRCPV}" + +BRANCH = "5.10" +BROWSER_BRANCH = "dev" +QT_BRANCH = "5.10" +SRCREV_demos = "f9c7da64cea85d44998e62f4e0d3ec217a22f0d2" +SRCREV_qtcanvas3d = "32404e27101c5ec81b4ab965faf38263429bbc5a" +SRCREV_qtquickcontrols = "c6713e212ef0b97c45d6466b73220567e94a05f1" +SRCREV_qtwebbrowser = "7c570ee4297946f3ed70565a630d690070533cbd" +SRCREV_FORMAT = "demos_qtcanvas3d_qtquickcontrols_qtwebbrowser" + +SRC_URI[video1.md5sum] = "56de4dcfd5201952dce9af9c69fcec9b" +SRC_URI[video1.sha256sum] = "809123419acac99353439e52c870e2e497dfa8f434ef0777e6c7303e6ad27f89" +SRC_URI[video2.md5sum] = "e03422de1dba27189872e7d579e7da1b" +SRC_URI[video2.sha256sum] = "651e0b4d2b3272dc10bfc9edba4f0c1a7084cd087c75e8a098f7ba3454c7e485" + +S = "${WORKDIR}/git/basicsuite" + +DEPENDS = "qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtgraphicaleffects qtsensors qtmultimedia qtcanvas3d \ + ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" + +do_install_append() { + # we only need plugins from the demos + rm -rf ${D}/data/user/camera + rm -rf ${D}/data/user/sensorexplorer + rm -rf ${D}/data/user/qtwebbrowser + + # we need all qml and content files + cp -r ${S}/* ${D}/data/user/qt/ + + # but none of the source files + find ${D}/data/user/qt/ \( -name '*.cpp' -or -name '*.h' -or -name '*.pro' \) -delete + rm -rf ${D}/data/user/qt/qtwebbrowser/tqtc-qtwebbrowser + rm -rf ${D}/data/user/qt/qtwebbrowser/qmldir + + if [ -d ${WORKDIR}/git/images ]; then + install -d 0755 ${D}/data/images + install -m 0644 ${WORKDIR}/git/images/* ${D}/data/images/ + fi + + install -d -m 0755 ${D}/data/videos + install -m 0644 ${WORKDIR}/Qt_video_720p.webm ${D}/data/videos + install -m 0644 ${WORKDIR}/Qt+World+Summit+2015+Recap.mp4 ${D}/data/videos + + cp ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/threejs/planets/*.qml ${D}/data/user/qt/canvas3d-planets + cp ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/threejs/planets/*.js ${D}/data/user/qt/canvas3d-planets + cp -r ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/threejs/planets/images ${D}/data/user/qt/canvas3d-planets + cp ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/threejs/controls/ControlEventSource.qml ${D}/data/user/qt/canvas3d-planets + cp ${WORKDIR}/qtcanvas3d/examples/canvas3d/canvas3d/3rdparty/*.js ${D}/data/user/qt/canvas3d-planets + + # get rid of qrc:/ prefixes and the custom slider + sed -i 's/qrc:\(\/\)\?//g' ${D}/data/user/qt/canvas3d-planets/*.qml + sed -i 's/qrc:\(\/\)\?//g' ${D}/data/user/qt/canvas3d-planets/*.js + sed -i 's/StyledSlider/Slider/g' ${D}/data/user/qt/canvas3d-planets/planets.qml + sed -i '/import QtCanvas3D/a import QtQuick.Controls 1.2' ${D}/data/user/qt/canvas3d-planets/planets.qml + + # Qt Quick Extras + cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/dashboard/qml ${D}/data/user/qt/enterprise-dashboard/ + cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/dashboard/images ${D}/data/user/qt/enterprise-dashboard/ + + cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/gallery/qml ${D}/data/user/qt/enterprise-gallery/ + cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/gallery/images ${D}/data/user/qt/enterprise-gallery/ + cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/gallery/fonts ${D}/data/user/qt/enterprise-gallery/ + + cp -r ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/flat/images ${D}/data/user/qt/enterprise-flat-controls/ + cp ${WORKDIR}/qtquickcontrols/examples/quickcontrols/extras/flat/*.qml ${D}/data/user/qt/enterprise-flat-controls/ + + sed -i '/import QtQuick.Window/c\' ${D}/data/user/qt/enterprise-dashboard/qml/dashboard.qml ${D}/data/user/qt/enterprise-gallery/qml/gallery.qml + sed -i 's/Window /Rectangle /1' ${D}/data/user/qt/enterprise-dashboard/qml/dashboard.qml ${D}/data/user/qt/enterprise-gallery/qml/gallery.qml + sed -i 's/ApplicationWindow /Rectangle /1' ${D}/data/user/qt/enterprise-flat-controls/main.qml + sed -i '/title: "Qt Quick Extras Demo"/c\' ${D}/data/user/qt/enterprise-dashboard/qml/dashboard.qml ${D}/data/user/qt/enterprise-gallery/qml/gallery.qml + sed -i '/title: "Flat Example"/c\' ${D}/data/user/qt/enterprise-flat-controls/main.qml + sed -i 's/"Light Flat UI Demo"/"Qt Quick Controls"/1' ${D}/data/user/qt/enterprise-flat-controls/main.qml + sed -i '/{ name: "Exit", action: null }/c\' ${D}/data/user/qt/enterprise-flat-controls/main.qml + + sed -i -e 's/qrc:/../g' ${D}/data/user/qt/enterprise-dashboard/qml/* ${D}/data/user/qt/enterprise-gallery/qml/* + sed -i 's/qrc:\///g' ${D}/data/user/qt/enterprise-flat-controls/Content.qml +} + +FILES_${PN} += " \ + /data/images/ \ + /data/videos/ \ + /data/user \ + " + +FILES_${PN}-dbg += " \ + /data/user/qt/qmlplugins/*/.debug/ \ + " diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/b2qt-startup.sh b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/b2qt-startup.sh new file mode 100755 index 0000000..89e4bbb --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/b2qt-startup.sh @@ -0,0 +1,49 @@ +#!/bin/sh +############################################################################ +## +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +case "$1" in +start) + if [ -x /data/user/b2qt ]; then + APP="/data/user/b2qt" + elif [ -x /usr/bin/b2qt ]; then + APP="/usr/bin/b2qt" + else + APP="/usr/bin/qtlauncher --applications-root /data/user/qt" + fi + /usr/bin/appcontroller ${APP} & + ;; +stop) + /usr/bin/appcontroller --stop + ;; +*) + echo "Usage: $0 {start|stop}" + exit 1 +esac +exit 0 diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/b2qt.service b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/b2qt.service new file mode 100644 index 0000000..f941f91 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/b2qt.service @@ -0,0 +1,10 @@ +[Unit] +Description=B2Qt user application +After=systemd-user-sessions.service +ConditionPathExists=/usr/bin/b2qt + +[Service] +ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt + +[Install] +WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/beaglebone/b2qt.service b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/beaglebone/b2qt.service new file mode 100644 index 0000000..cdf6480 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/beaglebone/b2qt.service @@ -0,0 +1,11 @@ +[Unit] +Description=B2Qt user application +BindsTo=dev-fb0.device +After=dev-fb0.device +ConditionPathExists=/usr/bin/b2qt + +[Service] +ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt + +[Install] +WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/beaglebone/qtlauncher.service b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/beaglebone/qtlauncher.service new file mode 100644 index 0000000..1094675 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/beaglebone/qtlauncher.service @@ -0,0 +1,11 @@ +[Unit] +Description=B2Qt Launcher Demo +BindsTo=dev-fb0.device +After=dev-fb0.device +ConditionPathExists=!/usr/bin/b2qt + +[Service] +ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt + +[Install] +WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/emulator/b2qt.service b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/emulator/b2qt.service new file mode 100644 index 0000000..65fba92 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/emulator/b2qt.service @@ -0,0 +1,10 @@ +[Unit] +Description=B2Qt user application +After=multi-user.target +ConditionPathExists=/usr/bin/b2qt + +[Service] +ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt + +[Install] +WantedBy=custom.target diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/emulator/qtlauncher.service b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/emulator/qtlauncher.service new file mode 100644 index 0000000..2b02c87 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/emulator/qtlauncher.service @@ -0,0 +1,11 @@ +[Unit] +Description=B2Qt Launcher Demo +After=multi-user.target + +ConditionPathExists=!/usr/bin/b2qt + +[Service] +ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt + +[Install] +WantedBy=custom.target diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/qtlauncher.service b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/qtlauncher.service new file mode 100644 index 0000000..7658ca8 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher/qtlauncher.service @@ -0,0 +1,10 @@ +[Unit] +Description=B2Qt Launcher Demo +After=systemd-user-sessions.service +ConditionPathExists=!/usr/bin/b2qt + +[Service] +ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt + +[Install] +WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb new file mode 100644 index 0000000..e77d7b2 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-launcher_git.bb @@ -0,0 +1,64 @@ +############################################################################ +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Boot to Qt Demo Launcher" +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 + +QT_GIT_PROJECT = "qt-apps" + +SRC_URI += " \ + file://b2qt-startup.sh \ + file://qtlauncher.service \ + file://b2qt.service \ + " + +SRCREV = "8d7fe0e4b8852a16469a6d0fe910309e8964ab58" + +DEPENDS = "qtbase qtdeclarative \ + ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" + +do_install_append() { + install -m 0755 -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/b2qt-startup.sh ${D}${sysconfdir}/init.d/ + + install -m 0755 -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/qtlauncher.service ${D}${systemd_unitdir}/system/ + install -m 0644 ${WORKDIR}/b2qt.service ${D}${systemd_unitdir}/system/ +} + +INITSCRIPT_NAME = "b2qt-startup.sh" +INITSCRIPT_PARAMS = "defaults 30" + +SYSTEMD_SERVICE_${PN} = "qtlauncher.service b2qt.service" + +inherit update-rc.d systemd diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/democompositor_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/democompositor_git.bb new file mode 100644 index 0000000..3d9a196 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/democompositor_git.bb @@ -0,0 +1,47 @@ +############################################################################ +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Boot to Qt Wayland Demo Compositor" +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 + +QT_GIT_PROJECT = "qt-apps" +QT_MODULE = "boot2qt-demos" + +SRCREV = "b9585b440819e1444b20f30435f81c46801158c5" + +S = "${WORKDIR}/git/wayland/democompositor/" + +DEPENDS = "qtbase qtwayland" + +FILES_${PN} += "/data/user/democompositor" +FILES_${PN}-dbg += "/data/user/democompositor/.debug" diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/b2qt-gadget-network.sh b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/b2qt-gadget-network.sh new file mode 100755 index 0000000..3161db7 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/b2qt-gadget-network.sh @@ -0,0 +1,103 @@ +#!/bin/sh +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +set -e + +NETWORK_UNIT=/usr/lib/systemd/network/usb-rndis.network + +usage() { + echo "Usage: $(basename $0) --reset" + echo " $(basename $0) --set " + echo + echo "Network is given as the device IPv4 address followed by the prefix length." + echo "For example \"192.168.0.1/24\"." + exit 1 +} + +while test -n "$1"; do + case "$1" in + "help" | "--help" | "-h") + usage + exit 0 + ;; + "--reset") + if [ -n "$COMMAND" ]; then + usage + exit 1 + fi + COMMAND="reset" + ;; + "--set") + if [ -n "$COMMAND" ]; then + usage + exit 1 + fi + COMMAND="set" + shift + NETWORK=$1 + ;; + esac + shift +done + +if [ -z "$COMMAND" ]; then + usage + exit 1 +fi + +case "$COMMAND" in + "set") + cat < $NETWORK_UNIT +# This file is automatically written by b2qt-gadget-network.sh +[Match] +Type=gadget + +[Network] +Address=${NETWORK} +DHCPServer=yes + +[DHCPServer] +EmitDNS=no +EmitRouter=no +EOF + ;; + "reset") + cat < $NETWORK_UNIT +# This file is automatically written by b2qt-gadget-network.sh +[Match] +Type=gadget + +[Network] +DHCPServer=no +EOF + ;; +esac + +systemctl restart systemd-networkd diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/defaults b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/defaults new file mode 100644 index 0000000..5ced90d --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/defaults @@ -0,0 +1,8 @@ +VENDOR=0xdbdb +PRODUCT=0x0001 +if [ -e /sys/class/net/eth0/address ]; then + SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) +else + SERIAL=$(hostname)-$(cat /etc/machine-id) +fi +export QT_HASH_SEED=0 diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh new file mode 100755 index 0000000..15981b0 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd-init.sh @@ -0,0 +1,120 @@ +#! /bin/sh +############################################################################### +## Copyright (C) 2016 The Qt Company Ltd. +## Contact: http://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:BSD$ +## You may use this file under the terms of the BSD license as follows: +## +## "Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are +## met: +## * Redistributions of source code must retain the above copyright +## notice, this list of conditions and the following disclaimer. +## * Redistributions in binary form must reproduce the above copyright +## notice, this list of conditions and the following disclaimer in +## the documentation and/or other materials provided with the +## distribution. +## * Neither the name of The Qt Company Ltd nor the names of its +## contributors may be used to endorse or promote products derived +## from this software without specific prior written permission. +## +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +## "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +## LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +## A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +## OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +## DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +## THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +## +## $QT_END_LICENSE$ +############################################################################### +MANUFACTURER="The Qt Company" +PRODUCT_STRING="Boot2Qt Ethernet/RNDIS connection" + +DAEMON=/usr/bin/qdbd +CONFIGFS_PATH=/sys/kernel/config + +GADGET_CONFIG=$CONFIGFS_PATH/usb_gadget/g1 + +. /etc/default/qdbd + +initialize_gadget() { + # Initialize gadget with first UDC driver + for driverpath in /sys/class/udc/*; do + drivername=`basename $driverpath` + echo "$drivername" > $GADGET_CONFIG/UDC + break + done +} + +disable_gadget() { + echo "" > $GADGET_CONFIG/UDC +} + +case "$1" in +start) + b2qt-gadget-network.sh --reset + modprobe libcomposite + sleep 1 + # Gadget configuration + mkdir -p $GADGET_CONFIG + echo $VENDOR > $GADGET_CONFIG/idVendor + echo $PRODUCT > $GADGET_CONFIG/idProduct + mkdir -p $GADGET_CONFIG/strings/0x409 + echo $MANUFACTURER > $GADGET_CONFIG/strings/0x409/manufacturer + echo $PRODUCT_STRING > $GADGET_CONFIG/strings/0x409/product + echo ${SERIAL:0:32} > $GADGET_CONFIG/strings/0x409/serialnumber + mkdir -p $GADGET_CONFIG/configs/c.1/strings/0x409 + echo "USB Ethernet + QDB" > $GADGET_CONFIG/configs/c.1/strings/0x409/configuration + mkdir -p $GADGET_CONFIG/functions/rndis.usb0 + mkdir -p $GADGET_CONFIG/functions/ffs.qdb + ln -sf $GADGET_CONFIG/functions/rndis.usb0 $GADGET_CONFIG/configs/c.1 + ln -sf $GADGET_CONFIG/functions/ffs.qdb $GADGET_CONFIG/configs/c.1 + # Function fs mountpoints + mkdir -p /dev/usb-ffs + chmod 770 /dev/usb-ffs + mkdir -p /dev/usb-ffs/qdb + chmod 770 /dev/usb-ffs/qdb + mount -t functionfs qdb /dev/usb-ffs/qdb -o uid=0,gid=0 + shift + start-stop-daemon --start --quiet --exec $DAEMON -- $@ & + sleep 1 + initialize_gadget + ;; +stop) + disable_gadget + start-stop-daemon --stop --quiet --exec $DAEMON + sleep 1 + umount /dev/usb-ffs/qdb + rm $GADGET_CONFIG/configs/c.1/rndis.usb0 + rm $GADGET_CONFIG/configs/c.1/ffs.qdb + rmdir $GADGET_CONFIG/configs/c.1/strings/0x409 + rmdir $GADGET_CONFIG/configs/c.1 + rmdir $GADGET_CONFIG/functions/rndis.usb0 + rmdir $GADGET_CONFIG/functions/ffs.qdb + rmdir $GADGET_CONFIG/strings/0x409 + rmdir $GADGET_CONFIG + ;; +restart) + disable_gadget + start-stop-daemon --stop --quiet --exec $DAEMON + b2qt-gadget-network.sh --reset + sleep 1 + shift + start-stop-daemon --start --quiet --exec $DAEMON -- $@ & + sleep 1 + initialize_gadget + ;; +*) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac +exit 0 diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd.service b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd.service new file mode 100644 index 0000000..be8e701 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb/qdbd.service @@ -0,0 +1,11 @@ +[Unit] +Description=Qt Debug Bridge Daemon +After=basic.target + +[Service] +Type=forking +ExecStart=/usr/bin/qdbd-init.sh start +ExecStop=/usr/bin/qdbd-init.sh stop + +[Install] +WantedBy=multi-user.target diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb new file mode 100644 index 0000000..5615473 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/qdb_git.bb @@ -0,0 +1,71 @@ +############################################################################ +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Qt Debug Bridge Daemon" +SECTION = "devel" +LICENSE = "GPL-3.0 | The-Qt-Company-DCLA-2.1" +LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504" + +inherit distro_features_check +inherit qmake5 +require recipes-qt/qt5/qt5-git.inc + +QT_GIT_PROJECT = "qt-apps" +QT_MODULE_BRANCH = "5.9" + +SRC_URI += "file://b2qt-gadget-network.sh \ + file://defaults \ + file://qdbd.service \ + file://qdbd-init.sh \ + " + +SRCREV = "69f95b6a8d2ca0912a8d502a2b6871109725731e" +PV = "1.1.0+git${SRCPV}" + +REQUIRED_DISTRO_FEATURES = "systemd" +DEPENDS = "qtbase" +RRECOMMENDS_${PN} += "kernel-module-usb-f-fs kernel-module-usb-f-rndis" + +EXTRA_QMAKEVARS_PRE = "CONFIG+=daemon_only" + +do_install_append() { + install -m 0755 ${WORKDIR}/b2qt-gadget-network.sh ${D}${bindir}/ + + install -m 0755 ${WORKDIR}/qdbd-init.sh ${D}${bindir}/ + + install -m 0755 -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/qdbd.service ${D}${systemd_unitdir}/system/ + + install -m 0755 -d ${D}${sysconfdir}/default + install -m 0644 ${WORKDIR}/defaults ${D}${sysconfdir}/default/qdbd +} + +SYSTEMD_SERVICE_${PN} = "qdbd.service" + +inherit systemd diff --git a/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb b/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb deleted file mode 100644 index 7405424..0000000 --- a/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb +++ /dev/null @@ -1,44 +0,0 @@ -############################################################################ -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "Qt Device Utilities" -LICENSE = "GPL-3.0 | The-Qt-Company-DCLA-2.1" -LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504" - -inherit qt5-module -require recipes-qt/qt5/qt5-git.inc - -PACKAGECONFIG ??= "" -PACKAGECONFIG[wpasupplicant] = "CONFIG+=wpasupplicant,,wpa-supplicant" - -EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" - -SRCREV = "796fff1debaa161483515779bb68999948d48c59" - -DEPENDS = "qtbase qtdeclarative qtconnectivity" diff --git a/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb b/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb new file mode 100644 index 0000000..7405424 --- /dev/null +++ b/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities_git.bb @@ -0,0 +1,44 @@ +############################################################################ +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Qt Device Utilities" +LICENSE = "GPL-3.0 | The-Qt-Company-DCLA-2.1" +LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504" + +inherit qt5-module +require recipes-qt/qt5/qt5-git.inc + +PACKAGECONFIG ??= "" +PACKAGECONFIG[wpasupplicant] = "CONFIG+=wpasupplicant,,wpa-supplicant" + +EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" + +SRCREV = "796fff1debaa161483515779bb68999948d48c59" + +DEPENDS = "qtbase qtdeclarative qtconnectivity" diff --git a/meta-boot2qt/recipes-qt/qt5/qtglesstream.bb b/meta-boot2qt/recipes-qt/qt5/qtglesstream.bb deleted file mode 100644 index 0f942e7..0000000 --- a/meta-boot2qt/recipes-qt/qt5/qtglesstream.bb +++ /dev/null @@ -1,63 +0,0 @@ -############################################################################ -## -## Copyright (C) 2017 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "QtGlesStream" -LICENSE = "The-Qt-Company-DCLA-2.1" -LIC_FILES_CHKSUM = "file://qtglesstream.pro;md5=875f34471470b09977705aed7863e440" - -inherit qt5-module - -SRC_URI = " \ - git://codereview.qt-project.org/qt/tqtc-qtglesstream;branch=${BRANCH};protocol=ssh \ - " - -PV = "1.0.0" -SRCREV = "37f98d4b7123378d1ade7beedf5c5150cd26e178" -BRANCH = "dev" - -S = "${WORKDIR}/git" - -DEPENDS = "qtbase" - -do_install_append() { - install -m 0755 -d ${D}${includedir}/EGL - install -m 0755 ${S}/headers/EGL/* ${D}${includedir}/EGL - - install -m 0755 -d ${D}${includedir}/GLES2 - install -m 0755 ${S}/headers/GLES2/* ${D}${includedir}/GLES2 - - install -m 0755 -d ${D}${includedir}/GLES3 - install -m 0755 ${S}/headers/GLES3/* ${D}${includedir}/GLES3 - - install -m 0755 -d ${D}${includedir}/KHR - install -m 0755 ${S}/headers/KHR/* ${D}${includedir}/KHR -} - -# no not overwrite files from qtglesstream-dummy-client -do_populate_sysroot[noexec] = "1" diff --git a/meta-boot2qt/recipes-qt/qt5/qtglesstream_git.bb b/meta-boot2qt/recipes-qt/qt5/qtglesstream_git.bb new file mode 100644 index 0000000..0f942e7 --- /dev/null +++ b/meta-boot2qt/recipes-qt/qt5/qtglesstream_git.bb @@ -0,0 +1,63 @@ +############################################################################ +## +## Copyright (C) 2017 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "QtGlesStream" +LICENSE = "The-Qt-Company-DCLA-2.1" +LIC_FILES_CHKSUM = "file://qtglesstream.pro;md5=875f34471470b09977705aed7863e440" + +inherit qt5-module + +SRC_URI = " \ + git://codereview.qt-project.org/qt/tqtc-qtglesstream;branch=${BRANCH};protocol=ssh \ + " + +PV = "1.0.0" +SRCREV = "37f98d4b7123378d1ade7beedf5c5150cd26e178" +BRANCH = "dev" + +S = "${WORKDIR}/git" + +DEPENDS = "qtbase" + +do_install_append() { + install -m 0755 -d ${D}${includedir}/EGL + install -m 0755 ${S}/headers/EGL/* ${D}${includedir}/EGL + + install -m 0755 -d ${D}${includedir}/GLES2 + install -m 0755 ${S}/headers/GLES2/* ${D}${includedir}/GLES2 + + install -m 0755 -d ${D}${includedir}/GLES3 + install -m 0755 ${S}/headers/GLES3/* ${D}${includedir}/GLES3 + + install -m 0755 -d ${D}${includedir}/KHR + install -m 0755 ${S}/headers/KHR/* ${D}${includedir}/KHR +} + +# no not overwrite files from qtglesstream-dummy-client +do_populate_sysroot[noexec] = "1" diff --git a/meta-boot2qt/recipes-qt/qt5/qtotaupdate.bb b/meta-boot2qt/recipes-qt/qt5/qtotaupdate.bb deleted file mode 100644 index 495598a..0000000 --- a/meta-boot2qt/recipes-qt/qt5/qtotaupdate.bb +++ /dev/null @@ -1,42 +0,0 @@ -############################################################################ -## -## Copyright (C) 2018 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -DESCRIPTION = "Qt OTA Update module" -LICENSE = "GPL-3.0 | The-Qt-Company-DCLA-2.1" -LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504" - -inherit qt5-module -require recipes-qt/qt5/qt5-git.inc - -QT_MODULE_BRANCH = "master" - -SRCREV = "9a7eef1fec80e732451d501a658df9f8058a404d" - -RDEPENDS_${PN} = "dracut" -DEPENDS = "qtbase qtdeclarative ostree" diff --git a/meta-boot2qt/recipes-qt/qt5/qtotaupdate_git.bb b/meta-boot2qt/recipes-qt/qt5/qtotaupdate_git.bb new file mode 100644 index 0000000..495598a --- /dev/null +++ b/meta-boot2qt/recipes-qt/qt5/qtotaupdate_git.bb @@ -0,0 +1,42 @@ +############################################################################ +## +## Copyright (C) 2018 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Qt OTA Update module" +LICENSE = "GPL-3.0 | The-Qt-Company-DCLA-2.1" +LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504" + +inherit qt5-module +require recipes-qt/qt5/qt5-git.inc + +QT_MODULE_BRANCH = "master" + +SRCREV = "9a7eef1fec80e732451d501a658df9f8058a404d" + +RDEPENDS_${PN} = "dracut" +DEPENDS = "qtbase qtdeclarative ostree" -- cgit v1.2.3-54-g00ecf