More build fixes. Add a script for presence service.
This commit is contained in:
parent
7e40025966
commit
7f39ed44e9
@ -1,10 +1,11 @@
|
|||||||
SUBDIRS = PresenceService data
|
SUBDIRS = PresenceService data
|
||||||
|
|
||||||
bin_SCRIPTS = \
|
bin_SCRIPTS = \
|
||||||
sugar \
|
sugar \
|
||||||
sugar-activity \
|
sugar-activity \
|
||||||
sugar-activity-factory \
|
sugar-activity-factory \
|
||||||
sugar-people
|
sugar-people \
|
||||||
|
sugar-presence-service
|
||||||
|
|
||||||
sugardir = $(pkgdatadir)/shell
|
sugardir = $(pkgdatadir)/shell
|
||||||
sugar_PYTHON = \
|
sugar_PYTHON = \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
sugardir = $(pkgdatadir)/shell
|
sugardir = $(pkgdatadir)/shell/PresenceService
|
||||||
sugar_PYTHON = \
|
sugar_PYTHON = \
|
||||||
__init__.py \
|
__init__.py \
|
||||||
Activity.py \
|
Activity.py \
|
||||||
|
@ -47,13 +47,14 @@ class MatchboxProcess(Process):
|
|||||||
|
|
||||||
class PresenceServiceProcess(Process):
|
class PresenceServiceProcess(Process):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
Process.__init__(self, "python shell/PresenceService/PresenceService.py",)
|
Process.__init__(self, "sugar-presence-service",)
|
||||||
|
|
||||||
def get_name(self):
|
def get_name(self):
|
||||||
return "PresenceService"
|
return "PresenceService"
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
Process.start(self)
|
Process.start(self)
|
||||||
|
# FIXME we really need something better
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
class Session:
|
class Session:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
confdir = $(datadir)
|
confdir = $(pkgdatadir)
|
||||||
conf_DATA = kbdconfig
|
conf_DATA = kbdconfig
|
||||||
|
|
||||||
imagesdir = $(datadir)
|
imagesdir = $(pkgdatadir)
|
||||||
images_DATA = \
|
images_DATA = \
|
||||||
home-background.png
|
home-background.png
|
||||||
|
|
||||||
|
5
shell/sugar-presence-service
Executable file
5
shell/sugar-presence-service
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
from PresenceService import PresenceService
|
||||||
|
|
||||||
|
PresenceService.main()
|
Loading…
Reference in New Issue
Block a user