Switching to a fremantle specific profile file
authorEd Page <eopage@byu.net>
Sun, 27 Dec 2009 00:51:41 +0000 (18:51 -0600)
committerEd Page <eopage@byu.net>
Sun, 27 Dec 2009 00:51:41 +0000 (18:51 -0600)
Makefile
support/builddeb.py
support/theonering.profile [deleted file]
support/theonering.profile.debian [new file with mode: 0644]
support/theonering.profile.diablo [new file with mode: 0644]
support/theonering.profile.fremantle [new file with mode: 0644]
support/theonering.profile.mer [new file with mode: 0644]

index ae3148d..bdb6b54 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ package: $(OBJ)
        $(foreach file, $(DATA), cp $(file) $(BUILD_PATH)/generic/$(subst /,-,$(file)) ; )
        $(foreach file, $(SOURCE), cp $(file) $(BUILD_PATH)/generic/$(subst /,-,$(file)) ; )
        cp support/$(PROJECT_NAME).manager $(BUILD_PATH)/generic
        $(foreach file, $(DATA), cp $(file) $(BUILD_PATH)/generic/$(subst /,-,$(file)) ; )
        $(foreach file, $(SOURCE), cp $(file) $(BUILD_PATH)/generic/$(subst /,-,$(file)) ; )
        cp support/$(PROJECT_NAME).manager $(BUILD_PATH)/generic
-       cp support/$(PROJECT_NAME).profile $(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/icons/*-$(PROJECT_NAME).png $(BUILD_PATH)/generic/
        cp support/builddeb.py $(BUILD_PATH)/generic
        cp support/org.freedesktop.Telepathy.ConnectionManager.$(PROJECT_NAME).service $(BUILD_PATH)/generic
        cp support/icons/*-$(PROJECT_NAME).png $(BUILD_PATH)/generic/
        cp support/builddeb.py $(BUILD_PATH)/generic
index 5939782..464402c 100755 (executable)
@@ -110,9 +110,9 @@ def build_package(distribution):
                )
        p["/usr/share/dbus-1/services"] = ["org.freedesktop.Telepathy.ConnectionManager.theonering.service"]
        if distribution in ("debian", ):
                )
        p["/usr/share/dbus-1/services"] = ["org.freedesktop.Telepathy.ConnectionManager.theonering.service"]
        if distribution in ("debian", ):
-               p["/usr/share/mission-control/profiles"] = ["theonering.profile"]
+               p["/usr/share/mission-control/profiles"] = ["theonering.profile.%s|theonering.profile"% distribution]
        elif distribution in ("diablo", "fremantle", "mer"):
        elif distribution in ("diablo", "fremantle", "mer"):
-               p["/usr/share/osso-rtcom"] = ["theonering.profile"]
+               p["/usr/share/osso-rtcom"] = ["theonering.profile.%s|theonering.profile"% distribution]
        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"]
diff --git a/support/theonering.profile b/support/theonering.profile
deleted file mode 100644 (file)
index a2314bd..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Profile]
-Manager=theonering
-Protocol=sip
-DisplayName=Google Voice
-IconName = theonering
-SupportsInvisible = 1
-Capabilities = chat-p2p, voice-p2p, supports-alias
-VCardDefault = 1
-VCardField = X-GV
-SupportedPresences = offline,available,away,hidden
-
diff --git a/support/theonering.profile.debian b/support/theonering.profile.debian
new file mode 100644 (file)
index 0000000..a2314bd
--- /dev/null
@@ -0,0 +1,11 @@
+[Profile]
+Manager=theonering
+Protocol=sip
+DisplayName=Google Voice
+IconName = theonering
+SupportsInvisible = 1
+Capabilities = chat-p2p, voice-p2p, supports-alias
+VCardDefault = 1
+VCardField = X-GV
+SupportedPresences = offline,available,away,hidden
+
diff --git a/support/theonering.profile.diablo b/support/theonering.profile.diablo
new file mode 100644 (file)
index 0000000..151105b
--- /dev/null
@@ -0,0 +1,12 @@
+[Profile]
+Manager=theonering
+Protocol=sip
+DisplayName=Google Voice
+IconName = theonering
+ConfigurationUI = osso-accounts
+SupportsInvisible = 1
+Capabilities = chat-p2p, voice-p2p, supports-alias
+VCardDefault = 1
+VCardField = X-GV
+SupportedPresences = offline,available,away,hidden
+
diff --git a/support/theonering.profile.fremantle b/support/theonering.profile.fremantle
new file mode 100644 (file)
index 0000000..8a6464b
--- /dev/null
@@ -0,0 +1,37 @@
+[Profile]
+Manager=theonering
+Protocol=sip
+DisplayName=Google Voice
+IconName = theonering
+ConfigurationUI = osso-accounts
+SupportsInvisible = 1
+Capabilities = chat-p2p, voice-p2p, supports-alias
+VCardDefault = 1
+VCardField = X-GV
+SupportedPresences = offline,available,away,hidden
+SupportsPresenceMessage = false
+
+[Action sms_gv]
+Name = addr_bd_cont_starter_chat
+IconName = general_sms
+VCardFields = X-GV
+prop-org.freedesktop.Telepathy.Channel.ChannelType-s = org.freedesktop.Telepathy.Channel.Type.Text
+
+[Action call_gv]
+Name = addr_bd_cont_starter_call
+IconName = general_call
+VCardFields = X-GV
+prop-org.freedesktop.Telepathy.Channel.ChannelType-s = org.freedesktop.Telepathy.Channel.Type.StreamedMedia
+
+[Action sms]
+Name = addr_bd_cont_starter_chat
+IconName = general_sms
+VCardFields = TEL
+prop-org.freedesktop.Telepathy.Channel.ChannelType-s = org.freedesktop.Telepathy.Channel.Type.Text
+
+[Action call]
+Name = addr_bd_cont_starter_skypeout
+IconName = general_call
+VCardFields = TEL
+prop-org.freedesktop.Telepathy.Channel.ChannelType-s = org.freedesktop.Telepathy.Channel.Type.StreamedMedia
+
diff --git a/support/theonering.profile.mer b/support/theonering.profile.mer
new file mode 100644 (file)
index 0000000..a2314bd
--- /dev/null
@@ -0,0 +1,11 @@
+[Profile]
+Manager=theonering
+Protocol=sip
+DisplayName=Google Voice
+IconName = theonering
+SupportsInvisible = 1
+Capabilities = chat-p2p, voice-p2p, supports-alias
+VCardDefault = 1
+VCardField = X-GV
+SupportedPresences = offline,available,away,hidden
+