From b3d7efbc9a1853a953177efd7988069fad3551ef Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 2 Nov 2011 19:04:47 +0100 Subject: cloud9: add avahi service file Signed-off-by: Koen Kooi --- meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service | 10 ++++++++++ meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb | 8 ++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-devtools/cloud9/cloud9/cloud9-avahi.service 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 @@ + + + + + Cloud9 IDE on %h + + _http._tcp + 3000 + + 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" 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 \ -- cgit v1.2.3-54-g00ecf