From ff16d95f7b8eaa9b42866a705ee525238faa8a38 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 26 Dec 2009 18:51:41 -0600 Subject: [PATCH 1/1] Switching to a fremantle specific profile file --- Makefile | 2 +- support/builddeb.py | 4 ++-- support/theonering.profile | 11 ---------- support/theonering.profile.debian | 11 ++++++++++ support/theonering.profile.diablo | 12 +++++++++++ support/theonering.profile.fremantle | 37 ++++++++++++++++++++++++++++++++++ support/theonering.profile.mer | 11 ++++++++++ 7 files changed, 74 insertions(+), 14 deletions(-) delete mode 100644 support/theonering.profile create mode 100644 support/theonering.profile.debian create mode 100644 support/theonering.profile.diablo create mode 100644 support/theonering.profile.fremantle create mode 100644 support/theonering.profile.mer diff --git a/Makefile b/Makefile index ae3148d..bdb6b54 100644 --- 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 - 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 diff --git a/support/builddeb.py b/support/builddeb.py index 5939782..464402c 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -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/mission-control/profiles"] = ["theonering.profile"] + 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"] + 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"] diff --git a/support/theonering.profile b/support/theonering.profile deleted file mode 100644 index a2314bd..0000000 --- a/support/theonering.profile +++ /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 index 0000000..a2314bd --- /dev/null +++ b/support/theonering.profile.debian @@ -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 index 0000000..151105b --- /dev/null +++ b/support/theonering.profile.diablo @@ -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 index 0000000..8a6464b --- /dev/null +++ b/support/theonering.profile.fremantle @@ -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 index 0000000..a2314bd --- /dev/null +++ b/support/theonering.profile.mer @@ -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 + -- 1.7.9.5