summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Brueckner <darks@gentoo.org>2001-09-06 23:55:13 +0000
committerHolger Brueckner <darks@gentoo.org>2001-09-06 23:55:13 +0000
commitcc66f5ac560445434e093c86446044378f8532ea (patch)
tree26ec7f21211304c6d0fa23822d9f00684f54b3de /net-misc/omniORB/files
parentfixed man.conf (diff)
downloadgentoo-2-cc66f5ac560445434e093c86446044378f8532ea.tar.gz
gentoo-2-cc66f5ac560445434e093c86446044378f8532ea.tar.bz2
gentoo-2-cc66f5ac560445434e093c86446044378f8532ea.zip
fice omniNotify
notifd get's started with onmiNameservice python stubs will be generated
Diffstat (limited to 'net-misc/omniORB/files')
-rw-r--r--net-misc/omniORB/files/mkomnistubs.py24
-rwxr-xr-xnet-misc/omniORB/files/omniORB6
2 files changed, 28 insertions, 2 deletions
diff --git a/net-misc/omniORB/files/mkomnistubs.py b/net-misc/omniORB/files/mkomnistubs.py
new file mode 100644
index 000000000000..47c3e8386486
--- /dev/null
+++ b/net-misc/omniORB/files/mkomnistubs.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+
+
+import os
+
+
+idlfiles = ["TimeBase", "CosTime", "CosEventComm", "CosEventChannelAdmin",
+"CosTypedEventComm", "CosTypedEventChannelAdmin", "CosTimerEvent",
+"CosNotification", "CosNotifyComm", "CosNotifyFilter",
+"CosNotifyChannelAdmin", "CosTypedNotifyComm", "CosTypedNotifyChannelAdmin",
+"AttNotifyChannelAdmin"]
+
+
+# d is the top-level idl directory from an omniORB release
+d = "/usr/idl"
+
+
+for x in idlfiles:
+ y = x + ".idl"
+ print x
+ cmd = "omniidl -bpython -C /usr/lib/python2.1/site-packages/ -I%s -I%s/COS -DNOLONGLONG %s/COS/%s" % (d, d, d, y)
+ print cmd
+ os.system(cmd)
+
diff --git a/net-misc/omniORB/files/omniORB b/net-misc/omniORB/files/omniORB
index 32b7b17136f3..3d7072ae33e2 100755
--- a/net-misc/omniORB/files/omniORB
+++ b/net-misc/omniORB/files/omniORB
@@ -4,7 +4,8 @@
. /etc/rc.d/config/functions
SERVICE=omniORB
-EXE="/usr/bin/omniNames"
+EXE1="/usr/bin/omniNames"
+EXE2="/usr/bin/notifd"
opts="start stop restart"
start() {
@@ -15,7 +16,8 @@ start() {
rm -f /var/log/omniORB/omninames*
fi
ebegin "Starting ${SERVICE}"
- exec $EXE -start 2809 -logdir /var/log/omniORB -errlog /var/log/omniORB/omniORB.errors 1>&2 &
+ exec $EXE1 -start 2809 -logdir /var/log/omniORB -errlog /var/log/omniORB/omniORB.errors 1>&2 &
+ exec $EXE2 -c /etc/omniorb/channel.cfg 1>&2 &
eend $? "Error starting ${SERVICE}."
}