It seems all of the other connection managers are stored in telepathy's lib dir,...
authorEd Page <eopage@byu.net>
Tue, 29 Dec 2009 18:01:49 +0000 (12:01 -0600)
committerEd Page <eopage@byu.net>
Tue, 29 Dec 2009 18:01:49 +0000 (12:01 -0600)
Makefile
src/telepathy-theonering
support/builddeb.py
support/org.freedesktop.Telepathy.ConnectionManager.theonering.service

index bfacab9..fcb92a2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ package: $(OBJ)
        cp $(SOURCE_PATH)/constants.py  $(BUILD_PATH)/generic
        $(foreach file, $(DATA), cp $(file) $(BUILD_PATH)/generic/$(subst /,!,$(file)) ; )
        $(foreach file, $(SOURCE), cp $(file) $(BUILD_PATH)/generic/$(subst /,!,$(file)) ; )
        cp $(SOURCE_PATH)/constants.py  $(BUILD_PATH)/generic
        $(foreach file, $(DATA), cp $(file) $(BUILD_PATH)/generic/$(subst /,!,$(file)) ; )
        $(foreach file, $(SOURCE), cp $(file) $(BUILD_PATH)/generic/$(subst /,!,$(file)) ; )
-       cp $(SOURCE_PATH)/telepathy-theonering $(BUILD_PATH)/generic/$(subst /,!,$(SOURCE_PATH)/telepathy-theonering)
+       cp $(SOURCE_PATH)/telepathy-theonering $(BUILD_PATH)/generic/
        cp support/$(PROJECT_NAME).manager $(BUILD_PATH)/generic
        cp support/$(PROJECT_NAME).profile.* $(BUILD_PATH)/generic
        cp support/org.freedesktop.Telepathy.ConnectionManager.$(PROJECT_NAME).service $(BUILD_PATH)/generic
        cp support/$(PROJECT_NAME).manager $(BUILD_PATH)/generic
        cp support/$(PROJECT_NAME).profile.* $(BUILD_PATH)/generic
        cp support/org.freedesktop.Telepathy.ConnectionManager.$(PROJECT_NAME).service $(BUILD_PATH)/generic
index b18e407..baf7dae 100755 (executable)
@@ -1,5 +1,8 @@
 #!/usr/bin/python
 
 #!/usr/bin/python
 
+import sys
+sys.path.insert(0, "/usr/lib/theonering")
+
 
 import theonering
 
 
 import theonering
 
index 133446e..589e9b3 100755 (executable)
@@ -113,6 +113,7 @@ def build_package(distribution):
                p["/usr/share/mission-control/profiles"] = ["theonering.profile.%s|theonering.profile"% distribution]
        elif distribution in ("diablo", "fremantle", "mer"):
                p["/usr/share/osso-rtcom"] = ["theonering.profile.%s|theonering.profile"% distribution]
                p["/usr/share/mission-control/profiles"] = ["theonering.profile.%s|theonering.profile"% distribution]
        elif distribution in ("diablo", "fremantle", "mer"):
                p["/usr/share/osso-rtcom"] = ["theonering.profile.%s|theonering.profile"% distribution]
+       p["/usr/lib/telepathy"] = ["telepathy-theonering"]
        p["/usr/share/telepathy/managers"] = ["theonering.manager"]
        p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-theonering.png|theonering.png"]
        p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-theonering.png|theonering.png"]
        p["/usr/share/telepathy/managers"] = ["theonering.manager"]
        p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-theonering.png|theonering.png"]
        p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-theonering.png|theonering.png"]
index e868378..30a8862 100644 (file)
@@ -1,3 +1,3 @@
 [D-BUS Service]
 Name=org.freedesktop.Telepathy.ConnectionManager.theonering
 [D-BUS Service]
 Name=org.freedesktop.Telepathy.ConnectionManager.theonering
-Exec=@LIBEXECDIR@/telepathy-theonering
+Exec=/usr/lib/telepathy/telepathy-theonering