1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-05 02:11:00 +00:00

matrix: remove old Matrix and replace with README to point to new location

Matrix is now hosted in the meta-arago-extras (sub-)layer of meta-arago. This
sub-layer is not Arago-specific and can be used with any distro. More details
at git://arago-project.org/git/meta-arago.git

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Denys Dmytriyenko
2012-02-28 17:10:55 -05:00
parent 827f9e9a8a
commit 266d76ba87
23 changed files with 5 additions and 2286 deletions
+5
View File
@@ -0,0 +1,5 @@
Matrix app has been moved to meta-arago-extras layer of the meta-arago repo:
git://arago-project.org/git/meta-arago.git
This meta-arago-extras layer is distro-agnostic and not Arago-specific, so
it can be used with any OE-Core based distribution.
@@ -1,18 +0,0 @@
DESCRIPTION = "3D demo descriptions for Matrix v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/603/5030/3ddemos_1.0.tar.gz"
S = ${WORKDIR}/3ddemos
require matrix-gui-apps.inc
# Make sure 3D submenu has been installed
RDEPENDS += matrix-gui-submenus-3d
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
SRC_URI[md5sum] = "998363dbabea3724c4c3283a480cdb60"
SRC_URI[sha256sum] = "aab5890dffe4e9f36f78a64ec16e7221649bb61ef1ceee2e1246cd666d197268"
-40
View File
@@ -1,40 +0,0 @@
require matrix-gui-paths.inc
MATRIX_FILES_DIR ?= ${S}
# Append a generic function to the do_install step that will look in the
# 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 non-script files which are the matrix metadata
matrix_apps=`find $appdir -type f ! -name "*\.sh"`
for m in $matrix_apps
do
install -m 0644 ${MATRIX_FILES_DIR}/$m ${D}${MATRIX_APP_DIR}/$appdir/
done
# Put the script files as executables in ${bindir}
scripts=`find $appdir -type f -name "*\.sh"`
for s in $scripts
do
if [ ! -d ${D}/${bindir} ]
then
install -d ${D}${bindir}
fi
install -m 0755 ${MATRIX_FILES_DIR}/$s ${D}${bindir}/
done
done
# Go back to the directory we started from in case there are
# other appends.
cd -
}
@@ -1,34 +0,0 @@
DESCRIPTION = "Clock setting descriptions for Matrix v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
inherit allarch
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/673/5096/clocks_1.1.tar.gz"
S = ${WORKDIR}/clocks
require matrix-gui-apps.inc
# Make sure power submenu has been installed
RDEPENDS += matrix-gui-submenus-power
# Break out the individual files into separate packages. That way only the
# clocks supported for each device can be installed. Prepend the list so
# that we can get the files in ${bindir} first
PACKAGES =+ "${PN}-300mhz ${PN}-600mhz ${PN}-800mhz ${PN}-1ghz"
# Split the matrix files by clock
FILES_${PN}-300mhz += "${MATRIX_APP_DIR}/power_set_300mhz/*"
FILES_${PN}-600mhz += "${MATRIX_APP_DIR}/power_set_600mhz/*"
FILES_${PN}-800mhz += "${MATRIX_APP_DIR}/power_set_800mhz/*"
FILES_${PN}-1ghz += "${MATRIX_APP_DIR}/power_set_1ghz/*"
# Split the ${bindir} files by clock
FILES_${PN}-300mhz += "${bindir}/setopp2.sh"
FILES_${PN}-600mhz += "${bindir}/setopp3.sh"
FILES_${PN}-800mhz += "${bindir}/setopp4.sh"
FILES_${PN}-1ghz += "${bindir}/setopp1.sh"
SRC_URI[md5sum] = "6d50592e364f39d7ed3b2805e6c227cb"
SRC_URI[sha256sum] = "ab51df1651a391e3f6a947faccf45354ef187508c65cb3de92cc9fef88206e65"
@@ -1,17 +0,0 @@
DESCRIPTION = "coming soon descriptions for Matrix v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
LIC_FILES_CHKSUM = "file://comingsoon/comingsoon.desktop;md5=01ebad171fad40705288fcabccc770a2"
inherit allarch
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/616/5029/comingsoon_1.0.tar.gz"
S = "${WORKDIR}"
require matrix-gui-apps.inc
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
SRC_URI[md5sum] = "04076ed62be226ffee3f3960237c47f8"
SRC_URI[sha256sum] = "f00d24a506f39b92ba335479f902bdb97680df3502f81343be5baab45fd2bc95"
-44
View File
@@ -1,44 +0,0 @@
DESCRIPTION = "Common files for all versions of Matrix GUI"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=37;md5=a802a01a3a58f2ebb1e83c25f883f0c0"
SECTION = "multimedia"
INC_PR = "r10"
COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
PLATFORM_dm365-evm = "dm365"
PLATFORM_dm368-evm = "dm368"
PLATFORM_omapl138 = "omapl138"
PLATFORM_omap3evm = "omap3530"
PLATFORM_dm37x-evm = "dm3730"
PLATFORM_am37x-evm = "am3715"
PLATFORM_beagleboard = "beagleboard"
PLATFORM_ti816x = "ti816x"
PLATFORM_ti814x = "ti814x"
PLATFORM_am180x-evm = "am180x"
PLATFORM_am181x-evm = "am181x"
PLATFORM_am3517-evm = "am3517"
#Checkout the project repository to get access to the scripts and data
#files.
SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
S = "${WORKDIR}/trunk"
PACKAGE_ARCH = ${MACHINE_ARCH}
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/
install -d ${D}/${datadir}/matrix/html
install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html
install -d ${D}/${datadir}/matrix/images
install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/
install -m 0644 ${S}/images/*.svg ${D}/${datadir}/matrix/images/
}
FILES_${PN} += "${datadir}/matrix/*"
@@ -1,7 +0,0 @@
require matrix-gui-common.inc
# Use the mem_util application from am-sysinfo instead of a
# prebuilt version in the repository.
RRECOMMENDS_${PN} = "am-sysinfo"
SRCREV = "275"
@@ -1,19 +0,0 @@
DESCRIPTION = "Cryptography demo descriptions for Matrix v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
inherit allarch
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/688/5114/cryptodemos_1.2.tar.gz"
S = ${WORKDIR}/cryptodemos
require matrix-gui-apps.inc
# Make sure crypto submenu has been installed and openssl is available
RDEPENDS += "matrix-gui-submenus-cryptos openssl"
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
SRC_URI[md5sum] = "dfab3e918fee165fb24e00cba5db8918"
SRC_URI[sha256sum] = "44fa00ce999279c10a51718298157d3006afb018f6f327f1803006b5e7068c8c"
@@ -1,21 +0,0 @@
DESCRIPTION = "Display control descriptions for Matrix v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
PR = "r1"
inherit allarch
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/674/5097/displaycontrol_1.1.tar.gz"
S = ${WORKDIR}/displaycontrol
require matrix-gui-apps.inc
# Make sure display submenu has been installed
RDEPENDS += matrix-gui-submenus-display
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
SRC_URI[md5sum] = "1032490affff638b993367ce5a451298"
SRC_URI[sha256sum] = "78d3a6e1e74acb55a927cc7e087cd15c33767cfaf9458200aa863025cee32f2e"
-48
View File
@@ -1,48 +0,0 @@
DESCRIPTION = "Matrix GUI for Qt Embedded"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=37;md5=a802a01a3a58f2ebb1e83c25f883f0c0"
SECTION = "multimedia"
INC_PR = "r24"
COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
PLATFORM_dm365-evm = "dm365"
PLATFORM_dm368-evm = "dm368"
PLATFORM_omapl138 = "omapl138"
PLATFORM_omap3evm = "omap3530"
PLATFORM_dm37x-evm = "dm3730"
PLATFORM_am37x-evm = "am3715"
PLATFORM_beagleboard = "beagleboard"
PLATFORM_ti816x = "ti816x"
PLATFORM_ti814x = "ti814x"
PLATFORM_am180x-evm = "am180x"
PLATFORM_am181x-evm = "am181x"
PLATFORM_am3517-evm = "am3517"
SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
S = "${WORKDIR}/trunk"
INITSCRIPT_NAME = "matrix-gui-e"
INITSCRIPT_PARAMS = "defaults 99"
#INITSCRIPT_PARAMS = "start 99 3 . stop 99 3 ."
CXXFLAGS_omapl138_append = " -DPlatform_omapl138 "
CXXFLAGS_dm365_append = " -DPlatform_dm365 "
PACKAGE_ARCH = ${MACHINE_ARCH}
inherit qt4e update-rc.d
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${S}/matrix_gui ${D}/${bindir}/matrix_guiE
install -d ${D}${sysconfdir}/init.d/
install -c -m 0755 ${S}/${PLATFORM}/etc/init ${D}${sysconfdir}/init.d/matrix-gui-e
}
RRECOMMENDS_${PN} = "qt4-embedded-plugin-mousedriver-tslib qt4-embedded-fonts"
RDEPENDS_${PN} += "matrix-gui-common"
-6
View File
@@ -1,6 +0,0 @@
require matrix-gui-e.inc
SRCREV = "275"
SRC_URI += "file://0001-matrix_gui.pro-add-dbus-to-QT-features-to-fix-linkin.patch"
-3
View File
@@ -1,3 +0,0 @@
export MATRIX_BASE_DIR = "${datadir}/matrix-gui-2.0"
export MATRIX_WEB_DIR = "${MATRIX_BASE_DIR}"
export MATRIX_APP_DIR = "${MATRIX_WEB_DIR}/apps"
@@ -1,21 +0,0 @@
DESCRIPTION = "Power management demo descriptions for Matrix v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
PR = "r1"
inherit allarch
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/676/5099/pmdemos_1.1.tar.gz"
S = ${WORKDIR}/pmdemos
require matrix-gui-apps.inc
# Make sure power submenu has been installed
RDEPENDS += matrix-gui-submenus-power
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
SRC_URI[md5sum] = "f996f9754c3d140e95501d8b4134f21c"
SRC_URI[sha256sum] = "229579b71439c0ad4cff60d7ebb4065f6871db57dd5baa4a5983c9f7804655ab"
@@ -1,20 +0,0 @@
DESCRIPTION = "Qt4 demo descriptions for Matrix v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
inherit allarch
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/608/5036/qt4demos_1.0.tar.gz"
S = ${WORKDIR}/qt4demos
require matrix-gui-apps.inc
# Make sure qt4 submenu has been installed
RDEPENDS += matrix-gui-submenus-qt4
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
SRC_URI[md5sum] = "49b65c4af67117ba70e0ddabfe486abe"
SRC_URI[sha256sum] = "8367c539caf6902961db4b8f38b0fb1f05b7b105d5e7fd143c9503ca0c8a1df2"
@@ -1,105 +0,0 @@
DESCRIPTION = "Submenu packages for Matrix GUI v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
LIC_FILES_CHKSUM = "file://settings/settings.desktop;md5=bbd663594c3e13b280ff5fffaddca672"
PR = "r7"
require matrix-gui-paths.inc
# These packages make submenus in matrix and are not architecture specific
inherit allarch
# List of submenu tarballs to use. Each tarball contains a desktop file
# and PNG graphic file for the submenu.
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/699/5133/arm_1.1.tar.gz;name=armtarball \
https://gforge.ti.com/gf/download/frsrelease/698/5134/3d_1.1.tar.gz;name=3dtarball \
https://gforge.ti.com/gf/download/frsrelease/700/5135/cryptos_1.1.tar.gz;name=cryptostarball \
https://gforge.ti.com/gf/download/frsrelease/693/5120/display_1.2.tar.gz;name=displaytarball \
https://gforge.ti.com/gf/download/frsrelease/692/5119/ethernet_1.4.tar.gz;name=ethernettarball \
https://gforge.ti.com/gf/download/frsrelease/701/5136/multimedia_1.1.tar.gz;name=multimediatarball \
https://gforge.ti.com/gf/download/frsrelease/702/5137/power_1.1.tar.gz;name=powertarball \
https://gforge.ti.com/gf/download/frsrelease/704/5139/pru_1.1.tar.gz;name=prutarball \
https://gforge.ti.com/gf/download/frsrelease/705/5140/qt4_1.1.tar.gz;name=qt4tarball \
https://gforge.ti.com/gf/download/frsrelease/694/5121/settings_1.2.tar.gz;name=settingstarball \
https://gforge.ti.com/gf/download/frsrelease/695/5122/usb_1.2.tar.gz;name=usbtarball \
https://gforge.ti.com/gf/download/frsrelease/697/5124/wifi_1.2.tar.gz;name=wifitarball \
https://gforge.ti.com/gf/download/frsrelease/703/5138/oprofile_1.1.tar.gz;name=oprofiletarball \
"
S = ${WORKDIR}
# List of submenus to build packages for
SUBMENUS = "arm 3d cryptos display ethernet multimedia power pru qt4 settings usb wifi oprofile"
do_install(){
install -d ${D}${MATRIX_APP_DIR}
for x in ${SUBMENUS}
do
cp -rf ${S}/$x ${D}${MATRIX_APP_DIR}/
done
}
PACKAGES += "${PN}-arm ${PN}-3d ${PN}-cryptos ${PN}-display ${PN}-ethernet ${PN}-multimedia ${PN}-power ${PN}-pru ${PN}-qt4 ${PN}-settings ${PN}-usb ${PN}-wifi ${PN}-oprofile"
# This should be automatic, but isn't :(
PROVIDES += "${PACKAGES}"
# All submenu packages should depend on matrix-gui being installed
RDEPENDS += matrix-gui
# Add the files for each submenu package
FILES_${PN}-arm = "${MATRIX_APP_DIR}/arm/*"
FILES_${PN}-3d = "${MATRIX_APP_DIR}/3d/*"
FILES_${PN}-cryptos = "${MATRIX_APP_DIR}/cryptos/*"
FILES_${PN}-display = "${MATRIX_APP_DIR}/display/*"
FILES_${PN}-ethernet = "${MATRIX_APP_DIR}/ethernet/*"
FILES_${PN}-multimedia = "${MATRIX_APP_DIR}/multimedia/*"
FILES_${PN}-power = "${MATRIX_APP_DIR}/power/*"
FILES_${PN}-pru = "${MATRIX_APP_DIR}/pru/*"
FILES_${PN}-qt4 = "${MATRIX_APP_DIR}/qt4/*"
FILES_${PN}-settings = "${MATRIX_APP_DIR}/settings/*"
FILES_${PN}-usb = "${MATRIX_APP_DIR}/usb/*"
FILES_${PN}-wifi = "${MATRIX_APP_DIR}/wifi/*"
FILES_${PN}-oprofile = "${MATRIX_APP_DIR}/oprofile/*"
# checksums for the submenu tarballs
SRC_URI[armtarball.md5sum] = "e43585674dac2d6d6860a26c2de5332c"
SRC_URI[armtarball.sha256um] = "270f82b09fcdc3d1a08570d30ff2a9085e7b61a0f6890f734c658cd6408de155"
SRC_URI[3dtarball.md5sum] = "1cabbb75849e892a5fc7322159750f8a"
SRC_URI[3dtarball.sha256um] = "df4983c0722a9427584497f737af57c8401a6b3898f71c994a0cfe97e5ade01a"
SRC_URI[cryptostarball.md5sum] = "88d4ece28e75eb28358b43729022c91a"
SRC_URI[cryptostarball.sha256um] = "7999b2e06d27c30294c104418db79a1f9652a07a066242120cb32d3f86706538"
SRC_URI[displaytarball.md5sum] = "eff9c5ab6667525ab0c452a6319cc5d8"
SRC_URI[displaytarball.sha256sum] = "834f22c4439bdd97c04160b9e002abcddf22188a01488476b604259324ea09af"
SRC_URI[ethernettarball.md5sum] = "ff82b9a0ce5bbf7b7672073147f415c9"
SRC_URI[ethernettarball.sha256sum] = "28e74cd7e30fff3c7cb6ac284fb39b98e73ecefa0182ab900f64d293845d51eb"
SRC_URI[multimediatarball.md5sum] = "21064503fc26611cfedf093e478440b3"
SRC_URI[multimediatarball.sha256sum] = "039d2f7fbbd29b31601cf6596268a5a43f9dd7e86ff888a9ef45515479797d3d"
SRC_URI[powertarball.md5sum] = "406a838e12d7f83bc5a004e748ceb660"
SRC_URI[powertarball.sha256sum] = "d6c0bc690c1f45cc81fa1673dad08bea03f799adb929e5a3ec3fe4ebda60fca8"
SRC_URI[prutarball.md5sum] = "b0eca67cdc45db2b9aa14987b4761068"
SRC_URI[prutarball.sha256sum] = "06d3acf5ba2e4d5ff796625b07b470e5cea945700c9571878b8f4ba6f171d2de"
SRC_URI[qt4tarball.md5sum] = "3576ad6bc96fceb18d4d8b0850bf559d"
SRC_URI[qt4tarball.sha256sum] = "11fd5ca37d72b7129035b7f6101b4b06ac2b69d53abcd6a2751d3e9c7000dec0"
SRC_URI[settingstarball.md5sum] = "f2634670768860954cc63309d1f4f37e"
SRC_URI[settingstarball.sha256sum] = "fb96e6e4107445e4d5d65e2475513a62e0cf5b52734c9f93e918715abcc09265"
SRC_URI[usbtarball.md5sum] = "63cebc3422af0f09f3eaa0a65b25bcde"
SRC_URI[usbtarball.sha256sum] = "7178afea3b5b2926ddbf80766f1d457d7a31704869bce62ffc8db4b3d6e063e7"
SRC_URI[wifitarball.md5sum] = "c8ae4df2521276b5b83294153825acf4"
SRC_URI[wifitarball.sha256sum] = "430f4c161eaf5dc28d524fbf4903274817023414154b2074a0b948e50724a6ff"
SRC_URI[oprofiletarball.md5sum] = "02d0c9eb9fed014170f57ad30f2a5c85"
SRC_URI[oprofiletarball.sha256sum] = "ebad9018c0bd37f075a248d60e6e5520824d09afd03e71395cfc9949747e33ac"
@@ -1,19 +0,0 @@
DESCRIPTION = "Wifi demo descriptions for Matrix v2"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrixguiv2apps/"
LICENSE = "CC-BY-SA"
inherit allarch
SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/678/5101/wifidemos_1.1.tar.gz"
S = ${WORKDIR}/wifidemos
require matrix-gui-apps.inc
# Make sure wifi submenu has been installed
RDEPENDS += matrix-gui-submenus-wifi
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
SRC_URI[md5sum] = "60d85261bcad85da7ecd024613343068"
SRC_URI[sha256sum] = "36fe8bbc461e157b00ebf8f9deab1e5c83eef2f618bc98f2956d974e76534c56"
-51
View File
@@ -1,51 +0,0 @@
DESCRIPTION = "Matrix GUI for Qt X11"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=37;md5=a802a01a3a58f2ebb1e83c25f883f0c0"
SECTION = "multimedia"
INC_PR = "r22"
COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"
PLATFORM_dm365-evm = "dm365"
PLATFORM_dm368-evm = "dm368"
PLATFORM_omapl138 = "omapl138"
PLATFORM_omap3evm = "omap3530"
PLATFORM_dm37x-evm = "dm3730"
PLATFORM_am37x-evm = "am3715"
PLATFORM_beagleboard = "beagleboard"
PLATFORM_ti816x = "ti816x"
PLATFORM_ti814x = "ti814x"
PLATFORM_am180x-evm = "am180x"
PLATFORM_am181x-evm = "am181x"
PLATFORM_am3517-evm = "am3517"
SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' "
S = "${WORKDIR}/trunk"
CXXFLAGS_omapl138_append = " -DPlatform_omapl138 "
CXXFLAGS_dm365_append = " -DPlatform_dm365 "
PACKAGE_ARCH = ${MACHINE_ARCH}
inherit qt4x11
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${S}/matrix_gui ${D}/${bindir}
install -d ${D}${sysconfdir}/init.d/
install -c -m 0755 ${S}/${PLATFORM}/etc/x11/init ${D}${sysconfdir}/init.d/matrix-gui
install -d ${D}/${sysconfdir}/xdg/autostart
install -m 0755 ${S}/${PLATFORM}/etc/x11/matrix-gui.desktop ${D}/${sysconfdir}/xdg/autostart
}
FILES_${PN}-autostart = "${sysconfdir}/xdg/autostart/matrix-gui.desktop"
#Make autostart package depend on matrix-gui package. Doesn't make sense
#to install the autostart package without the underlying matrix-gui package.
RDEPENDS_${PN}-autostart += "${PN}"
PACKAGES =+ "${PN}-autostart"
RDEPENDS_${PN} += "matrix-gui-common"
-64
View File
@@ -1,64 +0,0 @@
#! /bin/sh
matrixgui="/usr/bin/qtopia/demos/browser/browser"
GUI_OPTS="-qws -nogui http://localhost:8080/index.html"
PIDFILE="/var/run/matrix-gui-2.0.pid"
test -x "$matrixgui" || exit 0
export TSLIB_TSDEVICE=/dev/input/touchscreen0
export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
case "$1" in
start)
chvt 4
# Temporarily create the /dev/input/touchscreen0 symlink if it is
# not already present. On devices like am335x the driver does not
# report the right string in /sys/devices/platform/tsc/input/input0/modalias
# to match the regular expression in /etc/udev/rules.d/local.rules
# to have this symlink created automatically.
if [ -e /dev/input/event0 ]
then
# assume we are going to use event0
ln -s /dev/input/event0 /dev/input/touchscreen0
if [ ! -f /etc/pointercal ] ; then
echo -n "Calibrating touchscreen (first time only)"
ts_calibrate
echo "."
fi
fi
if [ -e $PIDFILE ]; then
PIDDIR=/proc/$(cat $PIDFILE)
if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${matrixgui}" ]; then
echo "$DESC already started; not starting."
else
echo "Removing stale PID file $PIDFILE."
rm -f $PIDFILE
fi
fi
echo -n "Starting Matrix GUI application"
cd __MATRIX_BASE_DIR__
start-stop-daemon --start --quiet --background --exec node -- server.js
# Need to investigate how to make the second start-stop command wait
# until the start of node is done.
sleep 5
start-stop-daemon --start --quiet --background --exec $matrixgui -- $GUI_OPTS
pidof ${matrixgui} > $PIDFILE
echo "."
;;
stop)
echo -n "Stopping Matrix GUI application"
start-stop-daemon --stop --quiet --pidfile /var/run/matrix-gui-2.0.pid
echo "."
;;
*)
echo "Usage: /etc/init.d/matrix-gui-2.0 {start|stop}"
exit 1
esac
exit 0
File diff suppressed because it is too large Load Diff
-6
View File
@@ -1,6 +0,0 @@
require matrix-gui.inc
SRCREV = "275"
SRC_URI += "file://0001-matrix_gui.pro-add-dbus-to-QT-features-to-fix-linkin.patch"
PR = "${INC_PR}.1"
-34
View File
@@ -1,34 +0,0 @@
DESCRIPTION = "Matrix GUI Application launcher"
HOMEPAGE = "https://gforge.ti.com/gf/project/matrix-gui-v2/"
LICENSE = "BSD MIT Apache"
LIC_FILES_CHKSUM = "file://javascript/jquery-latest.js;md5=9118381924c51c89d9414a311ec9c97f"
SECTION = "multimedia"
PR = "r6"
inherit allarch
BRANCH ?= "master"
SRCREV = "8e2bd5ffdded23bb662476fcd2490fa1526801f8"
SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2.git;protocol=git;branch=${BRANCH} \
file://php.ini"
require matrix-gui-paths.inc
S = "${WORKDIR}/git"
do_install(){
install -d ${D}${MATRIX_BASE_DIR}
install -d ${D}${MATRIX_WEB_DIR}
cp -rf ${S}/* ${D}${MATRIX_WEB_DIR}
# Install our php.ini file
install -m 0644 ${WORKDIR}/php.ini ${D}${MATRIX_BASE_DIR}/
}
RDEPENDS_${PN} += "matrix-lighttpd-config lighttpd lighttpd-module-cgi lighttpd-module-compress lighttpd-module-expire php php-cgi php-cli"
FILES_${PN} += "${MATRIX_BASE_DIR}/*"
@@ -1,26 +0,0 @@
DESCRIPTION = "ligHTTPD config for matrix"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://../lighttpd.conf.matrix;md5=58caecbd847bcc4d5141dea2ee4c42ec"
inherit allarch
SRC_URI = "file://lighttpd.conf.matrix"
do_install() {
install -d ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/lighttpd.conf.matrix ${D}${sysconfdir}/lighttpd.conf.matrix
}
FILES_${PN} = "${sysconfdir}/lighttpd.conf.matrix"
RDEPENDS_${PN} = "lighttpd"
pkg_postinst_${PN} () {
if [ -f $D${sysconfdir}/lighttpd.conf ] ; then
cp $D${sysconfdir}/lighttpd.conf.matrix $D${sysconfdir}/lighttpd.conf
else
echo "No lighttpd.conf found, aborting"
exit 1
fi
}
@@ -1,341 +0,0 @@
# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
############ Options you really have to take care of ####################
## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# "mod_rewrite",
# "mod_redirect",
# "mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
"mod_expire",
# "mod_fastcgi",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
# "mod_userdir",
"mod_cgi",
"mod_compress"
# "mod_ssi",
# "mod_usertrack",
# "mod_secdownload",
# "mod_rrdtool",
# "mod_webdav",
# "mod_accesslog"
)
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/usr/share/matrix-gui-2.0/"
## where to send error-messages to
#server.errorlog = "/www/logs/lighttpd.error.log"
# files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )
## set the event-handler (read the performance section in the manual)
# server.event-handler = "freebsd-kqueue" # needed on OS X
# mimetype mapping
mimetype.assign = (
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".tar" => "application/x-tar",
".zip" => "application/zip",
".mp3" => "audio/mpeg",
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
".ogg" => "application/ogg",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".xbm" => "image/x-xbitmap",
".xpm" => "image/x-xpixmap",
".xwd" => "image/x-xwindowdump",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".asc" => "text/plain",
".c" => "text/plain",
".cpp" => "text/plain",
".log" => "text/plain",
".conf" => "text/plain",
".text" => "text/plain",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml",
".mpeg" => "video/mpeg",
".mpg" => "video/mpeg",
".mov" => "video/quicktime",
".qt" => "video/quicktime",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
".wmv" => "video/x-ms-wmv",
".bz2" => "application/x-bzip",
".tbz" => "application/x-bzip-compressed-tar",
".tar.bz2" => "application/x-bzip-compressed-tar"
)
# Use the "Content-Type" extended attribute to obtain mime type if possible
#mimetype.use-xattr = "enable"
## send a different Server: header
## be nice and keep it at lighttpd
# server.tag = "lighttpd"
#### accesslog module
#accesslog.filename = "/www/logs/access.log"
#debug.log-request-handling = "enable"
## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be part
# of the document-root
url.access-deny = ( "~", ".inc" )
$HTTP["url"] =~ "\.pdf$" {
server.range-requests = "disable"
}
##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
######### Options that are good to be but not neccesary to be changed #######
## bind to port (default: 80)
server.port = 8080
## bind to localhost (default: all interfaces)
#server.bind = "grisu.home.kneschke.de"
## error-handler for status 404
#server.error-handler-404 = "/error-handler.html"
#server.error-handler-404 = "/error-handler.php"
## to help the rc.scripts
#server.pid-file = "/var/run/lighttpd.pid"
###### virtual hosts
##
## If you want name-based virtual hosting add the next three settings and load
## mod_simple_vhost
##
## document-root =
## virtual-server-root + virtual-server-default-host + virtual-server-docroot
## or
## virtual-server-root + http-host + virtual-server-docroot
##
#simple-vhost.server-root = "/home/weigon/wwwroot/servers/"
#simple-vhost.default-host = "grisu.home.kneschke.de"
#simple-vhost.document-root = "/pages/"
##
## Format: <errorfile-prefix><status-code>.html
## -> ..../status-404.html for 'File not found'
#server.errorfile-prefix = "/home/weigon/projects/lighttpd/doc/status-"
## virtual directory listings
#dir-listing.activate = "enable"
## enable debugging
#debug.log-request-header = "enable"
#debug.log-response-header = "enable"
#debug.log-request-handling = "enable"
#debug.log-file-not-found = "enable"
### only root can use these options
#
# chroot() to directory (default: no chroot() )
#server.chroot = "/"
## change uid to <uid> (default: don't care)
#server.username = "wwwrun"
## change uid to <uid> (default: don't care)
#server.groupname = "wwwrun"
#### compress module
compress.cache-dir = "/tmp/lighttpd/cache/compress/"
compress.filetype = ("text/plain", "text/html","text/javascript","text/css","image/png","text/php")
#### proxy module
## read proxy.txt for more info
#proxy.server = ( ".php" =>
# ( "localhost" =>
# (
# "host" => "192.168.0.101",
# "port" => 80
# )
# )
# )
#### fastcgi module
## read fastcgi.txt for more info
## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini
#fastcgi.server = ( ".php" =>
# ( "localhost" =>
# (
# "socket" => "/tmp/php-fastcgi.socket",
# "bin-path" => "/usr/bin/php-cgi -n -c /usr/share/matrix-gui-2.0/php.ini"
# )
# )
# )
#### CGI module
cgi.assign = ( ".php" => "/usr/bin/php-cgi")
#cgi.assign = ( ".pl" => "/usr/bin/perl",
# ".cgi" => "/usr/bin/perl" )
#
#### SSL engine
#ssl.engine = "enable"
#ssl.pemfile = "server.pem"
#### status module
#status.status-url = "/server-status"
#status.config-url = "/server-config"
#### auth module
## read authentication.txt for more info
#auth.backend = "plain"
#auth.backend.plain.userfile = "lighttpd.user"
#auth.backend.plain.groupfile = "lighttpd.group"
#auth.backend.ldap.hostname = "localhost"
#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
#auth.backend.ldap.filter = "(uid=$)"
#auth.require = ( "/server-status" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
# "require" => "user=jan"
# ),
# "/server-config" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
# "require" => "valid-user"
# )
# )
#### url handling modules (rewrite, redirect, access)
#url.rewrite = ( "^/$" => "/server-status" )
#url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
#### both rewrite/redirect support back reference to regex conditional using %n
#$HTTP["host"] =~ "^www\.(.*)" {
# url.redirect = ( "^/(.*)" => "http://%1/$1" )
#}
#
# define a pattern for the host url finding
# %% => % sign
# %0 => domain name + tld
# %1 => tld
# %2 => domain name without tld
# %3 => subdomain 1 name
# %4 => subdomain 2 name
#
#evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/"
#### expire module
#expire.url = ( "/images/" => "access 2 hours", "/css/" => "access plus 1 seconds 2 minutes")
$HTTP["url"] =~ "\.(jpg|gif|png)$" { expire.url = ( "" => "access 3 years" ) }
#### ssi
#ssi.extension = ( ".shtml" )
#### rrdtool
#rrdtool.binary = "/usr/bin/rrdtool"
#rrdtool.db-name = "/var/www/lighttpd.rrd"
#### setenv
#setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
#setenv.add-response-header = ( "X-Secret-Message" => "42" )
## for mod_trigger_b4_dl
# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db"
# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
# trigger-before-download.trigger-url = "^/trigger/"
# trigger-before-download.download-url = "^/download/"
# trigger-before-download.deny-url = "http://127.0.0.1/index.html"
# trigger-before-download.trigger-timeout = 10
## for mod_cml
## don't forget to add index.cml to server.indexfiles
# cml.extension = ".cml"
# cml.memcache-hosts = ( "127.0.0.1:11211" )
#### variable usage:
## variable name without "." is auto prefixed by "var." and becomes "var.bar"
#bar = 1
#var.mystring = "foo"
## integer add
#bar += 1
## string concat, with integer cast as string, result: "www.foo1.com"
#server.name = "www." + mystring + var.bar + ".com"
## array merge
#index-file.names = (foo + ".php") + index-file.names
#index-file.names += (foo + ".php")
#### include
#include /etc/lighttpd/lighttpd-inc.conf
## same as above if you run: "lighttpd -f /etc/lighttpd/lighttpd.conf"
#include "lighttpd-inc.conf"
#### include_shell
#include_shell "echo var.a=1"
## the above is same as:
#var.a=1
###Franklin
etag.use-inode = "enable"
etag.use-mtime = "enable"
etag.use-size = "enable"
static-file.etags = "enable"