mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
cloud9 0.5.1: use nodejs4 instead of nodejs
This allows using nodejs 0.6.x for apps, but running cloud9 using node4 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -3,7 +3,7 @@ Description=Cloud9 IDE
|
|||||||
ConditionPathExists=|/var/lib/cloud9
|
ConditionPathExists=|/var/lib/cloud9
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/node /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000
|
ExecStart=/usr/bin/node4 /usr/share/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018"
|
|||||||
|
|
||||||
DEPENDS = "libxml2 nodejs-native"
|
DEPENDS = "libxml2 nodejs-native"
|
||||||
|
|
||||||
PR = "r15"
|
PR = "r16"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \
|
SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \
|
||||||
git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \
|
git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \
|
||||||
@@ -90,7 +90,7 @@ do_install () {
|
|||||||
|
|
||||||
touch ${D}${bindir}/cloud9
|
touch ${D}${bindir}/cloud9
|
||||||
echo "#!/bin/sh" > ${D}${bindir}/cloud9
|
echo "#!/bin/sh" > ${D}${bindir}/cloud9
|
||||||
echo "node ${datadir}/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9
|
echo "node4 ${datadir}/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9
|
||||||
chmod 0755 ${D}${bindir}/cloud9
|
chmod 0755 ${D}${bindir}/cloud9
|
||||||
|
|
||||||
install -m 0755 -d ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml
|
install -m 0755 -d ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml
|
||||||
@@ -106,7 +106,7 @@ FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o
|
|||||||
${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/.debug \
|
${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/.debug \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "nodejs gzip"
|
RDEPENDS_${PN} = "nodejs4 gzip"
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user