matrix-demos: Recipes for Matrix demos for keystone 2 platforms
PATCH 1/1 matrix-demos: Recipes for Matrix demos for keystone 2 platforms
- Recipes bring images and menus needed for keystone2 demos
--- .../matrix/matrix-gui-apps-ks2-git.inc | 13 +++++ .../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19 ++++++++ .../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51 ++++++++++++++++++++ .../matrix/matrix-gui-demos-demos_2.0.bb | 18 +++++++ .../matrix/matrix-gui-submenus-ks2_2.0.bb | 38 +++++++++++++++ .../matrix/matrix-gui-utility-demos_2.0.bb | 18 +++++++ 6 files changed, 157 insertions(+) create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2-git.inc create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2-images_2.0.bb create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-gui-demos-demos_2.0.bb create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-gui-submenus-ks2_2.0.bb create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-gui-utility-demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2-git.inc new file +13 -0
@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9" +LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}" +INC_PR = "r0" + +# Pull in the base package for installing matrix applications +require matrix-gui-apps-ks2.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file +19 -0
@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applications for Keystone II" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git" +LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +51 -0
51 lines not on this page · raw message
meta-arago-extras/recipes-core/matrix/matrix-gui-demos-demos_2.0.bb new file +18 -0
@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git" +LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed. Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui-submenus-ks2-demos" + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus-ks2_2.0.bb new file +38 -0
@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for Keystone II" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git" +LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we need to +# reset the LIC_FILES_CHKSUM setting from the matrix-gui-apps-git.inc file +LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9" + +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are not architecture specific +inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility-demos_2.0.bb new file +18 -0
@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git" +LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed. Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui-submenus-ks2-utility" + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"
Signature · 1 line
1.7.9.5
Maupin, Chase
NAKQuoted 9 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platforms- Recipes bring images and menus needed for keystone2 demos
NAK
These should be pushed to the shared matrix repositories. There is no reason to duplicate all these recipes and include files. The purpose of matrix being modular is to enable you to share and not fork. If you add these to the shared repo then you can create simple recipes to package you individual demos and install those for ks2 devices. Please refer to how this is done for other devices.
As a side note, if you were going to do tis you should break this up into separate patches for the different recipes, not one mega patch adding everything. Also, you have recipes like matrix-gui-demos-demos which doesn't seem right.
Quoted 263 lines
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13 +++++ .../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19 ++++++++ .../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51 ++++++++++++++++++++ .../matrix/matrix-gui-demos-demos_2.0.bb | 18 +++++++ .../matrix/matrix-gui-submenus-ks2_2.0.bb | 38 +++++++++++++++ .../matrix/matrix-gui-utility-demos_2.0.bb | 18 +++++++ 6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-utility-demos_2.0.bb(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +0
-0git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +9
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9" +LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +4
-0+INC_PR = "r0" + +# Pull in the base package for installing matrix applications +require matrix-gui-apps-ks2.inc(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +0
-0images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applications forKeystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +17
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-gui- apps-ks2.inc
new file mode 100755
index 0000000..fb3c866meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that will lookin the
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +17
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir} +do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"` + + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name "*.desktop"` + for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +9
-0+ done + + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgi + do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin + install -m 0755 ${MATRIX_FILES_DIR}/$c${D}${MATRIX_APP_DIR}/$c
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +7
-0+ done + done + + # Go back to the directory we started from in case there are + # other appends. + cd - +}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix- gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +0
-0ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +7
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we need to +# reset the LIC_FILES_CHKSUM setting from the matrix-gui-apps-git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are not architecturespecific
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 10 lines · Chase
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platforms- Recipes bring images and menus needed for keystone2 demos
Quoted 8 lines
NAK
These should be pushed to the shared matrix repositories. There is no reason to duplicate all these recipes and include files. The purpose of matrix being modular is to enable you to share and not fork. If you add these to the shared repo then you can create simple recipes to package you individual demos and install those for ks2 devices. Please refer to how this is done for other devices.
I don't get it. Specifically due to matrix being modular, it should be possible to have additional demos in separate repositories - the way it's done here. And the corresponding recipes that pull from those additional repositories and package them up for matrix to use. I don't see this as being a fork, I see this as being an out-of-tree extenstion. Getting those extensions in to the main tree has some benefits, but reduces control...
Quoted 272 lines
As a side note, if you were going to do tis you should break this up into separate patches for the different recipes, not one mega patch adding everything. Also, you have recipes like matrix-gui-demos-demos which doesn't seem right.
Quoted 259 lines
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13 +++++ .../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19 ++++++++ .../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51 ++++++++++++++++++++ .../matrix/matrix-gui-demos-demos_2.0.bb | 18 +++++++ .../matrix/matrix-gui-submenus-ks2_2.0.bb | 38 +++++++++++++++ .../matrix/matrix-gui-utility-demos_2.0.bb | 18 +++++++ 6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-utility-demos_2.0.bb(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +0
-0git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +9
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9" +LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +4
-0+INC_PR = "r0" + +# Pull in the base package for installing matrix applications +require matrix-gui-apps-ks2.inc(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +0
-0images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applications forKeystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +17
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-gui- apps-ks2.inc
new file mode 100755
index 0000000..fb3c866meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that will lookin the
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +17
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir} +do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"` + + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name "*.desktop"` + for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +9
-0+ done + + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgi + do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin + install -m 0755 ${MATRIX_FILES_DIR}/$c${D}${MATRIX_APP_DIR}/$c
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +7
-0+ done + done + + # Go back to the directory we started from in case there are + # other appends. + cd - +}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix- gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +0
-0ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +7
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we need to +# reset the LIC_FILES_CHKSUM setting from the matrix-gui-apps-git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are not architecturespecific
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 33 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, March 17, 2014 1:49 PM
To: Maupin, Chase
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 8 lines · Chase
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 5 lines
Quoted 1 line
- Recipes bring images and menus needed for keystone2 demos
NAK
These should be pushed to the shared matrix repositories. There
is no
Quoted 1 line
reason to duplicate all these recipes and include files. The
purpose of
Quoted 1 line
matrix being modular is to enable you to share and not fork. If
you add
Quoted 1 line
these to the shared repo then you can create simple recipes to
package you
Quoted 1 line
individual demos and install those for ks2 devices. Please
refer to how
Quoted 1 line
this is done for other devices.
Quoted 12 lines
I don't get it. Specifically due to matrix being modular, it should be
possible to have additional demos in separate repositories - the way it's
done here. And the corresponding recipes that pull from those additional
repositories and package them up for matrix to use. I don't see this as being
a fork, I see this as being an out-of-tree extenstion. Getting those
extensions in to the main tree has some benefits, but reduces control...
It also tends to reduce re-use. I think it is first worth looking into adding to the shared repo first.
Also, even if you want an external repo for additions it seems strange that the .inc files needed to be copied as well. For example:
Matrix-gui-apps-ks2-git.inc is almost a direct copy of matrix-gui-apps-git.inc with the SRC_URI and SRCREV changed. At a mimimum why not inherit matrix-gui-apps-git.inc and change those few settings for your demos, images, submenu, etc recipes to inherit.
For matrix-gui-apps-ks2.inc there are also a few changes that could either be common or look wrong and don't match the comments above the install function. I'll send some additional feedback on that section. The main changes I see are:
1. changing the .sh scripts to be installed into the ${MATRIX_APP_DIR}/$appdir/ directory instead of ${bindir}. This is contrary to all other matrix apps.
2. there seem to be .cgi files added and they are being installed into the root of the ${MATRIX_APP_DIR} even though the directory ${MATRIX_APP_DIR}/$appdir/cgi-bin was created.
These changed could be rolled into the generic .inc instead of forking.
Quoted 299 lines
Quoted 3 lines
As a side note, if you were going to do tis you should break
this up into
Quoted 1 line
separate patches for the different recipes, not one mega patch
adding
Quoted 1 line
everything. Also, you have recipes like matrix-gui-demos-demos
which
Quoted 6 lines
doesn't seem right.
Quoted 4 lines
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13+++++
Quoted 5 lines
Quoted 5 lines
.../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19
++++++++
.../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51
++++++++++++++++++++
.../matrix/matrix-gui-demos-demos_2.0.bb | 18+++++++
Quoted 3 lines
Quoted 3 lines
.../matrix/matrix-gui-submenus-ks2_2.0.bb | 38
+++++++++++++++
.../matrix/matrix-gui-utility-demos_2.0.bb | 18+++++++
Quoted 2 lines
Quoted 2 lines
6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 4 lines
Quoted 4 lines
gui-utility-demos_2.0.bb
(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 5 lines
gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 3
Quoted 5 lines
git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM ="LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
Quoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0+INC_PR = "r0" + +# Pull in the base package for installing matrix applicationsQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0+require matrix-gui-apps-ks2.inc(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 3 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 1
Quoted 3 lines
images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applicationsfor
Quoted 14 lines
Quoted 14 lines
Keystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +11
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" +Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-
gui-
Quoted 4 lines
Quoted 4 lines
apps-ks2.inc
new file mode 100755
index 0000000..fb3c866
---/dev/nullQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc line 5
Quoted 8 lines
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps- ks2.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that willlook
Quoted 7 lines
Quoted 7 lines
in the
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir} +do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"`Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +8
-0+ + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name"*.desktop"`
Quoted 25 lines
Quoted 25 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+ done + + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgiQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin + install -m 0755 ${MATRIX_FILES_DIR}/$c${D}${MATRIX_APP_DIR}/$c
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +4
-0+ done + done + + # Go back to the directory we started from in case thereare
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ # other appends. + cd - +}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 27 lines
Quoted 27 lines
gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
+Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +1
-0+FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui- new file +0
-0submenus-
Quoted 4 lines
Quoted 4 lines
ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +6
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we needto
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+# reset the
LIC_FILES_CHKSUMsetting from the matrix-gui-apps- git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are notarchitecture
Quoted 66 lines
Quoted 58 lines
specific
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 46 lines · Chase
Quoted 33 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, March 17, 2014 1:49 PM
To: Maupin, Chase
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 8 lines · Chase
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 5 lines
Quoted 1 line
- Recipes bring images and menus needed for keystone2 demos
NAK
These should be pushed to the shared matrix repositories. There
is no
Quoted 1 line
reason to duplicate all these recipes and include files. The
purpose of
Quoted 1 line
matrix being modular is to enable you to share and not fork. If
you add
Quoted 1 line
these to the shared repo then you can create simple recipes to
package you
Quoted 1 line
individual demos and install those for ks2 devices. Please
refer to how
Quoted 1 line
this is done for other devices.
Quoted 12 lines
I don't get it. Specifically due to matrix being modular, it should be
possible to have additional demos in separate repositories - the way it's
done here. And the corresponding recipes that pull from those additional
repositories and package them up for matrix to use. I don't see this as being
a fork, I see this as being an out-of-tree extenstion. Getting those
extensions in to the main tree has some benefits, but reduces control...
Quoted 2 lines
It also tends to reduce re-use. I think it is first worth looking into adding to the shared repo first.
Then we should outline the process to get 3rd-party changes to the matrix repositories (patches, pull requests). Is Franklin the current owner?
Quoted 2 lines
Also, even if you want an external repo for additions it seems strange that the .inc files needed to be copied as well. For example:
Indeed, I was not commenting on the recipes themselves, but on the method to add additional functionality to the matrix. Recipes do require more work.
Quoted 317 lines
Matrix-gui-apps-ks2-git.inc is almost a direct copy of matrix-gui-apps-git.inc with the
SRC_URIand SRCREV changed. At a mimimum why not inherit matrix-gui-apps-git.inc and change those few settings for your demos, images, submenu, etc recipes to inherit.For matrix-gui-apps-ks2.inc there are also a few changes that could either be common or look wrong and don't match the comments above the install function. I'll send some additional feedback on that section. The main changes I see are:
1. changing the .sh scripts to be installed into the ${MATRIX_APP_DIR}/$appdir/ directory instead of ${bindir}. This is contrary to all other matrix apps. 2. there seem to be .cgi files added and they are being installed into the root of the ${MATRIX_APP_DIR} even though the directory ${MATRIX_APP_DIR}/$appdir/cgi-bin was created.These changed could be rolled into the generic .inc instead of forking.
Quoted 299 lines
Quoted 3 lines
As a side note, if you were going to do tis you should break
this up into
Quoted 1 line
separate patches for the different recipes, not one mega patch
adding
Quoted 1 line
everything. Also, you have recipes like matrix-gui-demos-demos
which
Quoted 6 lines
doesn't seem right.
Quoted 4 lines
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13+++++
Quoted 5 lines
Quoted 5 lines
.../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19
++++++++
.../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51
++++++++++++++++++++
.../matrix/matrix-gui-demos-demos_2.0.bb | 18+++++++
Quoted 3 lines
Quoted 3 lines
.../matrix/matrix-gui-submenus-ks2_2.0.bb | 38
+++++++++++++++
.../matrix/matrix-gui-utility-demos_2.0.bb | 18+++++++
Quoted 2 lines
Quoted 2 lines
6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 4 lines
Quoted 4 lines
gui-utility-demos_2.0.bb
(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 5 lines
gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 3
Quoted 5 lines
git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM ="LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
Quoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0+INC_PR = "r0" + +# Pull in the base package for installing matrix applicationsQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0+require matrix-gui-apps-ks2.inc(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 3 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 1
Quoted 3 lines
images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applicationsfor
Quoted 14 lines
Quoted 14 lines
Keystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +11
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" +Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-
gui-
Quoted 4 lines
Quoted 4 lines
apps-ks2.inc
new file mode 100755
index 0000000..fb3c866
---/dev/nullQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc line 5
Quoted 8 lines
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps- ks2.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that willlook
Quoted 7 lines
Quoted 7 lines
in the
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir} +do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"`Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +8
-0+ + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name"*.desktop"`
Quoted 25 lines
Quoted 25 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+ done + + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgiQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin + install -m 0755 ${MATRIX_FILES_DIR}/$c${D}${MATRIX_APP_DIR}/$c
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +4
-0+ done + done + + # Go back to the directory we started from in case thereare
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ # other appends. + cd - +}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 27 lines
Quoted 27 lines
gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
+Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +1
-0+FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui- new file +0
-0submenus-
Quoted 4 lines
Quoted 4 lines
ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +6
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we needto
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+# reset the
LIC_FILES_CHKSUMsetting from the matrix-gui-apps- git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are notarchitecture
Quoted 66 lines
Quoted 58 lines
specific
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 53 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platforms- Recipes bring images and menus needed for keystone2 demos
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13 +++++ .../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19 ++++++++ .../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51 ++++++++++++++++++++ .../matrix/matrix-gui-demos-demos_2.0.bb | 18 +++++++ .../matrix/matrix-gui-submenus-ks2_2.0.bb | 38 +++++++++++++++ .../matrix/matrix-gui-utility-demos_2.0.bb | 18 +++++++ 6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix- gui-utility-demos_2.0.bb(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-core/matrix/matrix- gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +0
-0git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +9
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9" +LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-
Quoted 2 lines
apps.git;protocol=git;branch=${BRANCH}"
+INC_PR = "r0"
Why not re-use matrix-gui-apps-git.inc for most of this file and change only the SRCREV and SRC_URI settings?
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2-
Quoted 3 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +3
-0+ +# Pull in the base package for installing matrix applications +require matrix-gui-apps-ks2.inc
Re-use the matrix-gui-apps.inc file. See comments below.
Quoted 45 lines
(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +0
-0images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applications forKeystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2- new file +17
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-gui- apps-ks2.inc
new file mode 100755
index 0000000..fb3c866meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that will lookin the
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 3 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir}
These comments do not match the function below.
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 11 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +11
-0+do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"` + + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name "*.desktop"`
Isn't the .desktop file already known as $app at this point?
Quoted 18 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0+ for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s
Quoted 2 lines
${D}${MATRIX_APP_DIR}/$appdir/
+ done
Why change these from being installed in ${bindir} like other matrix app helper scripts? This way user's can easily run the scripts as they are already in the PATH.
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 7 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +7
-0+ + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgi + do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin
Why create this directory and not use it?
Quoted 2 lines
+ install -m 0755 ${MATRIX_FILES_DIR}/$c
${D}${MATRIX_APP_DIR}/$c
Is this the right place for your cgi files?
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 6 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+ done + done + + # Go back to the directory we started from in case there are + # other appends. + cd -
Overall it seems like if your only addition is that you may have cgi files you would be better off adding that support to the orignal .inc file
Quoted 120 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0+}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix- gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +0
-0ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +7
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we need to +# reset the LIC_FILES_CHKSUM setting from the matrix-gui-apps-git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are not architecturespecific
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, March 17, 2014 2:57 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platforms
Quoted 41 lines
Quoted 40 lines · Chase
Quoted 40 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, March 17, 2014 1:49 PM
To: Maupin, Chase
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 8 lines · Chase
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 5 lines
Quoted 1 line
- Recipes bring images and menus needed for keystone2 demos
NAK
These should be pushed to the shared matrix repositories. There
is no
Quoted 1 line
reason to duplicate all these recipes and include files. The
purpose of
Quoted 1 line
matrix being modular is to enable you to share and not fork. If
you add
Quoted 1 line
these to the shared repo then you can create simple recipes to
package you
Quoted 1 line
individual demos and install those for ks2 devices. Please
refer to how
Quoted 1 line
this is done for other devices.
I don't get it. Specifically due to matrix being modular, it should be possible to have additional demos in separate repositories - the way it's done here. And the corresponding recipes that pull from those additional repositories and package them up for matrix to use. I don't see this as being a fork, I see this as being an out-of-tree extenstion. Getting those extensions in to the main tree has some benefits, but reduces control...
[Franklin] We generally have this only occur when there is a non SDK team that owns their application and Matrix demo that is pulled into an SDK. A good example would be the Wilink demos. But there is no reasons why any team that owns their own sdk can't sure the Matrix repo.
Quoted 6 lines
Quoted 3 lines
It also tends to reduce re-use. I think it is first worth looking into adding to the shared repo first.
Then we should outline the process to get 3rd-party changes to the matrix repositories (patches, pull requests). Is Franklin the current owner?
[Franklin] No issue in adding things to matrix or the matrix apps repo.
In terms of processes we can follow the same approach we have taken for all of our scripts which is just sending patches to this mailing list.
Quoted 332 lines
Quoted 4 lines
Also, even if you want an external repo for additions it seems strange that the .inc files needed to be copied as well. For example:
Indeed, I was not commenting on the recipes themselves, but on the method to
add additional functionality to the matrix. Recipes do require more work.Quoted 2 lines
Matrix-gui-apps-ks2-git.inc is almost a direct copy of matrix-gui-apps-git.inc with the
SRC_URIand SRCREV changed. At amimimum
Quoted 7 lines
why not inherit matrix-gui-apps-git.inc and change those few settings for your demos, images, submenu, etc recipes to inherit.
For matrix-gui-apps-ks2.inc there are also a few changes that could either be common or look wrong and don't match the comments above the install function. I'll send some additional feedback on that section. The main changes I see are:
Quoted 308 lines
1. changing the .sh scripts to be installed into the ${MATRIX_APP_DIR}/$appdir/ directory instead of ${bindir}. This is contrary to all other matrix apps. 2. there seem to be .cgi files added and they are being installed into the root of the ${MATRIX_APP_DIR} even though the directory ${MATRIX_APP_DIR}/$appdir/cgi-bin was created.These changed could be rolled into the generic .inc instead of forking.
Quoted 299 lines
Quoted 3 lines
As a side note, if you were going to do tis you should break
this up into
Quoted 1 line
separate patches for the different recipes, not one mega patch
adding
Quoted 1 line
everything. Also, you have recipes like matrix-gui-demos-demos
which
Quoted 6 lines
doesn't seem right.
Quoted 4 lines
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13+++++
Quoted 5 lines
Quoted 5 lines
.../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19
++++++++
.../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51
++++++++++++++++++++
.../matrix/matrix-gui-demos-demos_2.0.bb | 18+++++++
Quoted 3 lines
Quoted 3 lines
.../matrix/matrix-gui-submenus-ks2_2.0.bb | 38
+++++++++++++++
.../matrix/matrix-gui-utility-demos_2.0.bb | 18+++++++
Quoted 2 lines
Quoted 2 lines
6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 4 lines
Quoted 4 lines
gui-utility-demos_2.0.bb
(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 5 lines
gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 3
Quoted 5 lines
git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM ="LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
Quoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0+INC_PR = "r0" + +# Pull in the base package for installing matrix applicationsQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0+require matrix-gui-apps-ks2.inc(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 3 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 1
Quoted 3 lines
images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applicationsfor
Quoted 14 lines
Quoted 14 lines
Keystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +11
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" +Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-
gui-
Quoted 4 lines
Quoted 4 lines
apps-ks2.inc
new file mode 100755
index 0000000..fb3c866
---/dev/nullQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc line 5
Quoted 8 lines
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps- ks2.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that willlook
Quoted 7 lines
Quoted 7 lines
in the
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir} +do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"`Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +8
-0+ + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name"*.desktop"`
Quoted 25 lines
Quoted 25 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+ done + + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgiQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin + install -m 0755 ${MATRIX_FILES_DIR}/$c${D}${MATRIX_APP_DIR}/$c
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +4
-0+ done + done + + # Go back to the directory we started from in case thereare
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ # other appends. + cd - +}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 27 lines
Quoted 27 lines
gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
+Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +1
-0+FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui- new file +0
-0submenus-
Quoted 4 lines
Quoted 4 lines
ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +6
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we needto
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+# reset the
LIC_FILES_CHKSUMsetting from the matrix-gui-apps- git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are notarchitecture
Quoted 66 lines
Quoted 58 lines
specific
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Franklin, Sam,
Have you guys agreed on anything re: matrix-apps?
Quoted 401 lines · Franklin
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, March 17, 2014 2:57 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 41 lines
Quoted 40 lines · Chase
Quoted 40 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, March 17, 2014 1:49 PM
To: Maupin, Chase
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 8 lines · Chase
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 5 lines
Quoted 1 line
- Recipes bring images and menus needed for keystone2 demos
NAK
These should be pushed to the shared matrix repositories. There
is no
Quoted 1 line
reason to duplicate all these recipes and include files. The
purpose of
Quoted 1 line
matrix being modular is to enable you to share and not fork. If
you add
Quoted 1 line
these to the shared repo then you can create simple recipes to
package you
Quoted 1 line
individual demos and install those for ks2 devices. Please
refer to how
Quoted 1 line
this is done for other devices.
I don't get it. Specifically due to matrix being modular, it should be possible to have additional demos in separate repositories - the way it's done here. And the corresponding recipes that pull from those additional repositories and package them up for matrix to use. I don't see this as being a fork, I see this as being an out-of-tree extenstion. Getting those extensions in to the main tree has some benefits, but reduces control...
[Franklin] We generally have this only occur when there is a non SDK team that owns their application and Matrix demo that is pulled into an SDK. A good example would be the Wilink demos. But there is no reasons why any team that owns their own sdk can't sure the Matrix repo.
Quoted 5 lines
Quoted 2 lines
It also tends to reduce re-use. I think it is first worth looking into adding to the shared repo first.
Then we should outline the process to get 3rd-party changes to the matrix repositories (patches, pull requests). Is Franklin the current owner?
[Franklin] No issue in adding things to matrix or the matrix apps repo. In terms of processes we can follow the same approach we have taken for all of our scripts which is just sending patches to this mailing list.
Quoted 332 lines
Quoted 4 lines
Also, even if you want an external repo for additions it seems strange that the .inc files needed to be copied as well. For example:
Indeed, I was not commenting on the recipes themselves, but on the method to
add additional functionality to the matrix. Recipes do require more work.Quoted 2 lines
Matrix-gui-apps-ks2-git.inc is almost a direct copy of matrix-gui-apps-git.inc with the
SRC_URIand SRCREV changed. At amimimum
Quoted 7 lines
why not inherit matrix-gui-apps-git.inc and change those few settings for your demos, images, submenu, etc recipes to inherit.
For matrix-gui-apps-ks2.inc there are also a few changes that could either be common or look wrong and don't match the comments above the install function. I'll send some additional feedback on that section. The main changes I see are:
Quoted 308 lines
1. changing the .sh scripts to be installed into the ${MATRIX_APP_DIR}/$appdir/ directory instead of ${bindir}. This is contrary to all other matrix apps. 2. there seem to be .cgi files added and they are being installed into the root of the ${MATRIX_APP_DIR} even though the directory ${MATRIX_APP_DIR}/$appdir/cgi-bin was created.These changed could be rolled into the generic .inc instead of forking.
Quoted 299 lines
Quoted 3 lines
As a side note, if you were going to do tis you should break
this up into
Quoted 1 line
separate patches for the different recipes, not one mega patch
adding
Quoted 1 line
everything. Also, you have recipes like matrix-gui-demos-demos
which
Quoted 6 lines
doesn't seem right.
Quoted 4 lines
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13+++++
Quoted 5 lines
Quoted 5 lines
.../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19
++++++++
.../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51
++++++++++++++++++++
.../matrix/matrix-gui-demos-demos_2.0.bb | 18+++++++
Quoted 3 lines
Quoted 3 lines
.../matrix/matrix-gui-submenus-ks2_2.0.bb | 38
+++++++++++++++
.../matrix/matrix-gui-utility-demos_2.0.bb | 18+++++++
Quoted 2 lines
Quoted 2 lines
6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 4 lines
Quoted 4 lines
gui-utility-demos_2.0.bb
(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 5 lines
gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 3
Quoted 5 lines
git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM ="LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
Quoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0+INC_PR = "r0" + +# Pull in the base package for installing matrix applicationsQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0+require matrix-gui-apps-ks2.inc(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 3 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 1
Quoted 3 lines
images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applicationsfor
Quoted 14 lines
Quoted 14 lines
Keystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +11
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" +Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-
gui-
Quoted 4 lines
Quoted 4 lines
apps-ks2.inc
new file mode 100755
index 0000000..fb3c866
---/dev/nullQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc line 5
Quoted 8 lines
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps- ks2.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that willlook
Quoted 7 lines
Quoted 7 lines
in the
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir} +do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"`Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +8
-0+ + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name"*.desktop"`
Quoted 25 lines
Quoted 25 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s${D}${MATRIX_APP_DIR}/$appdir/
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +6
-0+ done + + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgiQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin + install -m 0755 ${MATRIX_FILES_DIR}/$c${D}${MATRIX_APP_DIR}/$c
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +4
-0+ done + done + + # Go back to the directory we started from in case thereare
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-ks2.inc new file +3
-0+ # other appends. + cd - +}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 27 lines
Quoted 27 lines
gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
+Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +1
-0+FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui- new file +0
-0submenus-
Quoted 4 lines
Quoted 4 lines
ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +6
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we needto
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+# reset the
LIC_FILES_CHKSUMsetting from the matrix-gui-apps- git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are notarchitecture
Quoted 66 lines
Quoted 58 lines
specific
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Oops, sorry, pulled an older version of the thread... I believe there was a more recent discussion on the same matter though. Still, I was wondering if you reached any agreement about hosting and supplying keystone specific demos
Quoted 411 lines · Denys Dmytriyenko
Franklin, Sam,
Have you guys agreed on anything re: matrix-apps?
Quoted 62 lines · Franklin
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, March 17, 2014 2:57 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 41 lines
Quoted 40 lines · Chase
Quoted 40 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, March 17, 2014 1:49 PM
To: Maupin, Chase
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 8 lines · Chase
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 5 lines
Quoted 1 line
- Recipes bring images and menus needed for keystone2 demos
NAK
These should be pushed to the shared matrix repositories. There
is no
Quoted 1 line
reason to duplicate all these recipes and include files. The
purpose of
Quoted 1 line
matrix being modular is to enable you to share and not fork. If
you add
Quoted 1 line
these to the shared repo then you can create simple recipes to
package you
Quoted 1 line
individual demos and install those for ks2 devices. Please
refer to how
Quoted 1 line
this is done for other devices.
I don't get it. Specifically due to matrix being modular, it should be possible to have additional demos in separate repositories - the way it's done here. And the corresponding recipes that pull from those additional repositories and package them up for matrix to use. I don't see this as being a fork, I see this as being an out-of-tree extenstion. Getting those extensions in to the main tree has some benefits, but reduces control...
[Franklin] We generally have this only occur when there is a non SDK team that owns their application and Matrix demo that is pulled into an SDK. A good example would be the Wilink demos. But there is no reasons why any team that owns their own sdk can't sure the Matrix repo.
Quoted 3 lines
Quoted 2 lines
It also tends to reduce re-use. I think it is first worth looking into adding to the shared repo first.
Quoted 339 lines
Quoted 2 lines
Then we should outline the process to get 3rd-party changes to the matrix repositories (patches, pull requests). Is Franklin the current owner?
[Franklin] No issue in adding things to matrix or the matrix apps repo. In terms of processes we can follow the same approach we have taken for all of our scripts which is just sending patches to this mailing list.
Quoted 332 lines
Quoted 4 lines
Also, even if you want an external repo for additions it seems strange that the .inc files needed to be copied as well. For example:
Indeed, I was not commenting on the recipes themselves, but on the method to
add additional functionality to the matrix. Recipes do require more work.Quoted 2 lines
Matrix-gui-apps-ks2-git.inc is almost a direct copy of matrix-gui-apps-git.inc with the
SRC_URIand SRCREV changed. At amimimum
Quoted 7 lines
why not inherit matrix-gui-apps-git.inc and change those few settings for your demos, images, submenu, etc recipes to inherit.
For matrix-gui-apps-ks2.inc there are also a few changes that could either be common or look wrong and don't match the comments above the install function. I'll send some additional feedback on that section. The main changes I see are:
Quoted 308 lines
1. changing the .sh scripts to be installed into the ${MATRIX_APP_DIR}/$appdir/ directory instead of ${bindir}. This is contrary to all other matrix apps. 2. there seem to be .cgi files added and they are being installed into the root of the ${MATRIX_APP_DIR} even though the directory ${MATRIX_APP_DIR}/$appdir/cgi-bin was created.These changed could be rolled into the generic .inc instead of forking.
Quoted 299 lines
Quoted 3 lines
As a side note, if you were going to do tis you should break
this up into
Quoted 1 line
separate patches for the different recipes, not one mega patch
adding
Quoted 1 line
everything. Also, you have recipes like matrix-gui-demos-demos
which
Quoted 6 lines
doesn't seem right.
Quoted 4 lines
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13+++++
Quoted 5 lines
Quoted 5 lines
.../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19
++++++++
.../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51
++++++++++++++++++++
.../matrix/matrix-gui-demos-demos_2.0.bb | 18+++++++
Quoted 3 lines
Quoted 3 lines
.../matrix/matrix-gui-submenus-ks2_2.0.bb | 38
+++++++++++++++
.../matrix/matrix-gui-utility-demos_2.0.bb | 18+++++++
Quoted 2 lines
Quoted 2 lines
6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 4 lines
Quoted 4 lines
gui-utility-demos_2.0.bb
(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 5 lines
gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 3
Quoted 5 lines
git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM ="LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
Quoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0+INC_PR = "r0" + +# Pull in the base package for installing matrix applicationsQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0+require matrix-gui-apps-ks2.inc(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 3 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 1
Quoted 3 lines
images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applicationsfor
Quoted 14 lines
Quoted 14 lines
Keystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +11
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" +Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-
gui-
Quoted 4 lines
Quoted 4 lines
apps-ks2.inc
new file mode 100755
index 0000000..fb3c866
---/dev/nullQuoted 8 lines
Review line 5
Quoted 8 lines
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps- ks2.inc
(quoted diff) +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that willlook
Quoted 7 lines
Quoted 7 lines
in the
(quoted diff) +6
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir} +do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"`Quoted 8 lines
Review
Quoted 8 lines
(quoted diff) +8
-0+ + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name"*.desktop"`
Quoted 25 lines
Quoted 25 lines
(quoted diff) +3
-0+ for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
(quoted diff) +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
(quoted diff) +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s${D}${MATRIX_APP_DIR}/$appdir/
(quoted diff) +6
-0+ done + + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgiQuoted 8 lines
Review
Quoted 8 lines
(quoted diff) +3
-0+ do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin + install -m 0755 ${MATRIX_FILES_DIR}/$c${D}${MATRIX_APP_DIR}/$c
(quoted diff) +4
-0+ done + done + + # Go back to the directory we started from in case thereare
Quoted 5 lines
Quoted 5 lines
(quoted diff) +3
-0+ # other appends. + cd - +}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 27 lines
Quoted 27 lines
gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
+Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +1
-0+FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui- new file +0
-0submenus-
Quoted 4 lines
Quoted 4 lines
ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +6
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we needto
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+# reset the
LIC_FILES_CHKSUMsetting from the matrix-gui-apps- git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are notarchitecture
Quoted 66 lines
Quoted 58 lines
specific
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Yes. We are planning to send patches to the shared matrix repositories. These old patches can be ignored.
With regards,
Sam
Quoted 439 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Thursday, February 19, 2015 9:43 PM
To: Cooper Jr., Franklin
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsOops, sorry, pulled an older version of the thread... I believe there was a more recent discussion on the same matter though. Still, I was wondering if you reached any agreement about hosting and supplying keystone specific demos
Quoted 15 lines · Denys Dmytriyenko
Franklin, Sam,
Have you guys agreed on anything re: matrix-apps?
Quoted 9 lines · Franklin
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, March 17, 2014 2:57 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrixdemos for
Quoted 44 lines
Quoted 43 lines
Quoted 43 lines
keystone 2 platforms
Quoted 40 lines · Chase
Quoted 40 lines
-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, March 17, 2014 1:49 PM
To: Maupin, Chase
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 8 lines · Chase
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Nelson, Sam
Sent: Monday, March 03, 2014 2:02 PM
To: [email protected]
Subject: [meta-arago] [PATCH] matrix-demos: Recipes for Matrix demos for keystone 2 platformsQuoted 5 lines
Quoted 1 line
- Recipes bring images and menus needed for keystone2 demos
NAK
These should be pushed to the shared matrix repositories. There
is no
Quoted 1 line
reason to duplicate all these recipes and include files. The
purpose of
Quoted 1 line
matrix being modular is to enable you to share and not fork. If
you add
Quoted 1 line
these to the shared repo then you can create simple recipes to
package you
Quoted 1 line
individual demos and install those for ks2 devices. Please
refer to how
Quoted 1 line
this is done for other devices.
I don't get it. Specifically due to matrix being modular, it should be possible to have additional demos in separate repositories - the way it's done here. And the corresponding recipes that pull from those additional repositories and package them up for matrix to use. I don't see this as being a fork, I see this as being an out-of-tree extenstion. Getting those extensions in to the main tree has some benefits, but reduces control...
Quoted 3 lines
Quoted 3 lines
[Franklin] We generally have this only occur when there is a non SDK team that owns their application and Matrix demo that is pulled into an SDK. A good example would be the Wilink demos. But there is no reasons why any
team
Quoted 11 lines
Quoted 11 lines
that owns their own sdk can't sure the Matrix repo.
Quoted 5 lines
Quoted 2 lines
It also tends to reduce re-use. I think it is first worth looking into adding to the shared repo first.
Then we should outline the process to get 3rd-party changes to the matrix repositories (patches, pull requests). Is Franklin the current owner?
[Franklin] No issue in adding things to matrix or the matrix apps repo. In terms of processes we can follow the same approach we have taken for
all
Quoted 5 lines
Quoted 5 lines
of our scripts which is just sending patches to this mailing list.
Quoted 3 lines
Quoted 3 lines
Also, even if you want an external repo for additions it seems strange
that
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
the .inc files needed to be copied as well. For example:
Indeed, I was not commenting on the recipes themselves, but on the
method
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
to
add additional functionality to the matrix. Recipes do require more work.Quoted 2 lines
Matrix-gui-apps-ks2-git.inc is almost a direct copy of matrix-gui-apps-git.inc with the
SRC_URIand SRCREV changed. At amimimum
Quoted 1 line
why not inherit matrix-gui-apps-git.inc and change those few settings
for
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
your demos, images, submenu, etc recipes to inherit.
For matrix-gui-apps-ks2.inc there are also a few changes that could
either
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
be common or look wrong and don't match the comments above the
install
Quoted 310 lines
Quoted 310 lines
Quoted 310 lines
Quoted 310 lines
function. I'll send some additional feedback on that section. The main changes I see are:
1. changing the .sh scripts to be installed into the ${MATRIX_APP_DIR}/$appdir/ directory instead of ${bindir}. This is contrary to all other matrix apps. 2. there seem to be .cgi files added and they are being installed into the root of the ${MATRIX_APP_DIR} even though the directory ${MATRIX_APP_DIR}/$appdir/cgi-bin was created.These changed could be rolled into the generic .inc instead of forking.
Quoted 299 lines
Quoted 3 lines
As a side note, if you were going to do tis you should break
this up into
Quoted 1 line
separate patches for the different recipes, not one mega patch
adding
Quoted 1 line
everything. Also, you have recipes like matrix-gui-demos-demos
which
Quoted 6 lines
doesn't seem right.
Quoted 4 lines
Signed-off-by Sam Nelson <[email protected]>---
.../matrix/matrix-gui-apps-ks2-git.inc | 13+++++
Quoted 5 lines
Quoted 5 lines
.../matrix/matrix-gui-apps-ks2-images_2.0.bb | 19
++++++++
.../recipes-core/matrix/matrix-gui-apps-ks2.inc | 51
++++++++++++++++++++
.../matrix/matrix-gui-demos-demos_2.0.bb | 18+++++++
Quoted 3 lines
Quoted 3 lines
.../matrix/matrix-gui-submenus-ks2_2.0.bb | 38
+++++++++++++++
.../matrix/matrix-gui-utility-demos_2.0.bb | 18+++++++
Quoted 2 lines
Quoted 2 lines
6 files changed, 157 insertions(+)create mode 100755 meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-git.inc
create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2-images_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-apps-ks2.inc
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-demos-demos_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 2 lines
Quoted 2 lines
gui-submenus-ks2_2.0.bb
create mode 100755 meta-arago-extras/recipes-core/matrix/matrix-
Quoted 4 lines
Quoted 4 lines
gui-utility-demos_2.0.bb
(quoted diff) +0
-0apps-ks2-git.inc b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 5 lines
gui-apps-ks2-git.inc
new file mode 100755
index 0000000..4a7b21dmeta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 5 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 3
Quoted 5 lines
git.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0@@ -0,0 +1,13 @@ +LICENSE = "CC-BY-SA" +#By default all Matrix v2 applications use the same license. +LICENSE_CHECKSUM ="LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
Quoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}" + +BRANCH ?= "master" +# commit corresponds to DEV.MATRIX.APPS.01.00.00.02 +SRCREV = "7af0ec5ad5ca9464a981b1c9683ec66bb075331d" +SRC_URI = "git://git.ti.com/keystone-demos/matrix-apps.git;protocol=git;branch=${BRANCH}"
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +3
-0+INC_PR = "r0" + +# Pull in the base package for installing matrix applicationsQuoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0+require matrix-gui-apps-ks2.inc(quoted diff) +0
-0apps-ks2-images_2.0.bb b/meta-arago-extras/recipes- core/matrix/matrix-gui-apps-ks2-images_2.0.bb new file mode 100644
index 0000000..cf69d81meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +0
-0ks2-
Quoted 3 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- line 1
Quoted 3 lines
images_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +1
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Images package for Matrix GUI v2 Applicationsfor
Quoted 14 lines
Quoted 14 lines
Keystone II"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +11
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/images" +Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-apps- new file +6
-0+do_install(){ + install -d ${D}${MATRIX_APP_DIR} + cp -rf ${S}/ ${D}${MATRIX_APP_DIR} +} + +FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0apps-ks2.inc b/meta-arago-extras/recipes-core/matrix/matrix-
gui-
Quoted 4 lines
Quoted 4 lines
apps-ks2.inc
new file mode 100755
index 0000000..fb3c866
---/dev/nullQuoted 8 lines
Review line 5
Quoted 8 lines
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps- ks2.inc
(quoted diff) +5
-0@@ -0,0 +1,51 @@ +require matrix-gui-paths.inc + +MATRIX_FILES_DIR ?= "${S}" + +# Append a generic function to the do_install step that willlook
Quoted 7 lines
Quoted 7 lines
in the
(quoted diff) +6
-0+# MATRIX_FILES_DIR for .desktop files and then: +# 1. Install all non-script files into the MATRIX_APP_DIR +# 2. Install all script files into ${bindir} +do_install_append(){ + cd ${MATRIX_FILES_DIR} + applist=`find . -name "*.desktop"`Quoted 8 lines
Review
Quoted 8 lines
(quoted diff) +8
-0+ + for app in $applist + do + appdir=`dirname $app` + install -d ${D}${MATRIX_APP_DIR}/$appdir + + # Get the matrix metadata + matrix_desktop=`find $appdir -type f -name"*.desktop"`
Quoted 25 lines
Quoted 25 lines
(quoted diff) +3
-0+ for m in $matrix_desktop + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
(quoted diff) +6
-0+ done + + matrix_html=`find $appdir -type f -name "*.html"` + for m in $matrix_html + do + install -m 0644 ${MATRIX_FILES_DIR}/$m${D}${MATRIX_APP_DIR}/$appdir/
(quoted diff) +7
-0+ done + + # Get the script files as executables + scripts=`find $appdir -type f -name "*.sh"` + for s in $scripts + do + install -m 0755 ${MATRIX_FILES_DIR}/$s${D}${MATRIX_APP_DIR}/$appdir/
(quoted diff) +6
-0+ done + + # Get the cgi files as executables + matrix_cgi=`find $appdir -type f -name "*.cgi"` + + for c in $matrix_cgiQuoted 8 lines
Review
Quoted 8 lines
(quoted diff) +3
-0+ do + install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin + install -m 0755 ${MATRIX_FILES_DIR}/$c${D}${MATRIX_APP_DIR}/$c
(quoted diff) +4
-0+ done + done + + # Go back to the directory we started from in case thereare
Quoted 5 lines
Quoted 5 lines
(quoted diff) +3
-0+ # other appends. + cd - +}(quoted diff) +0
-0demos-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-
Quoted 27 lines
Quoted 27 lines
gui-demos-demos_2.0.bb
new file mode 100755
index 0000000..eb89ccameta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Demo description for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/demo_apps" + +PACKAGES += "${PN}-demos" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-demos"
+Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-demos- new file +1
-0+FILES_${PN} += "${MATRIX_BASE_DIR}/*"(quoted diff) +0
-0submenus-ks2_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-submenus-ks2_2.0.bb
new file mode 100755
index 0000000..2936ad1meta-arago-extras/recipes-core/matrix/matrix-gui- new file +0
-0submenus-
Quoted 4 lines
Quoted 4 lines
ks2_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +1
-0@@ -0,0 +1,38 @@ +DESCRIPTION = "Submenu packages for Matrix GUI v2 for KeystoneII"
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone- demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +6
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc +require matrix-gui-paths.inc + +# This package does not use a subdirectory as ${S} so we needto
Quoted 8 lines
meta-arago-extras/recipes-core/matrix/matrix-gui-
Quoted 8 lines
+# reset the
LIC_FILES_CHKSUMsetting from the matrix-gui-apps- git.inc file
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"meta-arago-extras/recipes-core/matrix/matrix-gui- new file +4
-0+ +PR = "${INC_PR}.0" + +# These packages make submenus in matrix and are notarchitecture
Quoted 66 lines
Quoted 58 lines
specific
meta-arago-extras/recipes-core/matrix/matrix-gui- new file +24
-0+inherit allarch + +S = "${WORKDIR}/git" + +# List of submenus to build packages for +SUBMENUS = "utilities_submenu demos_submenu" + +do_install(){ + install -d ${D}${MATRIX_APP_DIR} + + for x in ${SUBMENUS} + do + cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/ + done +} + +PACKAGES += "${PN}-utility ${PN}-demos" + +# Make sure app images has been installed +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images" + +# Add the files for each submenu package +FILES_${PN}-utility = "${MATRIX_APP_DIR}/utilities_submenu/*" +FILES_${PN}-demos = "${MATRIX_APP_DIR}/demos_submenu/*"(quoted diff) +0
-0utility-demos_2.0.bb b/meta-arago-extras/recipes-
core/matrix/matrix-gui-utility-demos_2.0.bb
new file mode 100755
index 0000000..8f769e9meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +0
-0demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-0@@ -0,0 +1,18 @@ +DESCRIPTION = "Utility app demo descriptions for Matrix v2" +HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/matrix-apps.git"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +13
-0+LICENSE = "CC-BY-SA" + +require matrix-gui-apps-ks2-git.inc + +PR = "${INC_PR}.0" + +inherit allarch + +S = "${WORKDIR}/git/utility_apps" + +PACKAGES += "${PN}-utility" + +# Make sure crypto submenu and app images has been installed.Also make sure openssl is available +RDEPENDS_${PN} += "matrix-gui-apps-ks2-images matrix-gui- submenus-ks2-utility"
meta-arago-extras/recipes-core/matrix/matrix-gui-utility- new file +2
-1+ +FILES_${PN} += "${MATRIX_BASE_DIR}/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-aragoQuoted 8 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago