From b9b9a840da23752a86cd581598a8b8967933d21f Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: Jun 04 2010 01:52:35 +0000 Subject: - Backport patch to fix facebook server error. (#595925) --- diff --git a/0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch b/0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch new file mode 100644 index 0000000..98c7a39 --- /dev/null +++ b/0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch @@ -0,0 +1,41 @@ +From b8bd45099ed48decb876233cab1f2df217abc323 Mon Sep 17 00:00:00 2001 +From: Guillaume Desmottes +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 + diff --git a/empathy.spec b/empathy.spec index 772b3b6..f61d440 100644 --- a/empathy.spec +++ b/empathy.spec @@ -12,7 +12,7 @@ Name: empathy Version: 2.31.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instant Messaging Client for GNOME Group: Applications/Communications @@ -21,6 +21,7 @@ URL: http://live.gnome.org/Empathy Source0: http://download.gnome.org/sources/%{name}/2.31/%{name}-%{version}.tar.bz2 Source1: %{name}-README.ConnectionManagers +Patch0: 0001-hardcode-facebook-server-to-workaround-SRV-lookup-is.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -84,6 +85,7 @@ It is built on top of the Telepathy framework. %prep %setup -q +%patch0 -p1 -b .facebook # force these to be regenerated rm data/empathy.desktop rm data/empathy.schemas @@ -157,6 +159,9 @@ fi %{_mandir}/man1/empathy*.1.gz %changelog +* Thu Jun 3 2010 Brian Pepple - 2.31.2-2 +- Backport patch to fix facebook server error. (#595925) + * Fri May 28 2010 Matthias Clasen - 2.31.2-1 - Update to 2.31.2 - drop presence-icon patch, handled upstream (partially)