rpms/empathy/F-13 0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch, NONE, 1.1 empathy.spec, 1.104, 1.105

Brian Pepple bpepple at fedoraproject.org
Fri Jun 4 00:36:00 UTC 2010


Author: bpepple

Update of /cvs/pkgs/rpms/empathy/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv22320

Modified Files:
	empathy.spec 
Added Files:
	0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch 
Log Message:
* Thu Jun  3 2010 Brian Pepple <bpepple at fedoraproject.org> - 2.30.1-3
- Add patch to fix facebook server error. (#595925)


0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch:
 empathy-account-assistant.c |    3 +++
 empathy-accounts-dialog.c   |    4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

--- NEW FILE 0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch ---
>From b8bd45099ed48decb876233cab1f2df217abc323 Mon Sep 17 00:00:00 2001
From: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Tue, 25 May 2010 11:23:08 +0200
Subject: [PATCH] hardcode facebook server to workaround SRV lookup issues

---
 src/empathy-account-assistant.c |    3 +++
 src/empathy-accounts-dialog.c   |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 796f565..a8a77e3 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -428,6 +428,9 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser,
     {
       empathy_account_settings_set_icon_name_async (settings, "im-facebook",
         NULL, NULL);
+
+      empathy_account_settings_set_string (settings, "server",
+          "chat.facebook.com");
     }
 
   if (priv->first_resp == RESPONSE_CREATE_ACCOUNT)
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 3d8aed9..649df9d 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -594,6 +594,9 @@ accounts_dialog_setup_ui_to_add_account (EmpathyAccountsDialog *dialog)
     {
       empathy_account_settings_set_icon_name_async (settings, "im-facebook",
           NULL, NULL);
+
+      empathy_account_settings_set_string (settings, "server",
+          "chat.facebook.com");
     }
 
   accounts_dialog_add (dialog, settings);
-- 
1.7.0.1



Index: empathy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/empathy/F-13/empathy.spec,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -p -r1.104 -r1.105
--- empathy.spec	26 Apr 2010 17:26:40 -0000	1.104
+++ empathy.spec	4 Jun 2010 00:36:00 -0000	1.105
@@ -12,7 +12,7 @@
 
 Name:		empathy
 Version:	2.30.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Instant Messaging Client for GNOME
 
 Group:		Applications/Communications
@@ -24,6 +24,7 @@ Source1:	%{name}-README.ConnectionManage
 
 # http://bugzilla.gnome.org/show_bug.cgi?id=592853
 Patch1:		presence-icons.patch
+Patch2:		0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -88,6 +89,7 @@ It is built on top of the Telepathy fram
 %prep
 %setup -q
 %patch1 -p1 -b .presence-icons
+%patch2 -p1 -b .facebook
 # force these to be regenerated
 rm data/empathy.desktop
 rm data/empathy.schemas
@@ -161,6 +163,9 @@ fi
 %{_mandir}/man1/empathy*.1.gz
 
 %changelog
+* Thu Jun  3 2010 Brian Pepple <bpepple at fedoraproject.org> - 2.30.1-3
+- Add patch to fix facebook server error. (#595925)
+
 * Mon Apr 26 2010 Brian Pepple <bpepple at fedoraproject.org> - 2.30.1-2
 - Drop suffix on gconf schemas scriptlets.
 



More information about the scm-commits mailing list