From 21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 Mon Sep 17 00:00:00 2001 From: Robert Xu Date: Thu, 10 Nov 2011 18:04:39 -0500 Subject: initial commit to suse branch: eclipse integration --- opensuse/core/arts/arts-start-on-demand.diff | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 opensuse/core/arts/arts-start-on-demand.diff (limited to 'opensuse/core/arts/arts-start-on-demand.diff') diff --git a/opensuse/core/arts/arts-start-on-demand.diff b/opensuse/core/arts/arts-start-on-demand.diff new file mode 100644 index 000000000..032231c16 --- /dev/null +++ b/opensuse/core/arts/arts-start-on-demand.diff @@ -0,0 +1,25 @@ +Index: mcop/objectmanager.cc +=================================================================== +--- mcop/objectmanager.cc.orig ++++ mcop/objectmanager.cc +@@ -28,6 +28,7 @@ + #include "extensionloader.h" + #include "debug.h" + #include ++#include + #include + #include + +@@ -267,6 +268,12 @@ bool ObjectManager::addGlobalReference(O + + string ObjectManager::getGlobalReference(const string& name) + { ++ static bool started_arts = false; ++ if (!started_arts) ++ { ++ system("arts-start"); ++ started_arts = true; ++ } + return Dispatcher::the()->globalComm().get(name); + } + -- cgit v1.2.3