diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-02 19:04:47 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-02 19:10:55 +0100 |
| commit | b3d7efbc9a1853a953177efd7988069fad3551ef (patch) | |
| tree | ab0e3e614ba8b9129a3f1694dc252ad4a7946d6f /meta-oe/recipes-devtools/cloud9 | |
| parent | 640a2e2a58fd8d08de497e200ca33633927e0c2e (diff) | |
| download | meta-openembedded-b3d7efbc9a1853a953177efd7988069fad3551ef.tar.gz | |
cloud9: add avahi service file
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-devtools/cloud9')
| -rw-r--r-- | meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service | 10 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb | 8 |
2 files changed, 16 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service b/meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service new file mode 100644 index 0000000000..cb9b6e2db9 --- /dev/null +++ b/meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | <?xml version="1.0" standalone='no'?><!--*-nxml-*--> | ||
| 2 | <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | ||
| 3 | |||
| 4 | <service-group> | ||
| 5 | <name replace-wildcards="yes">Cloud9 IDE on %h</name> | ||
| 6 | <service> | ||
| 7 | <type>_http._tcp</type> | ||
| 8 | <port>3000</port> | ||
| 9 | </service> | ||
| 10 | </service-group> | ||
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb index 9e80e03e3b..612b7a559d 100644 --- a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb +++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018" | |||
| 5 | 5 | ||
| 6 | DEPENDS = "libxml2 nodejs-native" | 6 | DEPENDS = "libxml2 nodejs-native" |
| 7 | 7 | ||
| 8 | PR = "r7" | 8 | PR = "r8" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \ | 10 | SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \ |
| 11 | git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \ | 11 | git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \ |
| @@ -34,6 +34,7 @@ SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \ | |||
| 34 | git://github.com/ajaxorg/UglifyJS.git;destsuffix=git/support/uglify-js;name=uglify-js \ | 34 | git://github.com/ajaxorg/UglifyJS.git;destsuffix=git/support/uglify-js;name=uglify-js \ |
| 35 | file://0001-remove-x86-specific-compiler-flags.patch \ | 35 | file://0001-remove-x86-specific-compiler-flags.patch \ |
| 36 | file://cloud9.service \ | 36 | file://cloud9.service \ |
| 37 | file://cloud9-avahi.service \ | ||
| 37 | " | 38 | " |
| 38 | 39 | ||
| 39 | SRCREV_cloud9ide = "f2bb59777c0c1fa9c82e8307094e3595e2c9db0b" | 40 | SRCREV_cloud9ide = "f2bb59777c0c1fa9c82e8307094e3595e2c9db0b" |
| @@ -97,7 +98,10 @@ do_install () { | |||
| 97 | install -m 0755 ${WORKDIR}/o3/o3.node ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3.node | 98 | install -m 0755 ${WORKDIR}/o3/o3.node ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3.node |
| 98 | 99 | ||
| 99 | install -m 0755 -d ${D}${base_libdir}/systemd/system | 100 | install -m 0755 -d ${D}${base_libdir}/systemd/system |
| 100 | install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system/ | 101 | install -m 0644 ${WORKDIR}/cloud9.service ${D}${base_libdir}/systemd/system/ |
| 102 | |||
| 103 | install -m 0755 -d ${D}${sysconfdir}/avahi/services/ | ||
| 104 | install -m 0644 ${WORKDIR}/cloud9-avahi.service ${D}${sysconfdir}/avahi/services/ | ||
| 101 | } | 105 | } |
| 102 | 106 | ||
| 103 | FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/node-o3-xml/.debug \ | 107 | FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/node-o3-xml/.debug \ |
