diff options
author | Holger Brueckner <darks@gentoo.org> | 2001-09-06 23:55:13 +0000 |
---|---|---|
committer | Holger Brueckner <darks@gentoo.org> | 2001-09-06 23:55:13 +0000 |
commit | cc66f5ac560445434e093c86446044378f8532ea (patch) | |
tree | 26ec7f21211304c6d0fa23822d9f00684f54b3de /net-misc/omniORB/files | |
parent | fixed man.conf (diff) | |
download | gentoo-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.py | 24 | ||||
-rwxr-xr-x | net-misc/omniORB/files/omniORB | 6 |
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}." } |