summaryrefslogtreecommitdiff
path: root/packages/exalt
diff options
context:
space:
mode:
Diffstat (limited to 'packages/exalt')
-rw-r--r--packages/exalt/.mtn2git_empty0
-rw-r--r--packages/exalt/exalt-daemon/.mtn2git_empty0
-rw-r--r--packages/exalt/exalt-daemon/init37
-rw-r--r--packages/exalt/exalt-daemon_svn.bb13
-rw-r--r--packages/exalt/exalt-module/.mtn2git_empty0
-rw-r--r--packages/exalt/exalt-module/autotools-fix.patch12
-rw-r--r--packages/exalt/exalt-module_svn.bb19
-rw-r--r--packages/exalt/exalt.inc12
-rw-r--r--packages/exalt/exalt_svn.bb4
-rw-r--r--packages/exalt/libexalt-dbus_svn.bb9
-rw-r--r--packages/exalt/libexalt_svn.bb8
11 files changed, 114 insertions, 0 deletions
diff --git a/packages/exalt/.mtn2git_empty b/packages/exalt/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/exalt/.mtn2git_empty
diff --git a/packages/exalt/exalt-daemon/.mtn2git_empty b/packages/exalt/exalt-daemon/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/exalt/exalt-daemon/.mtn2git_empty
diff --git a/packages/exalt/exalt-daemon/init b/packages/exalt/exalt-daemon/init
new file mode 100644
index 0000000000..cbceed1793
--- /dev/null
+++ b/packages/exalt/exalt-daemon/init
@@ -0,0 +1,37 @@
+#!/bin/sh
+set -e
+
+#need dbus and hald
+
+start() {
+ echo -n "Starting Exalt daemon..."
+ start-stop-daemon --start --exec /usr/sbin/exalt-daemon \
+ --pidfile /var/run/exaltd.pid
+ echo "done."
+}
+
+stop() {
+ echo -n "Stopping Exalt daemon..."
+ start-stop-daemon --stop --exec /usr/sbin/exalt-daemon \
+ --pidfile /var/run/exaltd.pid
+ echo "done."
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart)
+ stop
+ sleep 2
+ start
+ ;;
+ *)
+ echo "Usage: $(basename $0) {start|stop|restart}"
+ exit 1
+esac
+
+exit 0
diff --git a/packages/exalt/exalt-daemon_svn.bb b/packages/exalt/exalt-daemon_svn.bb
new file mode 100644
index 0000000000..8f5e9afa29
--- /dev/null
+++ b/packages/exalt/exalt-daemon_svn.bb
@@ -0,0 +1,13 @@
+require exalt.inc
+
+DEPENDS = "evas edbus libexalt"
+
+SRC_URI += "file://init"
+
+do_install_append() {
+ install -D -m 0755 "${WORKDIR}/init" "${D}${sysconfdir}/dbus-1/event.d/40exaltd"
+}
+
+FILES_${PN} += "${sysconfdir}/dbus-1/event.d/"
+
+EXALT_MODULE = "daemon"
diff --git a/packages/exalt/exalt-module/.mtn2git_empty b/packages/exalt/exalt-module/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/exalt/exalt-module/.mtn2git_empty
diff --git a/packages/exalt/exalt-module/autotools-fix.patch b/packages/exalt/exalt-module/autotools-fix.patch
new file mode 100644
index 0000000000..8f3b3deb51
--- /dev/null
+++ b/packages/exalt/exalt-module/autotools-fix.patch
@@ -0,0 +1,12 @@
+Index: module/Makefile.am
+===================================================================
+--- module.orig/Makefile.am 2008-04-16 17:39:03.000000000 +0800
++++ module/Makefile.am 2008-04-16 17:39:05.000000000 +0800
+@@ -26,7 +26,6 @@
+ # the module .so file
+ INCLUDES = -I. \
+ -I$(top_srcdir) \
+- -I$(includedir) \
+ @EXALT_CFLAGS@ \
+ @e_cflags@
+
diff --git a/packages/exalt/exalt-module_svn.bb b/packages/exalt/exalt-module_svn.bb
new file mode 100644
index 0000000000..0a28a1a206
--- /dev/null
+++ b/packages/exalt/exalt-module_svn.bb
@@ -0,0 +1,19 @@
+require exalt.inc
+
+DEPENDS = "edbus libexalt-dbus"
+RDEPENDS_${PN} = "exalt"
+
+SRC_URI += "file://autotools-fix.patch;patch=1;minrev=78"
+
+EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"
+
+FILES_${PN} += "${libdir}/enlightenment/modules/module_exalt/*.edj \
+ ${libdir}/enlightenment/modules/module_exalt/*/*.so \
+ ${libdir}/enlightenment/modules/module_exalt/*.desktop \
+ ${libdir}/enlightenment/modules/module_exalt/module_exalt"
+FILES_${PN}-dev += "${libdir}/enlightenment/modules/module_exalt/*/*.a \
+ ${libdir}/enlightenment/modules/module_exalt/*/*.la"
+FILES_${PN}-dbg += "${libdir}/enlightenment/modules/module_exalt/*/.debug"
+FILES_${PN}-locale += "${libdir}/enlightenment/modules/module_exalt/locale"
+
+EXALT_MODULE = "module"
diff --git a/packages/exalt/exalt.inc b/packages/exalt/exalt.inc
new file mode 100644
index 0000000000..2e82be2d82
--- /dev/null
+++ b/packages/exalt/exalt.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "Exalt is a network manager for the windows manager Enlightenment DR17."
+AUTHOR = "John Lee <john_lee@openmoko.com>"
+HOMEPAGE = "http://watchwolf.fr/wiki/doku.php?id=exalt"
+PV = "0.0.0+svnr${SRCREV}"
+
+SRC_URI = "svn://svn.berlios.de/exalt/trunk;module=${EXALT_MODULE};proto=svn"
+
+S = "${WORKDIR}/${EXALT_MODULE}"
+
+inherit autotools pkgconfig
+
+EXALT_MODULE ?= "${PN}"
diff --git a/packages/exalt/exalt_svn.bb b/packages/exalt/exalt_svn.bb
new file mode 100644
index 0000000000..0ed46a2e96
--- /dev/null
+++ b/packages/exalt/exalt_svn.bb
@@ -0,0 +1,4 @@
+require exalt.inc
+
+DEPENDS = "ecore etk edbus libexalt libexalt-dbus"
+RDEPENDS_${PN} = "exalt-daemon"
diff --git a/packages/exalt/libexalt-dbus_svn.bb b/packages/exalt/libexalt-dbus_svn.bb
new file mode 100644
index 0000000000..e40766bfe5
--- /dev/null
+++ b/packages/exalt/libexalt-dbus_svn.bb
@@ -0,0 +1,9 @@
+require exalt.inc
+
+DEPENDS = "ecore edbus libexalt"
+
+do_stage() {
+ autotools_stage_all
+}
+
+EXALT_MODULE = "libexalt_dbus"
diff --git a/packages/exalt/libexalt_svn.bb b/packages/exalt/libexalt_svn.bb
new file mode 100644
index 0000000000..cd70d52c77
--- /dev/null
+++ b/packages/exalt/libexalt_svn.bb
@@ -0,0 +1,8 @@
+require exalt.inc
+
+DEPENDS = "ecore eet ecore edbus evas wpa-supplicant dhcp"
+RDEPENDS_${PN} = "wpa-supplicant dhclient"
+
+do_stage() {
+ autotools_stage_all
+}