From 2251d4fd97cc037a4ebf2d168da369bd052b8e82 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 7 Jan 2019 19:37:11 +0100 Subject: distro: move from angstrom to a poky based distro Signed-off-by: Max Krummenacher --- README | 42 ++-- buildconf/bblayers.conf | 4 +- buildconf/export | 6 +- buildconf/local.conf | 6 +- conf/layer.conf | 2 +- .../angstrom/angstrom-feed-configs.bbappend | 9 - recipes-images/images/angstrom-lxde-image.bb | 251 ------------------- recipes-images/images/angstrom-lxqt-image.bb | 265 --------------------- recipes-images/images/angstrom-qt-x11-image.bb | 243 ------------------- recipes-images/images/angstrom-qt5-x11-image.bb | 224 ----------------- recipes-images/images/console-tdx-image.bb | 4 +- recipes-images/images/lxde-image.bb | 251 +++++++++++++++++++ recipes-images/images/lxqt-image.bb | 265 +++++++++++++++++++++ recipes-images/images/qt-x11-image.bb | 243 +++++++++++++++++++ recipes-images/images/qt4e-demo-image.bb | 2 +- recipes-images/images/qt5-x11-image.bb | 224 +++++++++++++++++ 16 files changed, 1018 insertions(+), 1023 deletions(-) delete mode 100644 recipes-angstrom/angstrom/angstrom-feed-configs.bbappend delete mode 100644 recipes-images/images/angstrom-lxde-image.bb delete mode 100644 recipes-images/images/angstrom-lxqt-image.bb delete mode 100644 recipes-images/images/angstrom-qt-x11-image.bb delete mode 100644 recipes-images/images/angstrom-qt5-x11-image.bb create mode 100644 recipes-images/images/lxde-image.bb create mode 100644 recipes-images/images/lxqt-image.bb create mode 100644 recipes-images/images/qt-x11-image.bb create mode 100644 recipes-images/images/qt5-x11-image.bb diff --git a/README b/README index 40749db..373a050 100644 --- a/README +++ b/README @@ -12,14 +12,20 @@ Dependencies ============ This layer depends on the relevant BSP layers for your machine and: +(please check http://git.toradex.com/cgit/toradex-bsp-platform.git/ to get +the specific layer versions we used when building our binary demo images) URI: git://git.openembedded.org/bitbake - branch: 1.36 + branch: 1.40 revision: HEAD URI: git://git.openembedded.org/openembedded-core layer: meta - branch: rocko + branch: thud + + URI: git://git.openembedded.org/meta-yocto + layer: meta-poky + branch: thud revision: HEAD URI: git://git.openembedded.org/meta-openembedded @@ -28,35 +34,35 @@ This layer depends on the relevant BSP layers for your machine and: meta-multimedia meta-networking meta-oe - branch: rocko - revision: HEAD - - URI: https://github.com/angstrom-distribution/meta-angstrom.git - branch: angstrom-v2017.12-rocko + branch: thud revision: HEAD URI: https://github.com/OSSystems/meta-browser.git branch: master - revision: cf35eca0de52d5a34dabe2068e68348367db8e55 + revision: HEAD URI: git://git.yoctoproject.org/meta-freescale - branch: rocko + branch: thud revision: HEAD URI: https://github.com/freescale/meta-freescale-distro.git - branch: rocko + branch: thud revision: HEAD URI: git://git.toradex.com/meta-lxde.git - branch: rocko + branch: thud revision: HEAD URI: git://git.yoctoproject.org/meta-qt4 - branch: rocko + branch: thud revision: HEAD URI: https://github.com/meta-qt5/meta-qt5 - branch: rocko + branch: thud + revision: HEAD + + URI: https://github.com/schnitzeltony/meta-qt5-extra.git + branch: thud revision: HEAD Patches @@ -76,7 +82,7 @@ I. Building the meta-toradex-demos Layer ======================================== For information on how to use the modules with Linux and instructions on how -to build the angstrom based demo images please visit: +to build the demo images please visit: http://developer.toradex.com/software/linux http://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core) @@ -84,14 +90,14 @@ For support, visit the Toradex Developer Community: https://www.toradex.com/community Images built with this layer can be found here: -http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/ +https://developer.toradex.com/software/linux/linux-software#Binary_Images II. Deploying Built Images ========================== -http://developer.toradex.com/knowledge-base/flashing-linux-on-imx6-modules -http://developer.toradex.com/knowledge-base/flashing-embedded-linux-to-imx7-modules -http://developer.toradex.com/knowledge-base/flashing-linux-on-vybrid-modules +Links to the image type and module specific flashing instructions can be found +here: +https://developer.toradex.com/software/linux/linux-software#Binary_Images License ======= diff --git a/buildconf/bblayers.conf b/buildconf/bblayers.conf index 5f41360..1242a98 100644 --- a/buildconf/bblayers.conf +++ b/buildconf/bblayers.conf @@ -6,9 +6,6 @@ BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ - ${TOPDIR}/../layers/meta-angstrom \ - \ - \ ${TOPDIR}/../layers/meta-toradex-nxp \ ${TOPDIR}/../layers/meta-freescale \ ${TOPDIR}/../layers/meta-freescale-3rdparty \ @@ -37,4 +34,5 @@ BBLAYERS ?= " \ \ \ ${TOPDIR}/../layers/openembedded-core/meta \ + ${TOPDIR}/../layers/meta-yocto/meta-poky \ " diff --git a/buildconf/export b/buildconf/export index ca13ba1..aea4b28 100644 --- a/buildconf/export +++ b/buildconf/export @@ -2,7 +2,7 @@ ECHO=`which echo` BUILDDIR="../../build" FIRST_TIME=0 -cd layers/openembedded-core/ +cd layers/openembedded-core if [ ! -f ${BUILDDIR}/conf/local.conf ]; then FIRST_TIME=1 fi @@ -11,9 +11,9 @@ fi echo "" echo "Toradex targets are:" -echo " angstrom-lxde-image" echo " console-tdx-image" -echo " angstrom-qt-x11-image" +echo " other (unsupported) targets may be found in" +echo " meta-toradex-demos/recipes-images/images/" if [ $FIRST_TIME -eq 1 ]; then mkdir -p conf diff --git a/buildconf/local.conf b/buildconf/local.conf index f38a8fe..af875a4 100644 --- a/buildconf/local.conf +++ b/buildconf/local.conf @@ -256,11 +256,11 @@ INHERIT += "rm_work" # Add Toradex source mirror INHERIT += "toradex-mirrors" -# Use this distro (filename from meta-angstrom/conf/distro/xx.conf) -DISTRO = "angstrom" +# Use this distro +DISTRO = "poky" # What image type(s) are to be built? -IMAGE_FSTYPES += "tar.bz2" +IMAGE_FSTYPES_append = " tar.bz2" # Don't generate the mirror tarball for SCM repos, the snapshot is enough # BB_GENERATE_MIRROR_TARBALLS = "0" diff --git a/conf/layer.conf b/conf/layer.conf index af70f69..ed870da 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,8 +18,8 @@ BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ LAYERDEPENDS_toradex-demos = " \ core \ + yocto \ openembedded-layer gnome-layer multimedia-layer networking-layer \ - angstrom-layer \ browser-layer \ freescale-layer \ fsl-demos \ diff --git a/recipes-angstrom/angstrom/angstrom-feed-configs.bbappend b/recipes-angstrom/angstrom/angstrom-feed-configs.bbappend deleted file mode 100644 index 192a6ed..0000000 --- a/recipes-angstrom/angstrom/angstrom-feed-configs.bbappend +++ /dev/null @@ -1,9 +0,0 @@ -ANGSTROM_URI = "http://feeds.toradex.com/angstrom" - -do_compile_append() { - #no debug feed available so empty the feed configs - echo "" > ${S}/${sysconfdir}/opkg/debug-feed.conf - - #tdx: no machine feed available so empty the feed configs - echo "" > ${S}/${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf -} diff --git a/recipes-images/images/angstrom-lxde-image.bb b/recipes-images/images/angstrom-lxde-image.bb deleted file mode 100644 index 5bbd537..0000000 --- a/recipes-images/images/angstrom-lxde-image.bb +++ /dev/null @@ -1,251 +0,0 @@ -SUMMARY = "Toradex Embedded Linux Demo with LXDE" -SUMMARY_append_apalis-tk1-mainline = " (Mainline)" -DESCRIPTION = "Angstrom-based image with the LXDE desktop environment" - -LICENSE = "MIT" - -#start of the resulting deployable tarball name -export IMAGE_BASENAME = "LXDE-Image" -IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}" -IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}" -IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-vf = "Colibri-VF_${IMAGE_BASENAME}" -IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" - -SYSTEMD_DEFAULT_TARGET = "graphical.target" - -#create the deployment directory-tree -require recipes-images/images/tdx-image-fstype.inc - -IMAGE_LINGUAS = "en-us" -#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" -#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' - -DISTRO_UPDATE_ALTERNATIVES ??= "" -ROOTFS_PKGMANAGE_PKGS ?= '${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' - -CONMANPKGS ?= "connman connman-client connman-gnome" - -IMAGE_BROWSER = "firefox" -#keep the rootfs size small -IMAGE_BROWSER_colibri-imx6ull = "" -IMAGE_BROWSER_colibri-vf = "" - -# don't install some packages bloating the vybrid image -BAD_RECOMMENDATIONS_append_colibri-vf = " udev-hwdb cpufrequtils" - -# this would pull in a large amount of gst-plugins, we only add a selected few -# gstreamer1.0-plugins-base-meta -# gstreamer1.0-plugins-good-meta -# gstreamer1.0-plugins-bad-meta -# gst-ffmpeg -GSTREAMER = " \ - gstreamer1.0 \ - gstreamer1.0-plugins-base \ - gstreamer1.0-plugins-base-alsa \ - gstreamer1.0-plugins-base-audioconvert \ - gstreamer1.0-plugins-base-audioresample \ - gstreamer1.0-plugins-base-audiotestsrc \ - gstreamer1.0-plugins-base-typefindfunctions \ - gstreamer1.0-plugins-base-ogg \ - gstreamer1.0-plugins-base-theora \ - gstreamer1.0-plugins-base-videotestsrc \ - gstreamer1.0-plugins-base-vorbis \ - gstreamer1.0-plugins-good-audioparsers \ - gstreamer1.0-plugins-good-autodetect \ - gstreamer1.0-plugins-good-avi \ - gstreamer1.0-plugins-good-deinterlace \ - gstreamer1.0-plugins-good-id3demux \ - gstreamer1.0-plugins-good-isomp4 \ - gstreamer1.0-plugins-good-matroska \ - gstreamer1.0-plugins-good-multifile \ - gstreamer1.0-plugins-good-rtp \ - gstreamer1.0-plugins-good-rtpmanager \ - gstreamer1.0-plugins-good-udp \ - gstreamer1.0-plugins-good-video4linux2 \ - gstreamer1.0-plugins-good-wavenc \ - gstreamer1.0-plugins-good-wavparse \ -" -# No longer available -# gst-plugins-base-decodebin \ -# gst-plugins-base-decodebin2 \ -# gst-plugins-base-playbin \ -# gst-plugins-ugly-asf \ -#" - -GSTREAMER_MX6QDL = " \ - gstreamer1.0-plugins-base-ximagesink \ - gstreamer1.0-plugins-imx \ -" -GSTREAMER_append_mx6q = "${GSTREAMER_MX6QDL}" -GSTREAMER_append_mx6dl = "${GSTREAMER_MX6QDL}" - -GSTREAMER_colibri-imx6ull = "" - -GSTREAMER_append_mx7 = " \ - gstreamer1.0-plugins-base-ximagesink \ - imx-gst1.0-plugin \ -" -# No longer available -# gst-plugins-gl \ -# gst-fsl-plugin \ -# - -GSTREAMER_append_tegra124 = " \ - gstreamer1.0-libav \ - gstreamer1.0-plugins-bad-videoparsersbad \ - gstreamer \ - gst-plugins-base \ - gst-plugins-base-alsa \ - gst-plugins-base-audioconvert \ - gst-plugins-base-audioresample \ - gst-plugins-base-audiotestsrc \ - gst-plugins-base-decodebin \ - gst-plugins-base-decodebin2 \ - gst-plugins-base-playbin \ - gst-plugins-base-typefindfunctions \ - gst-plugins-base-ogg \ - gst-plugins-base-theora \ - gst-plugins-base-videotestsrc \ - gst-plugins-base-vorbis \ - gst-plugins-base-ximagesink \ - gst-plugins-base-xvimagesink \ - gst-plugins-good \ - gst-plugins-good-audioparsers \ - gst-plugins-good-autodetect \ - gst-plugins-good-avi \ - gst-plugins-good-deinterlace \ - gst-plugins-good-id3demux \ - gst-plugins-good-isomp4 \ - gst-plugins-good-matroska \ - gst-plugins-good-rtp \ - gst-plugins-good-rtpmanager \ - gst-plugins-good-udp \ - gst-plugins-good-video4linux2 \ - gst-plugins-good-wavenc \ - gst-plugins-good-wavparse \ - libgstcodecparsers-1.0 \ - libgstnvegl \ - libgstomx-0.10 \ - libgstomx-1.0 \ -" -GSTREAMER_colibri-vf = "" - -IMAGE_INSTALL_append_tegra124 = " \ - gpio-tool \ - gnome-disk-utility \ - libglu \ - mesa-demos \ - freeglut \ - mime-support \ - tiff \ - xvinfo \ - \ -" -IMAGE_INSTALL_append_tegra124m = " \ - gpio-tool \ - gnome-disk-utility \ - libglu \ - mesa-demos \ - freeglut \ - mime-support \ - tiff \ - xvinfo \ - \ -" -IMAGE_INSTALL_MX6QDL = " \ - gpio-tool \ - packagegroup-fsl-gpu-libs \ - libopencl-imx \ - gnome-disk-utility \ - mime-support \ - eglinfo-x11 \ - \ -" -IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL_MX6QDL}" -IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL_MX6QDL}" - -IMAGE_INSTALL_append_mx7 = " \ - gpio-tool \ - gnome-disk-utility \ - mime-support \ -" -IMAGE_INSTALL_append_vf = " \ - gpio-tool \ - xf86-video-modesetting \ -" - -IMAGE_INSTALL_append_colibri-imx6ull = " \ - gpio-tool \ -" - -# Packages which might be empty or no longer available -RRECOMMENDS_${PN} += " \ - xserver-xorg-multimedia-modules \ - xserver-xorg-extension-dbe \ - xserver-xorg-extension-extmod \ -" - -IMAGE_INSTALL += " \ - eject \ - gconf \ - gvfs \ - gvfsd-trash \ - xdg-utils \ - \ - libgsf \ - libxres \ - makedevs \ - xcursor-transparent-theme \ - zeroconf \ - angstrom-packagegroup-boot \ - packagegroup-basic \ - udev-extra-rules \ - ${CONMANPKGS} \ - ${ROOTFS_PKGMANAGE_PKGS} \ - timestamp-service \ - packagegroup-base-extended \ - ${XSERVER} \ - xserver-common \ - xauth \ - xhost \ - xset \ - setxkbmap \ - \ - xrdb \ - xorg-minimal-fonts xserver-xorg-utils \ - scrot \ - unclutter \ - \ - libxdamage libxvmc libxinerama \ - libxcursor \ - \ - bash \ - \ - ${GSTREAMER} \ - v4l-utils \ - libpcre \ - libpcreposix \ - libxcomposite \ - alsa-states \ - ${IMAGE_BROWSER} \ -" -# gnome-vfs \ -# gnome-vfs-plugin-file \ -# florence3 \ -# - -require recipes-images/images/lx.inc -require recipes-images/images/tdx-extra.inc - -IMAGE_DEV_MANAGER = "udev" -IMAGE_INIT_MANAGER = "systemd" -IMAGE_INITSCRIPTS = " " -IMAGE_LOGIN_MANAGER = "busybox shadow" - -inherit core-image diff --git a/recipes-images/images/angstrom-lxqt-image.bb b/recipes-images/images/angstrom-lxqt-image.bb deleted file mode 100644 index 76dba2e..0000000 --- a/recipes-images/images/angstrom-lxqt-image.bb +++ /dev/null @@ -1,265 +0,0 @@ -SUMMARY = "Toradex Embedded Linux Demo with LXQT" -SUMMARY_append_apalis-tk1-mainline = " (Mainline)" -DESCRIPTION = "Angstrom-based image with the LXQT desktop environment" - -LICENSE = "MIT" - -#start of the resulting deployable tarball name -export IMAGE_BASENAME = "LXQt-Image" -IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}" -IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}" -IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-vf = "Colibri-VF_${IMAGE_BASENAME}" -IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" - -SYSTEMD_DEFAULT_TARGET = "graphical.target" - -#create the deployment directory-tree -require recipes-images/images/tdx-image-fstype.inc - -inherit populate_sdk populate_sdk_qt5 - -IMAGE_LINGUAS = "en-us" -#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" -#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' - -DISTRO_UPDATE_ALTERNATIVES ??= "" -ROOTFS_PKGMANAGE_PKGS ?= '${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' - -# for a more complete configuration tool consider replacing lxqt-connman-applet -# with cmst at the price of a bigger footprint -CONMANPKGS ?= "connman connman-client lxqt-connman-applet" - -IMAGE_BROWSER = "falkon" -#keep the rootfs size small -IMAGE_BROWSER_colibri-imx6ull = "" -IMAGE_BROWSER_colibri-vf = "" - -# don't install some packages bloating the vybrid image -BAD_RECOMMENDATIONS_append_colibri-vf = " udev-hwdb cpufrequtils" - -# this would pull in a large amount of gst-plugins, we only add a selected few -# gstreamer1.0-plugins-base-meta -# gstreamer1.0-plugins-good-meta -# gstreamer1.0-plugins-bad-meta -# gst-ffmpeg -GSTREAMER = " \ - gstreamer1.0 \ - gstreamer1.0-plugins-base \ - gstreamer1.0-plugins-base-alsa \ - gstreamer1.0-plugins-base-audioconvert \ - gstreamer1.0-plugins-base-audioresample \ - gstreamer1.0-plugins-base-audiotestsrc \ - gstreamer1.0-plugins-base-typefindfunctions \ - gstreamer1.0-plugins-base-ogg \ - gstreamer1.0-plugins-base-theora \ - gstreamer1.0-plugins-base-videotestsrc \ - gstreamer1.0-plugins-base-vorbis \ - gstreamer1.0-plugins-good-audioparsers \ - gstreamer1.0-plugins-good-autodetect \ - gstreamer1.0-plugins-good-avi \ - gstreamer1.0-plugins-good-deinterlace \ - gstreamer1.0-plugins-good-id3demux \ - gstreamer1.0-plugins-good-isomp4 \ - gstreamer1.0-plugins-good-matroska \ - gstreamer1.0-plugins-good-multifile \ - gstreamer1.0-plugins-good-rtp \ - gstreamer1.0-plugins-good-rtpmanager \ - gstreamer1.0-plugins-good-udp \ - gstreamer1.0-plugins-good-video4linux2 \ - gstreamer1.0-plugins-good-wavenc \ - gstreamer1.0-plugins-good-wavparse \ -" - -GSTREAMER_MX6QDL = " \ - gstreamer1.0-plugins-base-ximagesink \ - gstreamer1.0-plugins-imx \ -" -GSTREAMER_append_mx6q = "${GSTREAMER_MX6QDL}" -GSTREAMER_append_mx6dl = "${GSTREAMER_MX6QDL}" - -GSTREAMER_colibri-imx6ull = "" - -GSTREAMER_append_mx7 = " \ - gstreamer1.0-plugins-base-ximagesink \ - imx-gst1.0-plugin \ -" - -GSTREAMER_append_tegra124 = " \ - gstreamer1.0-libav \ - gstreamer1.0-plugins-bad-videoparsersbad \ - gstreamer \ - gst-plugins-base \ - gst-plugins-base-alsa \ - gst-plugins-base-audioconvert \ - gst-plugins-base-audioresample \ - gst-plugins-base-audiotestsrc \ - gst-plugins-base-decodebin \ - gst-plugins-base-decodebin2 \ - gst-plugins-base-playbin \ - gst-plugins-base-typefindfunctions \ - gst-plugins-base-ogg \ - gst-plugins-base-theora \ - gst-plugins-base-videotestsrc \ - gst-plugins-base-vorbis \ - gst-plugins-base-ximagesink \ - gst-plugins-base-xvimagesink \ - gst-plugins-good \ - gst-plugins-good-audioparsers \ - gst-plugins-good-autodetect \ - gst-plugins-good-avi \ - gst-plugins-good-deinterlace \ - gst-plugins-good-id3demux \ - gst-plugins-good-isomp4 \ - gst-plugins-good-matroska \ - gst-plugins-good-rtp \ - gst-plugins-good-rtpmanager \ - gst-plugins-good-udp \ - gst-plugins-good-video4linux2 \ - gst-plugins-good-wavenc \ - gst-plugins-good-wavparse \ - libgstcodecparsers-1.0 \ - libgstnvegl \ - libgstomx-0.10 \ - libgstomx-1.0 \ -" -GSTREAMER_colibri-vf = "" - -IMAGE_INSTALL_append_tegra124 = " \ - libglu \ - mesa-demos \ - freeglut \ - mime-support \ - tiff \ - xvinfo \ -" -IMAGE_INSTALL_append_tegra124m = " \ - libglu \ - mesa-demos \ - freeglut \ - mime-support \ - tiff \ - xvinfo \ -" -IMAGE_INSTALL_MX6QDL = " \ - packagegroup-fsl-gpu-libs \ - mime-support \ - eglinfo-x11 \ -" -IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL_MX6QDL}" -IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL_MX6QDL}" - -IMAGE_INSTALL_append_mx7 = " \ - mime-support \ -" -IMAGE_INSTALL_append_vf = " \ - xf86-video-modesetting \ -" - -# Packages which might be empty or no longer available -RRECOMMENDS_${PN} += " \ - xserver-xorg-multimedia-modules \ - xserver-xorg-extension-dbe \ - xserver-xorg-extension-extmod \ -" - -# deploy these unconditionally, so that they are there for development/debugging -# for a final image this is unnedded and the applications will pull in whatever needed -# through their RRECOMMENDS - -# check the licensing at http://doc.qt.io/qt-5/licensing.html -QT5_LIBS ?= " \ - qt3d \ - qt5-plugin-generic-vboxtouch \ - qtbase \ - qtcanvas3d \ - qtconnectivity \ - qtdeclarative \ - qtenginio \ - qtgraphicaleffects \ - qtimageformats \ - qtlocation \ - qtmultimedia \ - qtquickcontrols2 \ - qtquickcontrols \ - qtscript \ - qtsensors \ - qtserialport \ - qtsvg \ - qtsystems \ - qttools \ - qttranslations \ - qtwebchannel \ - qtwebkit-examples \ - qtwebkit \ - qtwebsockets \ - qtxmlpatterns \ -" -QT5_LIBS_GPLv3 ?= " \ - qtcharts \ - qtdatavis3d \ - qtvirtualkeyboard \ -" - -IMAGE_INSTALL += " \ - eject \ - gvfs \ - gvfsd-trash \ - xdg-utils \ - \ - libgsf \ - libxres \ - makedevs \ - xcursor-transparent-theme \ - zeroconf \ - angstrom-packagegroup-boot \ - packagegroup-basic \ - udev-extra-rules \ - ${CONMANPKGS} \ - ${ROOTFS_PKGMANAGE_PKGS} \ - timestamp-service \ - packagegroup-base-extended \ - ${XSERVER} \ - xserver-common \ - xauth \ - xhost \ - xset \ - setxkbmap \ - \ - xrdb \ - xorg-minimal-fonts xserver-xorg-utils \ - scrot \ - unclutter \ - \ - libxdamage libxvmc libxinerama \ - libxcursor \ - \ - bash \ - \ - ${GSTREAMER} \ - v4l-utils \ - libpcre \ - libpcreposix \ - libxcomposite \ - alsa-states \ - ${IMAGE_BROWSER} \ - sddm \ - ${QT5_LIBS} \ - ${QT5_LIBS_GPLv3} \ - packagegroup-lxqt-base \ - qedit \ - liberation-fonts \ -" -require recipes-images/images/tdx-extra.inc - -IMAGE_DEV_MANAGER = "udev" -IMAGE_INIT_MANAGER = "systemd" -IMAGE_INITSCRIPTS = " " -IMAGE_LOGIN_MANAGER = "busybox shadow" - -inherit core-image diff --git a/recipes-images/images/angstrom-qt-x11-image.bb b/recipes-images/images/angstrom-qt-x11-image.bb deleted file mode 100644 index db1d643..0000000 --- a/recipes-images/images/angstrom-qt-x11-image.bb +++ /dev/null @@ -1,243 +0,0 @@ -SUMMARY = "Toradex Embedded Linux Qt4 Demo With X11" -SUMMARY_append_apalis-tk1-mainline = " (Mainline)" -DESCRIPTION = "Angstrom-based image with the Qt4 Framework and the X11 server" - -LICENSE = "MIT" - -#start of the resulting deployable tarball name -export IMAGE_BASENAME = "Qt4-X11-Image" -IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}" -IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}" -IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-vf = "Colibri-VF_${IMAGE_BASENAME}" -IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" - -SYSTEMD_DEFAULT_TARGET = "graphical.target" - -#create the deployment directory-tree -require recipes-images/images/tdx-image-fstype.inc - -IMAGE_LINGUAS = "en-us" -#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" -#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' - -DISTRO_UPDATE_ALTERNATIVES ??= "" -ROOTFS_PKGMANAGE_PKGS ?= '${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' - -CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-client" - -#don't install some id databases -#BAD_RECOMMENDATIONS_append_colibri-vf = " udev-hwdb cpufrequtils " - -# this would pull in a large amount of gst-plugins, we only add a selected few -# gstreamer1.0-plugins-base-meta -# gstreamer1.0-plugins-good-meta -# gstreamer1.0-plugins-bad-meta -# gst-ffmpeg -GSTREAMER = " \ - gstreamer1.0 \ - gstreamer1.0-plugins-base \ - gstreamer1.0-plugins-base-alsa \ - gstreamer1.0-plugins-base-audioconvert \ - gstreamer1.0-plugins-base-audioresample \ - gstreamer1.0-plugins-base-audiotestsrc \ - gstreamer1.0-plugins-base-typefindfunctions \ - gstreamer1.0-plugins-base-ogg \ - gstreamer1.0-plugins-base-theora \ - gstreamer1.0-plugins-base-videotestsrc \ - gstreamer1.0-plugins-base-vorbis \ - gstreamer1.0-plugins-good-audioparsers \ - gstreamer1.0-plugins-good-autodetect \ - gstreamer1.0-plugins-good-avi \ - gstreamer1.0-plugins-good-deinterlace \ - gstreamer1.0-plugins-good-id3demux \ - gstreamer1.0-plugins-good-isomp4 \ - gstreamer1.0-plugins-good-matroska \ - gstreamer1.0-plugins-good-multifile \ - gstreamer1.0-plugins-good-rtp \ - gstreamer1.0-plugins-good-rtpmanager \ - gstreamer1.0-plugins-good-udp \ - gstreamer1.0-plugins-good-video4linux2 \ - gstreamer1.0-plugins-good-wavenc \ - gstreamer1.0-plugins-good-wavparse \ -" -# No longer available -# gst-plugins-base-decodebin \ -# gst-plugins-base-decodebin2 \ -# gst-plugins-base-playbin \ -# gst-plugins-ugly-asf \ -#" - -GSTREAMER_MX6QDL = " \ - gstreamer1.0-plugins-base-ximagesink \ - gstreamer1.0-plugins-imx \ -" -GSTREAMER_append_mx6q = "${GSTREAMER_MX6QDL}" -GSTREAMER_append_mx6dl = "${GSTREAMER_MX6QDL}" - -GSTREAMER_append_mx7 = " \ - gstreamer1.0-plugins-base-ximagesink \ -" -# No longer available -# gst-plugins-gl \ -# gst-fsl-plugin \ -# - -GSTREAMER_append_tegra124 = " \ - gstreamer1.0-libav \ - gstreamer1.0-plugins-bad-videoparsersbad \ - gstreamer \ - gst-plugins-base \ - gst-plugins-base-alsa \ - gst-plugins-base-audioconvert \ - gst-plugins-base-audioresample \ - gst-plugins-base-audiotestsrc \ - gst-plugins-base-decodebin \ - gst-plugins-base-decodebin2 \ - gst-plugins-base-playbin \ - gst-plugins-base-typefindfunctions \ - gst-plugins-base-ogg \ - gst-plugins-base-theora \ - gst-plugins-base-videotestsrc \ - gst-plugins-base-vorbis \ - gst-plugins-base-ximagesink \ - gst-plugins-base-xvimagesink \ - gst-plugins-good \ - gst-plugins-good-audioparsers \ - gst-plugins-good-autodetect \ - gst-plugins-good-avi \ - gst-plugins-good-deinterlace \ - gst-plugins-good-id3demux \ - gst-plugins-good-isomp4 \ - gst-plugins-good-matroska \ - gst-plugins-good-rtp \ - gst-plugins-good-rtpmanager \ - gst-plugins-good-udp \ - gst-plugins-good-video4linux2 \ - gst-plugins-good-wavenc \ - gst-plugins-good-wavparse \ - libgstcodecparsers-1.0 \ - libgstnvegl \ - libgstomx-0.10 \ - libgstomx-1.0 \ -" -GSTREAMER_colibri-vf = "" - - -IMAGE_INSTALL_QT4 = " \ - qt4-x11-free \ - qt4-xmlpatterns \ - libqt3support4 \ - libqtclucene4 \ - libqtcore4 \ - libqtdbus4 \ - libqtgui4 \ - libqthelp4 \ - libqtmultimedia4 \ - libqtnetwork4 \ - libqtscript4 \ - libqtscripttools4 \ - libqtsql4 \ - libqtsvg4 \ - libqttest4 \ - libqtwebkit4 \ - libqtxml4 \ - qt4-plugin-iconengine-svgicon \ - qt4-plugin-imageformat-gif \ - qt4-plugin-imageformat-ico \ - qt4-plugin-imageformat-jpeg \ - qt4-plugin-imageformat-mng \ - qt4-plugin-imageformat-svg \ - qt4-plugin-imageformat-tga \ - qt4-plugin-imageformat-tiff \ - qt4-plugin-script-dbus \ - qt4-plugin-sqldriver-sqlite \ - qt4-demos \ - qt4-x11-free-systemd \ - qt4-examples \ - qt4-assistant \ - icu \ -" - -IMAGE_INSTALL_append_tegra124 = " \ - libglu \ - mesa-demos \ - freeglut \ - tiff \ - xvinfo \ -" -IMAGE_INSTALL_append_tegra124m = " \ - libglu \ - freeglut \ - tiff \ - xvinfo \ -" -IMAGE_INSTALL_MX6QDL = " \ - packagegroup-fsl-gpu-libs \ - libopencl-imx \ - eglinfo-x11 \ -" -IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL_MX6QDL}" -IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL_MX6QDL}" - -# Packages which might no longer exist -RRECOMMENDS_${PN} += "xserver-xorg-multimedia-modules" - -IMAGE_INSTALL += " \ - ${IMAGE_INSTALL_QT4} \ - \ - xdg-utils \ - \ - libgsf \ - libxres \ - makedevs \ - mime-support \ - xcursor-transparent-theme \ - zeroconf \ - angstrom-packagegroup-boot \ - packagegroup-basic \ - udev-extra-rules \ - ${CONMANPKGS} \ - ${ROOTFS_PKGMANAGE_PKGS} \ - timestamp-service \ - packagegroup-base-extended \ - ${XSERVER} \ - xserver-common \ - xserver-xorg-extension-dbe \ - xserver-xorg-extension-extmod \ - xauth \ - xhost \ - xset \ - setxkbmap \ - \ - xrdb \ - xorg-minimal-fonts xserver-xorg-utils \ - scrot \ - unclutter \ - \ - libxdamage libxvmc libxinerama \ - libxcursor \ - \ - bash \ - \ - ${GSTREAMER} \ - v4l-utils \ - libpcre \ - libpcreposix \ - libxcomposite \ - alsa-states \ -" - -require recipes-images/images/tdx-extra.inc - -IMAGE_DEV_MANAGER = "udev" -IMAGE_INIT_MANAGER = "systemd" -IMAGE_INITSCRIPTS = " " -IMAGE_LOGIN_MANAGER = "busybox shadow" - -inherit core-image diff --git a/recipes-images/images/angstrom-qt5-x11-image.bb b/recipes-images/images/angstrom-qt5-x11-image.bb deleted file mode 100644 index a8e99f1..0000000 --- a/recipes-images/images/angstrom-qt5-x11-image.bb +++ /dev/null @@ -1,224 +0,0 @@ -SUMMARY = "Toradex Embedded Linux Qt5 Demo With X11" -SUMMARY_append_apalis-tk1-mainline = " (Mainline)" -DESCRIPTION = "Angstrom-based image with the Qt5 Framework and the X11 server" - -# after the boot systemd starts X and then a qt5 application, check -# recipes-graphics/x-window-simple-app/x-window-simple-app and -# https://developer.toradex.com/knowledge-base/how-to-autorun-application-at-the-start-up-in-linux#X11_with_One_User_Application -# for how this is done. - -LICENSE = "MIT" - -#start of the resulting deployable tarball name -export IMAGE_BASENAME = "Qt5-X11-Image" -IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}" -IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}" -IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}" -IMAGE_NAME_colibri-vf = "Colibri-VF_${IMAGE_BASENAME}" -IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" - -SYSTEMD_DEFAULT_TARGET = "graphical.target" - -#create the deployment directory-tree -require recipes-images/images/tdx-image-fstype.inc - -inherit populate_sdk populate_sdk_qt5 - -IMAGE_LINGUAS = "en-us" -#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" -#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' - -DISTRO_UPDATE_ALTERNATIVES ??= "" -ROOTFS_PKGMANAGE_PKGS ?= '${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' - -CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-client" - -#don't install some id databases -#BAD_RECOMMENDATIONS_append_colibri-vf = " udev-hwdb cpufrequtils " - -# this would pull in a large amount of gst-plugins, we only add a selected few -# gstreamer1.0-plugins-base-meta -# gstreamer1.0-plugins-good-meta -# gstreamer1.0-plugins-bad-meta -# gst-ffmpeg -GSTREAMER = " \ - gstreamer1.0 \ - gstreamer1.0-plugins-base \ - gstreamer1.0-plugins-base-alsa \ - gstreamer1.0-plugins-base-audioconvert \ - gstreamer1.0-plugins-base-audioresample \ - gstreamer1.0-plugins-base-audiotestsrc \ - gstreamer1.0-plugins-base-typefindfunctions \ - gstreamer1.0-plugins-base-ogg \ - gstreamer1.0-plugins-base-theora \ - gstreamer1.0-plugins-base-videotestsrc \ - gstreamer1.0-plugins-base-vorbis \ - gstreamer1.0-plugins-good-audioparsers \ - gstreamer1.0-plugins-good-autodetect \ - gstreamer1.0-plugins-good-avi \ - gstreamer1.0-plugins-good-deinterlace \ - gstreamer1.0-plugins-good-id3demux \ - gstreamer1.0-plugins-good-isomp4 \ - gstreamer1.0-plugins-good-matroska \ - gstreamer1.0-plugins-good-multifile \ - gstreamer1.0-plugins-good-rtp \ - gstreamer1.0-plugins-good-rtpmanager \ - gstreamer1.0-plugins-good-udp \ - gstreamer1.0-plugins-good-video4linux2 \ - gstreamer1.0-plugins-good-wavenc \ - gstreamer1.0-plugins-good-wavparse \ -" -# No longer available -# gst-plugins-base-decodebin \ -# gst-plugins-base-decodebin2 \ -# gst-plugins-base-playbin \ -# gst-plugins-ugly-asf \ -#" - -GSTREAMER_MX6QDL = " \ - gstreamer1.0-plugins-base-ximagesink \ - gstreamer1.0-plugins-imx \ -" -GSTREAMER_append_mx6q = "${GSTREAMER_MX6QDL}" -GSTREAMER_append_mx6dl = "${GSTREAMER_MX6QDL}" - -GSTREAMER_append_mx7 = " \ - gstreamer1.0-plugins-base-ximagesink \ -" -# No longer available -# gst-plugins-gl \ -# gst-fsl-plugin \ -# - -GSTREAMER_append_tegra124 = " \ - gstreamer1.0-libav \ - gstreamer1.0-plugins-bad-videoparsersbad \ - gstreamer \ - gst-plugins-base \ - gst-plugins-base-alsa \ - gst-plugins-base-audioconvert \ - gst-plugins-base-audioresample \ - gst-plugins-base-audiotestsrc \ - gst-plugins-base-decodebin \ - gst-plugins-base-decodebin2 \ - gst-plugins-base-playbin \ - gst-plugins-base-typefindfunctions \ - gst-plugins-base-ogg \ - gst-plugins-base-theora \ - gst-plugins-base-videotestsrc \ - gst-plugins-base-vorbis \ - gst-plugins-base-ximagesink \ - gst-plugins-base-xvimagesink \ - gst-plugins-good \ - gst-plugins-good-audioparsers \ - gst-plugins-good-autodetect \ - gst-plugins-good-avi \ - gst-plugins-good-deinterlace \ - gst-plugins-good-id3demux \ - gst-plugins-good-isomp4 \ - gst-plugins-good-matroska \ - gst-plugins-good-rtp \ - gst-plugins-good-rtpmanager \ - gst-plugins-good-udp \ - gst-plugins-good-video4linux2 \ - gst-plugins-good-wavenc \ - gst-plugins-good-wavparse \ - libgstcodecparsers-1.0 \ - libgstnvegl \ - libgstomx-0.10 \ - libgstomx-1.0 \ -" -GSTREAMER_colibri-vf = "" - - -IMAGE_INSTALL_QT5 = " \ - packagegroup-qt5 \ - liberation-fonts \ - qtsmarthome \ - x-window-simple-app \ -" - -IMAGE_INSTALL_append_tegra124 = " \ - libglu \ - mesa-demos \ - freeglut \ - tiff \ - xvinfo \ -" -IMAGE_INSTALL_append_tegra124m = " \ - libglu \ - freeglut \ - tiff \ - xvinfo \ -" -IMAGE_INSTALL_MX6QDL = " \ - packagegroup-fsl-gpu-libs \ - libopencl-imx \ - eglinfo-x11 \ -" -IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL_MX6QDL}" -IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL_MX6QDL}" - -# Packages which might no longer exist -RRECOMMENDS_${PN} += "xserver-xorg-multimedia-modules" - -IMAGE_INSTALL += " \ - ${IMAGE_INSTALL_QT5} \ - \ - xdg-utils \ - \ - libgsf \ - libxres \ - makedevs \ - mime-support \ - xcursor-transparent-theme \ - zeroconf \ - angstrom-packagegroup-boot \ - packagegroup-basic \ - udev-extra-rules \ - ${CONMANPKGS} \ - ${ROOTFS_PKGMANAGE_PKGS} \ - timestamp-service \ - packagegroup-base-extended \ - ${XSERVER} \ - xserver-common \ - xserver-xorg-extension-dbe \ - xserver-xorg-extension-extmod \ - xauth \ - xhost \ - xset \ - setxkbmap \ - \ - xserver-nodm-init \ - \ - xrdb \ - xorg-minimal-fonts xserver-xorg-utils \ - scrot \ - unclutter \ - \ - libxdamage libxvmc libxinerama \ - libxcursor \ - \ - bash \ - \ - ${GSTREAMER} \ - v4l-utils \ - libpcre \ - libpcreposix \ - libxcomposite \ - alsa-states \ -" - -require recipes-images/images/tdx-extra.inc - -IMAGE_DEV_MANAGER = "udev" -IMAGE_INIT_MANAGER = "systemd" -IMAGE_INITSCRIPTS = " " -IMAGE_LOGIN_MANAGER = "busybox shadow" - -inherit core-image diff --git a/recipes-images/images/console-tdx-image.bb b/recipes-images/images/console-tdx-image.bb index a9734ab..9da53a2 100644 --- a/recipes-images/images/console-tdx-image.bb +++ b/recipes-images/images/console-tdx-image.bb @@ -1,6 +1,6 @@ SUMMARY = "Toradex Embedded Linux Console Demo" SUMMARY_append_apalis-tk1-mainline = " (Mainline)" -DESCRIPTION = "Angstrom-based image without graphical interface" +DESCRIPTION = "Image without graphical interface" LICENSE = "MIT" @@ -40,7 +40,7 @@ CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-p IMAGE_INSTALL_append_tegra124 = " ${XSERVER} xterm xclock" IMAGE_INSTALL += " \ - angstrom-packagegroup-boot \ + packagegroup-boot \ packagegroup-basic \ udev-extra-rules \ ${CONMANPKGS} \ diff --git a/recipes-images/images/lxde-image.bb b/recipes-images/images/lxde-image.bb new file mode 100644 index 0000000..5118749 --- /dev/null +++ b/recipes-images/images/lxde-image.bb @@ -0,0 +1,251 @@ +SUMMARY = "Toradex Embedded Linux Demo with LXDE" +SUMMARY_append_apalis-tk1-mainline = " (Mainline)" +DESCRIPTION = "Image with the LXDE desktop environment" + +LICENSE = "MIT" + +#start of the resulting deployable tarball name +export IMAGE_BASENAME = "LXDE-Image" +IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}" +IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}" +IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-vf = "Colibri-VF_${IMAGE_BASENAME}" +IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" + +SYSTEMD_DEFAULT_TARGET = "graphical.target" + +#create the deployment directory-tree +require recipes-images/images/tdx-image-fstype.inc + +IMAGE_LINGUAS = "en-us" +#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" +#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-client connman-gnome" + +IMAGE_BROWSER = "firefox" +#keep the rootfs size small +IMAGE_BROWSER_colibri-imx6ull = "" +IMAGE_BROWSER_colibri-vf = "" + +# don't install some packages bloating the vybrid image +BAD_RECOMMENDATIONS_append_colibri-vf = " udev-hwdb cpufrequtils" + +# this would pull in a large amount of gst-plugins, we only add a selected few +# gstreamer1.0-plugins-base-meta +# gstreamer1.0-plugins-good-meta +# gstreamer1.0-plugins-bad-meta +# gst-ffmpeg +GSTREAMER = " \ + gstreamer1.0 \ + gstreamer1.0-plugins-base \ + gstreamer1.0-plugins-base-alsa \ + gstreamer1.0-plugins-base-audioconvert \ + gstreamer1.0-plugins-base-audioresample \ + gstreamer1.0-plugins-base-audiotestsrc \ + gstreamer1.0-plugins-base-typefindfunctions \ + gstreamer1.0-plugins-base-ogg \ + gstreamer1.0-plugins-base-theora \ + gstreamer1.0-plugins-base-videotestsrc \ + gstreamer1.0-plugins-base-vorbis \ + gstreamer1.0-plugins-good-audioparsers \ + gstreamer1.0-plugins-good-autodetect \ + gstreamer1.0-plugins-good-avi \ + gstreamer1.0-plugins-good-deinterlace \ + gstreamer1.0-plugins-good-id3demux \ + gstreamer1.0-plugins-good-isomp4 \ + gstreamer1.0-plugins-good-matroska \ + gstreamer1.0-plugins-good-multifile \ + gstreamer1.0-plugins-good-rtp \ + gstreamer1.0-plugins-good-rtpmanager \ + gstreamer1.0-plugins-good-udp \ + gstreamer1.0-plugins-good-video4linux2 \ + gstreamer1.0-plugins-good-wavenc \ + gstreamer1.0-plugins-good-wavparse \ +" +# No longer available +# gst-plugins-base-decodebin \ +# gst-plugins-base-decodebin2 \ +# gst-plugins-base-playbin \ +# gst-plugins-ugly-asf \ +#" + +GSTREAMER_MX6QDL = " \ + gstreamer1.0-plugins-base-ximagesink \ + gstreamer1.0-plugins-imx \ +" +GSTREAMER_append_mx6q = "${GSTREAMER_MX6QDL}" +GSTREAMER_append_mx6dl = "${GSTREAMER_MX6QDL}" + +GSTREAMER_colibri-imx6ull = "" + +GSTREAMER_append_mx7 = " \ + gstreamer1.0-plugins-base-ximagesink \ + imx-gst1.0-plugin \ +" +# No longer available +# gst-plugins-gl \ +# gst-fsl-plugin \ +# + +GSTREAMER_append_tegra124 = " \ + gstreamer1.0-libav \ + gstreamer1.0-plugins-bad-videoparsersbad \ + gstreamer \ + gst-plugins-base \ + gst-plugins-base-alsa \ + gst-plugins-base-audioconvert \ + gst-plugins-base-audioresample \ + gst-plugins-base-audiotestsrc \ + gst-plugins-base-decodebin \ + gst-plugins-base-decodebin2 \ + gst-plugins-base-playbin \ + gst-plugins-base-typefindfunctions \ + gst-plugins-base-ogg \ + gst-plugins-base-theora \ + gst-plugins-base-videotestsrc \ + gst-plugins-base-vorbis \ + gst-plugins-base-ximagesink \ + gst-plugins-base-xvimagesink \ + gst-plugins-good \ + gst-plugins-good-audioparsers \ + gst-plugins-good-autodetect \ + gst-plugins-good-avi \ + gst-plugins-good-deinterlace \ + gst-plugins-good-id3demux \ + gst-plugins-good-isomp4 \ + gst-plugins-good-matroska \ + gst-plugins-good-rtp \ + gst-plugins-good-rtpmanager \ + gst-plugins-good-udp \ + gst-plugins-good-video4linux2 \ + gst-plugins-good-wavenc \ + gst-plugins-good-wavparse \ + libgstcodecparsers-1.0 \ + libgstnvegl \ + libgstomx-0.10 \ + libgstomx-1.0 \ +" +GSTREAMER_colibri-vf = "" + +IMAGE_INSTALL_append_tegra124 = " \ + gpio-tool \ + gnome-disk-utility \ + libglu \ + mesa-demos \ + freeglut \ + mime-support \ + tiff \ + xvinfo \ + \ +" +IMAGE_INSTALL_append_tegra124m = " \ + gpio-tool \ + gnome-disk-utility \ + libglu \ + mesa-demos \ + freeglut \ + mime-support \ + tiff \ + xvinfo \ + \ +" +IMAGE_INSTALL_MX6QDL = " \ + gpio-tool \ + packagegroup-fsl-gpu-libs \ + libopencl-imx \ + gnome-disk-utility \ + mime-support \ + eglinfo-x11 \ + \ +" +IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL_MX6QDL}" +IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL_MX6QDL}" + +IMAGE_INSTALL_append_mx7 = " \ + gpio-tool \ + gnome-disk-utility \ + mime-support \ +" +IMAGE_INSTALL_append_vf = " \ + gpio-tool \ + xf86-video-modesetting \ +" + +IMAGE_INSTALL_append_colibri-imx6ull = " \ + gpio-tool \ +" + +# Packages which might be empty or no longer available +RRECOMMENDS_${PN} += " \ + xserver-xorg-multimedia-modules \ + xserver-xorg-extension-dbe \ + xserver-xorg-extension-extmod \ +" + +IMAGE_INSTALL += " \ + eject \ + gconf \ + gvfs \ + gvfsd-trash \ + xdg-utils \ + \ + libgsf \ + libxres \ + makedevs \ + xcursor-transparent-theme \ + zeroconf \ + packagegroup-boot \ + packagegroup-basic \ + udev-extra-rules \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + timestamp-service \ + packagegroup-base-extended \ + ${XSERVER} \ + xserver-common \ + xauth \ + xhost \ + xset \ + setxkbmap \ + \ + xrdb \ + xorg-minimal-fonts xserver-xorg-utils \ + scrot \ + unclutter \ + \ + libxdamage libxvmc libxinerama \ + libxcursor \ + \ + bash \ + \ + ${GSTREAMER} \ + v4l-utils \ + libpcre \ + libpcreposix \ + libxcomposite \ + alsa-states \ + ${IMAGE_BROWSER} \ +" +# gnome-vfs \ +# gnome-vfs-plugin-file \ +# florence3 \ +# + +require recipes-images/images/lx.inc +require recipes-images/images/tdx-extra.inc + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "systemd" +IMAGE_INITSCRIPTS = " " +IMAGE_LOGIN_MANAGER = "busybox shadow" + +inherit core-image diff --git a/recipes-images/images/lxqt-image.bb b/recipes-images/images/lxqt-image.bb new file mode 100644 index 0000000..97cac18 --- /dev/null +++ b/recipes-images/images/lxqt-image.bb @@ -0,0 +1,265 @@ +SUMMARY = "Toradex Embedded Linux Demo with LXQT" +SUMMARY_append_apalis-tk1-mainline = " (Mainline)" +DESCRIPTION = "Image with the LXQT desktop environment" + +LICENSE = "MIT" + +#start of the resulting deployable tarball name +export IMAGE_BASENAME = "LXQt-Image" +IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}" +IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}" +IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-vf = "Colibri-VF_${IMAGE_BASENAME}" +IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" + +SYSTEMD_DEFAULT_TARGET = "graphical.target" + +#create the deployment directory-tree +require recipes-images/images/tdx-image-fstype.inc + +inherit populate_sdk populate_sdk_qt5 + +IMAGE_LINGUAS = "en-us" +#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" +#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +# for a more complete configuration tool consider replacing lxqt-connman-applet +# with cmst at the price of a bigger footprint +CONMANPKGS ?= "connman connman-client lxqt-connman-applet" + +IMAGE_BROWSER = "falkon" +#keep the rootfs size small +IMAGE_BROWSER_colibri-imx6ull = "" +IMAGE_BROWSER_colibri-vf = "" + +# don't install some packages bloating the vybrid image +BAD_RECOMMENDATIONS_append_colibri-vf = " udev-hwdb cpufrequtils" + +# this would pull in a large amount of gst-plugins, we only add a selected few +# gstreamer1.0-plugins-base-meta +# gstreamer1.0-plugins-good-meta +# gstreamer1.0-plugins-bad-meta +# gst-ffmpeg +GSTREAMER = " \ + gstreamer1.0 \ + gstreamer1.0-plugins-base \ + gstreamer1.0-plugins-base-alsa \ + gstreamer1.0-plugins-base-audioconvert \ + gstreamer1.0-plugins-base-audioresample \ + gstreamer1.0-plugins-base-audiotestsrc \ + gstreamer1.0-plugins-base-typefindfunctions \ + gstreamer1.0-plugins-base-ogg \ + gstreamer1.0-plugins-base-theora \ + gstreamer1.0-plugins-base-videotestsrc \ + gstreamer1.0-plugins-base-vorbis \ + gstreamer1.0-plugins-good-audioparsers \ + gstreamer1.0-plugins-good-autodetect \ + gstreamer1.0-plugins-good-avi \ + gstreamer1.0-plugins-good-deinterlace \ + gstreamer1.0-plugins-good-id3demux \ + gstreamer1.0-plugins-good-isomp4 \ + gstreamer1.0-plugins-good-matroska \ + gstreamer1.0-plugins-good-multifile \ + gstreamer1.0-plugins-good-rtp \ + gstreamer1.0-plugins-good-rtpmanager \ + gstreamer1.0-plugins-good-udp \ + gstreamer1.0-plugins-good-video4linux2 \ + gstreamer1.0-plugins-good-wavenc \ + gstreamer1.0-plugins-good-wavparse \ +" + +GSTREAMER_MX6QDL = " \ + gstreamer1.0-plugins-base-ximagesink \ + gstreamer1.0-plugins-imx \ +" +GSTREAMER_append_mx6q = "${GSTREAMER_MX6QDL}" +GSTREAMER_append_mx6dl = "${GSTREAMER_MX6QDL}" + +GSTREAMER_colibri-imx6ull = "" + +GSTREAMER_append_mx7 = " \ + gstreamer1.0-plugins-base-ximagesink \ + imx-gst1.0-plugin \ +" + +GSTREAMER_append_tegra124 = " \ + gstreamer1.0-libav \ + gstreamer1.0-plugins-bad-videoparsersbad \ + gstreamer \ + gst-plugins-base \ + gst-plugins-base-alsa \ + gst-plugins-base-audioconvert \ + gst-plugins-base-audioresample \ + gst-plugins-base-audiotestsrc \ + gst-plugins-base-decodebin \ + gst-plugins-base-decodebin2 \ + gst-plugins-base-playbin \ + gst-plugins-base-typefindfunctions \ + gst-plugins-base-ogg \ + gst-plugins-base-theora \ + gst-plugins-base-videotestsrc \ + gst-plugins-base-vorbis \ + gst-plugins-base-ximagesink \ + gst-plugins-base-xvimagesink \ + gst-plugins-good \ + gst-plugins-good-audioparsers \ + gst-plugins-good-autodetect \ + gst-plugins-good-avi \ + gst-plugins-good-deinterlace \ + gst-plugins-good-id3demux \ + gst-plugins-good-isomp4 \ + gst-plugins-good-matroska \ + gst-plugins-good-rtp \ + gst-plugins-good-rtpmanager \ + gst-plugins-good-udp \ + gst-plugins-good-video4linux2 \ + gst-plugins-good-wavenc \ + gst-plugins-good-wavparse \ + libgstcodecparsers-1.0 \ + libgstnvegl \ + libgstomx-0.10 \ + libgstomx-1.0 \ +" +GSTREAMER_colibri-vf = "" + +IMAGE_INSTALL_append_tegra124 = " \ + libglu \ + mesa-demos \ + freeglut \ + mime-support \ + tiff \ + xvinfo \ +" +IMAGE_INSTALL_append_tegra124m = " \ + libglu \ + mesa-demos \ + freeglut \ + mime-support \ + tiff \ + xvinfo \ +" +IMAGE_INSTALL_MX6QDL = " \ + packagegroup-fsl-gpu-libs \ + mime-support \ + eglinfo-x11 \ +" +IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL_MX6QDL}" +IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL_MX6QDL}" + +IMAGE_INSTALL_append_mx7 = " \ + mime-support \ +" +IMAGE_INSTALL_append_vf = " \ + xf86-video-modesetting \ +" + +# Packages which might be empty or no longer available +RRECOMMENDS_${PN} += " \ + xserver-xorg-multimedia-modules \ + xserver-xorg-extension-dbe \ + xserver-xorg-extension-extmod \ +" + +# deploy these unconditionally, so that they are there for development/debugging +# for a final image this is unnedded and the applications will pull in whatever needed +# through their RRECOMMENDS + +# check the licensing at http://doc.qt.io/qt-5/licensing.html +QT5_LIBS ?= " \ + qt3d \ + qt5-plugin-generic-vboxtouch \ + qtbase \ + qtcanvas3d \ + qtconnectivity \ + qtdeclarative \ + qtenginio \ + qtgraphicaleffects \ + qtimageformats \ + qtlocation \ + qtmultimedia \ + qtquickcontrols2 \ + qtquickcontrols \ + qtscript \ + qtsensors \ + qtserialport \ + qtsvg \ + qtsystems \ + qttools \ + qttranslations \ + qtwebchannel \ + qtwebkit-examples \ + qtwebkit \ + qtwebsockets \ + qtxmlpatterns \ +" +QT5_LIBS_GPLv3 ?= " \ + qtcharts \ + qtdatavis3d \ + qtvirtualkeyboard \ +" + +IMAGE_INSTALL += " \ + eject \ + gvfs \ + gvfsd-trash \ + xdg-utils \ + \ + libgsf \ + libxres \ + makedevs \ + xcursor-transparent-theme \ + zeroconf \ + packagegroup-boot \ + packagegroup-basic \ + udev-extra-rules \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + timestamp-service \ + packagegroup-base-extended \ + ${XSERVER} \ + xserver-common \ + xauth \ + xhost \ + xset \ + setxkbmap \ + \ + xrdb \ + xorg-minimal-fonts xserver-xorg-utils \ + scrot \ + unclutter \ + \ + libxdamage libxvmc libxinerama \ + libxcursor \ + \ + bash \ + \ + ${GSTREAMER} \ + v4l-utils \ + libpcre \ + libpcreposix \ + libxcomposite \ + alsa-states \ + ${IMAGE_BROWSER} \ + sddm \ + ${QT5_LIBS} \ + ${QT5_LIBS_GPLv3} \ + packagegroup-lxqt-base \ + qedit \ + liberation-fonts \ +" +require recipes-images/images/tdx-extra.inc + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "systemd" +IMAGE_INITSCRIPTS = " " +IMAGE_LOGIN_MANAGER = "busybox shadow" + +inherit core-image diff --git a/recipes-images/images/qt-x11-image.bb b/recipes-images/images/qt-x11-image.bb new file mode 100644 index 0000000..fcc3b5e --- /dev/null +++ b/recipes-images/images/qt-x11-image.bb @@ -0,0 +1,243 @@ +SUMMARY = "Toradex Embedded Linux Qt4 Demo With X11" +SUMMARY_append_apalis-tk1-mainline = " (Mainline)" +DESCRIPTION = "Image with the Qt4 Framework and the X11 server" + +LICENSE = "MIT" + +#start of the resulting deployable tarball name +export IMAGE_BASENAME = "Qt4-X11-Image" +IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}" +IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}" +IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-vf = "Colibri-VF_${IMAGE_BASENAME}" +IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" + +SYSTEMD_DEFAULT_TARGET = "graphical.target" + +#create the deployment directory-tree +require recipes-images/images/tdx-image-fstype.inc + +IMAGE_LINGUAS = "en-us" +#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" +#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-client" + +#don't install some id databases +#BAD_RECOMMENDATIONS_append_colibri-vf = " udev-hwdb cpufrequtils " + +# this would pull in a large amount of gst-plugins, we only add a selected few +# gstreamer1.0-plugins-base-meta +# gstreamer1.0-plugins-good-meta +# gstreamer1.0-plugins-bad-meta +# gst-ffmpeg +GSTREAMER = " \ + gstreamer1.0 \ + gstreamer1.0-plugins-base \ + gstreamer1.0-plugins-base-alsa \ + gstreamer1.0-plugins-base-audioconvert \ + gstreamer1.0-plugins-base-audioresample \ + gstreamer1.0-plugins-base-audiotestsrc \ + gstreamer1.0-plugins-base-typefindfunctions \ + gstreamer1.0-plugins-base-ogg \ + gstreamer1.0-plugins-base-theora \ + gstreamer1.0-plugins-base-videotestsrc \ + gstreamer1.0-plugins-base-vorbis \ + gstreamer1.0-plugins-good-audioparsers \ + gstreamer1.0-plugins-good-autodetect \ + gstreamer1.0-plugins-good-avi \ + gstreamer1.0-plugins-good-deinterlace \ + gstreamer1.0-plugins-good-id3demux \ + gstreamer1.0-plugins-good-isomp4 \ + gstreamer1.0-plugins-good-matroska \ + gstreamer1.0-plugins-good-multifile \ + gstreamer1.0-plugins-good-rtp \ + gstreamer1.0-plugins-good-rtpmanager \ + gstreamer1.0-plugins-good-udp \ + gstreamer1.0-plugins-good-video4linux2 \ + gstreamer1.0-plugins-good-wavenc \ + gstreamer1.0-plugins-good-wavparse \ +" +# No longer available +# gst-plugins-base-decodebin \ +# gst-plugins-base-decodebin2 \ +# gst-plugins-base-playbin \ +# gst-plugins-ugly-asf \ +#" + +GSTREAMER_MX6QDL = " \ + gstreamer1.0-plugins-base-ximagesink \ + gstreamer1.0-plugins-imx \ +" +GSTREAMER_append_mx6q = "${GSTREAMER_MX6QDL}" +GSTREAMER_append_mx6dl = "${GSTREAMER_MX6QDL}" + +GSTREAMER_append_mx7 = " \ + gstreamer1.0-plugins-base-ximagesink \ +" +# No longer available +# gst-plugins-gl \ +# gst-fsl-plugin \ +# + +GSTREAMER_append_tegra124 = " \ + gstreamer1.0-libav \ + gstreamer1.0-plugins-bad-videoparsersbad \ + gstreamer \ + gst-plugins-base \ + gst-plugins-base-alsa \ + gst-plugins-base-audioconvert \ + gst-plugins-base-audioresample \ + gst-plugins-base-audiotestsrc \ + gst-plugins-base-decodebin \ + gst-plugins-base-decodebin2 \ + gst-plugins-base-playbin \ + gst-plugins-base-typefindfunctions \ + gst-plugins-base-ogg \ + gst-plugins-base-theora \ + gst-plugins-base-videotestsrc \ + gst-plugins-base-vorbis \ + gst-plugins-base-ximagesink \ + gst-plugins-base-xvimagesink \ + gst-plugins-good \ + gst-plugins-good-audioparsers \ + gst-plugins-good-autodetect \ + gst-plugins-good-avi \ + gst-plugins-good-deinterlace \ + gst-plugins-good-id3demux \ + gst-plugins-good-isomp4 \ + gst-plugins-good-matroska \ + gst-plugins-good-rtp \ + gst-plugins-good-rtpmanager \ + gst-plugins-good-udp \ + gst-plugins-good-video4linux2 \ + gst-plugins-good-wavenc \ + gst-plugins-good-wavparse \ + libgstcodecparsers-1.0 \ + libgstnvegl \ + libgstomx-0.10 \ + libgstomx-1.0 \ +" +GSTREAMER_colibri-vf = "" + + +IMAGE_INSTALL_QT4 = " \ + qt4-x11-free \ + qt4-xmlpatterns \ + libqt3support4 \ + libqtclucene4 \ + libqtcore4 \ + libqtdbus4 \ + libqtgui4 \ + libqthelp4 \ + libqtmultimedia4 \ + libqtnetwork4 \ + libqtscript4 \ + libqtscripttools4 \ + libqtsql4 \ + libqtsvg4 \ + libqttest4 \ + libqtwebkit4 \ + libqtxml4 \ + qt4-plugin-iconengine-svgicon \ + qt4-plugin-imageformat-gif \ + qt4-plugin-imageformat-ico \ + qt4-plugin-imageformat-jpeg \ + qt4-plugin-imageformat-mng \ + qt4-plugin-imageformat-svg \ + qt4-plugin-imageformat-tga \ + qt4-plugin-imageformat-tiff \ + qt4-plugin-script-dbus \ + qt4-plugin-sqldriver-sqlite \ + qt4-demos \ + qt4-x11-free-systemd \ + qt4-examples \ + qt4-assistant \ + icu \ +" + +IMAGE_INSTALL_append_tegra124 = " \ + libglu \ + mesa-demos \ + freeglut \ + tiff \ + xvinfo \ +" +IMAGE_INSTALL_append_tegra124m = " \ + libglu \ + freeglut \ + tiff \ + xvinfo \ +" +IMAGE_INSTALL_MX6QDL = " \ + packagegroup-fsl-gpu-libs \ + libopencl-imx \ + eglinfo-x11 \ +" +IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL_MX6QDL}" +IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL_MX6QDL}" + +# Packages which might no longer exist +RRECOMMENDS_${PN} += "xserver-xorg-multimedia-modules" + +IMAGE_INSTALL += " \ + ${IMAGE_INSTALL_QT4} \ + \ + xdg-utils \ + \ + libgsf \ + libxres \ + makedevs \ + mime-support \ + xcursor-transparent-theme \ + zeroconf \ + packagegroup-boot \ + packagegroup-basic \ + udev-extra-rules \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + timestamp-service \ + packagegroup-base-extended \ + ${XSERVER} \ + xserver-common \ + xserver-xorg-extension-dbe \ + xserver-xorg-extension-extmod \ + xauth \ + xhost \ + xset \ + setxkbmap \ + \ + xrdb \ + xorg-minimal-fonts xserver-xorg-utils \ + scrot \ + unclutter \ + \ + libxdamage libxvmc libxinerama \ + libxcursor \ + \ + bash \ + \ + ${GSTREAMER} \ + v4l-utils \ + libpcre \ + libpcreposix \ + libxcomposite \ + alsa-states \ +" + +require recipes-images/images/tdx-extra.inc + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "systemd" +IMAGE_INITSCRIPTS = " " +IMAGE_LOGIN_MANAGER = "busybox shadow" + +inherit core-image diff --git a/recipes-images/images/qt4e-demo-image.bb b/recipes-images/images/qt4e-demo-image.bb index 7a2270f..2c757c2 100644 --- a/recipes-images/images/qt4e-demo-image.bb +++ b/recipes-images/images/qt4e-demo-image.bb @@ -37,7 +37,7 @@ IMAGE_INSTALL += " \ mime-support \ zeroconf \ fbset \ - angstrom-packagegroup-boot \ + packagegroup-boot \ packagegroup-basic \ udev-extra-rules \ ${CONMANPKGS} \ diff --git a/recipes-images/images/qt5-x11-image.bb b/recipes-images/images/qt5-x11-image.bb new file mode 100644 index 0000000..d1b1cde --- /dev/null +++ b/recipes-images/images/qt5-x11-image.bb @@ -0,0 +1,224 @@ +SUMMARY = "Toradex Embedded Linux Qt5 Demo With X11" +SUMMARY_append_apalis-tk1-mainline = " (Mainline)" +DESCRIPTION = "Image with the Qt5 Framework and the X11 server" + +# after the boot systemd starts X and then a qt5 application, check +# recipes-graphics/x-window-simple-app/x-window-simple-app and +# https://developer.toradex.com/knowledge-base/how-to-autorun-application-at-the-start-up-in-linux#X11_with_One_User_Application +# for how this is done. + +LICENSE = "MIT" + +#start of the resulting deployable tarball name +export IMAGE_BASENAME = "Qt5-X11-Image" +IMAGE_NAME_apalis-imx6 = "Apalis-iMX6_${IMAGE_BASENAME}" +IMAGE_NAME_apalis-tk1 = "Apalis-TK1_${IMAGE_BASENAME}" +IMAGE_NAME_apalis-tk1-mainline = "Apalis-TK1-Mainline_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx6 = "Colibri-iMX6_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx6ull = "Colibri-iMX6ULL_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx7 = "Colibri-iMX7_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-imx7-emmc = "Colibri-iMX7-eMMC_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-pxa = "Colibri-PXA_${IMAGE_BASENAME}" +IMAGE_NAME_colibri-vf = "Colibri-VF_${IMAGE_BASENAME}" +IMAGE_NAME = "${MACHINE}_${IMAGE_BASENAME}" + +SYSTEMD_DEFAULT_TARGET = "graphical.target" + +#create the deployment directory-tree +require recipes-images/images/tdx-image-fstype.inc + +inherit populate_sdk populate_sdk_qt5 + +IMAGE_LINGUAS = "en-us" +#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" +#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@oe.utils.conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-client" + +#don't install some id databases +#BAD_RECOMMENDATIONS_append_colibri-vf = " udev-hwdb cpufrequtils " + +# this would pull in a large amount of gst-plugins, we only add a selected few +# gstreamer1.0-plugins-base-meta +# gstreamer1.0-plugins-good-meta +# gstreamer1.0-plugins-bad-meta +# gst-ffmpeg +GSTREAMER = " \ + gstreamer1.0 \ + gstreamer1.0-plugins-base \ + gstreamer1.0-plugins-base-alsa \ + gstreamer1.0-plugins-base-audioconvert \ + gstreamer1.0-plugins-base-audioresample \ + gstreamer1.0-plugins-base-audiotestsrc \ + gstreamer1.0-plugins-base-typefindfunctions \ + gstreamer1.0-plugins-base-ogg \ + gstreamer1.0-plugins-base-theora \ + gstreamer1.0-plugins-base-videotestsrc \ + gstreamer1.0-plugins-base-vorbis \ + gstreamer1.0-plugins-good-audioparsers \ + gstreamer1.0-plugins-good-autodetect \ + gstreamer1.0-plugins-good-avi \ + gstreamer1.0-plugins-good-deinterlace \ + gstreamer1.0-plugins-good-id3demux \ + gstreamer1.0-plugins-good-isomp4 \ + gstreamer1.0-plugins-good-matroska \ + gstreamer1.0-plugins-good-multifile \ + gstreamer1.0-plugins-good-rtp \ + gstreamer1.0-plugins-good-rtpmanager \ + gstreamer1.0-plugins-good-udp \ + gstreamer1.0-plugins-good-video4linux2 \ + gstreamer1.0-plugins-good-wavenc \ + gstreamer1.0-plugins-good-wavparse \ +" +# No longer available +# gst-plugins-base-decodebin \ +# gst-plugins-base-decodebin2 \ +# gst-plugins-base-playbin \ +# gst-plugins-ugly-asf \ +#" + +GSTREAMER_MX6QDL = " \ + gstreamer1.0-plugins-base-ximagesink \ + gstreamer1.0-plugins-imx \ +" +GSTREAMER_append_mx6q = "${GSTREAMER_MX6QDL}" +GSTREAMER_append_mx6dl = "${GSTREAMER_MX6QDL}" + +GSTREAMER_append_mx7 = " \ + gstreamer1.0-plugins-base-ximagesink \ +" +# No longer available +# gst-plugins-gl \ +# gst-fsl-plugin \ +# + +GSTREAMER_append_tegra124 = " \ + gstreamer1.0-libav \ + gstreamer1.0-plugins-bad-videoparsersbad \ + gstreamer \ + gst-plugins-base \ + gst-plugins-base-alsa \ + gst-plugins-base-audioconvert \ + gst-plugins-base-audioresample \ + gst-plugins-base-audiotestsrc \ + gst-plugins-base-decodebin \ + gst-plugins-base-decodebin2 \ + gst-plugins-base-playbin \ + gst-plugins-base-typefindfunctions \ + gst-plugins-base-ogg \ + gst-plugins-base-theora \ + gst-plugins-base-videotestsrc \ + gst-plugins-base-vorbis \ + gst-plugins-base-ximagesink \ + gst-plugins-base-xvimagesink \ + gst-plugins-good \ + gst-plugins-good-audioparsers \ + gst-plugins-good-autodetect \ + gst-plugins-good-avi \ + gst-plugins-good-deinterlace \ + gst-plugins-good-id3demux \ + gst-plugins-good-isomp4 \ + gst-plugins-good-matroska \ + gst-plugins-good-rtp \ + gst-plugins-good-rtpmanager \ + gst-plugins-good-udp \ + gst-plugins-good-video4linux2 \ + gst-plugins-good-wavenc \ + gst-plugins-good-wavparse \ + libgstcodecparsers-1.0 \ + libgstnvegl \ + libgstomx-0.10 \ + libgstomx-1.0 \ +" +GSTREAMER_colibri-vf = "" + + +IMAGE_INSTALL_QT5 = " \ + packagegroup-qt5 \ + liberation-fonts \ + qtsmarthome \ + x-window-simple-app \ +" + +IMAGE_INSTALL_append_tegra124 = " \ + libglu \ + mesa-demos \ + freeglut \ + tiff \ + xvinfo \ +" +IMAGE_INSTALL_append_tegra124m = " \ + libglu \ + freeglut \ + tiff \ + xvinfo \ +" +IMAGE_INSTALL_MX6QDL = " \ + packagegroup-fsl-gpu-libs \ + libopencl-imx \ + eglinfo-x11 \ +" +IMAGE_INSTALL_append_mx6q = "${IMAGE_INSTALL_MX6QDL}" +IMAGE_INSTALL_append_mx6dl = "${IMAGE_INSTALL_MX6QDL}" + +# Packages which might no longer exist +RRECOMMENDS_${PN} += "xserver-xorg-multimedia-modules" + +IMAGE_INSTALL += " \ + ${IMAGE_INSTALL_QT5} \ + \ + xdg-utils \ + \ + libgsf \ + libxres \ + makedevs \ + mime-support \ + xcursor-transparent-theme \ + zeroconf \ + packagegroup-boot \ + packagegroup-basic \ + udev-extra-rules \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + timestamp-service \ + packagegroup-base-extended \ + ${XSERVER} \ + xserver-common \ + xserver-xorg-extension-dbe \ + xserver-xorg-extension-extmod \ + xauth \ + xhost \ + xset \ + setxkbmap \ + \ + xserver-nodm-init \ + \ + xrdb \ + xorg-minimal-fonts xserver-xorg-utils \ + scrot \ + unclutter \ + \ + libxdamage libxvmc libxinerama \ + libxcursor \ + \ + bash \ + \ + ${GSTREAMER} \ + v4l-utils \ + libpcre \ + libpcreposix \ + libxcomposite \ + alsa-states \ +" + +require recipes-images/images/tdx-extra.inc + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "systemd" +IMAGE_INITSCRIPTS = " " +IMAGE_LOGIN_MANAGER = "busybox shadow" + +inherit core-image -- cgit v1.2.3