cloud9: add avahi service file

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-11-02 19:04:47 +01:00
parent 640a2e2a58
commit b3d7efbc9a
2 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Cloud9 IDE on %h</name>
<service>
<type>_http._tcp</type>
<port>3000</port>
</service>
</service-group>

View File

@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018"
DEPENDS = "libxml2 nodejs-native"
PR = "r7"
PR = "r8"
SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \
git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \
@@ -34,6 +34,7 @@ SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \
git://github.com/ajaxorg/UglifyJS.git;destsuffix=git/support/uglify-js;name=uglify-js \
file://0001-remove-x86-specific-compiler-flags.patch \
file://cloud9.service \
file://cloud9-avahi.service \
"
SRCREV_cloud9ide = "f2bb59777c0c1fa9c82e8307094e3595e2c9db0b"
@@ -97,7 +98,10 @@ do_install () {
install -m 0755 ${WORKDIR}/o3/o3.node ${D}${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o3.node
install -m 0755 -d ${D}${base_libdir}/systemd/system
install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system/
install -m 0644 ${WORKDIR}/cloud9.service ${D}${base_libdir}/systemd/system/
install -m 0755 -d ${D}${sysconfdir}/avahi/services/
install -m 0644 ${WORKDIR}/cloud9-avahi.service ${D}${sysconfdir}/avahi/services/
}
FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/node-o3-xml/.debug \