summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb')
-rw-r--r--meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb118
1 files changed, 0 insertions, 118 deletions
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb b/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
deleted file mode 100644
index c6d78905d..000000000
--- a/meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb
+++ /dev/null
@@ -1,118 +0,0 @@
1SUMMARY = "Meet Cloud9, development-as-a-service for Javascripters and other developers"
2HOMEPAGE = "http://c9.io"
3LICENSE = "GPLv3"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018"
5
6PR = "r5"
7
8# Nodejs-native for node-waf, nodejs4-native for the headers
9DEPENDS = "libxml2 nodejs-native nodejs4-native"
10
11PNBLACKLIST[cloud9] ?= "Not comatible with current nodejs 0.12, but upstream is working on it for v3 - the recipe will be removed on 2017-09-01 unless the issue is fixed"
12inherit systemd
13
14SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \
15 git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \
16 git://github.com/ajaxorg/ace.git;destsuffix=git/support/ace;name=ace \
17 git://github.com/ajaxorg/ace.wiki.git;destsuffix=git/support/ace/doc/wiki;name=acewiki \
18 git://github.com/ajaxorg/apf.git;destsuffix=git/support/apf;name=apf \
19 git://github.com/ajaxorg/async.js.git;destsuffix=git/support/asyncjs;name=asyncjs \
20 git://github.com/ajaxorg/connect.git;destsuffix=git/support/connect;name=connect;branch=ajaxorg \
21 git://github.com/jashkenas/coffee-script.git;destsuffix=git/support/connect/support/coffee-script;name=coffee-script \
22 git://github.com/visionmedia/expresso.git;destsuffix=git/support/connect/support/expresso;name=expresso \
23 git://github.com/visionmedia/node-jscoverage.git;destsuffix=git/support/connect/support/expresso/deps/jscoverage;name=jscoverage \
24 git://github.com/cloudhead/less.js.git;destsuffix=git/support/connect/support/less;name=less \
25 git://github.com/matehat/sass.js.git;destsuffix=git/support/connect/support/sass;name=sass \
26 git://github.com/ajaxorg/jsDAV.git;destsuffix=git/support/jsdav;name=jsdav \
27 git://github.com/fjakobs/async.js.git;destsuffix=git/support/jsdav/support/async.js;name=async-js \
28 git://github.com/felixge/node-formidable.git;destsuffix=git/support/jsdav/support/formidable;name=formidable \
29 git://github.com/ajaxorg/jsftp.git;destsuffix=git/support/jsdav/support/jsftp;name=jsftp \
30 git://github.com/Gozala/streamer.git;destsuffix=git/support/jsdav/support/jsftp/support/streamer;name=streamer \
31 git://github.com/ajaxorg/node-sftp.git;destsuffix=git/support/jsdav/support/node-sftp;name=sftp \
32 git://github.com/ajaxorg/lib-v8debug.git;destsuffix=git/support/lib-v8debug;name=lib-v8debug \
33 git://github.com/ajaxorg/socket.io.git;destsuffix=git/support/socket.io;name=socketio;branch=cadorn-upstream \
34 git://github.com/LearnBoost/socket.io-client.git;destsuffix=git/support/socket.io-client;name=socketio-client \
35 git://github.com/ajaxorg/treehugger.git;destsuffix=git/support/treehugger;name=treehugger \
36 git://github.com/ajaxorg/UglifyJS.git;destsuffix=git/support/uglify-js;name=uglify-js \
37 file://index.js \
38 file://cloud9-avahi.service \
39 file://cloud9.service \
40 file://0001-ide-use-node-as-interpreter-for-sketches-instead-of-.patch \
41"
42
43SRCREV_cloud9ide = "c4e2574896a22bb749f0500b25f41c888d346bed"
44SRCREV_o3 = "d66d4e3252e505f44ada6804c8cab39915ce8afd"
45SRCREV_ace = "0fc5392cbe46fb134052c3065a238ad8e3b31cfd"
46SRCREV_acewiki = "d2a65d0addc2e5ab922bbff9cb6022a4652b4f13"
47SRCREV_apf = "2560b762b2b0e5a8b46f8a4062f927a9a9d239f4"
48SRCREV_asyncjs = "d36ead408e2959b1e99572114ef3a1b6a48c1072"
49SRCREV_connect = "6bec95b51f2286b942bc7f340d62d816bcdc13d4"
50SRCREV_coffee-script = "a53c104db16d3ac9d13cf9f16834edec250b9749"
51SRCREV_expresso = "7f10ab7fa655299b4e2f519065b0495e6ac34ef2"
52SRCREV_jscoverage = "0d4608a6b4275b020ba665389aa75897d5d4a584"
53SRCREV_less = "a2807288008587b95c6c2f8ba5cac16f1bcab98f"
54SRCREV_sass = "4dfd4c699e7a8baf226215ab044854c4507f4420"
55SRCREV_jsdav = "f04ebf3d012cc8aeabfcfb2b8fab8966d52929e9"
56SRCREV_async-js = "92fb710a70efd3cdc2376ebfba71a7fb3a4f1651"
57SRCREV_formidable = "a37292d4b7d6d76a38909ed670334c9068d40871"
58SRCREV_jsftp = "e3f10c8927347c170cdd0150ef38e18272acf942"
59SRCREV_streamer = "1a7f75d4065819171ac91a09974199b932dbe17d"
60SRCREV_sftp = "a0539345134970d7535a19cb2608e3d1bc119d71"
61SRCREV_lib-v8debug = "7c11897f4bc77c7275c2b6dff5becc72ac018662"
62SRCREV_socketio = "735d5239b325df2ba67d2b9bb4ec32442283bc06"
63SRCREV_socketio-client = "4375ef1344ecb8ad75a3848a00af6b391822f86b"
64SRCREV_treehugger = "436d0d6dd0ce43782e6be08ad12c356730626996"
65SRCREV_uglify-js = "941c845c4a01e4e47a158458fe846eb36d0828ad"
66
67SRCREV_FORMAT = "cloud9ide"
68
69S = "${WORKDIR}/git"
70
71do_configure () {
72 cd ${WORKDIR}/o3
73 node-waf -vv configure
74}
75
76EXTRA_CXXFLAGS = "-Idefault/include -I../include -Idefault/hosts -I../hosts -Idefault/modules -I../modules -Idefault/deps -I../deps -I${STAGING_DIR_NATIVE}/usr/include/node4 -fPIC -DPIC"
77
78do_compile () {
79 cd ${WORKDIR}/o3
80 node4 tools/gluegen.js
81 cd hosts
82 ${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node.o node-o3/sh_node.cc
83 ${CXX} ${TARGET_CXXFLAGS} ${EXTRA_CXXFLAGS} -c -o sh_node_libs.o node-o3/sh_node_libs.cc
84 cd ..
85 ${CXX} ${TARGET_LDFLAGS} hosts/sh_node.o hosts/sh_node_libs.o -o o3.node -shared -Wl,-Bdynamic -lxml2
86}
87
88do_install () {
89 install -m 0755 -d ${D}${datadir}/cloud9 ${D}${bindir} ${D}/var/lib/cloud9
90 rsync -r --exclude=".*" ${S}/* ${D}${datadir}/cloud9
91
92 touch ${D}${bindir}/cloud9
93 echo "#!/bin/sh" > ${D}${bindir}/cloud9
94 echo "node4 ${datadir}/cloud9/bin/cloud9.js -l 0.0.0.0 -w /var/lib/cloud9 -p 3000" >> ${D}${bindir}/cloud9
95 chmod 0755 ${D}${bindir}/cloud9
96
97 install -m 0755 -d ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml
98 install -m 0644 ${WORKDIR}/index.js ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/index.js
99 install -m 0644 ${WORKDIR}/o3/modules/o3.js ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/o3.js
100 install -m 0755 ${WORKDIR}/o3/o3.node ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/o3.node
101
102 install -m 0755 -d ${D}${sysconfdir}/avahi/services/
103 install -m 0644 ${WORKDIR}/cloud9-avahi.service ${D}${sysconfdir}/avahi/services/
104
105 install -d ${D}${systemd_unitdir}/system
106 install -m 0644 ${WORKDIR}/cloud9.service ${D}${systemd_unitdir}/system
107}
108
109FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3-xml/.debug \
110 ${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/.debug \
111"
112
113RDEPENDS_${PN} = "nodejs4 nodejs gzip"
114
115RPROVIDES_${PN} += "${PN}-systemd"
116RREPLACES_${PN} += "${PN}-systemd"
117RCONFLICTS_${PN} += "${PN}-systemd"
118SYSTEMD_SERVICE_${PN} = "cloud9.service"