]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/commitdiff
matrix 2.0: first round of fixes
authorKoen Kooi <koen@dominion.thruhere.net>
Tue, 11 Oct 2011 19:51:41 +0000 (21:51 +0200)
committerKoen Kooi <koen@dominion.thruhere.net>
Tue, 11 Oct 2011 19:51:41 +0000 (21:51 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
12 files changed:
recipes-ti/matrix/matrix-gui-3d-demos_1.0.bb
recipes-ti/matrix/matrix-gui-clocks_1.0.bb
recipes-ti/matrix/matrix-gui-coming-soon_1.0.bb
recipes-ti/matrix/matrix-gui-common_1.4.bb
recipes-ti/matrix/matrix-gui-crypto-demos_1.0.bb
recipes-ti/matrix/matrix-gui-display-control_1.0.bb
recipes-ti/matrix/matrix-gui-e_1.3.bb
recipes-ti/matrix/matrix-gui-pm-demos_1.0.bb
recipes-ti/matrix/matrix-gui-qt4-demos_1.0.bb
recipes-ti/matrix/matrix-gui-submenus_1.0.bb
recipes-ti/matrix/matrix-gui-wifi-demos_1.0.bb
recipes-ti/matrix/matrix-gui_2.0.bb

index c653c6fcd52dd1d1014cee10f172e99c5a3b953e..ece9b2e1b5ba4d9f8ad1b9e3acb495e199ce7428 100644 (file)
@@ -1,9 +1,7 @@
 DESCRIPTION = "3D demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "3D demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
 
 
-PR = "r0"
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/603/5030/3ddemos_1.0.tar.gz"
 
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/603/5030/3ddemos_1.0.tar.gz"
 
index 2b5c1b3fc9d9463ffdc5b930c3f00eaf45424dae..177a617b8cdd56cbc8c7a58f52d2b34dbb77a966 100644 (file)
@@ -1,11 +1,8 @@
 DESCRIPTION = "Clock setting descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "Clock setting descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
 
 
-PR = "r0"
-
-PACKAGE_ARCH = "all"
+inherit allarch
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/612/5031/clocks_1.0.tar.gz"
 
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/612/5031/clocks_1.0.tar.gz"
 
index 076388d4f23f9703ba1aed60551e27c5101a3470..500eee47d0ec4957a477853eda47b6ec9be59141 100644 (file)
@@ -1,15 +1,13 @@
 DESCRIPTION = "coming soon descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "coming soon descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
+LIC_FILES_CHKSUM = "file://comingsoon/comingsoon.desktop;md5=01ebad171fad40705288fcabccc770a2"
 
 
-PR = "r0"
-
-PACKAGE_ARCH = "all"
+inherit allarch
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/616/5029/comingsoon_1.0.tar.gz"
 
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/616/5029/comingsoon_1.0.tar.gz"
 
-S = ${WORKDIR}
+S = "${WORKDIR}"
 
 require matrix-gui-apps.inc
 
 
 require matrix-gui-apps.inc
 
index add2a26124e4be5b8535d2bd95ca2b2e12500fcb..018f7af3abe84ac896bb73bae5c1ed2b03399087 100644 (file)
@@ -5,4 +5,3 @@ require matrix-gui-common.inc
 RRECOMMENDS_${PN} = "am-sysinfo"
 
 SRCREV = "275"
 RRECOMMENDS_${PN} = "am-sysinfo"
 
 SRCREV = "275"
-PR = "${INC_PR}.6"
index 11589b39b198c02deab0376a6ad3bcd73e59a176..13e97061c350b99c45bf4970dfe07c826bc12528 100644 (file)
@@ -1,11 +1,9 @@
 DESCRIPTION = "Cryptography demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "Cryptography demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
 
 
-PR = "r0"
 
 
-PACKAGE_ARCH = "all"
+inherit allarch
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/609/5033/cryptodemos_1.0.tar.gz"
 
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/609/5033/cryptodemos_1.0.tar.gz"
 
index 72c7d62a427b6287b4b2c31e01254f0ded578ce4..c9f1bdb72fa0ea0af036d4b21870303ed66ed97d 100644 (file)
@@ -1,11 +1,9 @@
 DESCRIPTION = "Display control descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "Display control descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
 
 
-PR = "r0"
 
 
-PACKAGE_ARCH = "all"
+inherit allarch
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/611/5034/displaycontrol_1.0.tar.gz"
 
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/611/5034/displaycontrol_1.0.tar.gz"
 
index bddb3e031509f3d16807512311a3a4e9e57e01fb..b4797b05350909ed639ad4bdde0ac3e525779d0f 100644 (file)
@@ -3,5 +3,4 @@ require matrix-gui-e.inc
 SRCREV = "275"
 SRC_URI += "file://0001-matrix_gui.pro-add-dbus-to-QT-features-to-fix-linkin.patch"
 
 SRCREV = "275"
 SRC_URI += "file://0001-matrix_gui.pro-add-dbus-to-QT-features-to-fix-linkin.patch"
 
-PR = "${INC_PR}.1"
 
 
index f11ac940e0793d5a3e3c256b5519d425b82fbe1b..85d251fcd3bfd6e5f892c750609641f8227ab4ba 100644 (file)
@@ -1,11 +1,9 @@
 DESCRIPTION = "Power management demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "Power management demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
 
 
-PR = "r0"
 
 
-PACKAGE_ARCH = "all"
+inherit allarch
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/610/5035/pmdemos_1.0.tar.gz"
 
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/610/5035/pmdemos_1.0.tar.gz"
 
index fd941043d8fb427b82731447d0dd27aba303ee5f..e4e43c7ddf0cacbdcc7c945377c14207f806eecd 100644 (file)
@@ -1,11 +1,9 @@
 DESCRIPTION = "Qt4 demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "Qt4 demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
 
 
-PR = "r0"
 
 
-PACKAGE_ARCH = "all"
+inherit allarch
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/608/5036/qt4demos_1.0.tar.gz"
 
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/608/5036/qt4demos_1.0.tar.gz"
 
index c62e5fb8c5790ba1fe1f5fa665ddee0ccc3c9c21..b517ce2b16780ef32463b1ae727180c958fb4e62 100644 (file)
@@ -1,14 +1,12 @@
 DESCRIPTION = "Submenu packages for Matrix GUI v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "Submenu packages for Matrix GUI v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
-
-PR = "r0"
+LIC_FILES_CHKSUM = "file://settings/settings.desktop;md5=a447e92dfe653e63e5b91b305e969d6c"
 
 require matrix-gui-paths.inc
 
 # These packages make submenus in matrix and are not architecture specific
 
 require matrix-gui-paths.inc
 
 # These packages make submenus in matrix and are not architecture specific
-PACKAGE_ARCH = "all"
+inherit allarch
 
 # List of submenu tarballs to use.  Each tarball contains a desktop file
 # and PNG graphic file for the submenu.
 
 # List of submenu tarballs to use.  Each tarball contains a desktop file
 # and PNG graphic file for the submenu.
@@ -45,6 +43,9 @@ PACKAGES += "${PN}-arm ${PN}-3d ${PN}-cryptos ${PN}-display ${PN}-ethernet ${PN}
 # All submenu packages should depend on matrix-gui being installed
 RDEPENDS +=  matrix-gui
 
 # All submenu packages should depend on matrix-gui being installed
 RDEPENDS +=  matrix-gui
 
+RRECOMMENDS_${PN} = "${PN}-arm ${PN}-3d ${PN}-cryptos ${PN}-display ${PN}-ethernet ${PN}-multimedia ${PN}-power ${PN}-pru ${PN}-qt4 ${PN}-settings ${PN}-usb ${PN}-wifi"
+ALLOW_EMPTY_${PN} = "1"
+
 # Add the files for each submenu package
 FILES_${PN}-arm = "${MATRIX_APP_DIR}/arm/*"
 FILES_${PN}-3d = "${MATRIX_APP_DIR}/3d/*"
 # Add the files for each submenu package
 FILES_${PN}-arm = "${MATRIX_APP_DIR}/arm/*"
 FILES_${PN}-3d = "${MATRIX_APP_DIR}/3d/*"
index f33cba1b3aa1426772674c156c8c26da28058d6e..f1041b07e51501c9bda904d8a6912d8319d55737 100644 (file)
@@ -1,11 +1,9 @@
 DESCRIPTION = "Wifi demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
 DESCRIPTION = "Wifi demo descriptions for Matrix v2"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
 LICENSE = "CC-BY-SA"
-PRIORITY = "optional"
 
 
-PR = "r0"
 
 
-PACKAGE_ARCH = "all"
+inherit allarch
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/617/5049/wifi_1.0.tar.gz"
 
 
 SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/617/5049/wifi_1.0.tar.gz"
 
index 378a1f9efba2780f03cc1786ea0ba3005113b1e9..f9981b4cd7d25bb909dd29bdebb0bcafd9325099 100644 (file)
@@ -1,23 +1,20 @@
 DESCRIPTION = "Matrix GUI Application launcher"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrix-gui-v2/"
 DESCRIPTION = "Matrix GUI Application launcher"
 HOMEPAGE = "https://gforge.ti.com/gf/project/matrix-gui-v2/"
-LICENSE = "BSD MIT Apache"
-SECTION = "multimedia"
-PRIORITY = "optional"
 
 
-PR = "r3"
+LICENSE = "BSD MIT Apache"
+LIC_FILES_CHKSUM = "file://scripts/jquery-1.6.2.min.js;md5=a1a8cb16a060f6280a767187fd22e037"
 
 
-INITSCRIPT_NAME = "matrix-gui-2.0"
-INITSCRIPT_PARAMS = "defaults 99"
+SECTION = "multimedia"
 
 
-PACKAGE_ARCH = "all"
+PR = "r1"
 
 
-inherit update-rc.d
+inherit allarch
 
 BRANCH ?= "master"
 SRCREV = "c6db82baffcd96b20e67aa5cfdb4c0c98ef208b9"
 
 SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2.git;protocol=git;branch=${BRANCH} \
 
 BRANCH ?= "master"
 SRCREV = "c6db82baffcd96b20e67aa5cfdb4c0c98ef208b9"
 
 SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2.git;protocol=git;branch=${BRANCH} \
-           file://init"
+           file://matrix-gui.service"
 
 require matrix-gui-paths.inc
 
 
 require matrix-gui-paths.inc
 
@@ -28,12 +25,15 @@ do_install(){
        cp -rf ${S}/* ${D}${MATRIX_BASE_DIR}
 
     # Set the proper path in the init script
        cp -rf ${S}/* ${D}${MATRIX_BASE_DIR}
 
     # Set the proper path in the init script
-    sed -i -e s=__MATRIX_BASE_DIR__=${MATRIX_BASE_DIR}= ${WORKDIR}/init
+    sed -i -e s=__MATRIX_BASE_DIR__=${MATRIX_BASE_DIR}=g ${WORKDIR}/matrix-gui.service
 
 
-       install -d ${D}${sysconfdir}/init.d
-    install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-gui-2.0
-}
+       install -d ${D}${base_libdir}/systemd/system/
+    install -m 0755 ${WORKDIR}/matrix-gui.service ${D}${base_libdir}/systemd/system/
 
 
-RDEPENDS_${PN} += nodejs
+       # activate it on first boot
+       install -d ${D}${base_libdir}/systemd/system/multi-user.target.wants
+       ln -sf ../matrix-gui.service ${D}${base_libdir}/systemd/system/multi-user.target.wants/
+}
 
 
-FILES_${PN} += "${MATRIX_BASE_DIR}/*"
+RDEPENDS_${PN} += "nodejs"
+FILES_${PN} += "${MATRIX_BASE_DIR}/* ${base_libdir}/systemd/system"