Merge lp:~om26er/ubuntu/natty/empathy/empathy-fix-769234 into lp:ubuntu/natty/empathy

Proposed by Omer Akram
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~om26er/ubuntu/natty/empathy/empathy-fix-769234
Merge into: lp:ubuntu/natty/empathy
Diff against target: 4690 lines (+4520/-0) (has conflicts)
33 files modified
.bzr-builddeb/default.conf (+2/-0)
debian/README.source (+58/-0)
debian/changelog (+1284/-0)
debian/compat (+1/-0)
debian/control (+126/-0)
debian/copyright (+159/-0)
debian/empathy-common.install (+4/-0)
debian/empathy.install (+9/-0)
debian/gbp.conf (+9/-0)
debian/indicators/empathy (+1/-0)
debian/nautilus-sendto-empathy.install (+1/-0)
debian/patches/00_lp_748535.patch (+25/-0)
debian/patches/01_lpi.patch (+83/-0)
debian/patches/02_notifications_focus.patch (+16/-0)
debian/patches/10_use_notify_osd_icons.patch (+21/-0)
debian/patches/11_empathy_accounts_category.patch (+42/-0)
debian/patches/20_libindicate.patch (+1682/-0)
debian/patches/21_login_indicators.patch (+58/-0)
debian/patches/23_idomessagedialog_for_voip_and_ft.patch (+216/-0)
debian/patches/31_really_raise_window.patch (+79/-0)
debian/patches/34_start_raised_execpt_in_session.patch (+37/-0)
debian/patches/36_chat_window_default_size.patch (+21/-0)
debian/patches/37_facebook_default.patch (+21/-0)
debian/patches/38_lp_569289.patch (+13/-0)
debian/patches/40_unity_launcher_count.patch (+289/-0)
debian/patches/41_unity_launcher_progress.patch (+159/-0)
debian/patches/70_append_messages_in_notifications.patch (+34/-0)
debian/patches/series (+16/-0)
debian/rules (+40/-0)
debian/source/format (+1/-0)
debian/source/options (+1/-0)
debian/update-patches.mk (+10/-0)
debian/watch (+2/-0)
Conflict adding file debian.  Moved existing file to debian.moved.
To merge this branch: bzr merge lp:~om26er/ubuntu/natty/empathy/empathy-fix-769234
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+60302@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Omer Akram (om26er) wrote :

hmm, I am not sure why is there a very big diff, I only added a patch and changelog entry.

Revision history for this message
Martin Pitt (pitti) wrote :

It's such a big diff because you proposed to merge into the UDD branch, which we don't use for empathy. We use lp:~ubuntu-desktop/empathy/ubuntu (see Vcs-Bzr:), which you apparently branched from (so you need to propose to merge back into the same branch). I downloaded the diff from your commit and applied it to the correct branch.

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.bzr-builddeb'
2=== added file '.bzr-builddeb/default.conf'
3--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
4+++ .bzr-builddeb/default.conf 2011-05-08 10:03:25 +0000
5@@ -0,0 +1,2 @@
6+[BUILDDEB]
7+merge = True
8
9=== added directory 'debian'
10=== renamed directory 'debian' => 'debian.moved'
11=== added file 'debian/README.source'
12--- debian/README.source 1970-01-01 00:00:00 +0000
13+++ debian/README.source 2011-05-08 10:03:25 +0000
14@@ -0,0 +1,58 @@
15+Patches
16+=======
17+
18+This package uses cdbs simple-patch-system to store modifications to the
19+upstream source.
20+
21+To get the fully patched source: make -f debian/rules patch
22+
23+To revert to what's in git: make -f debian/rules unpatch
24+
25+To add a patch: obtain a diff and put it in debian/patches, or see below
26+
27+To remove an existing patch: delete it from debian/patches
28+
29+Packaging using git
30+===================
31+
32+The repository contains an appropriate debian/gbp.conf to build this package
33+using git-buildpackage. The debian branch contains the latest upstream versions
34+(for unstable, or experimental while a freeze is in progress). The debian-lenny
35+branch contains versions targeted for lenny, etc.
36+
37+Here's how to build it:
38+
39+ git clone git://git.debian.org/git/pkg-telepathy/empathy.git
40+ cd empathy
41+ git checkout debian
42+ git-buildpackage -us -uc
43+
44+or for testing/stable branches like debian-lenny:
45+
46+ git clone git://git.debian.org/git/pkg-telepathy/empathy.git
47+ cd empathy
48+ git checkout debian-lenny
49+ git-buildpackage -us -uc --git-debian-branch=debian-lenny
50+
51+The branch 'upstream' is a copy of the contents of upstream tarballs. To import
52+upstream tarballs use:
53+
54+ git checkout debian
55+ git-import-orig ~/empathy-2.x.tar.gz
56+
57+The branch 'debian-patches' is 'upstream' plus any patches needed for Debian.
58+It should be rebased on 'upstream' after each upstream release:
59+
60+ git checkout debian-patches
61+ git rebase upstream
62+
63+The preferred way of adding patches is to cherry pick from an upstream
64+repository:
65+
66+ git remote add collabora \
67+ git+ssh://git.collabora.co.uk/git/empathy.git
68+ git fetch
69+ git checkout debian-patches
70+ git cherry-pick xxxxxxxxxxxxxx
71+ git checkout debian
72+ fakeroot debian/rules update-patches
73
74=== added file 'debian/changelog'
75--- debian/changelog 1970-01-01 00:00:00 +0000
76+++ debian/changelog 2011-05-08 10:03:25 +0000
77@@ -0,0 +1,1284 @@
78+empathy (2.34.0-0ubuntu3.1) natty-proposed; urgency=low
79+
80+ * debian/patches/70_append_messages_in_notifications.patch:
81+ - Append new messages in notifications. (LP: #769234)
82+
83+ -- Omer Akram <om26er@ubuntu.com> Tue, 03 May 2011 19:15:21 +0500
84+
85+empathy (2.34.0-0ubuntu3) natty; urgency=low
86+
87+ * Rebuild against latest libunity (soname bump)
88+
89+ -- Didier Roche <didrocks@ubuntu.com> Thu, 07 Apr 2011 12:27:30 +0200
90+
91+empathy (2.34.0-0ubuntu2) natty; urgency=low
92+
93+ *debian/patches
94+ - added 00_lp_748535.patch
95+ - Fix a crasher with event_manager_add (LP: #748535)
96+
97+ -- Brian Curtis <bcurtiswx@ubuntu.com> Mon, 04 Apr 2011 09:07:20 -0400
98+
99+empathy (2.34.0-0ubuntu1) natty; urgency=low
100+
101+ * New upstream release
102+ * debian/control
103+ - Bumped build depends on libtelepathy-glib to >= 0.14.1
104+ * debian/patches/20_libindicate.patch
105+ - refreshed
106+ * debian/patches/23_idomessagedialog_for_voip_and_ft.patch
107+ - refreshed
108+ * debian/patches/42_dont_change_menu_on_focus.patch
109+ - removed patch, its upstream now.
110+
111+ -- Brian Curtis <bcurtiswx@ubuntu.com> Thu, 24 Mar 2011 12:41:44 -0400
112+
113+empathy (2.33.4-0ubuntu1) natty; urgency=low
114+
115+ * New upstream release
116+ * debian/control
117+ - Bumped build depends libfolks-dev and libfolks-telepathy-dev to >= 0.4.0
118+ - Bumped build depends libtelepathy-glib-dev to >= 0.13.17
119+
120+ -- Ken VanDine <ken.vandine@canonical.com> Wed, 16 Mar 2011 13:48:12 -0400
121+
122+empathy (2.33.3-0ubuntu3) natty; urgency=low
123+
124+ * debian/patches/42_dont_change_menu_on_focus.patch:
125+ - Don't change Contact menu when receiving a focus-in event. This makes
126+ it difficult for global menu implementations like indicator-appmenu.
127+ LP: #729191
128+
129+ -- Michael Terry <mterry@ubuntu.com> Wed, 16 Mar 2011 09:06:02 -0400
130+
131+empathy (2.33.3-0ubuntu2) natty; urgency=low
132+
133+ * debian/patches/23_idomessagedialog_for_voip_and_ft.patch
134+ - Use the IdoMessageDialog for all incoming calls
135+
136+ -- Ken VanDine <ken.vandine@canonical.com> Tue, 15 Mar 2011 09:56:43 -0400
137+
138+empathy (2.33.3-0ubuntu1) natty; urgency=low
139+
140+ * New Upstream Release (LP: #732077)
141+ * debian/control
142+ -bumped dep for tp-glib
143+ * debian/patches/23_idomessagedialog_for_voip_and_ft.patch
144+ - fixed a fuzz issue with build by refreshing patch
145+
146+ -- Brian Curtis <bcurtiswx@ubuntu.com> Wed, 09 Mar 2011 10:46:13 -0500
147+
148+empathy (2.33.2-0ubuntu2) natty; urgency=low
149+
150+ * debian/patches/23_idomessagedialog_for_voip_and_ft.patch
151+ - Make incoming call and file transfer dialogs decorated
152+
153+ -- Ken VanDine <ken.vandine@canonical.com> Thu, 24 Feb 2011 15:52:19 -0500
154+
155+empathy (2.33.2-0ubuntu1) natty; urgency=low
156+
157+ * New upstream release
158+ * -debian/patches/reword_subscription_dailog_to_be_less_technical.patch
159+ - merged upstream
160+ * debian/control
161+ - Bumped build depends for tp-logger, tp-glib, folks and libunity-dev
162+
163+ -- Ken VanDine <ken.vandine@canonical.com> Thu, 24 Feb 2011 11:54:47 -0500
164+
165+empathy (2.33.1-0ubuntu4) natty; urgency=low
166+
167+ * debian/patches/41_unity_launcher_progress.patch
168+ - Added support for file transfer progress in the unity launcher
169+ * debian/patches/40_unity_launcher_count.patch
170+ - renamed for consistency and clarity
171+
172+ -- Ken VanDine <ken.vandine@canonical.com> Tue, 15 Feb 2011 15:36:35 -0500
173+
174+empathy (2.33.1-0ubuntu3) natty; urgency=low
175+
176+ [ Brian Curtis ]
177+ * debian/patches/40_libunity.patch
178+ -add launcher support for empathy
179+ * debian/changelog
180+ -add libunity-dev to deps
181+
182+ [ Ken VanDine ]
183+ * debian/patches/40_libunity.patch
184+ - cleaned up some debugging messages
185+ - unref the launcher
186+
187+ -- Brian Curtis <bcurtiswx@ubuntu.com> Mon, 14 Feb 2011 17:28:40 -0500
188+
189+empathy (2.33.1-0ubuntu2) natty; urgency=low
190+
191+ * debian/patches/23_idomessagedialog_for_voip_and_ft.patch
192+ - Use IdoMessageDialog for incoming file transfers as well as voip
193+
194+ -- Ken VanDine <ken.vandine@canonical.com> Mon, 14 Feb 2011 15:48:48 -0500
195+
196+empathy (2.33.1-0ubuntu1) natty; urgency=low
197+
198+ [ Brian Curtis ]
199+ * New Upstream Release
200+ * debian/control
201+ -bumped dep on folks, telepathy-glib and libnotify
202+ * debian/patches
203+ -removed patches now in source
204+ -refreshed patches
205+
206+ [ Ken VanDine ]
207+ * debian/patches/20_libindicate.patch
208+ - Updated notification code to match the libnotify4-dev API
209+ * debian/rules
210+ - Explicitly disable location awareness
211+
212+ -- Ken VanDine <ken.vandine@canonical.com> Thu, 03 Feb 2011 12:17:02 -0500
213+
214+empathy (2.32.2-0ubuntu8) natty; urgency=low
215+
216+ * debian/patches/23_idomessagedialog_for_voip.patch
217+ - Raise a IdoMessageDialog for incoming voip calls (LP: #440865)
218+ * debian/control
219+ - Added a new build depends on libido-0.1-dev, needed for IdoMessageDialog
220+
221+ -- Ken VanDine <ken.vandine@canonical.com> Tue, 01 Feb 2011 12:29:11 -0500
222+
223+empathy (2.32.2-0ubuntu7) natty; urgency=low
224+
225+ * debian/patches/00_git_conn_disc_notif.patch (LP: #582757)
226+ * debian/patches/00_git_F2_opens_contact_info.patch (LP: #387991)
227+ * debian/patches/00_git_tooltip_on_error_info.patch (LP: #681413)
228+ * debian/rules
229+ - added --with-ca-file='/etc/ssl/certs/ca-certificates.crt'
230+
231+ -- Brian Curtis <bcurtiswx@ubuntu.com> Tue, 25 Jan 2011 13:20:01 -0500
232+
233+empathy (2.32.2-0ubuntu6) natty; urgency=low
234+
235+ * debian/patches/22_tell_if_the_message_is_a_pending_one_or_not.patch:
236+ * debian/patches/22_dont_display_notifications_for_pending_messages.patch:
237+ - Don't display duplicate notifications. (LP: #666288)
238+
239+ -- Omer Akram <om26er@ubuntu.com> Mon, 17 Jan 2011 20:11:44 +0500
240+
241+empathy (2.32.2-0ubuntu5) natty; urgency=low
242+
243+ * debian/control
244+ - Bumped build depends for libindicate and libindicate-gtk to >= 0.4.91
245+ * debian/patches/20_libindicate.patch
246+ - Updated to check for indicate-0.5
247+
248+ -- Ken VanDine <ken.vandine@canonical.com> Fri, 14 Jan 2011 12:52:27 -0600
249+
250+empathy (2.32.2-0ubuntu4) natty; urgency=low
251+
252+ * debian/control:
253+ - Change build-depends from libwebkit-dev to libwebkitgtk-dev
254+
255+ -- Robert Ancell <robert.ancell@canonical.com> Mon, 10 Jan 2011 15:07:47 -0600
256+
257+empathy (2.32.2-0ubuntu3) natty; urgency=low
258+
259+ * debian/patches/00git_folks_api.patch:
260+ - Update to latest folks API
261+
262+ [ Omer Akram ]
263+ * debian/patches/enable_pidgin_imported_contacts.patch:
264+ - Enable pidgin imported accounts by default. (LP: #622215)
265+ * debian/patches/reword_subscription_dailog_to_be_less_technical.patch:
266+ - Reword subscription request dialog to be less technical. (LP: #670197)
267+
268+ -- Robert Ancell <robert.ancell@canonical.com> Thu, 06 Jan 2011 14:32:31 +1100
269+
270+empathy (2.32.2-0ubuntu2) natty; urgency=low
271+
272+ * debian/patches/00git_folks_aliasable_groupable.patch:
273+ * debian/patches/00git_individual_methods.patch:
274+ - Use latest libfolks API
275+
276+ -- Robert Ancell <robert.ancell@canonical.com> Mon, 06 Dec 2010 16:14:51 +1100
277+
278+empathy (2.32.2-0ubuntu1) natty; urgency=low
279+
280+ * New upstream release
281+
282+ -- Robert Ancell <robert.ancell@canonical.com> Wed, 24 Nov 2010 17:18:51 +1100
283+
284+empathy (2.32.1-0ubuntu2) natty; urgency=low
285+
286+ * Version bump for natty upload
287+
288+ -- Ken VanDine <ken.vandine@canonical.com> Wed, 17 Nov 2010 10:05:40 -0500
289+
290+empathy (2.32.1-0ubuntu1) maverick-proposed; urgency=low
291+
292+ * New Upstream Release
293+ - Empathy doesn't build with gcr-3 (Guillaume Desmottes)
294+ - Empathy 2.32.x needs to require libnotify < 0.7 (Guillaume Desmottes)
295+ - Empathy 2.32.x shouldn't support GTK 3 (Guillaume Desmottes)
296+ - (LP: #655090), window resizes irreversibly when perfoming a contact
297+ search (Guillaume Desmottes)
298+ - Fixed (LP: #641949) Honour preference 'disable notifications when
299+ busy or away'
300+ - Updated translations
301+ * patches/20_libindicate.patch
302+ - fixed hunk failures
303+
304+ -- Brian Curtis <bcurtiswx@ubuntu.com> Tue, 16 Nov 2010 22:01:18 -0500
305+
306+empathy (2.32.0.1-0ubuntu1) maverick-proposed; urgency=low
307+
308+ * New upstream release (LP: #654981)
309+ - auth client crashes when trying to connect (Cosimo Cecchi)
310+ - show the "new message" icon regardless of focus, active tab (Guillaume Desmottes)
311+ - Should leave fullscreen mode when call is disconnected (Guillaume Desmottes)
312+ - doesn't check unique result (Guillaume Desmottes)
313+ - Better heuristic to pick default individual (Guillaume Desmottes)
314+ - Contacts list window triggers _NET_ACTIVE_WINDOW timestamp error from Metacity (Guillaume Desmottes)
315+ - update Empathy to deprecation changes in GTK+ 2.22 (Diego Escalante Urrelo)
316+ - Hitting redial doesn't clear error messages (Guillaume Desmottes)
317+ - Empathy Loses ContactInfo data it doesn't support in the UI (Guillaume Desmottes)
318+ - Always show status icon in contact right-click menu (for meta-contacts)
319+ - Refers to a nonexistent UI item (Milo Casagrande)
320+ - Recommended SIP provider no longer available (Milo Casagrande)
321+
322+ -- Ken VanDine <ken.vandine@canonical.com> Mon, 04 Oct 2010 12:03:51 -0400
323+
324+empathy (2.32.0-0ubuntu2) maverick; urgency=low
325+
326+ * debian/patches/91_git_fix_gtalk_for_new_accounts.patch:
327+ - from upstream: fix empathy to be compatible with gtalk new accounts
328+
329+ -- Didier Roche <didrocks@ubuntu.com> Fri, 01 Oct 2010 16:06:56 +0200
330+
331+empathy (2.32.0-0ubuntu1) maverick; urgency=low
332+
333+ * New upstream release.
334+ -(LP: #634892) Double contacts after adding new contact in group "Ungrouped" (Philip Withnall)
335+ -Blacklist Haze's sip protocol (Guillaume Desmottes)
336+ -Failed assertion in contact_widget_details_feature_prepared_cb() (Guillaume Desmottes)
337+ -(LP: #638270) empathy-accounts assert failure: *** glibc detected *** /usr/bin/empathy-accounts: free(): invalid pointer: 0x0809d5b6 *** (Guillaume Desmottes)
338+ -File missing from POTFILES.in (Gabor Kelemen)
339+ -Untranslatable strings (Gabor Kelemen)
340+ -Typo in user guide: witn (Gabor Kelemen)
341+
342+ -- Brian Curtis <bcurtiswx@ubuntu.com> Mon, 27 Sep 2010 10:21:30 -0400
343+
344+empathy (2.31.92-0ubuntu2) maverick; urgency=low
345+
346+ * debian/patches/20_libindicate.patch
347+ - Don't use notify_notification_new_with_status_icon when the status
348+ icon isn't visible (LP: #603526)
349+
350+ -- Ken VanDine <ken.vandine@canonical.com> Tue, 14 Sep 2010 12:24:49 -0400
351+
352+empathy (2.31.92-0ubuntu1) maverick; urgency=low
353+
354+ * New upstream release:
355+ This is the GNOME 2.32 release candidate. A bunch of meta-contacts related
356+ bugs have been fixed and the audio/video client has been improved to
357+ reduce the bandwith used by the video stream.
358+ We also use the stable API of the Conference, ServerTLSConnection and
359+ TLSCertificate interfaces so you should upgrade to telepathy-gabble 0.9.18
360+ if you want to use these features.
361+ * debian/control:
362+ - bump libtelepathy-glib-dev build-dep
363+ * debian/patches/91_git_unref_empathyindividualview_later.patch:
364+ - in upstream version
365+
366+ -- Didier Roche <didrocks@ubuntu.com> Tue, 14 Sep 2010 13:05:00 +0200
367+
368+empathy (2.31.91.1-0ubuntu3) maverick; urgency=low
369+
370+ * Depends on telepathy-logger (lp: #623516), recommends libdconf0
371+
372+ -- Sebastien Bacher <seb128@ubuntu.com> Mon, 06 Sep 2010 22:56:52 +0200
373+
374+empathy (2.31.91.1-0ubuntu2) maverick; urgency=low
375+
376+ * debian/control:
377+ - readd libebook1.2-dev build-dep as built with --with_eds (default value)
378+
379+ -- Didier Roche <didrocks@ubuntu.com> Fri, 03 Sep 2010 13:15:34 +0200
380+
381+empathy (2.31.91.1-0ubuntu1) maverick; urgency=low
382+
383+ * New upstream release
384+ * debian/control:
385+ - add libgcr-dev build-dep
386+ * debian/patches/91_git_unref_empathyindividualview_later.patch:
387+ - additional fix from git requested by upstream
388+
389+ -- Didier Roche <didrocks@ubuntu.com> Thu, 02 Sep 2010 12:40:03 +0200
390+
391+empathy (2.31.91-0ubuntu1) maverick; urgency=low
392+
393+ * New upstream release:
394+ - Support metacontacts (Travis Treitter, Philip Treitter) (LP: #256478)
395+ - Initial empathy account wizard (Welcome Screen) does not offer IRC as an
396+ account (Guillaume Desmottes) (LP: #433714)
397+ - Dragging and dropping a chat tab hides the original window (Guillaume
398+ Desmottes) (LP: #512746)
399+ - After upgrade to 2.31.90 (from 2.31.6) empathy does not list users of irc
400+ chat (Guillaume Desmottes) (LP: #622684)
401+ * debian/control:
402+ - Bump build-depends on libgnome-keyring-dev, libfolks-dev,
403+ libfolks-telepathy-dev, libnautilus-sendto-dev
404+ - Add build-depends on libgnutls-dev
405+ - Drop build-depends on libebook1.2-dev
406+
407+ -- Robert Ancell <robert.ancell@canonical.com> Tue, 31 Aug 2010 15:05:58 +1000
408+
409+empathy (2.31.90-1ubuntu1) maverick; urgency=low
410+
411+ * Merge with Debian experimental, remaining Ubuntu changes:
412+ * debian/control:
413+ - Build-depend on dh-autoreconf, gnome-common
414+ - Drop geoclue/mapping build-depends (they are in Universe)
415+ - Add indicator build-depends
416+ - Add Vcz-Bzr link
417+ - Don't recommend libdconf0 - we do that at a higher level
418+ - Add Suggests on telepathy-idle
419+ - Bump telepathy-butterfly, telepathy-haze to recommends
420+ - Don't recommends the freedesktop sound theme we have an ubuntu one
421+ * debian/rules:
422+ - Use autoreconf.mk
423+ - Enable libindicate
424+ - Disable map and location
425+ - Make sure favourite-contacts is disabled, it requires telepathy-logger
426+ * debian/empathy.install:
427+ - Install message indicator configuration
428+ * debian/indicators/empathy:
429+ - Message indicator configuration
430+ * debian/patches/01_lpi.patch:
431+ - Add Launchpad integration
432+ * debian/patches/02_notifications_focus.patch:
433+ - gsettings doesn't allow overwritting defaults yet to change the schemas
434+ * debian/patches/10_use_notify_osd_icons.patch:
435+ - Use the notify-osd image for new messages
436+ * debian/patches/11_empathy_accounts_category.patch:
437+ - Put empathy-accounts in correct category
438+ * debian/patches/20_libindicate.patch:
439+ - Integrate into messaging menu
440+ * debian/patches/21_login_indicators.patch:
441+ - Only display indicator for signon events if the preference is set
442+ * debian/patches/31_really_raise_window.patch:
443+ - Force focus of the window when selected from the indicator
444+ * debian/patches/34_start_raised_execpt_in_session.patch:
445+ - If not started with the session, we should always raise
446+ * debian/patches/36_chat_window_default_size.patch:
447+ - Make the default chat window size larger
448+ * debian/patches/37_facebook_default.patch:
449+ - Make facebook the default chat account type
450+ * debian/patches/38_lp_569289.patch
451+ - Set freenode as default IRC network for new IRC accounts
452+
453+ -- Robert Ancell <robert.ancell@canonical.com> Tue, 24 Aug 2010 12:55:07 +1000
454+
455+empathy (2.31.90-1) experimental; urgency=low
456+
457+ * New upstream release
458+ * debian/control:
459+ - Bump build-dependencies
460+
461+ -- Laurent Bigonville <bigon@debian.org> Thu, 19 Aug 2010 15:06:18 +0200
462+
463+empathy (2.31.6-1) experimental; urgency=low
464+
465+ * New upstream release
466+ * debian/control:
467+ - Bump Standards-Version to 3.9.1 (no further changes)
468+ - Adjust build-dependencies
469+
470+ -- Laurent Bigonville <bigon@debian.org> Mon, 16 Aug 2010 23:14:39 +0200
471+
472+empathy (2.31.5.1-1) experimental; urgency=low
473+
474+ * New upstream release
475+ - Install manpages provided by upstream
476+ - Install new empathy-av component
477+
478+ -- Laurent Bigonville <bigon@debian.org> Tue, 13 Jul 2010 17:33:52 +0200
479+
480+empathy (2.31.4-1) experimental; urgency=low
481+
482+ * New upstream release
483+ - debian/control: Adjust build-dependencies
484+ * Bump Standards-Version to 3.9.0 (no further changes)
485+ - debian/control: Use Breaks instead of Conflicts
486+ * debian/empathy.install: Install dconf schema instead of the gconf one
487+ * debian/rules: Pass --disable-schemas-compile to prevent schemas compiling
488+ at build time.
489+ * debian/control: Make empathy Recommends telepathy-logger and libdconf0
490+
491+ -- Laurent Bigonville <bigon@debian.org> Thu, 08 Jul 2010 12:04:18 +0200
492+
493+empathy (2.30.2-1) unstable; urgency=low
494+
495+ * New upstream release
496+
497+ -- Laurent Bigonville <bigon@debian.org> Sat, 26 Jun 2010 23:59:13 +0200
498+
499+empathy (2.30.1.1-1) unstable; urgency=low
500+
501+ * New upstream release
502+
503+ -- Laurent Bigonville <bigon@debian.org> Sun, 13 Jun 2010 19:06:19 +0200
504+
505+empathy (2.31.3-1) experimental; urgency=low
506+
507+ * New upstream release
508+ - Bump telepathy-glib-dev build-dependency
509+
510+ -- Laurent Bigonville <bigon@debian.org> Tue, 08 Jun 2010 11:24:18 +0200
511+
512+empathy (2.31.2-2) experimental; urgency=low
513+
514+ * Add versionized depedency for gnome-icon-theme
515+ * Add Breaks for telepathy-butterfly (<< 0.5.10) as the contacts don't
516+ appear in the contact list with previous versions
517+
518+ -- Laurent Bigonville <bigon@debian.org> Tue, 25 May 2010 15:31:33 +0200
519+
520+empathy (2.31.2-1) experimental; urgency=low
521+
522+ * New upstream release
523+
524+ -- Laurent Bigonville <bigon@debian.org> Mon, 24 May 2010 19:41:14 +0200
525+
526+empathy (2.31.1-1) experimental; urgency=low
527+
528+ * New upstream release
529+ - Bump libgtk2.0-dev and libtelepathy-glib-dev build-dep
530+
531+ -- Laurent Bigonville <bigon@debian.org> Sat, 08 May 2010 14:53:57 +0200
532+
533+empathy (2.30.1-2) unstable; urgency=low
534+
535+ * Explicitly set "compression = bzip2" in debian/source/options
536+
537+ -- Laurent Bigonville <bigon@debian.org> Sat, 08 May 2010 14:01:38 +0200
538+
539+empathy (2.30.1-1) unstable; urgency=low
540+
541+ * New upstream release
542+ * Re-enable geoclue support on kfreebsd-* archs
543+
544+ -- Laurent Bigonville <bigon@debian.org> Sat, 01 May 2010 16:50:46 +0200
545+
546+empathy (2.30.0.2-1) unstable; urgency=low
547+
548+ * New upstream release
549+
550+ -- Laurent Bigonville <bigon@debian.org> Tue, 20 Apr 2010 17:57:54 +0200
551+
552+empathy (2.30.0.1-1) unstable; urgency=low
553+
554+ * New upstream release
555+
556+ -- Laurent Bigonville <bigon@debian.org> Fri, 09 Apr 2010 15:20:39 +0200
557+
558+empathy (2.30.0-1) experimental; urgency=low
559+
560+ * New upstream release
561+ * debian/watch: use .bz2 file
562+
563+ -- Laurent Bigonville <bigon@debian.org> Sat, 03 Apr 2010 13:50:35 +0200
564+
565+empathy (2.29.93-1) experimental; urgency=low
566+
567+ * New upstream release
568+
569+ -- Laurent Bigonville <bigon@debian.org> Wed, 17 Mar 2010 21:28:57 +0100
570+
571+empathy (2.29.92-1) experimental; urgency=low
572+
573+ * New upstream release
574+
575+ -- Laurent Bigonville <bigon@debian.org> Sat, 13 Mar 2010 13:12:11 +0100
576+
577+empathy (2.29.91.2-1) experimental; urgency=low
578+
579+ * New upstream release
580+ * debian/copyright: Update file
581+
582+ -- Laurent Bigonville <bigon@debian.org> Sun, 07 Mar 2010 14:42:56 +0100
583+
584+empathy (2.29.91-1) experimental; urgency=low
585+
586+ * New upstream release
587+ - debian/empathy-accounts.1: Add manpage for empathy-accounts binary
588+ - debian/empathy.install: Also install empathy-accounts.desktop
589+ * Bump Standards-Version (no further changes)
590+
591+ -- Laurent Bigonville <bigon@debian.org> Mon, 22 Feb 2010 23:45:14 +0100
592+
593+empathy (2.29.90-1) experimental; urgency=low
594+
595+ * New upstream release
596+
597+ -- Laurent Bigonville <bigon@debian.org> Thu, 11 Feb 2010 20:27:11 +0100
598+
599+empathy (2.28.2-3) unstable; urgency=low
600+
601+ * debian/control:
602+ - Recommends freedesktop-sound-theme for empathy package (Closes: #526137)
603+
604+ -- Laurent Bigonville <bigon@debian.org> Sun, 31 Jan 2010 20:45:36 +0100
605+
606+empathy (2.29.6-1) experimental; urgency=low
607+
608+ * New upstream release
609+ - Should now build correctly with gcc-4.5 (Closes: #564979)
610+ * debian/rules: Remove --enable-python flag
611+
612+ -- Laurent Bigonville <bigon@debian.org> Wed, 27 Jan 2010 23:39:10 +0100
613+
614+empathy (2.29.5.1-1) experimental; urgency=low
615+
616+ * New upstream release
617+ - Bump libtelepathy-glib-dev build-dep
618+ * debian/control:
619+ - Suggests vino for empathy package (Closes: #562288)
620+ * debian/gbp.conf: Use bzip2 compression for orig tarball
621+ * Do not install empathy-accounts.1 and empathy-logs.1 manpages anymore
622+
623+ -- Laurent Bigonville <bigon@debian.org> Tue, 12 Jan 2010 23:47:02 +0100
624+
625+empathy (2.28.2-2) unstable; urgency=low
626+
627+ * debian/control:
628+ - Suggests vino for empathy package (Closes: #562288)
629+ - Add Recommends to allow -dbg package to pull each other (Closes: #564679)
630+
631+ -- Laurent Bigonville <bigon@debian.org> Tue, 12 Jan 2010 22:37:10 +0100
632+
633+empathy (2.29.4-1) experimental; urgency=low
634+
635+ * New upstream release
636+ * Enable in-tree nautilus-sendto plugin
637+ * debian/control:
638+ - Use better short description
639+ - Recommends freedesktop-sound-theme for empathy package (Closes: #526137)
640+ * Use new source package version "3.0 (quilt)"
641+
642+ -- Laurent Bigonville <bigon@debian.org> Wed, 23 Dec 2009 00:10:21 +0100
643+
644+empathy (2.28.2-1) unstable; urgency=low
645+
646+ * New upstream release
647+
648+ -- Laurent Bigonville <bigon@debian.org> Tue, 15 Dec 2009 18:43:31 +0100
649+
650+empathy (2.28.1.2-2) unstable; urgency=low
651+
652+ * debian/control: Fix typo (Closes: #559673)
653+
654+ -- Laurent Bigonville <bigon@debian.org> Wed, 09 Dec 2009 18:14:50 +0100
655+
656+empathy (2.29.3-1) experimental; urgency=low
657+
658+ * New upstream release
659+
660+ -- Laurent Bigonville <bigon@debian.org> Tue, 01 Dec 2009 13:53:52 +0100
661+
662+empathy (2.28.1.2-1) unstable; urgency=low
663+
664+ * New upstream release
665+ - Should now build correctly with --no-add-needed flag
666+ (Closes: #554325)
667+ * debian/control: Fix typo (packages->package) (Closes: #557373)
668+
669+ -- Laurent Bigonville <bigon@debian.org> Thu, 26 Nov 2009 06:33:51 +0100
670+
671+empathy (2.29.2-1) experimental; urgency=low
672+
673+ * Merge with debian unstable
674+ * New upstream release
675+ - Bump build-dependencies
676+ - Should now build correctly with --no-add-needed flag
677+ (Closes: #554325)
678+ - IRC commands should now be passed to server (Closes: #549173)
679+
680+ -- Laurent Bigonville <bigon@debian.org> Mon, 16 Nov 2009 23:40:52 +0100
681+
682+empathy (2.28.1.1-4) unstable; urgency=low
683+
684+ * Add symbols file for arch where geoclue support is disabled
685+
686+ -- Laurent Bigonville <bigon@debian.org> Sat, 14 Nov 2009 20:45:54 +0100
687+
688+empathy (2.28.1.1-3) unstable; urgency=low
689+
690+ * Also do not try to build with geoclue support on non-linux arch
691+
692+ -- Laurent Bigonville <bigon@debian.org> Sat, 14 Nov 2009 19:25:08 +0100
693+
694+empathy (2.28.1.1-2) unstable; urgency=low
695+
696+ * Do not try to build with networkmanager support on non-linux arch
697+
698+ -- Laurent Bigonville <bigon@debian.org> Wed, 11 Nov 2009 22:56:43 +0100
699+
700+empathy (2.29.1-1) experimental; urgency=low
701+
702+ * New upstream release
703+ - Drop megaphone applet
704+ - Drop libempathy, libempathy-gtk and python-empathy packages
705+ - Rename empathy-doc to empathy-common (Closes: #547904)
706+ * debian/control:
707+ - Fix typo
708+ - packet -> package
709+ - Add Recommends on yelp for empathy-common (Closes: #553524)
710+ * Move GConf schema to empathy package
711+
712+ -- Laurent Bigonville <bigon@debian.org> Wed, 04 Nov 2009 18:27:30 +0100
713+
714+empathy (2.28.1.1-1) unstable; urgency=low
715+
716+ * New upstream bugfix release
717+ * debian/patches/*: removed, all fixed upstream
718+ * debian/control: Recommend empathy-doc instead of depending on it
719+
720+ -- Sjoerd Simons <sjoerd@debian.org> Mon, 26 Oct 2009 22:36:02 +0000
721+
722+empathy (2.28.1-2) unstable; urgency=low
723+
724+ * d/patches/0001-Ignoring-non-installed-languages.patch
725+ + Added. Fix a crash when trying to spell-check using a dictionary that's
726+ no longer installed. (from upstream git)
727+ * d/patches/0002-empathy-protocol-chooser-don-t-cache-TpConnectionMan.patch
728+ + Added. Prevent TpConnectionManager from being cached as it can be freed
729+ under out feet. Fixes a crash while managing accounts (Closes: #551265)
730+ (from upstream git)
731+ * d/patches/0003-empathy-chat-window-Don-t-update-the-Contact-menu-if.patch,
732+ d/patches/0004-Fix-crash-when-joining-a-chat-GTK_WIDGET_VISIBLE-is-.patch:
733+ + Added. Fixes Empathy blocking when a notication is displayed while the
734+ contact menu is open (from upstream git)
735+
736+ -- Sjoerd Simons <sjoerd@debian.org> Sun, 25 Oct 2009 19:04:54 +0000
737+
738+empathy (2.28.1-1) unstable; urgency=low
739+
740+ * New upstream release.
741+ * debian/libempathy30.symbols: Updated.
742+
743+ -- Jonny Lamb <jonny@debian.org> Tue, 20 Oct 2009 13:59:06 +0100
744+
745+empathy (2.28.0.1-2) unstable; urgency=low
746+
747+ * Add libempathy30-dbg, libempathy-gtk28-dbg and empathy-dbg packages.
748+ * debian/control: Add Conflicts and Replaces fields to
749+ libempathy{30,-gtk28} packages to make upgrades easier. Thanks to
750+ Andres Salomon <dilinger@collabora.co.uk> for the "patch".
751+ (Closes: #548779)
752+
753+ -- Jonny Lamb <jonny@debian.org> Sat, 17 Oct 2009 12:34:49 +0100
754+
755+empathy (2.28.0.1-1) unstable; urgency=low
756+
757+ * New upstream release
758+
759+ -- Sjoerd Simons <sjoerd@debian.org> Sun, 04 Oct 2009 13:09:34 +0100
760+
761+empathy (2.28.0-1) unstable; urgency=low
762+
763+ [ Laurent Bigonville ]
764+ * libempathy-gtk-dev: add missing Depends on libcanberra-gtk-dev
765+
766+ [ Jonny Lamb ]
767+ * New upstream release.
768+ * debian/control:
769+ + Upped build-depend versions on libtelepathy-glib and libchamplain.
770+
771+ -- Jonny Lamb <jonny@debian.org> Mon, 21 Sep 2009 23:23:38 +0100
772+
773+empathy (2.27.92-1) experimental; urgency=low
774+
775+ * New upstream release
776+ - Drop debian/patches/0001-Remove-libmissioncontrol-deps.patch:
777+ fixed upstream
778+ - Bump libraries soname and adjust .symbols files
779+ * Split GNOME documentation out of arch-dependent package
780+
781+ -- Laurent Bigonville <bigon@debian.org> Wed, 09 Sep 2009 19:28:22 +0200
782+
783+empathy (2.27.91.1-3) experimental; urgency=low
784+
785+ * debian/control:
786+ - Add missing build-deps
787+ - Add missing dependencies to -dev packages (LP: #423174)
788+ * Re-enable map support now that new versions of champlain and clutter
789+ are in debian
790+
791+ -- Laurent Bigonville <bigon@debian.org> Thu, 03 Sep 2009 12:08:00 +0200
792+
793+empathy (2.27.91.1-2) experimental; urgency=low
794+
795+ * debian/control:
796+ + Remove libtelepathy-dev dependency from libempathy-dev
797+ + Remove libmissioncontrol-dev dependency from libempathy-dev
798+ * debian/patches/0001-Remove-libmissioncontrol-deps.patch:
799+ * Remove missioncontrol deps from the pc files, patch from upstream git
800+
801+ -- Sjoerd Simons <sjoerd@debian.org> Thu, 27 Aug 2009 10:20:15 +0100
802+
803+empathy (2.27.91.1-1) experimental; urgency=low
804+
805+ * New upstream release.
806+ * debian/control:
807+ + Upped dependencies as appropriate for the new release.
808+ + Upped Standards-Version. (no changes)
809+ + Upped sonames as appropriate.
810+ + s/Gadu Gadu/Gadu-Gadu/g
811+ + Change dep on libempathy29 to telepathy-mission-control-5.
812+ * debian/rules:
813+ + Use --with-connectivity instead of --enable-network-manager.
814+ * Disable building with map as new enough clutter-gtk and champlain
815+ packages aren't in the archive yet.
816+ * debian/libempathy-common.install: Don't install profiles anymore.
817+ * debian/empathy.install: Don't try to install omf files.
818+ * debian/*.symbols: Updated.
819+ * debian/{empathy,libempathy-common}.install: Update to include some new
820+ files.
821+
822+ -- Jonny Lamb <jonny@debian.org> Wed, 26 Aug 2009 10:36:05 +0100
823+
824+empathy (2.27.5-1) experimental; urgency=low
825+
826+ * New Upstream Version
827+ - Bump libraries soname and adjust .symbols files
828+ * debian/control:
829+ - Add geoclue-yahoo recommends for libempathy-gtk
830+ - Use more meaningful desctiptions (LP: #259788)
831+ * debian/update-patches.mk: Update script to work with recent git version
832+ * Enable network manager support
833+
834+ -- Laurent Bigonville <bigon@debian.org> Tue, 04 Aug 2009 11:20:18 +0200
835+
836+empathy (2.27.3-2) experimental; urgency=low
837+
838+ * debian/rules: Remove duplicate include
839+ * debian/control:
840+ - Bump Standards-Version (no further changes)
841+ - Drop all conflicts, packages not even in old-stable anymore
842+ * Enable Adium themes support
843+ - debian/rules: Pass --enable-webkit to configure
844+ - debian/control: Add libwebkit-dev build-dep
845+ - debian/libempathy-gtk24.symbols: Add new exported symbols
846+ * Enable geoclue support
847+ - debian/rules: Pass --enable-location to configure
848+ - debian/control: Add libgeoclue-dev build-dep
849+ - debian/libempathy-gtk24.symbols: Add new exported symbols
850+ * Enable map (champlain) support
851+ - debian/rules: Pass --enable-map to configure
852+ - debian/control: Add libchamplain-0.3-dev, libchamplain-gtk-0.3-dev
853+ and libclutter-gtk-0.8-dev build-dep
854+
855+ -- Laurent Bigonville <bigon@debian.org> Tue, 23 Jun 2009 11:10:25 +0200
856+
857+empathy (2.27.3-1) experimental; urgency=low
858+
859+ * New upstream release.
860+ - Bump libraries soname and adjust .symbols files
861+ * debian/control: Bump libtelepathy-glib-dev build-dep
862+ * debian/libempathy-gtk-common.install: Add default adium theme
863+
864+ -- Laurent Bigonville <bigon@debian.org> Wed, 17 Jun 2009 20:38:21 +0200
865+
866+empathy (2.27.2-1) experimental; urgency=low
867+
868+ * New upstream release
869+ - Bump libraries soname and adjust .symbols files
870+
871+ -- Laurent Bigonville <bigon@debian.org> Sun, 31 May 2009 16:52:39 +0200
872+
873+empathy (2.27.1.1-1) experimental; urgency=low
874+
875+ * New upstream release
876+ - Bump libraries soname and adjust .symbols files
877+ * debian/control:
878+ - Bump libgtk2.0-dev and libtelepathy-glib-dev build-dep
879+ - Bump libgtk2.0-dev dependency for libempathy-gtk-dev
880+ - Remove all libglade references
881+ * debian/libempathy-gtk-common.install: now install .ui files instead
882+ of .glade files
883+ * Bump debhelper version to 7
884+
885+ -- Laurent Bigonville <bigon@debian.org> Tue, 19 May 2009 14:18:13 +0200
886+
887+empathy (2.26.2-1) unstable; urgency=low
888+
889+ [ Jonny Lamb ]
890+ * debian/control: Added haze and butterfly as empathy Suggests.
891+
892+ [ Laurent Bigonville ]
893+ * New upstream release
894+
895+ -- Laurent Bigonville <bigon@debian.org> Mon, 18 May 2009 21:43:25 +0200
896+
897+empathy (2.26.1-1) unstable; urgency=low
898+
899+ * New upstream release
900+ * debian/control: Add Homepage field
901+
902+ -- Laurent Bigonville <bigon@debian.org> Tue, 14 Apr 2009 11:44:14 +0200
903+
904+empathy (2.26.0-1) unstable; urgency=low
905+
906+ * New Upstream Version
907+ - Bump libtelepathy-glib-dev build-dependency
908+ - Bump libempathy soname and adjust .symbols file
909+ * debian/control:
910+ - Bump Standards-Version to 3.8.1 (no further changes)
911+ - Remove telepathy-stream-engine recommends and conflicts
912+ * python-empathy.install: Fix FTBFS with python >= 2.6
913+
914+ -- Laurent Bigonville <bigon@debian.org> Wed, 18 Mar 2009 13:18:54 +0100
915+
916+empathy (2.25.92-1) unstable; urgency=low
917+
918+ * New Upstream Version
919+ * Bump libempathy soname again
920+
921+ -- Sjoerd Simons <sjoerd@debian.org> Tue, 03 Mar 2009 23:46:29 +0000
922+
923+empathy (2.25.91-2) unstable; urgency=low
924+
925+ [ Laurent Bigonville ]
926+ * debian/control: Add minimal version for libtelepathy-farsight-dev build-dep
927+
928+ [ Jonny Lamb ]
929+ * Upload to unstable.
930+
931+ -- Jonny Lamb <jonny@debian.org> Tue, 03 Mar 2009 18:05:50 +0000
932+
933+empathy (2.25.91-1) experimental; urgency=low
934+
935+ [ Sjoerd Simons ]
936+ * debian/patches/0001-Set-initial-value-for-sound-pref-checkboxes.patch
937+ - Removed, fixed upstream
938+
939+ [ Jonny Lamb ]
940+ * New upstream release.
941+ + Bumped libempathy{,-gtk} sonames.
942+ * debian/gbp.conf: Removed no-create-orig field.
943+ * debian/control:
944+ + Added myself to Uploaders.
945+ + Removed XS-Dm-Upload-Allowed field.
946+ + Upped build-dep on libtelepathy-glib-dev to >= 0.7.21.
947+ + Removed duplicate Section fields.
948+ + Made short descriptions unique.
949+ * debian/libempathy21.symbols: Updated symbols file.
950+ * debian/libempathy-gtk19.symbols: Updated symbols file.
951+ * debian/empathy-logs.1: Added new manpage.
952+ * debian/copyright: Completely rewrote.
953+
954+ -- Jonny Lamb <jonny@debian.org> Fri, 27 Feb 2009 15:20:03 +0000
955+
956+empathy (2.25.4-1) experimental; urgency=low
957+
958+ [ Simon McVittie ]
959+ * Switch packaging to git
960+ * Add gbp.conf (for git-buildpackage) and `debian/rules update-patches`
961+ target
962+ * Add README.source
963+
964+ [ Sjoerd Simons ]
965+ * New Upstream Version
966+ * debian/control: Add libcanberra-gtk-dev to build-depends
967+ * debian/control: Bump libempathy soname from 17 to 19
968+ * debian/libempathy-gtk17.symbols: Update with new symbols
969+ * debian/libempathy19.symbols: Update with new symbols
970+ * debian/patches/0001-Set-initial-value-for-sound-pref-checkboxes.patch
971+ - Added. Set the initial values of the sound preferences from the
972+ configuration. (From upstream git)
973+
974+ -- Sjoerd Simons <sjoerd@debian.org> Wed, 07 Jan 2009 18:33:49 +0000
975+
976+empathy (2.25.3-1) experimental; urgency=low
977+
978+ * New upstream release
979+ - Bump libempathy-gtk soname
980+ - Fix symbols files
981+ * debian/control:
982+ - Bump libgtk2.0-dev build-dependency
983+ - Drop libgnomeui-dev build-dep
984+ * Drop debian/patches/64bit-build-fix.patch: fixed upstream
985+
986+ -- Laurent Bigonville <bigon@debian.org> Sat, 20 Dec 2008 21:45:15 +0100
987+
988+empathy (2.25.2-2) experimental; urgency=low
989+
990+ * debian/patches/64bit-build-fix.patch:
991+ - Fix build on 64 bit platforms
992+
993+ -- Sjoerd Simons <sjoerd@debian.org> Thu, 04 Dec 2008 00:46:53 +0000
994+
995+empathy (2.25.2-1) experimental; urgency=low
996+
997+ * New upstream release.
998+ - Bump libtelepathy-glib-dev build-dep and add libgnomeui-dev
999+ - Bump soname of libempathy
1000+
1001+ -- Laurent Bigonville <bigon@debian.org> Mon, 01 Dec 2008 21:35:56 +0100
1002+
1003+empathy (2.24.1-1) experimental; urgency=low
1004+
1005+ * New upstream release.
1006+
1007+ -- Laurent Bigonville <bigon@debian.org> Mon, 20 Oct 2008 21:12:27 +0200
1008+
1009+empathy (2.24.0-1) experimental; urgency=low
1010+
1011+ * New upstream release.
1012+
1013+ -- Laurent Bigonville <bigon@debian.org> Mon, 22 Sep 2008 21:37:47 +0200
1014+
1015+empathy (2.23.92-1) experimental; urgency=low
1016+
1017+ * New upstream release
1018+ - Adjust libempathy-gtk15.symbols
1019+ * Use my debian.org address in Uploaders
1020+
1021+ -- Laurent Bigonville <bigon@debian.org> Tue, 09 Sep 2008 19:03:12 +0200
1022+
1023+empathy (2.23.90-2) experimental; urgency=low
1024+
1025+ * debian/libempathy14.symbols: Fix version of an exported symbol
1026+ * Use rarian-compat and librarian-dev instead of scrollkeeper as build-dep
1027+ * Bump build-deps and remove libtelepathy-dev (not needed anymore)
1028+ * Remove --enable-voip flags (voip enabled by default), rename
1029+ --enable-aspell to --enable-spell
1030+ * Add explicit build-depends against libglib2.0-dev
1031+ * Install gnome help and omf files in empathy package
1032+
1033+ -- Laurent Bigonville <bigon@bigon.be> Mon, 25 Aug 2008 08:04:11 +0200
1034+
1035+empathy (2.23.90-1) experimental; urgency=low
1036+
1037+ * New upstream release.
1038+
1039+ -- Dafydd Harries <daf@debian.org> Sun, 24 Aug 2008 22:03:36 +0100
1040+
1041+empathy (0.23.4-1) experimental; urgency=low
1042+
1043+ [ Laurent Bigonville ]
1044+ * Bump Standards-Version to 3.8.0 (no further changes)
1045+
1046+ [ Sjoerd Simons ]
1047+ * New upstream release
1048+ * Bumped soname of libempathy-gtk again and update symbols file
1049+ * Add a version depend on telepathy-glib-dev matching the configure.ac
1050+
1051+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 02 Aug 2008 22:08:58 +0100
1052+
1053+empathy (0.23.3-3) unstable; urgency=low
1054+
1055+ * Use my debian.org address in Uploaders
1056+ * debian/patches/00empathy_486683.patch: Fix crash when adding SIP contacts
1057+ (Closes: #486683)
1058+
1059+ -- Laurent Bigonville <bigon@debian.org> Sat, 25 Oct 2008 00:30:02 +0200
1060+
1061+empathy (0.23.3-2) unstable; urgency=low
1062+
1063+ * Add recommend on gvfs-backends. These are used for the url handlers in the
1064+ chat window.
1065+ * debian/patches/00_mark_unknown_presence_id_as_unset.patch
1066+ + Added. Mark presence as unknown when the presence string isn't
1067+ recognized
1068+
1069+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 02 Aug 2008 19:56:46 +0100
1070+
1071+empathy (0.23.3-1) unstable; urgency=low
1072+
1073+ [ Sjoerd Simons ]
1074+ * New upstream release (0.23.3)
1075+ * Bump libempathy and libempathy-gtk sonames
1076+ * debian/*.symbols: Remove the debian version number from all symbols
1077+
1078+ [ Laurent Bigonville ]
1079+ * New upstream release (0.23.2)
1080+ - Bump libempathy and libempathy-gtk soname and fix symbols files
1081+ * Add dbus-x11 dependency on empathy package (Closes: #480486)
1082+ * Add licence information about files libempathy-gtk/totem-subtitle-encoding.c
1083+ and libempathy-gtk/totem-subtitle-encoding.h
1084+
1085+ -- Sjoerd Simons <sjoerd@debian.org> Fri, 06 Jun 2008 17:14:31 +0100
1086+
1087+empathy (0.23.1-1) unstable; urgency=low
1088+
1089+ [ Laurent Bigonville ]
1090+ * debian/control: Add telepathy-stream-engine as a recommends for empathy
1091+ package
1092+
1093+ [ Sjoerd Simons ]
1094+ * New upstream release
1095+ * debian/control: Add conflict with older version of stream-engine
1096+ * debian/patches/00_fix_python_bindings.patch:
1097+ - Removed. Fixed upstream
1098+ * debian/patches/01_remove_unused_code.patch:
1099+ - Removed. Fixed upstream
1100+ * Bump libempathy and libempathy-gtk soname
1101+ * debian/control: Add build-depend on gnome-doc-utils
1102+
1103+ [ Simon McVittie ]
1104+ * Use my debian.org address in Uploaders
1105+
1106+ -- Sjoerd Simons <sjoerd@debian.org> Thu, 01 May 2008 11:42:57 +0200
1107+
1108+empathy (0.22.1-1) unstable; urgency=low
1109+
1110+ * debian/rules, debian/empathy.install: Enable VOIP support
1111+ * debian/empathy.install: Chat handler is now part of the main empathy
1112+ process
1113+ * debian/patches/00_fix_python_bindings.patch:
1114+ + Added. Don't try to import objects that don't exist anymore (from
1115+ upstream git) (Closes: #474260)
1116+ * debian/patches/01_remove_unused_code.patch:
1117+ + Added. Remove unused code. Fixes compilation errors with Gcc 4.3
1118+ (Closes: #466817)
1119+ * debian/libempathy-gtk11.symbols, debian/libempathy-gtk11.shlibs: Update
1120+ symbols and shlibs
1121+
1122+ -- Sjoerd Simons <sjoerd@debian.org> Sun, 06 Apr 2008 23:33:50 +0200
1123+
1124+empathy (0.22.0-1) unstable; urgency=low
1125+
1126+ * New upstream release
1127+
1128+ -- Sjoerd Simons <sjoerd@debian.org> Mon, 10 Mar 2008 16:39:07 +0100
1129+
1130+empathy (0.21.91-1) unstable; urgency=low
1131+
1132+ * New upstream release
1133+ * debian/patches/00_set_null_presence_message.patch:
1134+ - Removed. Merged upstream
1135+ * debian/control: Add xsltproc to build-depends
1136+ * Bump libempathy and libempathy-gtk soname to 11
1137+ * debian/control: Bump libtelepathy-dev build-depend to 0.3.1
1138+ * debian/libempathy-common.install: Add irc network definitions
1139+
1140+ -- Sjoerd Simons <sjoerd@debian.org> Mon, 03 Mar 2008 20:45:26 +0100
1141+
1142+empathy (0.21.90-2) unstable; urgency=low
1143+
1144+ * debian/*.symbols: Remove the debian versioning
1145+ * debian/patches/00_set_null_presence_message.patch:
1146+ - Added. If there is no presence-message, (re)set it to NULL. So the UI
1147+ can choose the right default message
1148+
1149+ -- Sjoerd Simons <sjoerd@debian.org> Sun, 10 Feb 2008 12:46:53 +0100
1150+
1151+empathy (0.21.90-1) unstable; urgency=low
1152+
1153+ * New upstream release
1154+ * Removed patches merge upstream:
1155+ - debian/patches/fix-pyftbfs.patch
1156+ - debian/patches/accounts-icons-path.patch
1157+ * Bump sonames for libempathy and libempathy-gtk
1158+
1159+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 09 Feb 2008 23:25:59 +0100
1160+
1161+empathy (0.21.5.2-1) unstable; urgency=low
1162+
1163+ [ Laurent Bigonville ]
1164+ * New upstream release (0.21.5.2)
1165+ * Add XS-Dm-Upload-Allowed: yes, really
1166+ * Bump libmissioncontrol-client-dev build-dep version
1167+ * Bump soname of libempathy-gtk
1168+ * Drop debian/msn-haze.profile: merged upstream
1169+ * debian/patches/fix-pyftbfs.patch: Fix FTBFS of the python binding
1170+ (taken from upstream)
1171+ * debian/patches/accounts-icons-path.patch: Fix search path for icons (taken
1172+ from upstream)
1173+ * debian/rules: remove installed test program
1174+
1175+ [ Sjoerd Simons ]
1176+ * Add symbol files for libempathy and libempathy-gtk
1177+ * libempathy7: Bumped shlibs
1178+ * debian/libempathy-common.install: Install empathy-log-manager.xsl
1179+ * debian/libempathy-common, debian/libempathy-gtk-common.install: Install
1180+ empathy-chatroom-manager.dtd in libempathy-common instead of
1181+ libempathy-gtk-common
1182+ * debian/control: Let libempathy-common conflict with older versions of
1183+ libempathy-gtk-common
1184+ * debian/rules: Disable the building of tests
1185+
1186+ -- Sjoerd Simons <sjoerd@debian.org> Mon, 21 Jan 2008 20:28:49 +0100
1187+
1188+empathy (0.21.4-1) unstable; urgency=low
1189+
1190+ [ Laurent Bigonville ]
1191+ * New upstream release
1192+ * Bump Standards-Version to 3.7.3, no further changes.
1193+
1194+ [ Sjoerd Simons ]
1195+ * debian/patches/fix_setting_avatar.patch
1196+ - Added. Fix setting avatars
1197+ * debian/patches/listen_to_presence_changed.patch
1198+ - Added. Listen to the PresenceChanged signal from the MC instead of the
1199+ deprecated PresenceStatusActual.
1200+
1201+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 05 Jan 2008 19:06:01 +0100
1202+
1203+empathy (0.21.3-1) unstable; urgency=low
1204+
1205+ * New upstream release
1206+ * Add XS-Dm-Upload-Allowed: yes
1207+ * Bump soname of both libraries
1208+ * Drop debian/patches/00_configure.patch: applied upstream
1209+ * Make -common packages arch:all and let the libs depends on
1210+ ${source:Version} of their respective -common packages again.
1211+ * Let the -dev packages depends on ${binary:Version} of their
1212+ respective lib packages.
1213+
1214+ -- Laurent Bigonville <bigon@bigon.be> Tue, 04 Dec 2007 00:00:31 +0100
1215+
1216+empathy (0.21.2-2) unstable; urgency=low
1217+
1218+ * debian/patches/00_configure.patch
1219+ - Added. Use the pkg-config file for X11 to get the right linker arguments
1220+ Fixes FTBFS (Closes: #451902)
1221+
1222+ -- Sjoerd Simons <sjoerd@debian.org> Wed, 21 Nov 2007 20:59:11 +0100
1223+
1224+empathy (0.21.2-1) unstable; urgency=low
1225+
1226+ [ Laurent Bigonville ]
1227+ * New upstream release, bump soname for both libraries
1228+ * Drop debian/patch/add-haze-profiles.patch and add debian/msn-haze.profile
1229+ to avoid patching autofoo, installing it via debian/rules
1230+ * debian/empathy.install: empathy.desktop is now installed in
1231+ /etc/xdg/autostart/
1232+ * debian/libempathy-gtk-common.install:
1233+ - Also install icons that are under /usr/share/empathy/icons/
1234+ * debian/control:
1235+ - Add gnome-icon-theme to libempathy-gtk-common dependencies
1236+ - Bump libmissioncontrol-client-dev build-dep version
1237+ * Add manpages for empathy and empathy-account,
1238+ thanks to Simon McVittie <smcv@ianadd.pseudorandom.co.uk> (Closes: #448620)
1239+ * Use now official Vcs-* field
1240+ * Install empathy-chat-chandler in /usr/lib/empathy/
1241+ * Disable voip support and remove recommends for tp-se, not stable enough yet
1242+ * Install .desktop file in /usr/share/applications
1243+
1244+ [ Sjoerd Simons ]
1245+ * debian/control: Let the libs depend on ${binary:Version} of their
1246+ respective -common packages.
1247+
1248+ -- Sjoerd Simons <sjoerd@debian.org> Fri, 16 Nov 2007 11:03:08 +0100
1249+
1250+empathy (0.14-1) unstable; urgency=low
1251+
1252+ [ Loic Minier ]
1253+ * Fix typo in control.
1254+
1255+ [ Laurent Bigonville ]
1256+ * New upstream version
1257+ - Drop debian/patches/disable-voip.patch, applied upstream
1258+ * Enable VOIP and add telepathy-stream-engine to Recommends
1259+
1260+ -- Laurent Bigonville <bigon@bigon.be> Mon, 01 Oct 2007 18:46:11 +0200
1261+
1262+empathy (0.13-1) unstable; urgency=low
1263+
1264+ [ Laurent Bigonville ]
1265+ * New upstream release, bump soname for libempathy and libempathy-gtk
1266+ - Drop build-dep on libgnomeui-dev
1267+ - Add build-dep on libpanel-applet2-dev
1268+ - Bump build-dep version of libgtk2.0-dev
1269+ - Build and install the megaphone applet
1270+ - Add libtelepathy-dev as build-dep
1271+ * Fix typo in libempathy-dev description
1272+ * debian/patches/add-haze-profiles.patch: ship .profile files to support
1273+ telepathy-haze (Closes: #444032)
1274+
1275+ [ Sjoerd Simons ]
1276+ * debian/patches/disable-voip.patch: Disable voip user interface elements as
1277+ their noops in this version.
1278+ * debian/copyright: Updated
1279+
1280+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 29 Sep 2007 18:41:39 +0200
1281+
1282+empathy (0.12-2) unstable; urgency=low
1283+
1284+ * debian/control: Let the -common packages conflict and replace the old
1285+ empathy
1286+ * debian/control: Let libempathy-gtk-dev depends on libglade2-dev instead of
1287+ libglade-dev
1288+ * debian/control: Tighten depends of libempathy-gtk-dev a bit more
1289+
1290+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 08 Sep 2007 21:00:58 +0200
1291+
1292+empathy (0.12-1) unstable; urgency=low
1293+
1294+ [ Sjoerd Simons ]
1295+ * New upstream release
1296+ * Conflict with cohoba and gossip-telepathy
1297+
1298+ [ Laurent Bigonville ]
1299+ * debian/control:
1300+ - Add myself as Uploaders
1301+ - Add libaspell-dev and iso-codes as build-dep and enable spellchecker
1302+ - Add XS-Vcs-Bzr field
1303+ - Bump mission-control build-dep
1304+ - Remove unneeded libmissioncontrol-sever builddep and rename
1305+ libmissioncontrol-dev to libmissioncontrol-client-dev
1306+
1307+ [ Loic Minier ]
1308+ * Tweak copyright.
1309+ * Wrap build-deps and deps.
1310+ * Use HTTP in watch file.
1311+ * Include CDBS' utils.mk.
1312+
1313+ [ Sjoerd Simons ]
1314+ * Added build-depend on libebook1.2-dev
1315+ * Split up empathy into a whole slew of packages
1316+ * Set linker flags to -Wl,-z,defs -Wl,-O1
1317+ * debian/rules: Call dh_pysupport on python-empathy
1318+ * debian/control, debian/rules: Explicitely enable the python bindings
1319+
1320+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 25 Aug 2007 18:41:08 +0200
1321+
1322+empathy (0.8-1) unstable; urgency=low
1323+
1324+ * New upstream release
1325+
1326+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 23 Jun 2007 14:45:31 +0100
1327+
1328+empathy (0.7-1) unstable; urgency=low
1329+
1330+ * New upstream release
1331+
1332+ -- Sjoerd Simons <sjoerd@debian.org> Mon, 11 Jun 2007 10:31:19 +0200
1333+
1334+empathy (0.6-1) unstable; urgency=low
1335+
1336+ [ Dafydd Harries ]
1337+ * Add watch file.
1338+
1339+ [ Sjoerd Simons ]
1340+ * New upstream release
1341+
1342+ -- Sjoerd Simons <sjoerd@debian.org> Mon, 04 Jun 2007 09:27:47 +0200
1343+
1344+empathy (0.5-1) unstable; urgency=low
1345+
1346+ * New upstream release
1347+
1348+ -- Sjoerd Simons <sjoerd@debian.org> Sat, 26 May 2007 19:02:41 +0200
1349+
1350+empathy (0.4-1) unstable; urgency=low
1351+
1352+ * New upstream release
1353+
1354+ -- Sjoerd Simons <sjoerd@debian.org> Sun, 20 May 2007 15:31:42 +0200
1355+
1356+empathy (0.3-1) unstable; urgency=low
1357+
1358+ * Initial release
1359+
1360+ -- Sjoerd Simons <sjoerd@debian.org> Mon, 14 May 2007 22:32:24 +0200
1361+
1362
1363=== added file 'debian/compat'
1364--- debian/compat 1970-01-01 00:00:00 +0000
1365+++ debian/compat 2011-05-08 10:03:25 +0000
1366@@ -0,0 +1,1 @@
1367+7
1368
1369=== added file 'debian/control'
1370--- debian/control 1970-01-01 00:00:00 +0000
1371+++ debian/control 2011-05-08 10:03:25 +0000
1372@@ -0,0 +1,126 @@
1373+Source: empathy
1374+Section: gnome
1375+Priority: optional
1376+Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
1377+XSBC-Original-Maintainer: Debian Telepathy maintainers <pkg-telepathy-maintainers@lists.alioth.debian.org>
1378+Uploaders: Sjoerd Simons <sjoerd@debian.org>,
1379+ Dafydd Harries <daf@debian.org>,
1380+ Simon McVittie <smcv@debian.org>,
1381+ Riccardo Setti <giskard@debian.org>,
1382+ Laurent Bigonville <bigon@debian.org>,
1383+ Jonny Lamb <jonny@debian.org>
1384+Build-Depends: cdbs,
1385+ debhelper (>= 7),
1386+ dh-autoreconf,
1387+ gnome-common,
1388+ rarian-compat,
1389+ librarian-dev,
1390+ libglib2.0-dev (>= 2.25.9),
1391+ libgtk2.0-dev (>= 2.21.2),
1392+ libgconf2-dev (>= 1.2.0),
1393+ libtelepathy-glib-dev (>= 0.14.1),
1394+ libtelepathy-logger-dev (>= 0.2.0),
1395+ libebook1.2-dev,
1396+ intltool,
1397+ libenchant-dev (>= 1.2.0),
1398+ iso-codes,
1399+ libgnutls-dev (>= 2.8.5),
1400+ xsltproc,
1401+ gnome-doc-utils (>= 0.17.3),
1402+ libcanberra-gtk-dev (>= 0.4),
1403+ libnotify4-dev (>= 0.7.0),
1404+ libx11-dev,
1405+ libgstfarsight0.10-dev,
1406+ libdbus-glib-1-dev,
1407+ libtelepathy-farsight-dev (>= 0.0.14),
1408+ libgstreamer0.10-dev,
1409+ libgstreamer-plugins-base0.10-dev,
1410+ libnm-glib-dev (>= 0.7) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
1411+ libnm-util-dev (>= 0.7) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
1412+ libwebkitgtk-dev,
1413+ libgnome-keyring-dev (>= 2.26.0),
1414+ libgcr-dev (>= 2.26.0),
1415+ libunique-dev (>= 1.1.2),
1416+ nautilus-sendto (>= 2.31.7),
1417+ libfolks-dev (>= 0.4.0),
1418+ libfolks-telepathy-dev (>= 0.4.0),
1419+ libindicate-dev (>= 0.4.91),
1420+ libindicate-gtk-dev (>= 0.4.91),
1421+ libido-0.1-dev,
1422+ liblaunchpad-integration-dev (>= 0.1.17),
1423+ libunity-dev (>= 3.8.4)
1424+Standards-Version: 3.9.1
1425+Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/empathy/ubuntu
1426+Homepage: http://live.gnome.org/Empathy
1427+
1428+Package: empathy
1429+Architecture: any
1430+Depends: ${shlibs:Depends},
1431+ ${misc:Depends},
1432+ empathy-common (= ${source:Version}),
1433+ telepathy-mission-control-5,
1434+ gnome-icon-theme (>= 2.30.0),
1435+ dbus-x11,
1436+ telepathy-logger
1437+Recommends: telepathy-gabble,
1438+ telepathy-salut,
1439+ libdconf0,
1440+ gvfs-backends,
1441+ telepathy-haze,
1442+ telepathy-butterfly,
1443+ nautilus-sendto-empathy
1444+Suggests: telepathy-idle,
1445+ vino
1446+Replaces: libempathy-gtk-common
1447+Breaks: telepathy-butterfly (<< 0.5.10)
1448+Description: GNOME multi-protocol chat and call client
1449+ Instant messaging program supporting text, voice, video, file transfers
1450+ and inter-application communication over many different protocols,
1451+ including: AIM, MSN, Google Talk (Jabber/XMPP), Facebook, Yahoo!, Salut,
1452+ Gadu-Gadu, Groupwise, ICQ and QQ.
1453+ .
1454+ This package contains the Empathy IM application and account manager.
1455+
1456+Package: empathy-dbg
1457+Architecture: any
1458+Depends: ${misc:Depends}, empathy (= ${binary:Version})
1459+Section: debug
1460+Priority: extra
1461+Description: GNOME multi-protocol chat and call client (debug symbols)
1462+ Instant messaging program supporting text, voice, video, file transfers
1463+ and inter-application communication over many different protocols,
1464+ including: AIM, MSN, Google Talk (Jabber/XMPP), Facebook, Yahoo!, Salut,
1465+ Gadu-Gadu, Groupwise, ICQ and QQ.
1466+ .
1467+ This package contains debug symbols for the Empathy IM application and
1468+ account manager.
1469+
1470+Package: empathy-common
1471+Architecture: all
1472+Depends: ${misc:Depends}
1473+Recommends: yelp
1474+Replaces: empathy (<< 2.27.92), empathy-doc, libempathy-common, libempathy-gtk-common
1475+Conflicts: empathy-doc, libempathy-common, libempathy-gtk-common
1476+Provides: empathy-doc, libempathy-common, libempathy-gtk-common
1477+Description: GNOME multi-protocol chat and call client (common files)
1478+ Instant messaging program supporting text, voice, video, file transfers
1479+ and inter-application communication over many different protocols,
1480+ including: AIM, MSN, Google Talk (Jabber/XMPP), Facebook, Yahoo!, Salut,
1481+ Gadu-Gadu, Groupwise, ICQ and QQ.
1482+ .
1483+ This package contains the architecture independent files for Empathy
1484+ IM application.
1485+
1486+Package: nautilus-sendto-empathy
1487+Architecture: any
1488+Depends: ${shlibs:Depends}, ${misc:Depends}, empathy-common (= ${source:Version})
1489+Recommends: nautilus-sendto (>= 2.28.2-2)
1490+Replaces: nautilus-sendto (<< 2.28.2-2)
1491+Breaks: nautilus-sendto (<< 2.28.2-2)
1492+Description: GNOME multi-protocol chat and call client (nautilus-sendto plugin)
1493+ Instant messaging program supporting text, voice, video, file transfers
1494+ and inter-application communication over many different protocols,
1495+ including: AIM, MSN, Google Talk (Jabber/XMPP), Facebook, Yahoo!, Salut,
1496+ Gadu-Gadu, Groupwise, ICQ and QQ.
1497+ .
1498+ This package contains nautilus-sendto plugin for the Empathy IM application.
1499
1500=== added file 'debian/copyright'
1501--- debian/copyright 1970-01-01 00:00:00 +0000
1502+++ debian/copyright 2011-05-08 10:03:25 +0000
1503@@ -0,0 +1,159 @@
1504+This package was debianized by Sjoerd Simons <sjoerd@debian.org> on
1505+Mon, 14 May 2007 22:32:24 +0200.
1506+
1507+It was downloaded from:
1508+ http://ftp.gnome.org/pub/GNOME/sources/empathy/
1509+
1510+Upstream Authors:
1511+ Xavier Claessens <xclaesse@gmail.com>
1512+ Richard Hult <richard@imendio.com>
1513+ Michael Hallendal <micke@imendio.com>
1514+ Martyn Russell <martyn@imendio.com>
1515+ Raphaël Slinckx <raphael@slinckx.net>
1516+
1517+Files: *
1518+Copyright:
1519+ Copyright (C) 2000 Eazel, Inc.
1520+ Copyright (C) 2000-2005 Paolo Maggi
1521+ Copyright (C) 2002-2003 Jeroen Zwartepoorte
1522+ Copyright (C) 2002-2004 Marco Presenti Gritti
1523+ Copyright (C) 2002-2006 Imendio AB
1524+ Copyright (C) 2003-2004 Xan Lopez
1525+ Copyright (C) 2003 Bastien Nocera <hadess@hadess.net>
1526+ Copyright (C) 2004 Red Hat, Inc.
1527+ Copyright (C) 2004-2005 Martyn Russel
1528+ Copyright (C) 2004-2006 Christian Persch
1529+ Copyright (C) 2006 Xavier Claessens
1530+ Copyright (C) 2007-2008 Marco Barisione <marco@barisione.org>
1531+ Copyright (C) 2007 Raphael Slinckx <raphael@slinckx.net>
1532+ Copyright (C) 2007 Guillaume Desmottes
1533+ Copyright (C) 2007-2009 Collabora Ltd.
1534+License: GPL-2+
1535+ On Debian systems, the complete text of the GPL-2 can be found in
1536+ /usr/share/common-licenses/GPL-2.
1537+
1538+Files: libempathy-gtk/empathy-avatar-chooser.*
1539+Copyright:
1540+ Copyright (C) 2006-2007 Imendio AB.
1541+ Copyrihgt (C) 2007-2008 Collabora Ltd.
1542+License: GPL-2
1543+ On Debian systems, the complete text of the GPL-2 can be found in
1544+ /usr/share/common-licenses/GPL-2.
1545+
1546+Files: src/empathy-status-icon.*, src/empathy-event-manager.*,
1547+ src/empathy-tube-dispatch.*, src/empathy-call-window.*,
1548+ libempathy-gtk/empathy-video-src.*, libempathy-gtk/empathy-audio-src.*,
1549+ libempathy/empathy-call-factory.*, libempathy/empathy-tp-contact-list.*,
1550+ libempathy/empathy-dispatcher.*, libempathy/empathy-tp-file.*,
1551+ libempathy/empathy-irc-network-manager.*, libempathy/empathy-tp-call.*,
1552+ libempathy/empathy-tp-tube.*, libempathy/empathy-idle.*,
1553+ libempathy/empathy-debug.*, libempathy/empathy-account-manager.*,
1554+ libempathy/empathy-contact-factory.*, libempathy/empathy-tp-roomlist.*,
1555+ libempathy/empathy-contact-monitor.*, libempathy/empathy-tp-group.*,
1556+ libempathy/empathy-contact-manager.*, libempathy/empathy-tube-handler.*,
1557+ libempathy/empathy-tp-contact-factory.*, libempathy/empathy-contact-list.*,
1558+ libempathy/empathy-irc-server.*, libempathy/empathy-tp-chat.*,
1559+ libempathy/empathy-chatroom.*, libempathy/empathy-call-handler.*,
1560+ libempathy/empathy-dispatch-operation.*, libempathy-gtk/empathy-contact-dialogs.*,
1561+ libempathy-gtk/empathy-contact-selector.*, libempathy-gtk/empathy-contact-widget.*,
1562+ libempathy-gtk/empathy-profile-chooser.*, libempathy-gtk/empathy-audio-sink.*,
1563+ libempathy-gtk/empathy-cell-renderer-activatable.*, libempathy-gtk/empathy-account-widget-irc.*,
1564+ libempathy-gtk/empathy-account-widget-sip.*, libempathy-gtk/empathy-video-src.*,
1565+ libempathy-gtk/empathy-smiley-manager.*, libempathy-gtk/empathy-irc-network-dialog.*,
1566+ libempathy-gtk/empathy-contact-menu.*, libempathy-gtk/totem-subtitle-encoding.*,
1567+ libempathy-gtk/empathy-video-widget.*, libempathy-gtk/empathy-new-message-dialog.*,
1568+ libempathy-gtk/empathy-audio-src.*, tools/*
1569+Copyright:
1570+ Copyright (C) 2007-2009 Collabora Ltd.
1571+ Copyright (C) 2007 Xavier Claessens <xclaesse@gmail.com>
1572+ Copyright (C) 2007 Elliot Fairweather
1573+ Copyright (C) 2007 Nokia Corporation
1574+ Copyright (C) 2007 Marco Barisione <marco@barisione.org>
1575+ Copyright (C) 2007-2008 Guillaume Desmottes
1576+ Copyright (C) 2007 Raphael Slinckx <raphael@slinckx.net>
1577+ Copyright (C) 2001-2006 Bastien Nocera <hadess@hadess.net>
1578+License: LGPL-2.1+
1579+ On Debian systems, the complete text of the LGPL-2.1 can be found in
1580+ /usr/share/common-licenses/LGPL-2.1.
1581+
1582+Files: po/*
1583+Copyright:
1584+ Copyright 2002-2006 Free Software Foundation, Inc.
1585+ Copyright 2002-2003 Richard Hult <richard@imendio.com>
1586+ Copyright 2003-2004 Christian Rose <menthos@menthos.com>
1587+ Copyright 2006 Daniel Nylander <po@danielnylander.se>
1588+License: GPL-2
1589+ On Debian systems, the complete text of the GPL-2 can be found in
1590+ /usr/share/common-licenses/GPL-2.
1591+
1592+Files: help/*
1593+Copyright:
1594+ Copyright 2009 GNOME Documentation Project
1595+License: CC-BY-SA
1596+ THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
1597+
1598+ BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
1599+
1600+ 1. Definitions
1601+
1602+ 1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
1603+ 2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License.
1604+ 3. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License.
1605+ 4. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
1606+ 5. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike.
1607+ 6. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
1608+ 7. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
1609+ 8. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
1610+ 9. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
1611+ 10. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
1612+ 11. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
1613+
1614+ 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
1615+
1616+ 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
1617+
1618+ 1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
1619+ 2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
1620+ 3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
1621+ 4. to Distribute and Publicly Perform Adaptations.
1622+ 5.
1623+
1624+ For the avoidance of doubt:
1625+ 1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
1626+ 2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
1627+ 3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
1628+
1629+The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
1630+
1631+ 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
1632+
1633+ 1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested.
1634+ 2. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License.
1635+ 3. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
1636+ 4. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
1637+
1638+ 5. Representations, Warranties and Disclaimer
1639+
1640+ UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
1641+
1642+ 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
1643+
1644+ 7. Termination
1645+
1646+ 1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
1647+ 2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
1648+
1649+ 8. Miscellaneous
1650+
1651+ 1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
1652+ 2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
1653+ 3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
1654+ 4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
1655+ 5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
1656+ 6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
1657+
1658+Files: debian/*
1659+Copyright: Copyright 2007-2009 Sjoerd Simons <sjoerd@debian.org>
1660+License: GPL-2+
1661+ On Debian systems, the complete text of the GPL-2 can be found in
1662+ /usr/share/common-licenses/GPL-2.
1663
1664=== added file 'debian/empathy-common.install'
1665--- debian/empathy-common.install 1970-01-01 00:00:00 +0000
1666+++ debian/empathy-common.install 2011-05-08 10:03:25 +0000
1667@@ -0,0 +1,4 @@
1668+usr/share/icons/
1669+usr/share/locale/
1670+usr/share/empathy/
1671+usr/share/gnome/help/empathy/
1672
1673=== added file 'debian/empathy.install'
1674--- debian/empathy.install 1970-01-01 00:00:00 +0000
1675+++ debian/empathy.install 2011-05-08 10:03:25 +0000
1676@@ -0,0 +1,9 @@
1677+usr/bin/
1678+usr/lib/empathy/
1679+usr/share/man/man1/
1680+usr/share/applications/
1681+usr/share/dbus-1/services/
1682+usr/share/telepathy/clients/
1683+usr/share/GConf/gsettings/empathy.convert
1684+usr/share/glib-2.0/schemas/org.gnome.Empathy.gschema.xml
1685+../indicators/empathy /usr/share/indicators/messages/applications/
1686
1687=== added file 'debian/gbp.conf'
1688--- debian/gbp.conf 1970-01-01 00:00:00 +0000
1689+++ debian/gbp.conf 2011-05-08 10:03:25 +0000
1690@@ -0,0 +1,9 @@
1691+[DEFAULT]
1692+debian-branch = debian
1693+upstream-branch = upstream
1694+pristine-tar = True
1695+compression = bzip2
1696+
1697+[git-buildpackage]
1698+tarball-dir = ../tarballs/
1699+export-dir = ../build-area/
1700
1701=== added directory 'debian/indicators'
1702=== added file 'debian/indicators/empathy'
1703--- debian/indicators/empathy 1970-01-01 00:00:00 +0000
1704+++ debian/indicators/empathy 2011-05-08 10:03:25 +0000
1705@@ -0,0 +1,1 @@
1706+/usr/share/applications/empathy.desktop
1707
1708=== added file 'debian/nautilus-sendto-empathy.install'
1709--- debian/nautilus-sendto-empathy.install 1970-01-01 00:00:00 +0000
1710+++ debian/nautilus-sendto-empathy.install 2011-05-08 10:03:25 +0000
1711@@ -0,0 +1,1 @@
1712+usr/lib/nautilus-sendto/plugins/libnstempathy.so
1713
1714=== added directory 'debian/patches'
1715=== added file 'debian/patches/00_lp_748535.patch'
1716--- debian/patches/00_lp_748535.patch 1970-01-01 00:00:00 +0000
1717+++ debian/patches/00_lp_748535.patch 2011-05-08 10:03:25 +0000
1718@@ -0,0 +1,25 @@
1719+From 73d8a18c6def748d78e91f0dda1145771c620b53 Mon Sep 17 00:00:00 2001
1720+From: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
1721+Date: Mon, 04 Apr 2011 08:23:53 +0000
1722+Subject: event_manager_add: don't crash if approval is NULL (#646555)
1723+
1724+When adding a "subscription request" event there is no EventManagerApproval
1725+associated with the event.
1726+---
1727+diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
1728+index 5b2174a..041d22a 100644
1729+--- a/src/empathy-event-manager.c
1730++++ b/src/empathy-event-manager.c
1731+@@ -233,7 +233,8 @@ event_manager_add (EmpathyEventManager *manager,
1732+ event->public.header = g_strdup (header);
1733+ event->public.message = g_strdup (message);
1734+ event->public.must_ack = (func != NULL);
1735+- event->public.handler_instance = approval->handler_instance;
1736++ if (approval != NULL)
1737++ event->public.handler_instance = approval->handler_instance;
1738+ event->inhibit = FALSE;
1739+ event->func = func;
1740+ event->user_data = user_data;
1741+--
1742+cgit v0.9
1743+
1744
1745=== added file 'debian/patches/01_lpi.patch'
1746--- debian/patches/01_lpi.patch 1970-01-01 00:00:00 +0000
1747+++ debian/patches/01_lpi.patch 2011-05-08 10:03:25 +0000
1748@@ -0,0 +1,83 @@
1749+=== modified file 'configure.ac'
1750+--- old/configure.ac 2011-02-24 17:01:06 +0000
1751++++ new/configure.ac 2011-02-24 17:01:49 +0000
1752+@@ -160,6 +160,7 @@
1753+ telepathy-glib >= $TELEPATHY_GLIB_REQUIRED
1754+ telepathy-logger-0.2 >= $TELEPATHY_LOGGER
1755+ x11
1756++ launchpad-integration
1757+ ])
1758+
1759+ PKG_CHECK_MODULES(YELL, [telepathy-yell])
1760+
1761+=== modified file 'src/empathy-chat-window.c'
1762+--- old/src/empathy-chat-window.c 2011-02-24 17:01:06 +0000
1763++++ new/src/empathy-chat-window.c 2011-02-24 17:01:49 +0000
1764+@@ -36,6 +36,9 @@
1765+ #include <glib/gi18n.h>
1766+ #include <libnotify/notification.h>
1767+
1768++/* Add launchpad hooks */
1769++#include <launchpad-integration.h>
1770++
1771+ #include <telepathy-glib/telepathy-glib.h>
1772+
1773+ #include <libempathy/empathy-contact.h>
1774+@@ -2069,6 +2072,9 @@
1775+ chat_window_chat_manager_chats_changed_cb (priv->chat_manager,
1776+ empathy_chat_manager_get_num_chats (priv->chat_manager),
1777+ window);
1778++
1779++ /* Add launchpad hooks */
1780++ launchpad_integration_add_ui (priv->ui_manager, "/chats_menubar/menu_help/LaunchpadItems");
1781+ }
1782+
1783+ EmpathyChatWindow *
1784+
1785+=== modified file 'src/empathy-chat-window.ui'
1786+--- old/src/empathy-chat-window.ui 2011-02-24 17:01:06 +0000
1787++++ new/src/empathy-chat-window.ui 2011-02-24 17:01:49 +0000
1788+@@ -197,6 +197,7 @@
1789+ </menu>
1790+ <menu action="menu_help">
1791+ <menuitem action="menu_help_contents"/>
1792++ <placeholder name="LaunchpadItems"/>
1793+ <menuitem action="menu_help_about"/>
1794+ </menu>
1795+ </menubar>
1796+
1797+=== modified file 'src/empathy-main-window.c'
1798+--- old/src/empathy-main-window.c 2011-02-24 17:01:06 +0000
1799++++ new/src/empathy-main-window.c 2011-02-24 17:01:49 +0000
1800+@@ -33,6 +33,9 @@
1801+ #include <telepathy-glib/util.h>
1802+ #include <folks/folks.h>
1803+
1804++/* Add launchpad hooks */
1805++#include <launchpad-integration.h>
1806++
1807+ #include <libempathy/empathy-contact.h>
1808+ #include <libempathy/empathy-idle.h>
1809+ #include <libempathy/empathy-utils.h>
1810+@@ -1973,6 +1976,8 @@
1811+ main_window_notify_contact_list_size_cb (priv->gsettings_ui,
1812+ EMPATHY_PREFS_UI_SHOW_AVATARS,
1813+ window);
1814++
1815++ launchpad_integration_add_ui (priv->ui_manager, "/menubar/help/LaunchpadItems");
1816+ }
1817+
1818+ GtkWidget *
1819+
1820+=== modified file 'src/empathy-main-window.ui'
1821+--- old/src/empathy-main-window.ui 2011-02-24 17:01:06 +0000
1822++++ new/src/empathy-main-window.ui 2011-02-24 17:01:49 +0000
1823+@@ -277,6 +277,7 @@
1824+ <menu action="help">
1825+ <menuitem action="help_contents"/>
1826+ <menuitem action="help_debug"/>
1827++ <placeholder name="LaunchpadItems"/>
1828+ <menuitem action="help_about"/>
1829+ </menu>
1830+ </menubar>
1831+
1832
1833=== added file 'debian/patches/02_notifications_focus.patch'
1834--- debian/patches/02_notifications_focus.patch 1970-01-01 00:00:00 +0000
1835+++ debian/patches/02_notifications_focus.patch 2011-05-08 10:03:25 +0000
1836@@ -0,0 +1,16 @@
1837+## Description: add some description
1838+## Origin/Author: add some origin or author
1839+## Bug: bug URL
1840+Index: empathy-2.31.6/data/org.gnome.Empathy.gschema.xml.in
1841+===================================================================
1842+--- empathy-2.31.6.orig/data/org.gnome.Empathy.gschema.xml.in 2010-07-13 22:26:34.000000000 +1000
1843++++ empathy-2.31.6/data/org.gnome.Empathy.gschema.xml.in 2010-08-05 17:30:05.022584053 +1000
1844+@@ -153,7 +153,7 @@
1845+ <_description>Whether to show popup notifications when away or busy.</_description>
1846+ </key>
1847+ <key name="notifications-focus" type="b">
1848+- <default>false</default>
1849++ <default>true</default>
1850+ <_summary>Pop up notifications if the chat isn't focused</_summary>
1851+ <_description>Whether to show a popup notification when receiving a new message even if the chat is already opened, but not focused.</_description>
1852+ </key>
1853
1854=== added file 'debian/patches/10_use_notify_osd_icons.patch'
1855--- debian/patches/10_use_notify_osd_icons.patch 1970-01-01 00:00:00 +0000
1856+++ debian/patches/10_use_notify_osd_icons.patch 2011-05-08 10:03:25 +0000
1857@@ -0,0 +1,21 @@
1858+Description: Use the notify-osd image for new messages
1859+Bug: https://bugs.edge.launchpad.net/ubuntu/karmic/+source/empathy/+bug/409828
1860+
1861+From 18170177bf037f682438ddcb93b8682563db7c64 Mon Sep 17 00:00:00 2001
1862+From: Robert Ancell <robert.ancell@canonical.com>
1863+Date: Thu, 17 Sep 2009 17:42:26 +1000
1864+Subject: [PATCH] Use the notify-osd image for new messages
1865+
1866+Index: empathy-2.31.3/libempathy-gtk/empathy-images.h
1867+===================================================================
1868+--- empathy-2.31.3.orig/libempathy-gtk/empathy-images.h 2010-06-18 12:19:59.454507811 +1000
1869++++ empathy-2.31.3/libempathy-gtk/empathy-images.h 2010-06-18 12:20:06.804510537 +1000
1870+@@ -36,7 +36,7 @@
1871+ #define EMPATHY_IMAGE_PENDING "empathy-pending"
1872+
1873+ #define EMPATHY_IMAGE_MESSAGE "im-message"
1874+-#define EMPATHY_IMAGE_NEW_MESSAGE "im-message-new"
1875++#define EMPATHY_IMAGE_NEW_MESSAGE "notification-message-im"
1876+ #define EMPATHY_IMAGE_TYPING "user-typing"
1877+ #define EMPATHY_IMAGE_CONTACT_INFORMATION "gtk-info"
1878+ #define EMPATHY_IMAGE_GROUP_MESSAGE "system-users"
1879
1880=== added file 'debian/patches/11_empathy_accounts_category.patch'
1881--- debian/patches/11_empathy_accounts_category.patch 1970-01-01 00:00:00 +0000
1882+++ debian/patches/11_empathy_accounts_category.patch 2011-05-08 10:03:25 +0000
1883@@ -0,0 +1,42 @@
1884+Description: Put empathy-accounts in correct category
1885+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=611913
1886+
1887+Index: empathy-2.32.2/data/empathy-accounts.desktop
1888+===================================================================
1889+--- empathy-2.32.2.orig/data/empathy-accounts.desktop 2010-11-24 17:22:17.395693001 +1100
1890++++ empathy-2.32.2/data/empathy-accounts.desktop 2010-11-24 17:22:20.075693001 +1100
1891+@@ -99,7 +99,7 @@
1892+ StartupNotify=true
1893+ Terminal=false
1894+ Type=Application
1895+-Categories=GNOME;GTK;Settings;DesktopSettings;
1896++Categories=GNOME;GTK;Settings;X-GNOME-PersonalSettings;
1897+ X-GNOME-Settings-Panel=empathy-accounts
1898+ X-GNOME-Bugzilla-Bugzilla=GNOME
1899+ X-GNOME-Bugzilla-Product=empathy
1900+Index: empathy-2.32.2/data/empathy-accounts.desktop.in
1901+===================================================================
1902+--- empathy-2.32.2.orig/data/empathy-accounts.desktop.in 2010-11-24 17:22:17.405693001 +1100
1903++++ empathy-2.32.2/data/empathy-accounts.desktop.in 2010-11-24 17:22:20.075693001 +1100
1904+@@ -7,7 +7,7 @@
1905+ StartupNotify=true
1906+ Terminal=false
1907+ Type=Application
1908+-Categories=GNOME;GTK;Settings;DesktopSettings;
1909++Categories=GNOME;GTK;Settings;X-GNOME-PersonalSettings;
1910+ X-GNOME-Settings-Panel=empathy-accounts
1911+ X-GNOME-Bugzilla-Bugzilla=GNOME
1912+ X-GNOME-Bugzilla-Product=empathy
1913+Index: empathy-2.32.2/data/empathy-accounts.desktop.in.in
1914+===================================================================
1915+--- empathy-2.32.2.orig/data/empathy-accounts.desktop.in.in 2010-11-24 17:22:17.415693001 +1100
1916++++ empathy-2.32.2/data/empathy-accounts.desktop.in.in 2010-11-24 17:22:20.075693001 +1100
1917+@@ -7,7 +7,7 @@
1918+ StartupNotify=true
1919+ Terminal=false
1920+ Type=Application
1921+-Categories=GNOME;GTK;Settings;DesktopSettings;
1922++Categories=GNOME;GTK;Settings;X-GNOME-PersonalSettings;
1923+ X-GNOME-Settings-Panel=empathy-accounts
1924+ X-GNOME-Bugzilla-Bugzilla=GNOME
1925+ X-GNOME-Bugzilla-Product=empathy
1926
1927=== added file 'debian/patches/20_libindicate.patch'
1928--- debian/patches/20_libindicate.patch 1970-01-01 00:00:00 +0000
1929+++ debian/patches/20_libindicate.patch 2011-05-08 10:03:25 +0000
1930@@ -0,0 +1,1682 @@
1931+=== modified file 'configure.ac'
1932+Index: empathy-2.34.0/configure.ac
1933+===================================================================
1934+--- empathy-2.34.0.orig/configure.ac 2011-03-24 12:46:07.198547066 -0400
1935++++ empathy-2.34.0/configure.ac 2011-03-24 12:46:24.808547063 -0400
1936+@@ -56,6 +56,8 @@
1937+ NETWORK_MANAGER_REQUIRED=0.7.0
1938+ WEBKIT_REQUIRED=1.1.15
1939+ GNOME_CONTROL_CENTER_GTK3_REQUIRED=2.31.4
1940++INDICATE_REQUIRED=0.4.91
1941++INDICATE_GTK_REQUIRED=0.4.91
1942+
1943+ # telepathy-yell
1944+ prev_top_build_prefix=$ac_top_build_prefix
1945+@@ -480,6 +482,34 @@
1946+ AC_SUBST(MEEGO_LIBS)
1947+
1948+ # -----------------------------------------------------------
1949++# libindicate
1950++# -----------------------------------------------------------
1951++AC_ARG_ENABLE(libindicate,
1952++ AS_HELP_STRING([--enable-libindicate=@<:@no/yes/auto@:>@],
1953++ [build libindicate support]), ,
1954++ enable_libindicate=auto)
1955++
1956++if test "x$enable_libindicate" != "xno"; then
1957++ PKG_CHECK_MODULES(INDICATE,
1958++ [
1959++ indicate-0.5 >= $INDICATE_REQUIRED,
1960++ indicate-gtk-0.5 >= $INDICATE_GTK_REQUIRED
1961++ ], have_libindicate="yes", have_libindicate="no")
1962++
1963++ if test "x$have_libindicate" = "xyes"; then
1964++ AC_DEFINE(HAVE_LIBINDICATE, 1, [Define if you have libindicate])
1965++ fi
1966++else
1967++ have_libindicate=no
1968++fi
1969++
1970++if test "x$enable_libindicate" = "xyes" -a "x$have_libindicate" != "xyes"; then
1971++ AC_MSG_ERROR([Couldn't find libindicate.])
1972++fi
1973++
1974++AM_CONDITIONAL(HAVE_LIBINDICATE, test "x$have_libindicate" = "xyes")
1975++
1976++# -----------------------------------------------------------
1977+ # nautilus-sendto
1978+ # -----------------------------------------------------------
1979+ AC_ARG_ENABLE(nautilus-sendto,
1980+@@ -581,6 +611,7 @@
1981+ CA Cert Path................: ${GTLS_SYSTEM_CA_FILE}
1982+
1983+ Features:
1984++ Message indicator support (libindicate): ${have_libindicate}
1985+ Spell checking (enchant)....: ${have_enchant}
1986+ Display maps (libchamplain).: ${have_libchamplain}
1987+ Location awareness (Geoclue): ${have_geoclue}
1988+Index: empathy-2.34.0/data/org.gnome.Empathy.gschema.xml.in
1989+===================================================================
1990+--- empathy-2.34.0.orig/data/org.gnome.Empathy.gschema.xml.in 2011-03-24 12:46:14.568547064 -0400
1991++++ empathy-2.34.0/data/org.gnome.Empathy.gschema.xml.in 2011-03-24 12:46:24.808547063 -0400
1992+@@ -86,6 +86,11 @@
1993+ <_summary>The position for the chat window side pane</_summary>
1994+ <_description>The stored position (in pixels) of the chat window side pane.</_description>
1995+ </key>
1996++ <key name="use-libindicate" type="b">
1997++ <default>true</default>
1998++ <summary>Use the messaging indicator</summary>
1999++ <description>Whether or not to use the messaging indicator, if false the icon in the notification area will be displayed.</description>
2000++ </key>
2001+ </schema>
2002+ <schema id="org.gnome.Empathy.contacts" path="/apps/empathy/contacts/">
2003+ <key name="sort-criterium" type="s">
2004+Index: empathy-2.34.0/libempathy-gtk/empathy-ui-utils.c
2005+===================================================================
2006+--- empathy-2.34.0.orig/libempathy-gtk/empathy-ui-utils.c 2011-03-24 11:15:16.000000000 -0400
2007++++ empathy-2.34.0/libempathy-gtk/empathy-ui-utils.c 2011-03-24 12:46:24.808547063 -0400
2008+@@ -1567,25 +1567,36 @@
2009+ Display *dpy;
2010+ GdkWindow *gdk_window;
2011+
2012+- gtk_status_icon_get_geometry (status_icon, NULL, &icon_location, NULL);
2013+- gdk_window = gtk_widget_get_window (GTK_WIDGET (window));
2014+- dpy = gdk_x11_drawable_get_xdisplay (gdk_window);
2015++ // If the status icon isn't visible (because indicators are used) then
2016++ // attempting to change the properties of the status icon doesn't work.
2017++ if (gtk_status_icon_get_visible (status_icon)) {
2018++ gtk_status_icon_get_geometry (status_icon, NULL, &icon_location, NULL);
2019++ gdk_window = gtk_widget_get_window (GTK_WIDGET (window));
2020++ dpy = gdk_x11_drawable_get_xdisplay (gdk_window);
2021+
2022+- data[0] = icon_location.x;
2023+- data[1] = icon_location.y;
2024+- data[2] = icon_location.width;
2025+- data[3] = icon_location.height;
2026++ data[0] = icon_location.x;
2027++ data[1] = icon_location.y;
2028++ data[2] = icon_location.width;
2029++ data[3] = icon_location.height;
2030+
2031+- XChangeProperty (dpy,
2032+- GDK_WINDOW_XID (gdk_window),
2033+- gdk_x11_get_xatom_by_name_for_display (
2034+- gdk_drawable_get_display (gdk_window),
2035+- "_NET_WM_ICON_GEOMETRY"),
2036+- XA_CARDINAL, 32, PropModeReplace,
2037+- (guchar *)&data, 4);
2038++ XChangeProperty (dpy,
2039++ GDK_WINDOW_XID (gdk_window),
2040++ gdk_x11_get_xatom_by_name_for_display (
2041++ gdk_drawable_get_display (gdk_window),
2042++ "_NET_WM_ICON_GEOMETRY"),
2043++ XA_CARDINAL, 32, PropModeReplace,
2044++ (guchar *)&data, 4);
2045++ }
2046+
2047+ gtk_window_set_skip_taskbar_hint (window, TRUE);
2048+- gtk_window_iconify (window);
2049++ // If the status icon isn't present then the WM will probably choose to
2050++ // iconfy to the taskbar, which doesn't look as good as the taskbar
2051++ // entry has just been removed. Just hide instead.
2052++ if (gtk_status_icon_get_visible (status_icon)) {
2053++ gtk_window_iconify (window);
2054++ } else {
2055++ gtk_widget_hide (GTK_WIDGET(window));
2056++ }
2057+ }
2058+
2059+ /* Takes care of moving the window to the current workspace. */
2060+Index: empathy-2.34.0/libempathy/empathy-gsettings.h
2061+===================================================================
2062+--- empathy-2.34.0.orig/libempathy/empathy-gsettings.h 2011-03-24 11:15:16.000000000 -0400
2063++++ empathy-2.34.0/libempathy/empathy-gsettings.h 2011-03-24 12:46:24.808547063 -0400
2064+@@ -71,6 +71,7 @@
2065+ #define EMPATHY_PREFS_UI_SHOW_AVATARS "show-avatars"
2066+ #define EMPATHY_PREFS_UI_SHOW_PROTOCOLS "show-protocols"
2067+ #define EMPATHY_PREFS_UI_COMPACT_CONTACT_LIST "compact-contact-list"
2068++#define EMPATHY_PREFS_UI_USE_LIBINDICATE "use-libindicate"
2069+ #define EMPATHY_PREFS_UI_CHAT_WINDOW_PANED_POS "chat-window-paned-pos"
2070+ #define EMPATHY_PREFS_UI_SHOW_OFFLINE "show-offline"
2071+
2072+Index: empathy-2.34.0/po/POTFILES.in
2073+===================================================================
2074+--- empathy-2.34.0.orig/po/POTFILES.in 2011-03-24 11:38:49.000000000 -0400
2075++++ empathy-2.34.0/po/POTFILES.in 2011-03-24 12:46:24.808547063 -0400
2076+@@ -95,6 +95,8 @@
2077+ [type: gettext/glade]src/empathy-ft-manager.ui
2078+ src/empathy-import-dialog.c
2079+ src/empathy-import-widget.c
2080++src/empathy-indicator.c
2081++src/empathy-indicator-manager.c
2082+ [type: gettext/glade]src/empathy-import-dialog.ui
2083+ src/empathy-import-widget.c
2084+ src/empathy-main-window.c
2085+Index: empathy-2.34.0/src/Makefile.am
2086+===================================================================
2087+--- empathy-2.34.0.orig/src/Makefile.am 2011-03-24 11:15:16.000000000 -0400
2088++++ empathy-2.34.0/src/Makefile.am 2011-03-24 12:46:24.808547063 -0400
2089+@@ -8,6 +8,7 @@
2090+ $(ERROR_CFLAGS) \
2091+ -I$(top_srcdir) \
2092+ -DG_LOG_DOMAIN=\"empathy\" \
2093++ -DDESKTOPDIR=\"$(datadir)/applications\" \
2094+ -DBIN_DIR=\"$(bindir)\" \
2095+ $(DISABLE_DEPRECATED) \
2096+ $(WARN_CFLAGS) \
2097+@@ -17,6 +18,7 @@
2098+ AM_CPPFLAGS = \
2099+ $(CPPFLAGS_COMMON) \
2100+ $(LIBNOTIFY_CFLAGS) \
2101++ $(INDICATE_CFLAGS) \
2102+ $(UNIQUE_CFLAGS) \
2103+ $(LIBCHAMPLAIN_CFLAGS) \
2104+ $(WEBKIT_CFLAGS) \
2105+@@ -27,6 +29,7 @@
2106+ $(top_builddir)/libempathy/libempathy.la \
2107+ $(top_builddir)/extensions/libemp-extensions.la \
2108+ $(LIBNOTIFY_LIBS) \
2109++ $(INDICATE_LIBS) \
2110+ $(UNIQUE_LIBS) \
2111+ $(EMPATHY_LIBS) \
2112+ $(GTK_LIBS) \
2113+@@ -200,6 +203,7 @@
2114+ $(LIBNOTIFY_LIBS) \
2115+ $(UNIQUE_LIBS) \
2116+ $(EMPATHY_LIBS) \
2117++ $(INDICATE_LIBS) \
2118+ $(LIBCHAMPLAIN_LIBS) \
2119+ $(WEBKIT_LIBS) \
2120+ $(NULL)
2121+@@ -232,6 +236,18 @@
2122+ $(autostart_DATA) \
2123+ $(ui_DATA)
2124+
2125++if HAVE_LIBINDICATE
2126++empathy_handwritten_source += \
2127++ empathy-indicator-manager.c \
2128++ empathy-indicator-manager.h \
2129++ empathy-indicator.c empathy-indicator.h
2130++else
2131++EXTRA_DIST += \
2132++ empathy-indicator-manager.c \
2133++ empathy-indicator-manager.h \
2134++ empathy-indicator.c empathy-indicator.h
2135++endif
2136++
2137+ if HAVE_LIBCHAMPLAIN
2138+ empathy_handwritten_source += \
2139+ empathy-map-view.c \
2140+Index: empathy-2.34.0/src/empathy-chat-window.c
2141+===================================================================
2142+--- empathy-2.34.0.orig/src/empathy-chat-window.c 2011-03-24 12:46:07.198547066 -0400
2143++++ empathy-2.34.0/src/empathy-chat-window.c 2011-03-24 12:46:24.808547063 -0400
2144+@@ -63,6 +63,11 @@
2145+ #include "empathy-about-dialog.h"
2146+ #include "empathy-invite-participant-dialog.h"
2147+
2148++#ifdef HAVE_LIBINDICATE
2149++#include "empathy-indicator.h"
2150++#include "empathy-indicator-manager.h"
2151++#endif
2152++
2153+ #define DEBUG_FLAG EMPATHY_DEBUG_CHAT
2154+ #include <libempathy/empathy-debug.h>
2155+
2156+@@ -86,7 +91,11 @@
2157+ GtkWidget *dialog;
2158+ GtkWidget *notebook;
2159+ NotifyNotification *notification;
2160+-
2161++#ifdef HAVE_LIBINDICATE
2162++ EmpathyIndicatorManager *indicator_manager;
2163++ /* EmpathyChat -> EmpathyIndicator for that chat, if any */
2164++ GHashTable *indicators;
2165++#endif
2166+ GtkTargetList *contact_targets;
2167+ GtkTargetList *file_targets;
2168+
2169+@@ -1278,6 +1287,72 @@
2170+ }
2171+ }
2172+
2173++#ifdef HAVE_LIBINDICATE
2174++static void
2175++chat_window_indicator_activate_cb (EmpathyIndicator *indicator, guint timestamp,
2176++ EmpathyChat *chat)
2177++{
2178++ empathy_chat_window_present_chat (chat, timestamp);
2179++ empathy_indicator_hide (indicator);
2180++}
2181++
2182++static void
2183++chat_window_add_indicator (EmpathyChatWindow *window,
2184++ EmpathyMessage *message,
2185++ EmpathyChat *chat)
2186++{
2187++ EmpathyChatWindowPriv *priv = GET_PRIV (window);
2188++ EmpathyContact *sender;
2189++ const char *body;
2190++ gboolean use_libindicate;
2191++ EmpathyIndicator *indicator = NULL;
2192++ GSettings *gsettings;
2193++
2194++ gsettings = g_settings_new (EMPATHY_PREFS_UI_SCHEMA);
2195++ use_libindicate = g_settings_get_boolean (gsettings, EMPATHY_PREFS_UI_USE_LIBINDICATE);
2196++ g_object_unref (gsettings);
2197++
2198++ if (!use_libindicate) {
2199++ return;
2200++ }
2201++
2202++ sender = empathy_message_get_sender (message);
2203++ body = empathy_message_get_body (message);
2204++
2205++ indicator = g_hash_table_lookup (priv->indicators, chat);
2206++ if (indicator != NULL) {
2207++ DEBUG ("indicator exists");
2208++ empathy_indicator_update (indicator, body);
2209++ } else {
2210++ DEBUG ("indicator doesn't exist yet, creating a new indicator");
2211++ indicator = empathy_indicator_manager_create_indicator (priv->indicator_manager,
2212++ sender, body);
2213++ g_signal_connect (indicator, "activate",
2214++ G_CALLBACK (chat_window_indicator_activate_cb), chat);
2215++
2216++ g_hash_table_insert (priv->indicators, chat, indicator);
2217++ }
2218++ empathy_indicator_show (indicator);
2219++}
2220++
2221++static void
2222++chat_window_remove_indicator (EmpathyChatWindow *window, EmpathyChat *chat)
2223++{
2224++ EmpathyIndicator *indicator = NULL;
2225++ EmpathyChatWindowPriv *priv = GET_PRIV (window);
2226++
2227++ indicator = g_hash_table_lookup (priv->indicators, chat);
2228++
2229++ if ((indicator) && (indicator != NULL)) {
2230++ DEBUG ("indicator is %p", indicator);
2231++ empathy_indicator_hide (indicator);
2232++ g_hash_table_remove (priv->indicators, chat);
2233++ } else {
2234++ DEBUG ("indicator is NULL, nothing to remove");
2235++ }
2236++}
2237++#endif
2238++
2239+ static void
2240+ chat_window_show_or_update_notification (EmpathyChatWindow *window,
2241+ EmpathyMessage *message,
2242+@@ -1454,6 +1529,9 @@
2243+
2244+ empathy_sound_play (GTK_WIDGET (priv->dialog),
2245+ EMPATHY_SOUND_MESSAGE_INCOMING);
2246++#ifdef HAVE_LIBINDICATE
2247++ chat_window_add_indicator (window, message, chat);
2248++#endif
2249+
2250+ /* Pending messages have already been displayed in the approver, so we don't
2251+ * display a notification for those. */
2252+@@ -1526,6 +1604,10 @@
2253+ empathy_chat_messages_read (chat);
2254+
2255+ chat_window_update_chat_tab (chat);
2256++
2257++#ifdef HAVE_LIBINDICATE
2258++ chat_window_remove_indicator (window, chat);
2259++#endif
2260+ }
2261+
2262+ static void
2263+@@ -1642,6 +1724,11 @@
2264+ /* Update the title, since we now mark all unread messages as read. */
2265+ chat_window_update_chat_tab_full (priv->current_chat, FALSE);
2266+
2267++#ifdef HAVE_LIBINDICATE
2268++ /* Remove the indicator for the active chat */
2269++ chat_window_remove_indicator (window, priv->current_chat);
2270++#endif
2271++
2272+ return FALSE;
2273+ }
2274+
2275+@@ -1986,6 +2073,11 @@
2276+ g_object_unref (gui);
2277+
2278+ priv->chatroom_manager = empathy_chatroom_manager_dup_singleton (NULL);
2279++#ifdef HAVE_LIBINDICATE
2280++ priv->indicator_manager = empathy_indicator_manager_dup_singleton ();
2281++ priv->indicators = g_hash_table_new_full (g_direct_hash, g_direct_equal,
2282++ NULL, g_object_unref);
2283++#endif
2284+
2285+ priv->notebook = gtk_notebook_new ();
2286+ gtk_notebook_set_group (GTK_NOTEBOOK (priv->notebook), "EmpathyChatWindow");
2287+Index: empathy-2.34.0/src/empathy-indicator-manager.c
2288+===================================================================
2289+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
2290++++ empathy-2.34.0/src/empathy-indicator-manager.c 2011-03-24 12:46:24.808547063 -0400
2291+@@ -0,0 +1,467 @@
2292++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2293++/*
2294++ * Copyright (C) 2009 Canonical Ltd.
2295++ *
2296++ * This program is free software; you can redistribute it and/or
2297++ * modify it under the terms of the GNU General Public License as
2298++ * published by the Free Software Foundation; either version 2 of the
2299++ * License, or (at your option) any later version.
2300++ *
2301++ * This program is distributed in the hope that it will be useful,
2302++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2303++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2304++ * General Public License for more details.
2305++ *
2306++ * You should have received a copy of the GNU General Public
2307++ * License along with this program; if not, write to the
2308++ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
2309++ * Boston, MA 02110-1301 USA
2310++ *
2311++ * Authors: James Westby <james.westby@ubuntu.com>
2312++ *
2313++ */
2314++
2315++#include <config.h>
2316++
2317++#include <gtk/gtk.h>
2318++
2319++#include <libempathy/empathy-contact.h>
2320++#include <libempathy/empathy-dispatcher.h>
2321++#include <libempathy/empathy-utils.h>
2322++
2323++#include <libempathy-gtk/empathy-ui-utils.h>
2324++#include <libempathy-gtk/empathy-notify-manager.h>
2325++
2326++#include <telepathy-glib/util.h>
2327++
2328++#include "empathy-event-manager.h"
2329++#include "empathy-indicator.h"
2330++#include "empathy-indicator-manager.h"
2331++
2332++#include <libindicate/server.h>
2333++#include <libindicate/indicator.h>
2334++
2335++#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
2336++#include <libempathy/empathy-debug.h>
2337++
2338++#define INDICATOR_LOGIN_TIMEOUT 15
2339++#define EMPATHY_DESKTOP_PATH DESKTOPDIR "/empathy.desktop"
2340++
2341++#define GET_PRIV(obj) EMPATHY_GET_PRIV (obj, EmpathyIndicatorManager)
2342++
2343++enum {
2344++ SERVER_ACTIVATE,
2345++ LAST_SIGNAL
2346++};
2347++
2348++static guint signals[LAST_SIGNAL];
2349++
2350++typedef struct {
2351++ EmpathyEventManager *event_manager;
2352++ IndicateServer *indicate_server;
2353++ GSList *indicator_events;
2354++ GHashTable *login_timeouts;
2355++} EmpathyIndicatorManagerPriv;
2356++
2357++typedef struct {
2358++ EmpathyIndicator *indicator;
2359++ EmpathyEvent *event;
2360++} IndicatorEvent;
2361++
2362++typedef struct {
2363++ EmpathyIndicatorManager *manager;
2364++ EmpathyIndicator *indicator;
2365++} LoginData;
2366++
2367++G_DEFINE_TYPE (EmpathyIndicatorManager, empathy_indicator_manager, G_TYPE_OBJECT);
2368++
2369++static EmpathyIndicatorManager *manager_singleton = NULL;
2370++
2371++static EmpathyEvent *
2372++event_copy (EmpathyEvent *event)
2373++{
2374++ EmpathyEvent *ret = g_new0 (EmpathyEvent, 1);
2375++
2376++ ret->contact = g_object_ref (event->contact);
2377++ ret->icon_name = g_strdup (event->icon_name);
2378++ ret->header = g_strdup (event->header);
2379++ ret->message = g_strdup (event->message);
2380++ ret->must_ack = event->must_ack;
2381++
2382++ return ret;
2383++}
2384++
2385++static gboolean
2386++compare_events (EmpathyEvent *ev1, EmpathyEvent *ev2)
2387++{
2388++ return ((g_strcmp0 (ev1->icon_name, ev2->icon_name) == 0) &&
2389++ (g_strcmp0 (ev1->header, ev2->header) == 0) &&
2390++ (ev1->must_ack == ev2->must_ack) &&
2391++ (ev1->contact == ev2->contact));
2392++}
2393++
2394++static IndicatorEvent *
2395++indicator_event_new (EmpathyIndicator *indicator,
2396++ EmpathyEvent *event)
2397++{
2398++ IndicatorEvent *indicator_event;
2399++
2400++ indicator_event = g_slice_new0 (IndicatorEvent);
2401++ indicator_event->indicator = g_object_ref (indicator);
2402++ indicator_event->event = event_copy (event);
2403++
2404++ return indicator_event;
2405++}
2406++
2407++
2408++static void
2409++indicator_event_free (IndicatorEvent *indicator_event)
2410++{
2411++ g_object_unref (indicator_event->indicator);
2412++ g_free (indicator_event);
2413++}
2414++
2415++
2416++static void
2417++indicate_server_activate (IndicateServer *server, guint timestamp,
2418++ EmpathyIndicatorManager *manager)
2419++{
2420++ g_signal_emit (manager, signals[SERVER_ACTIVATE], 0, timestamp);
2421++}
2422++
2423++
2424++static void
2425++indicate_show_cb (EmpathyIndicator *indicator, guint timestamp,
2426++ EmpathyEvent *event)
2427++{
2428++ empathy_event_activate (event);
2429++}
2430++
2431++
2432++static void
2433++indicator_manager_event_added_cb (EmpathyEventManager *event_manager,
2434++ EmpathyEvent *event,
2435++ EmpathyIndicatorManager *manager)
2436++{
2437++ EmpathyIndicator *indicator = NULL;
2438++ EmpathyIndicatorManagerPriv *priv;
2439++ IndicatorEvent *indicator_event;
2440++
2441++ priv = GET_PRIV (manager);
2442++
2443++ DEBUG ("Event added");
2444++
2445++ if (event->contact == NULL)
2446++ return;
2447++
2448++ indicator = empathy_indicator_new (event->contact, event->message, "im");
2449++ if (indicator == NULL) {
2450++ return;
2451++ }
2452++
2453++ empathy_indicator_show (indicator);
2454++ g_signal_connect (G_OBJECT(indicator), "activate",
2455++ G_CALLBACK (indicate_show_cb),
2456++ event);
2457++ indicator_event = indicator_event_new (indicator, event);
2458++ g_object_unref (indicator);
2459++ priv->indicator_events = g_slist_prepend (priv->indicator_events,
2460++ indicator_event);
2461++}
2462++
2463++static void
2464++indicator_manager_event_removed_cb (EmpathyEventManager *event_manager,
2465++ EmpathyEvent *event,
2466++ EmpathyIndicatorManager *manager)
2467++{
2468++ EmpathyIndicatorManagerPriv *priv;
2469++ GSList *l;
2470++
2471++ priv = GET_PRIV (manager);
2472++
2473++ DEBUG ("Event removed");
2474++
2475++ for (l = priv->indicator_events; l; l = l->next)
2476++ {
2477++ IndicatorEvent *indicator_event;
2478++ indicator_event = l->data;
2479++
2480++ if (compare_events (indicator_event->event, event)) {
2481++ priv->indicator_events = g_slist_remove (priv->indicator_events,
2482++ indicator_event);
2483++ empathy_indicator_hide (indicator_event->indicator);
2484++ return;
2485++ }
2486++ }
2487++}
2488++
2489++
2490++static void
2491++indicator_manager_event_updated_cb (EmpathyEventManager *event_manager,
2492++ EmpathyEvent *event,
2493++ EmpathyIndicatorManager *manager)
2494++{
2495++ EmpathyIndicatorManagerPriv *priv;
2496++ GSList *l;
2497++
2498++ priv = GET_PRIV (manager);
2499++
2500++ for (l = priv->indicator_events; l; l = l->next)
2501++ {
2502++ IndicatorEvent *indicator_event;
2503++ indicator_event = l->data;
2504++ if (compare_events (indicator_event->event, event)) {
2505++ empathy_indicator_update (indicator_event->indicator,
2506++ event->message);
2507++ return;
2508++ }
2509++ }
2510++}
2511++
2512++
2513++/* Remove the login indicator when it times out */
2514++static gboolean
2515++indicate_login_timeout (gpointer data)
2516++{
2517++ LoginData *login_data;
2518++ EmpathyIndicator *e_indicator;
2519++ EmpathyIndicatorManager *manager;
2520++ EmpathyIndicatorManagerPriv *priv;
2521++
2522++ login_data = (LoginData *) data;
2523++ e_indicator = login_data->indicator;
2524++ manager = login_data->manager;
2525++ priv = GET_PRIV (manager);
2526++
2527++ empathy_indicator_hide (e_indicator);
2528++ g_hash_table_remove (priv->login_timeouts, e_indicator);
2529++
2530++ return FALSE;
2531++}
2532++
2533++
2534++static void
2535++indicate_login_cb (EmpathyIndicator *e_indicator, guint timestamp,
2536++ EmpathyIndicatorManager *manager)
2537++{
2538++ EmpathyIndicatorManagerPriv *priv;
2539++ GSList *events, *l;
2540++ EmpathyContact *contact;
2541++
2542++ priv = GET_PRIV (manager);
2543++
2544++ empathy_indicator_hide (e_indicator);
2545++ g_hash_table_remove (priv->login_timeouts, e_indicator);
2546++
2547++ contact = empathy_indicator_get_contact (e_indicator);
2548++ /* If the contact has an event activate it, otherwise the
2549++ * default handler of row-activated will be called. */
2550++ events = empathy_event_manager_get_events (priv->event_manager);
2551++ for (l = events; l; l = l->next) {
2552++ EmpathyEvent *event;
2553++
2554++ event = l->data;
2555++ if (event->contact == contact) {
2556++ empathy_event_activate (event);
2557++ return;
2558++ }
2559++ }
2560++
2561++ /* Else start a new conversation */
2562++ empathy_dispatcher_chat_with_contact (contact, timestamp);
2563++}
2564++
2565++
2566++EmpathyIndicatorManager *
2567++empathy_indicator_manager_dup_singleton (void)
2568++{
2569++ return g_object_new (EMPATHY_TYPE_INDICATOR_MANAGER, NULL);
2570++}
2571++
2572++
2573++static void
2574++indicator_manager_dispose (GObject *object)
2575++{
2576++ EmpathyIndicatorManagerPriv *priv;
2577++
2578++ priv = GET_PRIV (object);
2579++
2580++ if (priv->indicator_events) {
2581++ g_slist_foreach (priv->indicator_events, (GFunc) indicator_event_free,
2582++ NULL);
2583++ g_slist_free (priv->indicator_events);
2584++ priv->indicator_events = NULL;
2585++ }
2586++ if (priv->event_manager) {
2587++ g_object_unref (priv->event_manager);
2588++ priv->event_manager = NULL;
2589++ }
2590++ if (priv->indicate_server) {
2591++ g_object_unref (priv->indicate_server);
2592++ priv->indicate_server = NULL;
2593++ }
2594++ if (priv->login_timeouts) {
2595++ g_hash_table_unref (priv->login_timeouts);
2596++ priv->login_timeouts = NULL;
2597++ }
2598++
2599++ G_OBJECT_CLASS (empathy_indicator_manager_parent_class)->dispose (object);
2600++}
2601++
2602++
2603++static GObject *
2604++indicator_manager_constructor (GType type,
2605++ guint n_props,
2606++ GObjectConstructParam *props)
2607++{
2608++ GObject *retval;
2609++
2610++ if (manager_singleton != NULL) {
2611++ retval = g_object_ref (manager_singleton);
2612++ } else {
2613++ retval = G_OBJECT_CLASS (empathy_indicator_manager_parent_class)->constructor
2614++ (type, n_props, props);
2615++
2616++ manager_singleton = EMPATHY_INDICATOR_MANAGER (retval);
2617++ g_object_add_weak_pointer (retval, (gpointer) &manager_singleton);
2618++ }
2619++
2620++ return retval;
2621++}
2622++
2623++
2624++static void
2625++empathy_indicator_manager_class_init (EmpathyIndicatorManagerClass *klass)
2626++{
2627++ GObjectClass *object_class;
2628++
2629++ object_class = G_OBJECT_CLASS (klass);
2630++ object_class->dispose = indicator_manager_dispose;
2631++ object_class->constructor = indicator_manager_constructor;
2632++
2633++ signals[SERVER_ACTIVATE] =
2634++ g_signal_new ("server-activate",
2635++ G_TYPE_FROM_CLASS (klass),
2636++ G_SIGNAL_RUN_LAST,
2637++ 0,
2638++ NULL, NULL,
2639++ g_cclosure_marshal_VOID__UINT,
2640++ G_TYPE_NONE, 1, G_TYPE_UINT);
2641++
2642++ g_type_class_add_private (object_class, sizeof (EmpathyIndicatorManagerPriv));
2643++}
2644++
2645++
2646++static void
2647++empathy_indicator_manager_init (EmpathyIndicatorManager *manager)
2648++{
2649++ EmpathyIndicatorManagerPriv *priv;
2650++
2651++ priv = G_TYPE_INSTANCE_GET_PRIVATE (manager,
2652++ EMPATHY_TYPE_INDICATOR_MANAGER, EmpathyIndicatorManagerPriv);
2653++ manager->priv = priv;
2654++
2655++ priv->event_manager = empathy_event_manager_dup_singleton ();
2656++ priv->login_timeouts = g_hash_table_new_full (NULL, NULL,
2657++ (GDestroyNotify) g_object_unref, (GDestroyNotify) g_source_unref);
2658++ priv->indicate_server = indicate_server_ref_default ();
2659++ indicate_server_set_type (priv->indicate_server, "message.instant");
2660++ indicate_server_set_desktop_file (priv->indicate_server,
2661++ EMPATHY_DESKTOP_PATH);
2662++
2663++ g_signal_connect (priv->indicate_server,
2664++ INDICATE_SERVER_SIGNAL_SERVER_DISPLAY,
2665++ G_CALLBACK (indicate_server_activate),
2666++ manager);
2667++
2668++ g_signal_connect (priv->event_manager, "event-added",
2669++ G_CALLBACK (indicator_manager_event_added_cb),
2670++ manager);
2671++ g_signal_connect (priv->event_manager, "event-removed",
2672++ G_CALLBACK (indicator_manager_event_removed_cb),
2673++ manager);
2674++ g_signal_connect (priv->event_manager, "event-updated",
2675++ G_CALLBACK (indicator_manager_event_updated_cb),
2676++ manager);
2677++}
2678++
2679++void
2680++empathy_indicator_manager_set_server_visible (EmpathyIndicatorManager *manager,
2681++ gboolean visible)
2682++{
2683++ EmpathyIndicatorManagerPriv *priv;
2684++
2685++ priv = GET_PRIV (manager);
2686++ if (visible) {
2687++ DEBUG ("Show indicator");
2688++ indicate_server_show (priv->indicate_server);
2689++ } else {
2690++ DEBUG ("Hide indicator");
2691++ indicate_server_hide (priv->indicate_server);
2692++ }
2693++}
2694++
2695++
2696++EmpathyIndicator *
2697++empathy_indicator_manager_create_indicator (EmpathyIndicatorManager *manager,
2698++ EmpathyContact *sender,
2699++ const gchar *body)
2700++{
2701++ return empathy_indicator_new (sender, body, "im");
2702++}
2703++
2704++
2705++static LoginData *
2706++login_data_new (EmpathyIndicator *e_indicator,
2707++ EmpathyIndicatorManager *manager)
2708++{
2709++ LoginData *login_data;
2710++
2711++ login_data = g_slice_new0 (LoginData);
2712++ login_data->manager = g_object_ref (manager);
2713++ login_data->indicator = g_object_ref (e_indicator);
2714++
2715++ return login_data;
2716++}
2717++
2718++
2719++static void
2720++indicator_destroy_login_data (gpointer data)
2721++{
2722++ LoginData *login_data;
2723++
2724++ login_data = (LoginData *)data;
2725++
2726++ g_object_unref (login_data->manager);
2727++ g_object_unref (login_data->indicator);
2728++ g_slice_free (LoginData, login_data);
2729++}
2730++
2731++
2732++/* Add an indicator for someone logging in. This will be displayed for
2733++ * a short period only.
2734++ */
2735++void
2736++empathy_indicator_manager_add_login_indicator (EmpathyIndicatorManager *manager,
2737++ EmpathyContact *contact)
2738++{
2739++ EmpathyIndicatorManagerPriv *priv;
2740++ GSource *timeout;
2741++ EmpathyIndicator *e_indicator;
2742++ LoginData *login_data;
2743++
2744++ priv = GET_PRIV (manager);
2745++ e_indicator = empathy_indicator_new (contact, NULL, "login");
2746++ login_data = login_data_new (e_indicator, manager);
2747++
2748++ timeout = g_timeout_source_new_seconds (INDICATOR_LOGIN_TIMEOUT);
2749++ g_source_set_callback (timeout, indicate_login_timeout, login_data,
2750++ indicator_destroy_login_data);
2751++ g_source_attach (timeout, NULL);
2752++
2753++ g_hash_table_insert (priv->login_timeouts, e_indicator, timeout);
2754++
2755++ g_signal_connect (e_indicator, "activate",
2756++ G_CALLBACK (indicate_login_cb), manager);
2757++ empathy_indicator_show (e_indicator);
2758++}
2759+Index: empathy-2.34.0/src/empathy-indicator-manager.h
2760+===================================================================
2761+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
2762++++ empathy-2.34.0/src/empathy-indicator-manager.h 2011-03-24 12:46:24.808547063 -0400
2763+@@ -0,0 +1,77 @@
2764++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2765++/*
2766++ * Copyright (C) 2009 Canonical Ltd.
2767++ *
2768++ * This program is free software; you can redistribute it and/or
2769++ * modify it under the terms of the GNU General Public License as
2770++ * published by the Free Software Foundation; either version 2 of the
2771++ * License, or (at your option) any later version.
2772++ *
2773++ * This program is distributed in the hope that it will be useful,
2774++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2775++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2776++ * General Public License for more details.
2777++ *
2778++ * You should have received a copy of the GNU General Public
2779++ * License along with this program; if not, write to the
2780++ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
2781++ * Boston, MA 02110-1301 USA
2782++ *
2783++ * Authors: James Westby <james.westby@ubuntu.com>
2784++ *
2785++ */
2786++
2787++#ifndef __EMPATHY_INDICATOR_MANAGER_H__
2788++#define __EMPATHY_INDICATOR_MANAGER_H__
2789++
2790++#include <glib.h>
2791++
2792++#include <libempathy/empathy-contact.h>
2793++#include "empathy-indicator.h"
2794++
2795++G_BEGIN_DECLS
2796++
2797++#define EMPATHY_TYPE_INDICATOR_MANAGER \
2798++ (empathy_indicator_manager_get_type ())
2799++#define EMPATHY_INDICATOR_MANAGER(o) \
2800++ (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_INDICATOR_MANAGER, \
2801++ EmpathyIndicatorManager))
2802++#define EMPATHY_INDICATOR_MANAGER_CLASS(k) \
2803++ (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_INDICATOR_MANAGER, \
2804++ EmpathyIndicatorManagerClass))
2805++#define EMPATHY_IS_INDICATOR_MANAGER(o) \
2806++ (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_INDICATOR_MANAGER))
2807++#define EMPATHY_IS_INDICATOR_MANAGER_CLASS(k) \
2808++ (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_INDICATOR_MANAGER))
2809++#define EMPATHY_INDICATOR_MANAGER_GET_CLASS(o) \
2810++ (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_INDICATOR_MANAGER, \
2811++ EmpathyIndicatorManagerClass))
2812++
2813++typedef struct _EmpathyIndicatorManager EmpathyIndicatorManager;
2814++typedef struct _EmpathyIndicatorManagerClass EmpathyIndicatorManagerClass;
2815++
2816++struct _EmpathyIndicatorManager {
2817++ GObject parent;
2818++ gpointer priv;
2819++};
2820++
2821++struct _EmpathyIndicatorManagerClass {
2822++ GObjectClass parent_class;
2823++};
2824++
2825++GType empathy_indicator_manager_get_type (void) G_GNUC_CONST;
2826++EmpathyIndicatorManager *empathy_indicator_manager_dup_singleton (void);
2827++void empathy_indicator_manager_set_server_visible (
2828++ EmpathyIndicatorManager *manager,
2829++ gboolean visible);
2830++EmpathyIndicator *empathy_indicator_manager_create_indicator (
2831++ EmpathyIndicatorManager *manager,
2832++ EmpathyContact *sender,
2833++ const gchar *body);
2834++void empathy_indicator_manager_add_login_indicator (
2835++ EmpathyIndicatorManager *manager,
2836++ EmpathyContact *contact);
2837++
2838++G_END_DECLS
2839++
2840++#endif /* __EMPATHY_INDICATOR_MANAGER_H__ */
2841+Index: empathy-2.34.0/src/empathy-indicator.c
2842+===================================================================
2843+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
2844++++ empathy-2.34.0/src/empathy-indicator.c 2011-03-24 12:46:24.808547063 -0400
2845+@@ -0,0 +1,325 @@
2846++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2847++/*
2848++ * Copyright (C) 2009 Canonical Ltd.
2849++ *
2850++ * This program is free software; you can redistribute it and/or
2851++ * modify it under the terms of the GNU General Public License as
2852++ * published by the Free Software Foundation; either version 2 of the
2853++ * License, or (at your option) any later version.
2854++ *
2855++ * This program is distributed in the hope that it will be useful,
2856++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
2857++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2858++ * General Public License for more details.
2859++ *
2860++ * You should have received a copy of the GNU General Public
2861++ * License along with this program; if not, write to the
2862++ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
2863++ * Boston, MA 02110-1301 USA
2864++ *
2865++ * Authors: James Westby <james.westby@ubuntu.com>
2866++ *
2867++ */
2868++
2869++#include <gtk/gtk.h>
2870++
2871++#include <libempathy/empathy-contact.h>
2872++#include <libempathy/empathy-utils.h>
2873++
2874++#include <libempathy-gtk/empathy-ui-utils.h>
2875++#include <libempathy-gtk/empathy-notify-manager.h>
2876++
2877++#include "empathy-indicator.h"
2878++
2879++#include <libindicate/indicator.h>
2880++#include <libindicate-gtk/indicator.h>
2881++
2882++#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
2883++#include <libempathy/empathy-debug.h>
2884++
2885++#define GET_PRIV(obj) EMPATHY_GET_PRIV ((obj), EmpathyIndicator)
2886++
2887++enum {
2888++ PROP_0,
2889++ PROP_CONTACT,
2890++ PROP_BODY,
2891++ PROP_SUBTYPE,
2892++ PROP_VISIBLE
2893++};
2894++
2895++enum {
2896++ ACTIVATE,
2897++ LAST_SIGNAL
2898++};
2899++
2900++static guint signals[LAST_SIGNAL];
2901++
2902++typedef struct {
2903++ IndicateIndicator *indicator;
2904++ EmpathyContact *contact;
2905++ gchar *body;
2906++ gchar *subtype;
2907++} EmpathyIndicatorPriv;
2908++
2909++G_DEFINE_TYPE (EmpathyIndicator, empathy_indicator, G_TYPE_OBJECT)
2910++
2911++
2912++static void
2913++empathy_indicator_dispose (GObject *object)
2914++{
2915++ EmpathyIndicatorPriv *priv;
2916++
2917++ priv = GET_PRIV (object);
2918++
2919++ if (priv->indicator) {
2920++ g_object_unref (priv->indicator);
2921++ priv->indicator = NULL;
2922++ }
2923++ if (priv->contact) {
2924++ g_object_unref (priv->contact);
2925++ priv->contact = NULL;
2926++ }
2927++
2928++ G_OBJECT_CLASS (empathy_indicator_parent_class)->dispose (object);
2929++}
2930++
2931++
2932++static void
2933++empathy_indicator_finalize (GObject *object)
2934++{
2935++ EmpathyIndicatorPriv *priv;
2936++
2937++ priv = GET_PRIV (object);
2938++
2939++ g_free (priv->body);
2940++ g_free (priv->subtype);
2941++
2942++ G_OBJECT_CLASS (empathy_indicator_parent_class)->finalize (object);
2943++}
2944++
2945++static void
2946++indicate_show_cb (IndicateIndicator *indicator, guint timestamp,
2947++ EmpathyIndicator *e_indicator)
2948++{
2949++ g_signal_emit (e_indicator, signals[ACTIVATE], 0, timestamp);
2950++}
2951++
2952++
2953++static IndicateIndicator *
2954++empathy_indicator_get_indicator (EmpathyIndicator *e_indicator)
2955++{
2956++ EmpathyIndicatorPriv *priv;
2957++
2958++ priv = GET_PRIV (e_indicator);
2959++ if (priv->indicator)
2960++ return priv->indicator;
2961++
2962++ priv->indicator = indicate_indicator_new ();
2963++ g_assert (priv->indicator);
2964++ g_signal_connect (G_OBJECT (priv->indicator),
2965++ INDICATE_INDICATOR_SIGNAL_DISPLAY,
2966++ G_CALLBACK (indicate_show_cb),
2967++ e_indicator);
2968++
2969++ return priv->indicator;
2970++}
2971++
2972++
2973++static void
2974++empathy_indicator_set_property (GObject *object,
2975++ guint param_id,
2976++ const GValue *value,
2977++ GParamSpec *pspec)
2978++{
2979++ EmpathyIndicator *e_indicator;
2980++ EmpathyIndicatorPriv *priv;
2981++ IndicateIndicator *indicator;
2982++ GTimeVal time;
2983++ GdkPixbuf *pixbuf_avatar = NULL;
2984++
2985++ e_indicator = EMPATHY_INDICATOR (object);
2986++ priv = GET_PRIV (e_indicator);
2987++
2988++ indicator = empathy_indicator_get_indicator (e_indicator);
2989++
2990++ switch (param_id) {
2991++ case PROP_CONTACT:
2992++ priv->contact = g_object_ref (g_value_get_object (value));
2993++ g_assert (priv->contact);
2994++ indicate_indicator_set_property (indicator, "sender",
2995++ empathy_contact_get_alias (priv->contact));
2996++ /* get the scaled avatar (22,22) until LP bug #433143 is fixed then switch to
2997++ to letting indicate-messages handle the scaling by setting the size to 0, 0 */
2998++ pixbuf_avatar = empathy_pixbuf_avatar_from_contact_scaled (priv->contact, 22, 22);
2999++ if (pixbuf_avatar != NULL)
3000++ {
3001++ indicate_indicator_set_property_icon(indicator, "icon", pixbuf_avatar);
3002++ g_object_unref(G_OBJECT(pixbuf_avatar));
3003++ }
3004++ break;
3005++ case PROP_BODY:
3006++ if (priv->body)
3007++ g_free (priv->body);
3008++ priv->body = g_strdup (g_value_get_string (value));
3009++ indicate_indicator_set_property (indicator, "body", priv->body);
3010++ if (priv->body != NULL) {
3011++ g_get_current_time (&time);
3012++ indicate_indicator_set_property_time (indicator, "time", &time);
3013++ }
3014++ break;
3015++ case PROP_SUBTYPE:
3016++ if (priv->subtype)
3017++ g_free (priv->subtype);
3018++ priv->subtype = g_strdup (g_value_get_string (value));
3019++ indicate_indicator_set_property (indicator, "subtype", priv->subtype);
3020++ if (g_strcmp0 (priv->subtype, "login") != 0 ) {
3021++ indicate_indicator_set_property (indicator, "draw-attention", "true");
3022++ }
3023++ break;
3024++ case PROP_VISIBLE:
3025++ if (g_value_get_boolean (value))
3026++ indicate_indicator_show (indicator);
3027++ else
3028++ indicate_indicator_hide (indicator);
3029++ break;
3030++ default:
3031++ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
3032++ break;
3033++ }
3034++}
3035++
3036++
3037++static void
3038++empathy_indicator_get_property (GObject *object,
3039++ guint param_id,
3040++ GValue *value,
3041++ GParamSpec *pspec)
3042++{
3043++ EmpathyIndicator *e_indicator;
3044++ EmpathyIndicatorPriv *priv;
3045++
3046++ e_indicator = EMPATHY_INDICATOR (object);
3047++ priv = GET_PRIV (e_indicator);
3048++
3049++ switch (param_id) {
3050++ case PROP_CONTACT:
3051++ g_value_set_object (value, priv->contact);
3052++ break;
3053++ case PROP_BODY:
3054++ g_value_set_string (value, priv->body);
3055++ break;
3056++ case PROP_SUBTYPE:
3057++ g_value_set_string (value, priv->subtype);
3058++ break;
3059++ case PROP_VISIBLE:
3060++ g_value_set_boolean (value, indicate_indicator_is_visible (priv->indicator));
3061++ break;
3062++ default:
3063++ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
3064++ break;
3065++ }
3066++}
3067++
3068++
3069++static void
3070++empathy_indicator_class_init (EmpathyIndicatorClass *klass)
3071++{
3072++ GObjectClass *object_class;
3073++
3074++ object_class = G_OBJECT_CLASS (klass);
3075++
3076++ object_class->set_property = empathy_indicator_set_property;
3077++ object_class->get_property = empathy_indicator_get_property;
3078++ object_class->dispose = empathy_indicator_dispose;
3079++ object_class->finalize = empathy_indicator_finalize;
3080++
3081++ g_object_class_install_property (object_class, PROP_CONTACT,
3082++ g_param_spec_object ("contact",
3083++ "Contact",
3084++ "The contact being indicated",
3085++ EMPATHY_TYPE_CONTACT,
3086++ (G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)));
3087++ g_object_class_install_property (object_class, PROP_BODY,
3088++ g_param_spec_string ("body",
3089++ "Body",
3090++ "The text for this contact",
3091++ NULL,
3092++ (G_PARAM_READWRITE | G_PARAM_CONSTRUCT)));
3093++ g_object_class_install_property (object_class, PROP_SUBTYPE,
3094++ g_param_spec_string ("subtype",
3095++ "Subtype",
3096++ "The type of this indicator",
3097++ NULL,
3098++ (G_PARAM_READWRITE | G_PARAM_CONSTRUCT)));
3099++ g_object_class_install_property (object_class, PROP_VISIBLE,
3100++ g_param_spec_boolean ("visible",
3101++ "Visible",
3102++ "The visibility of this indicator",
3103++ FALSE,
3104++ G_PARAM_READWRITE));
3105++
3106++ signals[ACTIVATE] =
3107++ g_signal_new ("activate",
3108++ G_TYPE_FROM_CLASS (klass),
3109++ G_SIGNAL_RUN_LAST,
3110++ 0,
3111++ NULL, NULL,
3112++ g_cclosure_marshal_VOID__UINT,
3113++ G_TYPE_NONE, 1, G_TYPE_UINT);
3114++
3115++ g_type_class_add_private (object_class, sizeof (EmpathyIndicatorPriv));
3116++}
3117++
3118++
3119++static void
3120++empathy_indicator_init (EmpathyIndicator *e_indicator)
3121++{
3122++ e_indicator->priv = G_TYPE_INSTANCE_GET_PRIVATE (e_indicator,
3123++ EMPATHY_TYPE_INDICATOR,
3124++ EmpathyIndicatorPriv);
3125++}
3126++
3127++
3128++EmpathyIndicator *
3129++empathy_indicator_new (EmpathyContact *sender,
3130++ const gchar *body,
3131++ const gchar *subtype)
3132++{
3133++ DEBUG ("Creating a new indicator");
3134++ return g_object_new (EMPATHY_TYPE_INDICATOR, "contact", sender, "body", body,
3135++ "subtype", subtype, NULL);
3136++}
3137++
3138++
3139++void
3140++empathy_indicator_show (EmpathyIndicator *e_indicator)
3141++{
3142++ DEBUG ("Showing indicator %p", e_indicator);
3143++ g_object_set (e_indicator, "visible", TRUE, NULL);
3144++}
3145++
3146++
3147++void
3148++empathy_indicator_hide (EmpathyIndicator *e_indicator)
3149++{
3150++ DEBUG ("Hiding indicator %p", e_indicator);
3151++ g_object_set (e_indicator, "visible", FALSE, NULL);
3152++}
3153++
3154++
3155++void
3156++empathy_indicator_update (EmpathyIndicator *e_indicator,
3157++ const gchar *body)
3158++{
3159++ DEBUG ("Updating existing indicator %p", e_indicator);
3160++ g_object_set (e_indicator, "body", body, NULL);
3161++}
3162++
3163++
3164++EmpathyContact *
3165++empathy_indicator_get_contact (EmpathyIndicator *e_indicator)
3166++{
3167++ EmpathyContact *contact;
3168++ g_object_get (e_indicator, "contact", &contact, NULL);
3169++ return contact;
3170++}
3171+Index: empathy-2.34.0/src/empathy-indicator.h
3172+===================================================================
3173+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
3174++++ empathy-2.34.0/src/empathy-indicator.h 2011-03-24 12:46:24.808547063 -0400
3175+@@ -0,0 +1,65 @@
3176++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3177++/*
3178++ * Copyright (C) 2009 Canonical Ltd.
3179++ *
3180++ * This program is free software; you can redistribute it and/or
3181++ * modify it under the terms of the GNU General Public License as
3182++ * published by the Free Software Foundation; either version 2 of the
3183++ * License, or (at your option) any later version.
3184++ *
3185++ * This program is distributed in the hope that it will be useful,
3186++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3187++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3188++ * General Public License for more details.
3189++ *
3190++ * You should have received a copy of the GNU General Public
3191++ * License along with this program; if not, write to the
3192++ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
3193++ * Boston, MA 02110-1301 USA
3194++ *
3195++ * Authors: James Westby <james.westby@ubuntu.com>
3196++ *
3197++ */
3198++
3199++#ifndef __EMPATHY_INDICATOR_H__
3200++#define __EMPATHY_INDICATOR_H__
3201++
3202++#include <glib.h>
3203++
3204++#include <libempathy/empathy-contact.h>
3205++
3206++G_BEGIN_DECLS
3207++
3208++#define EMPATHY_TYPE_INDICATOR (empathy_indicator_get_type ())
3209++#define EMPATHY_INDICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_INDICATOR, EmpathyIndicator))
3210++#define EMPATHY_INDICATOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_INDICATOR, EmpathyIndicatorClass))
3211++#define EMPATHY_IS_INDICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_INDICATOR))
3212++#define EMPATHY_IS_INDICATOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_INDICATOR))
3213++#define EMPATHY_INDICATOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_INDICATOR, EmpathyIndicatorClass))
3214++
3215++typedef struct _EmpathyIndicator EmpathyIndicator;
3216++typedef struct _EmpathyIndicatorClass EmpathyIndicatorClass;
3217++
3218++struct _EmpathyIndicator {
3219++ GObject parent;
3220++ gpointer priv;
3221++};
3222++
3223++struct _EmpathyIndicatorClass {
3224++ GObjectClass parent_class;
3225++};
3226++
3227++GType empathy_indicator_get_type (void) G_GNUC_CONST;
3228++EmpathyIndicator *empathy_indicator_new (EmpathyContact *sender,
3229++ const gchar *body,
3230++ const gchar *type);
3231++void empathy_indicator_show (EmpathyIndicator *e_indicator);
3232++void empathy_indicator_hide (EmpathyIndicator *e_indicator);
3233++void empathy_indicator_update (EmpathyIndicator *e_indicator,
3234++ const gchar *body);
3235++EmpathyContact *empathy_indicator_get_contact (EmpathyIndicator *e_indicator);
3236++
3237++G_END_DECLS
3238++
3239++
3240++#endif /* __EMPATHY-INDICATOR_H__ */
3241+Index: empathy-2.34.0/src/empathy-main-window.c
3242+===================================================================
3243+--- empathy-2.34.0.orig/src/empathy-main-window.c 2011-03-24 12:46:07.198547066 -0400
3244++++ empathy-2.34.0/src/empathy-main-window.c 2011-03-24 12:46:24.808547063 -0400
3245+@@ -82,6 +82,10 @@
3246+ #include "empathy-ft-manager.h"
3247+ #include "empathy-migrate-butterfly-logs.h"
3248+
3249++#ifdef HAVE_LIBINDICATE
3250++#include "empathy-indicator-manager.h"
3251++#endif
3252++
3253+ #define DEBUG_FLAG EMPATHY_DEBUG_OTHER
3254+ #include <libempathy/empathy-debug.h>
3255+
3256+@@ -161,6 +165,10 @@
3257+
3258+ /* Actions that are enabled when there are connected accounts */
3259+ GList *actions_connected;
3260++#ifdef HAVE_LIBINDICATE
3261++ EmpathyIndicatorManager *indicator_manager;
3262++ GHashTable *indicator_timeouts;
3263++#endif
3264+
3265+ /* The idle event source to migrate butterfly's logs */
3266+ guint butterfly_log_migration_members_changed_id;
3267+@@ -433,11 +441,23 @@
3268+ EmpathyEvent *event,
3269+ EmpathyMainWindow *window)
3270+ {
3271++ EmpathyMainWindowPriv *priv = GET_PRIV (window);
3272++
3273+ if (event->contact) {
3274+ main_window_flash_start (window);
3275+ } else if (event->type == EMPATHY_EVENT_TYPE_AUTH) {
3276+ main_window_auth_display (window, event);
3277+ }
3278++
3279++ #ifdef HAVE_LIBINDICATE
3280++ if (event->type == EMPATHY_EVENT_TYPE_PRESENCE &&
3281++ tp_connection_presence_type_cmp_availability (empathy_contact_get_presence (event->contact),
3282++ TP_CONNECTION_PRESENCE_TYPE_OFFLINE) > 0) {
3283++ empathy_indicator_manager_add_login_indicator (priv->indicator_manager,
3284++ event->contact);
3285++ }
3286++ #endif
3287++
3288+ }
3289+
3290+ static void
3291+@@ -1004,6 +1024,10 @@
3292+ g_object_unref (priv->ui_manager);
3293+ g_object_unref (priv->chatroom_manager);
3294+
3295++#ifdef HAVE_LIBINDICATE
3296++ g_object_unref (priv->indicator_manager);
3297++#endif
3298++
3299+ g_object_unref (priv->gsettings_ui);
3300+ g_object_unref (priv->gsettings_contacts);
3301+
3302+@@ -2072,6 +2096,10 @@
3303+ l = l->next;
3304+ }
3305+
3306++#ifdef HAVE_LIBINDICATE
3307++ priv->indicator_manager = empathy_indicator_manager_dup_singleton ();
3308++#endif
3309++
3310+ /* Show offline ? */
3311+ show_offline = g_settings_get_boolean (priv->gsettings_ui,
3312+ EMPATHY_PREFS_UI_SHOW_OFFLINE);
3313+Index: empathy-2.34.0/src/empathy-preferences.c
3314+===================================================================
3315+--- empathy-2.34.0.orig/src/empathy-preferences.c 2011-03-24 11:15:16.000000000 -0400
3316++++ empathy-2.34.0/src/empathy-preferences.c 2011-03-24 12:46:24.818547063 -0400
3317+@@ -56,6 +56,7 @@
3318+
3319+ GtkWidget *checkbutton_show_smileys;
3320+ GtkWidget *checkbutton_show_contacts_in_rooms;
3321++ GtkWidget *checkbutton_use_libindicate;
3322+ GtkWidget *combobox_chat_theme;
3323+ GtkWidget *checkbutton_separate_chat_windows;
3324+ GtkWidget *checkbutton_events_notif_area;
3325+@@ -235,6 +236,16 @@
3326+ priv->checkbutton_show_smileys,
3327+ "active",
3328+ G_SETTINGS_BIND_DEFAULT);
3329++#ifdef HAVE_LIBINDICATE
3330++ g_settings_bind (priv->gsettings_ui,
3331++ EMPATHY_PREFS_UI_USE_LIBINDICATE,
3332++ priv->checkbutton_use_libindicate,
3333++ "active",
3334++ G_SETTINGS_BIND_DEFAULT);
3335++#else
3336++ gtk_widget_hide (GTK_WIDGET (priv->checkbutton_use_libindicate));
3337++#endif
3338++
3339+ g_settings_bind (priv->gsettings_chat,
3340+ EMPATHY_PREFS_CHAT_SHOW_CONTACTS_IN_ROOMS,
3341+ priv->checkbutton_show_contacts_in_rooms,
3342+@@ -890,6 +901,7 @@
3343+ "notebook", &priv->notebook,
3344+ "checkbutton_show_smileys", &priv->checkbutton_show_smileys,
3345+ "checkbutton_show_contacts_in_rooms", &priv->checkbutton_show_contacts_in_rooms,
3346++ "checkbutton_use_libindicate", &priv->checkbutton_use_libindicate,
3347+ "combobox_chat_theme", &priv->combobox_chat_theme,
3348+ "checkbutton_separate_chat_windows", &priv->checkbutton_separate_chat_windows,
3349+ "checkbutton_events_notif_area", &priv->checkbutton_events_notif_area,
3350+Index: empathy-2.34.0/src/empathy-preferences.ui
3351+===================================================================
3352+--- empathy-2.34.0.orig/src/empathy-preferences.ui 2011-02-10 07:10:25.000000000 -0500
3353++++ empathy-2.34.0/src/empathy-preferences.ui 2011-03-24 12:46:24.818547063 -0400
3354+@@ -266,6 +266,20 @@
3355+ <property name="position">1</property>
3356+ </packing>
3357+ </child>
3358++ <child>
3359++ <object class="GtkCheckButton" id="checkbutton_use_libindicate">
3360++ <property name="label" translatable="yes">Show incoming messages in the messaging menu</property>
3361++ <property name="visible">True</property>
3362++ <property name="can_focus">True</property>
3363++ <property name="receives_default">False</property>
3364++ <property name="draw_indicator">True</property>
3365++ </object>
3366++ <packing>
3367++ <property name="expand">False</property>
3368++ <property name="fill">False</property>
3369++ <property name="position">2</property>
3370++ </packing>
3371++ </child>
3372+ </object>
3373+ <packing>
3374+ <property name="position">1</property>
3375+Index: empathy-2.34.0/src/empathy-status-icon.c
3376+===================================================================
3377+--- empathy-2.34.0.orig/src/empathy-status-icon.c 2011-03-24 11:15:16.000000000 -0400
3378++++ empathy-2.34.0/src/empathy-status-icon.c 2011-03-24 12:46:24.818547063 -0400
3379+@@ -29,6 +29,7 @@
3380+ #include <gdk/gdkkeysyms.h>
3381+ #include <glib/gi18n.h>
3382+
3383++#include <libnotify/notify.h>
3384+ #include <libnotify/notification.h>
3385+ #include <libnotify/notify.h>
3386+
3387+@@ -52,6 +53,12 @@
3388+ #include "empathy-preferences.h"
3389+ #include "empathy-event-manager.h"
3390+
3391++#ifdef HAVE_LIBINDICATE
3392++#include "empathy-indicator-manager.h"
3393++#include <libindicate/server.h>
3394++#include <libindicate/interests.h>
3395++#endif
3396++
3397+ #define DEBUG_FLAG EMPATHY_DEBUG_DISPATCHER
3398+ #include <libempathy/empathy-debug.h>
3399+
3400+@@ -76,6 +83,10 @@
3401+ GtkAction *show_window_item;
3402+ GtkAction *new_message_item;
3403+ GtkAction *status_item;
3404++#ifdef HAVE_LIBINDICATE
3405++ EmpathyIndicatorManager *indicator_manager;
3406++ IndicateServer *indicate_server;
3407++#endif
3408+ } EmpathyStatusIconPriv;
3409+
3410+ G_DEFINE_TYPE (EmpathyStatusIcon, empathy_status_icon, G_TYPE_OBJECT);
3411+@@ -457,6 +468,92 @@
3412+ empathy_window_present (GTK_WINDOW (priv->window));
3413+ }
3414+ }
3415++#ifdef HAVE_LIBINDICATE
3416++static void
3417++empathy_status_icon_set_visible (gboolean show_icon, EmpathyStatusIcon *icon)
3418++{
3419++ EmpathyStatusIconPriv *priv = GET_PRIV (icon);
3420++ gtk_status_icon_set_visible (priv->icon, show_icon);
3421++}
3422++
3423++static void
3424++empathy_indicator_interest_status_icon (gboolean icon_visibility,
3425++ EmpathyStatusIcon *icon)
3426++{
3427++ EmpathyStatusIconPriv *priv = GET_PRIV (icon);
3428++ EmpathyIndicatorManager *manager;
3429++ gboolean use_libindicate;
3430++
3431++ manager = empathy_indicator_manager_dup_singleton();
3432++ use_libindicate = g_settings_get_boolean (priv->gsettings_ui,
3433++ EMPATHY_PREFS_UI_USE_LIBINDICATE);
3434++
3435++ if (use_libindicate && !icon_visibility) {
3436++ empathy_indicator_manager_set_server_visible (manager, TRUE);
3437++ /* Hide the status icon so there are not two ways to access
3438++ * empathy.
3439++ */
3440++ DEBUG ("Hiding the icon, we are shown in the indicator");
3441++ empathy_status_icon_set_visible (FALSE, icon);
3442++ } else {
3443++ empathy_indicator_manager_set_server_visible (manager,
3444++ FALSE);
3445++ DEBUG ("Show the icon, we are not shown in the indicator");
3446++ empathy_status_icon_set_visible (TRUE, icon);
3447++ }
3448++}
3449++
3450++static void
3451++empathy_indicator_interest_added (IndicateServer * server,
3452++ IndicateInterests interest, EmpathyStatusIcon *icon)
3453++{
3454++ if (interest != INDICATE_INTEREST_SERVER_SIGNAL) {
3455++ return;
3456++ }
3457++ DEBUG ("Indicator received interest-added signal");
3458++ empathy_indicator_interest_status_icon(FALSE, icon);
3459++}
3460++
3461++static void
3462++empathy_indicator_interest_removed (IndicateServer * server,
3463++ IndicateInterests interest, EmpathyStatusIcon *icon)
3464++{
3465++ if (interest != INDICATE_INTEREST_SERVER_SIGNAL) {
3466++ return;
3467++ }
3468++
3469++ DEBUG ("Indicator received interest-removed signal");
3470++ empathy_indicator_interest_status_icon(TRUE, icon);
3471++}
3472++
3473++static void
3474++status_icon_set_use_libindicate (EmpathyStatusIcon *icon,
3475++ gboolean use_libindicate)
3476++{
3477++ EmpathyStatusIconPriv *priv = GET_PRIV (icon);
3478++
3479++ if (use_libindicate) {
3480++ empathy_indicator_manager_set_server_visible (priv->indicator_manager, TRUE);
3481++ } else {
3482++ empathy_indicator_manager_set_server_visible (priv->indicator_manager, FALSE);
3483++ empathy_status_icon_set_visible(TRUE, icon);
3484++ }
3485++}
3486++
3487++static void
3488++status_icon_notify_libindicate_cb (GSettings *gsettings,
3489++ const gchar *key,
3490++ gpointer user_data)
3491++{
3492++ EmpathyStatusIcon *icon = user_data;
3493++ EmpathyStatusIconPriv *priv = GET_PRIV (icon);
3494++ gboolean use_libindicate;
3495++
3496++ use_libindicate = g_settings_get_boolean (priv->gsettings_ui,
3497++ EMPATHY_PREFS_UI_USE_LIBINDICATE);
3498++ status_icon_set_use_libindicate (icon, use_libindicate);
3499++}
3500++#endif
3501+
3502+ static void
3503+ status_icon_notify_visibility_cb (GSettings *gsettings,
3504+@@ -476,10 +573,36 @@
3505+ EmpathyStatusIconPriv *priv = GET_PRIV (icon);
3506+ gboolean visible;
3507+
3508++
3509+ visible = gtk_window_is_active (priv->window);
3510++#ifdef HAVE_LIBINDICATE
3511++ gboolean use_libindicate;
3512++ use_libindicate = g_settings_get_boolean (priv->gsettings_ui,
3513++ EMPATHY_PREFS_UI_USE_LIBINDICATE);
3514++ if (use_libindicate) {
3515++ /* If indicators are used then we may very well not be active
3516++ * when toggled, as they are usually windows themselves. This
3517++ * makes it damn hard to toggle, so we just look at whether
3518++ * we are visible.
3519++ */
3520++ visible = GTK_WIDGET_VISIBLE (priv->window);
3521++ status_icon_set_visibility (icon, TRUE, TRUE);
3522++ return;
3523++ }
3524++#endif
3525++
3526+ status_icon_set_visibility (icon, !visible, TRUE);
3527+ }
3528+
3529++#ifdef HAVE_LIBINDICATE
3530++static void
3531++indicate_server_activate_cb (EmpathyIndicatorManager *manager,
3532++ guint timestamp, EmpathyStatusIcon *icon)
3533++{
3534++ status_icon_toggle_visibility (icon);
3535++}
3536++#endif
3537++
3538+ static void
3539+ status_icon_presence_changed_cb (EmpathyStatusIcon *icon)
3540+ {
3541+@@ -663,6 +786,9 @@
3542+ g_object_unref (priv->notify_mgr);
3543+ g_object_unref (priv->gsettings_ui);
3544+ g_object_unref (priv->window);
3545++#ifdef HAVE_LIBINDICATE
3546++ g_object_unref (priv->indicator_manager);
3547++#endif
3548+ }
3549+
3550+ static void
3551+@@ -723,6 +849,13 @@
3552+ G_CALLBACK (status_icon_notify_visibility_cb),
3553+ icon);
3554+
3555++#ifdef HAVE_LIBINDICATE
3556++ g_signal_connect (priv->gsettings_ui,
3557++ "changed::" EMPATHY_PREFS_UI_USE_LIBINDICATE,
3558++ G_CALLBACK (status_icon_notify_libindicate_cb),
3559++ icon);
3560++#endif
3561++
3562+ status_icon_create_menu (icon);
3563+
3564+ g_signal_connect_swapped (priv->account_manager,
3565+@@ -755,6 +888,9 @@
3566+ EmpathyStatusIconPriv *priv;
3567+ EmpathyStatusIcon *icon;
3568+ gboolean should_hide;
3569++#ifdef HAVE_LIBINDICATE
3570++ gboolean use_libindicate;
3571++#endif
3572+
3573+ g_return_val_if_fail (GTK_IS_WINDOW (window), NULL);
3574+
3575+@@ -762,6 +898,24 @@
3576+ priv = GET_PRIV (icon);
3577+
3578+ priv->window = g_object_ref (window);
3579++#ifdef HAVE_LIBINDICATE
3580++ priv->indicator_manager = empathy_indicator_manager_dup_singleton ();
3581++ priv->indicate_server = indicate_server_ref_default ();
3582++
3583++ g_signal_connect (priv->indicator_manager, "server-activate",
3584++ G_CALLBACK (indicate_server_activate_cb),
3585++ icon);
3586++
3587++ g_signal_connect (priv->indicate_server,
3588++ INDICATE_SERVER_SIGNAL_INTEREST_ADDED,
3589++ G_CALLBACK(empathy_indicator_interest_added),
3590++ icon);
3591++
3592++ g_signal_connect (priv->indicate_server,
3593++ INDICATE_SERVER_SIGNAL_INTEREST_REMOVED,
3594++ G_CALLBACK(empathy_indicator_interest_removed),
3595++ icon);
3596++#endif
3597+
3598+ g_signal_connect_after (priv->window, "key-press-event",
3599+ G_CALLBACK (status_icon_key_press_event_cb),
3600+@@ -778,6 +932,12 @@
3601+ should_hide = TRUE;
3602+ }
3603+
3604++#ifdef HAVE_LIBINDICATE
3605++ use_libindicate = g_settings_get_boolean (priv->gsettings_ui,
3606++ EMPATHY_PREFS_UI_USE_LIBINDICATE);
3607++ status_icon_set_use_libindicate (icon, use_libindicate);
3608++#endif
3609++
3610+ status_icon_set_visibility (icon, !should_hide, FALSE);
3611+
3612+ return icon;
3613
3614=== added file 'debian/patches/21_login_indicators.patch'
3615--- debian/patches/21_login_indicators.patch 1970-01-01 00:00:00 +0000
3616+++ debian/patches/21_login_indicators.patch 2011-05-08 10:03:25 +0000
3617@@ -0,0 +1,58 @@
3618+Description: Only display indicator for signon events if the preference is set
3619+Bug: https://bugs.launchpad.net/bugs/533857
3620+
3621+=== modified file 'src/empathy-indicator-manager.c'
3622+Index: empathy-2.31.4/src/empathy-indicator-manager.c
3623+===================================================================
3624+--- empathy-2.31.4.orig/src/empathy-indicator-manager.c 2010-07-06 13:47:10.156662001 +1000
3625++++ empathy-2.31.4/src/empathy-indicator-manager.c 2010-07-06 13:47:57.146662001 +1000
3626+@@ -25,6 +25,7 @@
3627+
3628+ #include <gtk/gtk.h>
3629+
3630++#include <libempathy/empathy-gsettings.h>
3631+ #include <libempathy/empathy-contact.h>
3632+ #include <libempathy/empathy-dispatcher.h>
3633+ #include <libempathy/empathy-utils.h>
3634+@@ -449,19 +450,28 @@
3635+ GSource *timeout;
3636+ EmpathyIndicator *e_indicator;
3637+ LoginData *login_data;
3638++ gboolean contact_signon_notifications;
3639++ GSettings *gsettings;
3640+
3641+- priv = GET_PRIV (manager);
3642+- e_indicator = empathy_indicator_new (contact, NULL, "login");
3643+- login_data = login_data_new (e_indicator, manager);
3644++ gsettings = g_settings_new (EMPATHY_PREFS_NOTIFICATIONS_SCHEMA);
3645++ contact_signon_notifications = g_settings_get_boolean (gsettings, EMPATHY_PREFS_NOTIFICATIONS_CONTACT_SIGNIN);
3646++ g_object_unref (gsettings);
3647++
3648++ if (contact_signon_notifications) {
3649++ priv = GET_PRIV (manager);
3650++ e_indicator = empathy_indicator_new (contact, NULL, "login");
3651++ login_data = login_data_new (e_indicator, manager);
3652++
3653++ timeout = g_timeout_source_new_seconds (INDICATOR_LOGIN_TIMEOUT);
3654++ g_source_set_callback (timeout, indicate_login_timeout, login_data,
3655++ indicator_destroy_login_data);
3656++ g_source_attach (timeout, NULL);
3657++
3658++ g_hash_table_insert (priv->login_timeouts, e_indicator, timeout);
3659++
3660++ g_signal_connect (e_indicator, "activate",
3661++ G_CALLBACK (indicate_login_cb), manager);
3662++ empathy_indicator_show (e_indicator);
3663++ }
3664+
3665+- timeout = g_timeout_source_new_seconds (INDICATOR_LOGIN_TIMEOUT);
3666+- g_source_set_callback (timeout, indicate_login_timeout, login_data,
3667+- indicator_destroy_login_data);
3668+- g_source_attach (timeout, NULL);
3669+-
3670+- g_hash_table_insert (priv->login_timeouts, e_indicator, timeout);
3671+-
3672+- g_signal_connect (e_indicator, "activate",
3673+- G_CALLBACK (indicate_login_cb), manager);
3674+- empathy_indicator_show (e_indicator);
3675+ }
3676
3677=== added file 'debian/patches/23_idomessagedialog_for_voip_and_ft.patch'
3678--- debian/patches/23_idomessagedialog_for_voip_and_ft.patch 1970-01-01 00:00:00 +0000
3679+++ debian/patches/23_idomessagedialog_for_voip_and_ft.patch 2011-05-08 10:03:25 +0000
3680@@ -0,0 +1,216 @@
3681+=== modified file 'configure.ac'
3682+Index: empathy-2.34.0/configure.ac
3683+===================================================================
3684+--- empathy-2.34.0.orig/configure.ac 2011-03-24 12:59:57.738546917 -0400
3685++++ empathy-2.34.0/configure.ac 2011-03-24 13:00:00.018546918 -0400
3686+@@ -44,6 +44,7 @@
3687+ TELEPATHY_GLIB_REQUIRED=0.14.1
3688+ TELEPATHY_LOGGER=0.2.0
3689+ UNIQUE_REQUIRED=1.1.2
3690++IDO_REQUIRED=0.1.14
3691+
3692+ # Optionnal deps
3693+ CLUTTER_GTK_REQUIRED=0.10
3694+@@ -162,6 +163,7 @@
3695+ libxml-2.0
3696+ telepathy-glib >= $TELEPATHY_GLIB_REQUIRED
3697+ telepathy-logger-0.2 >= $TELEPATHY_LOGGER
3698++ libido-0.1 >= $IDO_REQUIRED
3699+ x11
3700+ launchpad-integration
3701+ ])
3702+Index: empathy-2.34.0/src/empathy-event-manager.c
3703+===================================================================
3704+--- empathy-2.34.0.orig/src/empathy-event-manager.c 2011-03-24 11:15:16.000000000 -0400
3705++++ empathy-2.34.0/src/empathy-event-manager.c 2011-03-24 13:00:00.018546918 -0400
3706+@@ -48,6 +48,9 @@
3707+ #include <libempathy-gtk/empathy-contact-dialogs.h>
3708+ #include <libempathy-gtk/empathy-sound.h>
3709+
3710++#include <libido/idomessagedialog.h>
3711++#include <libempathy-gtk/empathy-ui-utils.h>
3712++
3713+ #include "empathy-event-manager.h"
3714+ #include "empathy-main-window.h"
3715+
3716+@@ -473,6 +476,7 @@
3717+ }
3718+ }
3719+
3720++
3721+ static void
3722+ event_manager_call_window_confirmation_dialog_response_cb (GtkDialog *dialog,
3723+ gint response, gpointer user_data)
3724+@@ -499,13 +503,75 @@
3725+ }
3726+
3727+ static void
3728++event_channel_process_ft_func (EventPriv *event)
3729++{
3730++ GtkWidget *dialog;
3731++ GtkWidget *button;
3732++ GtkWidget *image;
3733++ gint width, height;
3734++ GdkPixbuf *avatar;
3735++
3736++ if (event->approval->dialog != NULL)
3737++ {
3738++ gtk_window_present (GTK_WINDOW (event->approval->dialog));
3739++ return;
3740++ }
3741++
3742++ dialog = ido_message_dialog_new (NULL,
3743++ GTK_DIALOG_MODAL,
3744++ GTK_MESSAGE_QUESTION,
3745++ GTK_BUTTONS_NONE,
3746++ _("Incoming file transfer from %s"),
3747++ empathy_contact_get_alias (event->approval->contact));
3748++ gtk_message_dialog_format_secondary_markup (GTK_WINDOW (dialog), _("%s is sending you a file. Do you want to accept it?"),
3749++ empathy_contact_get_alias (event->approval->contact));
3750++
3751++ avatar = empathy_pixbuf_avatar_from_contact_scaled (event->approval->contact, 48, 48);
3752++ if (avatar != NULL)
3753++ {
3754++ image = gtk_image_new_from_pixbuf (avatar);
3755++ } else {
3756++ /* Set image of the dialog */
3757++ image = gtk_image_new_from_icon_name (EMPATHY_IMAGE_DOCUMENT_SEND,
3758++ GTK_ICON_SIZE_DIALOG);
3759++ }
3760++
3761++ gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image);
3762++ gtk_widget_show (image);
3763++
3764++ gtk_dialog_set_default_response (GTK_DIALOG (dialog),
3765++ GTK_RESPONSE_OK);
3766++
3767++ button = gtk_dialog_add_button (GTK_DIALOG (dialog),
3768++ _("_Reject"), GTK_RESPONSE_REJECT);
3769++ image = gtk_image_new_from_icon_name ("stop",
3770++ GTK_ICON_SIZE_BUTTON);
3771++ gtk_button_set_image (GTK_BUTTON (button), image);
3772++
3773++ button = gtk_dialog_add_button (GTK_DIALOG (dialog),
3774++ _("_Accept"), GTK_RESPONSE_ACCEPT);
3775++
3776++ image = gtk_image_new_from_icon_name ("filesaveas.png", GTK_ICON_SIZE_BUTTON);
3777++ gtk_button_set_image (GTK_BUTTON (button), image);
3778++
3779++ g_signal_connect (dialog, "response",
3780++ G_CALLBACK (event_manager_call_window_confirmation_dialog_response_cb),
3781++ event->approval);
3782++
3783++ gtk_widget_show (dialog);
3784++
3785++ event->approval->dialog = dialog;
3786++}
3787++
3788++static void
3789+ event_channel_process_voip_func (EventPriv *event)
3790+ {
3791+ GtkWidget *dialog;
3792+ GtkWidget *button;
3793+ GtkWidget *image;
3794+ gboolean video;
3795+- gchar *title;
3796++ gint width, height;
3797++ GdkPixbuf *avatar;
3798+ EmpathyEventType etype = event->public.type;
3799+
3800+ if (event->approval->dialog != NULL)
3801+@@ -532,33 +598,33 @@
3802+ return;
3803+ }
3804+
3805+- dialog = gtk_message_dialog_new (NULL, 0,
3806+- GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE,
3807+- video ? _("Incoming video call"): _("Incoming call"));
3808+-
3809+- gtk_message_dialog_format_secondary_text (
3810+- GTK_MESSAGE_DIALOG (dialog), video ?
3811+- _("%s is video calling you. Do you want to answer?"):
3812+- _("%s is calling you. Do you want to answer?"),
3813+- empathy_contact_get_alias (event->approval->contact));
3814+-
3815+- title = g_strdup_printf (_("Incoming call from %s"),
3816+- empathy_contact_get_alias (event->approval->contact));
3817+-
3818+- gtk_window_set_title (GTK_WINDOW (dialog), title);
3819+- g_free (title);
3820+-
3821+- /* Set image of the dialog */
3822+- if (video)
3823++ dialog = ido_message_dialog_new (NULL,
3824++ GTK_DIALOG_MODAL,
3825++ GTK_MESSAGE_QUESTION,
3826++ GTK_BUTTONS_NONE,
3827++ video ? _("Incoming video call from %s"): _("Incoming call from %s"), empathy_contact_get_alias (event->approval->contact));
3828++ gtk_message_dialog_format_secondary_markup (GTK_WINDOW (dialog), video ?
3829++ _("%s is video calling you. Do you want to answer?"):
3830++ _("%s is calling you. Do you want to answer?"),
3831++ empathy_contact_get_alias (event->approval->contact));
3832++
3833++ avatar = empathy_pixbuf_avatar_from_contact_scaled (event->approval->contact, 48, 48);
3834++ if (avatar != NULL)
3835++ {
3836++ image = gtk_image_new_from_pixbuf (avatar);
3837++ } else {
3838++ /* Set image of the dialog */
3839++ if (video)
3840+ {
3841+ image = gtk_image_new_from_icon_name (EMPATHY_IMAGE_VIDEO_CALL,
3842+ GTK_ICON_SIZE_DIALOG);
3843+ }
3844+- else
3845++ else
3846+ {
3847+ image = gtk_image_new_from_icon_name (EMPATHY_IMAGE_VOIP,
3848+ GTK_ICON_SIZE_DIALOG);
3849+ }
3850++ }
3851+
3852+ gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image);
3853+ gtk_widget_show (image);
3854+@@ -955,7 +1021,7 @@
3855+ event_manager_add (approval->manager, NULL,
3856+ approval->contact, EMPATHY_EVENT_TYPE_TRANSFER,
3857+ EMPATHY_IMAGE_DOCUMENT_SEND, header, NULL,
3858+- approval, event_channel_process_func, NULL);
3859++ approval, event_channel_process_ft_func, NULL);
3860+
3861+ /* FIXME better sound for incoming file transfers ?*/
3862+ empathy_sound_play (window, EMPATHY_SOUND_CONVERSATION_NEW);
3863+Index: empathy-2.34.0/src/empathy-indicator-manager.c
3864+===================================================================
3865+--- empathy-2.34.0.orig/src/empathy-indicator-manager.c 2011-03-24 12:59:59.218546917 -0400
3866++++ empathy-2.34.0/src/empathy-indicator-manager.c 2011-03-24 13:00:00.018546918 -0400
3867+@@ -144,6 +144,12 @@
3868+ EmpathyEvent *event,
3869+ EmpathyIndicatorManager *manager)
3870+ {
3871++ if (event->type == EMPATHY_EVENT_TYPE_VOIP
3872++ || event->type == EMPATHY_EVENT_TYPE_CALL
3873++ || event->type == EMPATHY_EVENT_TYPE_TRANSFER) {
3874++ return;
3875++ }
3876++
3877+ EmpathyIndicator *indicator = NULL;
3878+ EmpathyIndicatorManagerPriv *priv;
3879+ IndicatorEvent *indicator_event;
3880+Index: empathy-2.34.0/src/empathy-status-icon.c
3881+===================================================================
3882+--- empathy-2.34.0.orig/src/empathy-status-icon.c 2011-03-24 12:59:57.748546917 -0400
3883++++ empathy-2.34.0/src/empathy-status-icon.c 2011-03-24 13:00:00.018546918 -0400
3884+@@ -226,6 +226,12 @@
3885+ }
3886+
3887+ if (priv->event) {
3888++ if (priv->event->type == EMPATHY_EVENT_TYPE_VOIP
3889++ || priv->event->type == EMPATHY_EVENT_TYPE_CALL
3890++ || priv->event->type == EMPATHY_EVENT_TYPE_TRANSFER) {
3891++ empathy_event_activate (priv->event);
3892++ return;
3893++ }
3894+ gchar *message_esc = NULL;
3895+ gboolean has_x_canonical_append;
3896+ NotifyNotification *notification = priv->notification;
3897
3898=== added file 'debian/patches/31_really_raise_window.patch'
3899--- debian/patches/31_really_raise_window.patch 1970-01-01 00:00:00 +0000
3900+++ debian/patches/31_really_raise_window.patch 2011-05-08 10:03:25 +0000
3901@@ -0,0 +1,79 @@
3902+Description: Force focus of the window when selected from the indicator
3903+Bug: https://bugs.launchpad.net/bugs/442389
3904+
3905+=== modified file 'libempathy-gtk/empathy-ui-utils.c'
3906+Index: empathy-2.33.1/libempathy-gtk/empathy-ui-utils.c
3907+===================================================================
3908+--- empathy-2.33.1.orig/libempathy-gtk/empathy-ui-utils.c 2011-02-02 11:22:39.271459005 -0500
3909++++ empathy-2.33.1/libempathy-gtk/empathy-ui-utils.c 2011-02-02 11:22:49.651459020 -0500
3910+@@ -1596,6 +1596,41 @@
3911+ }
3912+ }
3913+
3914++/* Really raise the window, even if the window manager doesn't agree */
3915++static void
3916++really_activate_window (GtkWindow *window)
3917++{
3918++ Screen *screen;
3919++ Time timestamp;
3920++ XEvent xev;
3921++
3922++ g_return_if_fail (GTK_IS_WINDOW (window));
3923++
3924++ screen = GDK_SCREEN_XSCREEN (gtk_widget_get_screen (GTK_WIDGET (window)));
3925++ timestamp = GDK_CURRENT_TIME;
3926++
3927++ xev.xclient.type = ClientMessage;
3928++ xev.xclient.serial = 0;
3929++ xev.xclient.send_event = True;
3930++ xev.xclient.display = GDK_DISPLAY ();
3931++ xev.xclient.window = GDK_WINDOW_XWINDOW (GTK_WIDGET (window)->window);
3932++ xev.xclient.message_type = gdk_x11_get_xatom_by_name ("_NET_ACTIVE_WINDOW");
3933++ xev.xclient.format = 32;
3934++ xev.xclient.data.l[0] = 2; /* Pager client type */
3935++ xev.xclient.data.l[1] = timestamp;
3936++ xev.xclient.data.l[2] = 0;
3937++ xev.xclient.data.l[3] = 0;
3938++ xev.xclient.data.l[4] = 0;
3939++
3940++ gdk_error_trap_push ();
3941++ XSendEvent (GDK_DISPLAY (),
3942++ RootWindowOfScreen (screen),
3943++ False,
3944++ SubstructureRedirectMask | SubstructureNotifyMask,
3945++ &xev);
3946++ gdk_error_trap_pop ();
3947++}
3948++
3949+ /* Takes care of moving the window to the current workspace. */
3950+ void
3951+ empathy_window_present_with_time (GtkWindow *window,
3952+@@ -1630,6 +1665,7 @@
3953+
3954+ gtk_window_set_skip_taskbar_hint (window, FALSE);
3955+ gtk_window_deiconify (window);
3956++ really_activate_window (window);
3957+ }
3958+
3959+ void
3960+Index: empathy-2.33.1/src/empathy-event-manager.c
3961+===================================================================
3962+--- empathy-2.33.1.orig/src/empathy-event-manager.c 2011-02-02 11:22:44.251459011 -0500
3963++++ empathy-2.33.1/src/empathy-event-manager.c 2011-02-02 11:22:49.651459020 -0500
3964+@@ -44,6 +44,7 @@
3965+ #include <libempathy-gtk/empathy-images.h>
3966+ #include <libempathy-gtk/empathy-contact-dialogs.h>
3967+ #include <libempathy-gtk/empathy-sound.h>
3968++#include <libempathy-gtk/empathy-ui-utils.h>
3969+
3970+ #include <libido/idomessagedialog.h>
3971+ #include <libempathy-gtk/empathy-ui-utils.h>
3972+@@ -495,7 +496,7 @@
3973+
3974+ if (event->approval->dialog != NULL)
3975+ {
3976+- gtk_window_present (GTK_WINDOW (event->approval->dialog));
3977++ empathy_window_present (GTK_WINDOW (event->approval->dialog));
3978+ return;
3979+ }
3980+
3981
3982=== added file 'debian/patches/34_start_raised_execpt_in_session.patch'
3983--- debian/patches/34_start_raised_execpt_in_session.patch 1970-01-01 00:00:00 +0000
3984+++ debian/patches/34_start_raised_execpt_in_session.patch 2011-05-08 10:03:25 +0000
3985@@ -0,0 +1,37 @@
3986+Description: If not started with the session, we should always raise
3987+Bug: bugs.launchpad.net/bugs/503052
3988+
3989+=== modified file 'src/empathy-status-icon.c'
3990+Index: empathy-2.33.1/src/empathy-status-icon.c
3991+===================================================================
3992+--- empathy-2.33.1.orig/src/empathy-status-icon.c 2011-02-02 11:22:44.251459011 -0500
3993++++ empathy-2.33.1/src/empathy-status-icon.c 2011-02-02 11:22:52.711459000 -0500
3994+@@ -865,6 +865,9 @@
3995+ #ifdef HAVE_LIBINDICATE
3996+ gboolean use_libindicate;
3997+ #endif
3998++ const gchar *desktop_autostart_id;
3999++
4000++ desktop_autostart_id = g_getenv ("DESKTOP_AUTOSTART_ID");
4001+
4002+ g_return_val_if_fail (GTK_IS_WINDOW (window), NULL);
4003+
4004+@@ -900,8 +903,16 @@
4005+ icon);
4006+
4007+ if (!hide_contact_list) {
4008+- should_hide = g_settings_get_boolean (priv->gsettings_ui,
4009+- EMPATHY_PREFS_UI_MAIN_WINDOW_HIDDEN);
4010++ /* If not started with the session, we should raise the window.
4011++ https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/503052 */
4012++ if (desktop_autostart_id == NULL) {
4013++ DEBUG ("Not started with session, showing contact list");
4014++ should_hide = FALSE;
4015++ } else {
4016++ DEBUG ("Auto-started with session, so honor the previous known state");
4017++ should_hide = g_settings_get_boolean (priv->gsettings_ui,
4018++ EMPATHY_PREFS_UI_MAIN_WINDOW_HIDDEN);
4019++ }
4020+ } else {
4021+ should_hide = TRUE;
4022+ }
4023
4024=== added file 'debian/patches/36_chat_window_default_size.patch'
4025--- debian/patches/36_chat_window_default_size.patch 1970-01-01 00:00:00 +0000
4026+++ debian/patches/36_chat_window_default_size.patch 2011-05-08 10:03:25 +0000
4027@@ -0,0 +1,21 @@
4028+Description: Make the default chat window size larger
4029+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=612216
4030+Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/empathy/+bug/509756
4031+
4032+https://bugzilla.gnome.org/show_bug.cgi?id=612216
4033+=== modified file 'src/empathy-chat-window.ui'
4034+Index: empathy-2.31.3/src/empathy-chat-window.ui
4035+===================================================================
4036+--- empathy-2.31.3.orig/src/empathy-chat-window.ui 2010-06-18 16:29:28.536792269 +1000
4037++++ empathy-2.31.3/src/empathy-chat-window.ui 2010-06-18 16:38:13.768792269 +1000
4038+@@ -206,8 +206,8 @@
4039+ <object class="GtkWindow" id="chat_window">
4040+ <property name="title" translatable="yes">Chat</property>
4041+ <property name="role">chat</property>
4042+- <property name="default_width">350</property>
4043+- <property name="default_height">250</property>
4044++ <property name="default_width">580</property>
4045++ <property name="default_height">480</property>
4046+ <child>
4047+ <object class="GtkVBox" id="chat_vbox">
4048+ <property name="visible">True</property>
4049
4050=== added file 'debian/patches/37_facebook_default.patch'
4051--- debian/patches/37_facebook_default.patch 1970-01-01 00:00:00 +0000
4052+++ debian/patches/37_facebook_default.patch 2011-05-08 10:03:25 +0000
4053@@ -0,0 +1,21 @@
4054+Descrption: Make facebook the default chat account type, it is the most popular now and fits with our Social From the Start theme for Lucid
4055+Author: ?
4056+
4057+=== modified file 'libempathy-gtk/empathy-protocol-chooser.c'
4058+--- old/libempathy-gtk/empathy-protocol-chooser.c 2010-03-16 13:30:07 +0000
4059++++ new/libempathy-gtk/empathy-protocol-chooser.c 2010-03-16 13:36:37 +0000
4060+@@ -137,10 +137,10 @@
4061+ COL_IS_FACEBOOK, &is_facebook,
4062+ -1);
4063+
4064+- if (is_gtalk || is_facebook)
4065++ if (is_facebook)
4066++ cmp = -1;
4067++ else
4068+ cmp = 1;
4069+- else
4070+- cmp = -1;
4071+ }
4072+ }
4073+
4074+
4075
4076=== added file 'debian/patches/38_lp_569289.patch'
4077--- debian/patches/38_lp_569289.patch 1970-01-01 00:00:00 +0000
4078+++ debian/patches/38_lp_569289.patch 2011-05-08 10:03:25 +0000
4079@@ -0,0 +1,13 @@
4080+=== modified file 'libempathy-gtk/empathy-irc-network-chooser.c'
4081+--- old/libempathy-gtk/empathy-irc-network-chooser.c 2011-02-24 17:01:06 +0000
4082++++ new/libempathy-gtk/empathy-irc-network-chooser.c 2011-02-24 17:08:47 +0000
4083+@@ -40,7 +40,7 @@
4084+
4085+ #include "empathy-irc-network-chooser.h"
4086+
4087+-#define DEFAULT_IRC_NETWORK "irc.gimp.org"
4088++#define DEFAULT_IRC_NETWORK "chat.freenode.net"
4089+ #define DEFAULT_IRC_PORT 6667
4090+ #define DEFAULT_IRC_SSL FALSE
4091+
4092+
4093
4094=== added file 'debian/patches/40_unity_launcher_count.patch'
4095--- debian/patches/40_unity_launcher_count.patch 1970-01-01 00:00:00 +0000
4096+++ debian/patches/40_unity_launcher_count.patch 2011-05-08 10:03:25 +0000
4097@@ -0,0 +1,289 @@
4098+=== modified file 'configure.ac'
4099+--- old/configure.ac 2011-02-24 17:06:45 +0000
4100++++ new/configure.ac 2011-02-24 17:09:26 +0000
4101+@@ -58,6 +58,7 @@
4102+ GNOME_CONTROL_CENTER_GTK3_REQUIRED=2.31.4
4103+ INDICATE_REQUIRED=0.4.91
4104+ INDICATE_GTK_REQUIRED=0.4.91
4105++UNITY_REQUIRED=3.4.0
4106+
4107+ # telepathy-yell
4108+ prev_top_build_prefix=$ac_top_build_prefix
4109+@@ -506,12 +507,41 @@
4110+ fi
4111+
4112+ if test "x$enable_libindicate" = "xyes" -a "x$have_libindicate" != "xyes"; then
4113+- AC_MSG_ERROR([Couldn't find libindicate.])
4114++ AC_MSG_ERROR([Could not find libindicate.])
4115+ fi
4116+
4117+ AM_CONDITIONAL(HAVE_LIBINDICATE, test "x$have_libindicate" = "xyes")
4118+
4119+ # -----------------------------------------------------------
4120++# libunity
4121++# -----------------------------------------------------------
4122++AC_ARG_ENABLE(libunity,
4123++ AS_HELP_STRING([--enable-libunity=@<:@no/yes/auto@:>@],
4124++ [build libunity support]), ,
4125++ enable_libunity=auto)
4126++
4127++if test "x$enable_unity" != "xno"; then
4128++ PKG_CHECK_MODULES(UNITY,
4129++ [
4130++ unity >= $UNITY_REQUIRED
4131++ ], have_unity="yes", have_unity="no")
4132++
4133++ if test "x$have_unity" = "xyes"; then
4134++ AC_DEFINE(HAVE_UNITY, 1, [Define if you have unity])
4135++ fi
4136++else
4137++ have_unity=no
4138++fi
4139++
4140++if test "x$enable_unity" = "xyes" -a "x$have_unity" != "xyes"; then
4141++ AC_MSG_ERROR([Could not find libunity.])
4142++fi
4143++
4144++AM_CONDITIONAL(HAVE_UNITY, test "x$have_unity" = "xyes")
4145++AC_SUBST([UNITY_CFLAGS])
4146++AC_SUBST([UNITY_LIBS])
4147++
4148++# -----------------------------------------------------------
4149+ # nautilus-sendto
4150+ # -----------------------------------------------------------
4151+ AC_ARG_ENABLE(nautilus-sendto,
4152+@@ -614,6 +644,7 @@
4153+
4154+ Features:
4155+ Message indicator support (libindicate): ${have_libindicate}
4156++ Unity panel support (unity).: ${have_unity}
4157+ Spell checking (enchant)....: ${have_enchant}
4158+ Display maps (libchamplain).: ${have_libchamplain}
4159+ Location awareness (Geoclue): ${have_geoclue}
4160+
4161+=== modified file 'src/Makefile.am'
4162+--- old/src/Makefile.am 2011-02-24 17:04:31 +0000
4163++++ new/src/Makefile.am 2011-02-24 17:09:26 +0000
4164+@@ -19,6 +19,7 @@
4165+ $(CPPFLAGS_COMMON) \
4166+ $(LIBNOTIFY_CFLAGS) \
4167+ $(INDICATE_CFLAGS) \
4168++ $(UNITY_CFLAGS) \
4169+ $(UNIQUE_CFLAGS) \
4170+ $(LIBCHAMPLAIN_CFLAGS) \
4171+ $(WEBKIT_CFLAGS) \
4172+@@ -30,6 +31,7 @@
4173+ $(top_builddir)/extensions/libemp-extensions.la \
4174+ $(LIBNOTIFY_LIBS) \
4175+ $(INDICATE_LIBS) \
4176++ $(UNITY_LIBS) \
4177+ $(UNIQUE_LIBS) \
4178+ $(EMPATHY_LIBS) \
4179+ $(GTK_LIBS) \
4180+@@ -203,6 +205,7 @@
4181+ $(UNIQUE_LIBS) \
4182+ $(EMPATHY_LIBS) \
4183+ $(INDICATE_LIBS) \
4184++ $(UNITY_LIBS) \
4185+ $(LIBCHAMPLAIN_LIBS) \
4186+ $(WEBKIT_LIBS) \
4187+ $(NULL)
4188+
4189+=== modified file 'src/empathy-chat-window.c'
4190+--- old/src/empathy-chat-window.c 2011-02-24 17:04:31 +0000
4191++++ new/src/empathy-chat-window.c 2011-02-24 17:09:26 +0000
4192+@@ -71,6 +71,10 @@
4193+ #define DEBUG_FLAG EMPATHY_DEBUG_CHAT
4194+ #include <libempathy/empathy-debug.h>
4195+
4196++#ifdef HAVE_UNITY
4197++#include <unity.h>
4198++#endif
4199++
4200+ /* Macro to compare guint32 X timestamps, while accounting for wrapping around
4201+ */
4202+ #define X_EARLIER_OR_EQL(t1, t2) \
4203+@@ -96,6 +100,9 @@
4204+ /* EmpathyChat -> EmpathyIndicator for that chat, if any */
4205+ GHashTable *indicators;
4206+ #endif
4207++#ifdef HAVE_UNITY
4208++ UnityLauncherEntry *launcher;
4209++#endif
4210+ GtkTargetList *contact_targets;
4211+ GtkTargetList *file_targets;
4212+
4213+@@ -1308,8 +1315,19 @@
4214+ sender, body);
4215+ g_signal_connect (indicator, "activate",
4216+ G_CALLBACK (chat_window_indicator_activate_cb), chat);
4217+-
4218+ g_hash_table_insert (priv->indicators, chat, indicator);
4219++#ifdef HAVE_UNITY
4220++ if (priv->launcher != NULL)
4221++ {
4222++ gint count = g_hash_table_size (priv->indicators);
4223++ DEBUG ("unity launcher: count is now %d", count);
4224++ if (count > 0)
4225++ {
4226++ unity_launcher_entry_set_count (priv->launcher, count);
4227++ unity_launcher_entry_set_count_visible (priv->launcher, TRUE);
4228++ }
4229++ }
4230++#endif
4231+ }
4232+ empathy_indicator_show (indicator);
4233+ }
4234+@@ -1326,6 +1344,25 @@
4235+ DEBUG ("indicator is %p", indicator);
4236+ empathy_indicator_hide (indicator);
4237+ g_hash_table_remove (priv->indicators, chat);
4238++#ifdef HAVE_UNITY
4239++ if (priv->launcher != NULL)
4240++ {
4241++ gint count = g_hash_table_size (priv->indicators);
4242++ DEBUG ("unity launcher: count is %d", count);
4243++ if (count > 0)
4244++ {
4245++ DEBUG ("unity launcher: setting count to %d", count);
4246++ unity_launcher_entry_set_count (priv->launcher, count);
4247++ unity_launcher_entry_set_count_visible (priv->launcher, TRUE);
4248++ } else {
4249++ unity_launcher_entry_set_count (priv->launcher, count);
4250++ DEBUG ("unity launcher: hiding count");
4251++ unity_launcher_entry_set_count_visible (priv->launcher, FALSE);
4252++ }
4253++ }
4254++#endif
4255++
4256++
4257+ } else {
4258+ DEBUG ("indicator is NULL, nothing to remove");
4259+ }
4260+@@ -1959,6 +1996,11 @@
4261+ priv->chat_manager = NULL;
4262+ }
4263+
4264++ if (priv->launcher) {
4265++ g_object_unref (priv->launcher);
4266++ priv->launcher = NULL;
4267++ }
4268++
4269+ chat_windows = g_list_remove (chat_windows, window);
4270+ gtk_widget_destroy (priv->dialog);
4271+
4272+@@ -2057,6 +2099,9 @@
4273+ priv->indicators = g_hash_table_new_full (g_direct_hash, g_direct_equal,
4274+ NULL, g_object_unref);
4275+ #endif
4276++#ifdef HAVE_UNITY
4277++ priv->launcher = unity_launcher_entry_get_for_desktop_id ("empathy.desktop");
4278++#endif
4279+
4280+ priv->notebook = gtk_notebook_new ();
4281+ gtk_notebook_set_group (GTK_NOTEBOOK (priv->notebook), "EmpathyChatWindow");
4282+
4283+=== modified file 'src/empathy-indicator-manager.c'
4284+--- old/src/empathy-indicator-manager.c 2011-02-24 17:06:45 +0000
4285++++ new/src/empathy-indicator-manager.c 2011-02-24 17:09:26 +0000
4286+@@ -45,6 +45,10 @@
4287+ #define DEBUG_FLAG EMPATHY_DEBUG_OTHER
4288+ #include <libempathy/empathy-debug.h>
4289+
4290++#ifdef HAVE_UNITY
4291++#include <unity.h>
4292++#endif
4293++
4294+ #define INDICATOR_LOGIN_TIMEOUT 15
4295+ #define EMPATHY_DESKTOP_PATH DESKTOPDIR "/empathy.desktop"
4296+
4297+@@ -62,6 +66,9 @@
4298+ IndicateServer *indicate_server;
4299+ GSList *indicator_events;
4300+ GHashTable *login_timeouts;
4301++#ifdef HAVE_UNITY
4302++ UnityLauncherEntry *launcher;
4303++#endif
4304+ } EmpathyIndicatorManagerPriv;
4305+
4306+ typedef struct {
4307+@@ -172,6 +179,20 @@
4308+ g_object_unref (indicator);
4309+ priv->indicator_events = g_slist_prepend (priv->indicator_events,
4310+ indicator_event);
4311++#ifdef HAVE_UNITY
4312++ if (priv->launcher == NULL)
4313++ {
4314++ return;
4315++ }
4316++ gint count = g_slist_length (priv->indicator_events);
4317++ DEBUG ("unity launcher: count is %d", count);
4318++ if (count > 0)
4319++ {
4320++ unity_launcher_entry_set_count (priv->launcher, count);
4321++ unity_launcher_entry_set_count_visible (priv->launcher, TRUE);
4322++ }
4323++#endif
4324++
4325+ }
4326+
4327+ static void
4328+@@ -195,6 +216,26 @@
4329+ priv->indicator_events = g_slist_remove (priv->indicator_events,
4330+ indicator_event);
4331+ empathy_indicator_hide (indicator_event->indicator);
4332++#ifdef HAVE_UNITY
4333++ if (priv->launcher == NULL)
4334++ {
4335++ DEBUG ("unity launcher: launcher is NULL");
4336++ return;
4337++ }
4338++
4339++ gint count = g_slist_length (priv->indicator_events);
4340++ DEBUG ("unity launcher: count is %d", count);
4341++ if (count > 0)
4342++ {
4343++ DEBUG ("unity launcher: setting count to %d", count);
4344++ unity_launcher_entry_set_count (priv->launcher, count);
4345++ unity_launcher_entry_set_count_visible (priv->launcher, TRUE);
4346++ } else {
4347++ unity_launcher_entry_set_count (priv->launcher, count);
4348++ DEBUG ("unity launcher: hiding count");
4349++ unity_launcher_entry_set_count_visible (priv->launcher, FALSE);
4350++ }
4351++#endif
4352+ return;
4353+ }
4354+ }
4355+@@ -211,6 +252,8 @@
4356+
4357+ priv = GET_PRIV (manager);
4358+
4359++ DEBUG ("Event updated");
4360++
4361+ for (l = priv->indicator_events; l; l = l->next)
4362+ {
4363+ IndicatorEvent *indicator_event;
4364+@@ -305,6 +348,10 @@
4365+ g_object_unref (priv->indicate_server);
4366+ priv->indicate_server = NULL;
4367+ }
4368++ if (priv->launcher) {
4369++ g_object_unref (priv->launcher);
4370++ priv->launcher = NULL;
4371++ }
4372+ if (priv->login_timeouts) {
4373+ g_hash_table_unref (priv->login_timeouts);
4374+ priv->login_timeouts = NULL;
4375+@@ -379,6 +426,10 @@
4376+ G_CALLBACK (indicate_server_activate),
4377+ manager);
4378+
4379++#ifdef HAVE_UNITY
4380++ priv->launcher = unity_launcher_entry_get_for_desktop_id ("empathy.desktop");
4381++#endif
4382++
4383+ g_signal_connect (priv->event_manager, "event-added",
4384+ G_CALLBACK (indicator_manager_event_added_cb),
4385+ manager);
4386+
4387
4388=== added file 'debian/patches/41_unity_launcher_progress.patch'
4389--- debian/patches/41_unity_launcher_progress.patch 1970-01-01 00:00:00 +0000
4390+++ debian/patches/41_unity_launcher_progress.patch 2011-05-08 10:03:25 +0000
4391@@ -0,0 +1,159 @@
4392+=== modified file 'src/empathy-ft-manager.c'
4393+--- old/src/empathy-ft-manager.c 2011-02-15 17:11:00 +0000
4394++++ new/src/empathy-ft-manager.c 2011-02-16 21:48:36 +0000
4395+@@ -46,6 +46,8 @@
4396+
4397+ #include "empathy-ft-manager.h"
4398+
4399++#include <unity.h>
4400++
4401+ enum
4402+ {
4403+ COL_PERCENT,
4404+@@ -65,6 +67,7 @@
4405+ GtkWidget *open_button;
4406+ GtkWidget *abort_button;
4407+ GtkWidget *clear_button;
4408++ UnityLauncherEntry *launcher;
4409+ } EmpathyFTManagerPriv;
4410+
4411+ enum
4412+@@ -83,6 +86,53 @@
4413+ static void ft_handler_hashing_started_cb (EmpathyFTHandler *handler,
4414+ EmpathyFTManager *manager);
4415+
4416++static gchar * ft_manager_format_progress_bytes_and_percentage (
4417++ guint64 current,
4418++ guint64 total,
4419++ gdouble speed,
4420++ int *percentage);
4421++
4422++static void
4423++ft_update_unity_launcher (EmpathyFTManager *manager)
4424++{
4425++ EmpathyFTManagerPriv *priv;
4426++
4427++ priv = GET_PRIV (manager);
4428++ g_return_if_fail (priv->launcher != NULL);
4429++
4430++ guint64 current_bytes = 0;
4431++ guint64 total_bytes = 0;
4432++ int percentage;
4433++ gdouble progress;
4434++ GHashTableIter iter;
4435++ gpointer handler;
4436++
4437++ g_hash_table_iter_init (&iter, priv->ft_handler_to_row_ref);
4438++ while (g_hash_table_iter_next (&iter, &handler, NULL))
4439++ {
4440++ if (!empathy_ft_handler_is_completed (handler) &&
4441++ !empathy_ft_handler_is_cancelled (handler))
4442++ {
4443++ current_bytes = current_bytes + empathy_ft_handler_get_transferred_bytes (handler);
4444++ total_bytes = total_bytes + empathy_ft_handler_get_total_bytes (handler);
4445++ }
4446++ }
4447++ ft_manager_format_progress_bytes_and_percentage (current_bytes, total_bytes, -1, &percentage);
4448++
4449++ progress = percentage;
4450++ progress = progress / 100;
4451++
4452++ unity_launcher_entry_set_progress (priv->launcher, progress);
4453++ if (progress > 0 && progress < 100)
4454++ {
4455++ unity_launcher_entry_set_progress_visible (priv->launcher, TRUE);
4456++ }
4457++ else
4458++ {
4459++ unity_launcher_entry_set_progress_visible (priv->launcher, FALSE);
4460++ }
4461++}
4462++
4463+ static gchar *
4464+ ft_manager_format_interval (guint interval)
4465+ {
4466+@@ -392,6 +442,8 @@
4467+ COL_PERCENT, percentage,
4468+ -1);
4469+
4470++ ft_update_unity_launcher (manager);
4471++
4472+ gtk_tree_path_free (path);
4473+
4474+ }
4475+@@ -458,6 +510,8 @@
4476+ ft_manager_clear_handler_time (manager, row_ref);
4477+ ft_manager_update_buttons (manager);
4478+
4479++ ft_update_unity_launcher (manager);
4480++
4481+ g_free (message);
4482+ }
4483+
4484+@@ -465,6 +519,7 @@
4485+ do_real_transfer_done (EmpathyFTManager *manager,
4486+ EmpathyFTHandler *handler)
4487+ {
4488++ EmpathyFTManagerPriv *priv;
4489+ const char *contact_name;
4490+ const char *filename;
4491+ char *first_line, *second_line, *message;
4492+@@ -474,6 +529,8 @@
4493+ GtkRecentManager *recent_manager;
4494+ GFile *file;
4495+
4496++ priv = GET_PRIV (manager);
4497++
4498+ row_ref = ft_manager_get_row_from_handler (manager, handler);
4499+ g_return_if_fail (row_ref != NULL);
4500+
4501+@@ -499,6 +556,8 @@
4502+ ft_manager_update_handler_message (manager, row_ref, message);
4503+ ft_manager_clear_handler_time (manager, row_ref);
4504+
4505++ ft_update_unity_launcher (manager);
4506++
4507+ /* update buttons */
4508+ ft_manager_update_buttons (manager);
4509+
4510+@@ -535,6 +594,8 @@
4511+ DEBUG ("Transfer done, no hashing");
4512+
4513+ do_real_transfer_done (manager, handler);
4514++
4515++ ft_update_unity_launcher (manager);
4516+ }
4517+
4518+ static void
4519+@@ -576,6 +637,8 @@
4520+ EmpathyTpFile *tp_file,
4521+ EmpathyFTManager *manager)
4522+ {
4523++ EmpathyFTManagerPriv *priv;
4524++ priv = GET_PRIV (manager);
4525+ guint64 transferred_bytes, total_bytes;
4526+
4527+ DEBUG ("Transfer started");
4528+@@ -1054,6 +1117,12 @@
4529+
4530+ g_hash_table_destroy (priv->ft_handler_to_row_ref);
4531+
4532++ if (priv->launcher != NULL)
4533++ {
4534++ g_object_unref(priv->launcher);
4535++ priv->launcher = NULL;
4536++ }
4537++
4538+ G_OBJECT_CLASS (empathy_ft_manager_parent_class)->finalize (object);
4539+ }
4540+
4541+@@ -1071,6 +1140,8 @@
4542+ g_direct_equal, (GDestroyNotify) g_object_unref,
4543+ (GDestroyNotify) gtk_tree_row_reference_free);
4544+
4545++ priv->launcher = unity_launcher_entry_get_for_desktop_id ("empathy.desktop");
4546++
4547+ ft_manager_build_ui (manager);
4548+ }
4549+
4550+
4551
4552=== added file 'debian/patches/70_append_messages_in_notifications.patch'
4553--- debian/patches/70_append_messages_in_notifications.patch 1970-01-01 00:00:00 +0000
4554+++ debian/patches/70_append_messages_in_notifications.patch 2011-05-08 10:03:25 +0000
4555@@ -0,0 +1,34 @@
4556+From: Omer Akram <om26er@ubuntu.com>
4557+Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
4558+Subject: set a not empty string when setting EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND.
4559+Origin: http://git.gnome.org/browse/empathy/commit/?h=gnome-2-34&id=554ea28a6a158f3dee384c485f84184cf606d61c
4560+Bug: https://bugs.gnome.org/648842
4561+Bug-Ubuntu: https://launchpad.net/bugs/769234
4562+
4563+--- a//src/empathy-chat-window.c 2011-05-03 23:58:05.000000000 +0500
4564++++ b//src/empathy-chat-window.c 2011-05-03 23:56:40.163246021 +0500
4565+@@ -1452,8 +1452,9 @@
4566+ G_CALLBACK (chat_window_notification_closed_cb), window, 0);
4567+
4568+ if (has_x_canonical_append) {
4569++ /* We have to set a not empty string to keep libnotify happy */
4570+ notify_notification_set_hint_string (notification,
4571+- EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND, "");
4572++ EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND, "1");
4573+ }
4574+ }
4575+
4576+diff -ruN a//src/empathy-status-icon.c b//src/empathy-status-icon.c
4577+--- a//src/empathy-status-icon.c 2011-05-03 23:58:05.000000000 +0500
4578++++ b//src/empathy-status-icon.c 2011-05-03 23:57:31.015245996 +0500
4579+@@ -268,8 +268,9 @@
4580+ NOTIFY_EXPIRES_DEFAULT);
4581+
4582+ if (has_x_canonical_append) {
4583++ /* We have to set a not empty string to keep libnotify happy */
4584+ notify_notification_set_hint_string (notification,
4585+- EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND, "");
4586++ EMPATHY_NOTIFY_MANAGER_CAP_X_CANONICAL_APPEND, "1");
4587+ }
4588+
4589+ if (empathy_notify_manager_has_capability (priv->notify_mgr,
4590
4591=== added file 'debian/patches/series'
4592--- debian/patches/series 1970-01-01 00:00:00 +0000
4593+++ debian/patches/series 2011-05-08 10:03:25 +0000
4594@@ -0,0 +1,16 @@
4595+00_lp_748535.patch
4596+01_lpi.patch
4597+02_notifications_focus.patch
4598+10_use_notify_osd_icons.patch
4599+11_empathy_accounts_category.patch
4600+20_libindicate.patch
4601+21_login_indicators.patch
4602+23_idomessagedialog_for_voip_and_ft.patch
4603+31_really_raise_window.patch
4604+34_start_raised_execpt_in_session.patch
4605+36_chat_window_default_size.patch
4606+37_facebook_default.patch
4607+38_lp_569289.patch
4608+40_unity_launcher_count.patch
4609+41_unity_launcher_progress.patch
4610+70_append_messages_in_notifications.patch
4611
4612=== added file 'debian/rules'
4613--- debian/rules 1970-01-01 00:00:00 +0000
4614+++ debian/rules 2011-05-08 10:03:25 +0000
4615@@ -0,0 +1,40 @@
4616+#!/usr/bin/make -f
4617+
4618+DEB_DH_INSTALL_SOURCEDIR=debian/tmp
4619+
4620+include /usr/share/cdbs/1/rules/debhelper.mk
4621+include /usr/share/cdbs/1/rules/autoreconf.mk
4622+include /usr/share/cdbs/1/class/gnome.mk
4623+
4624+# List any files which are not installed
4625+include /usr/share/cdbs/1/rules/utils.mk
4626+common-binary-post-install-arch:: list-missing
4627+
4628+# Ensure at build time that the library has no dependencies on undefined
4629+# symbols, and speed up loading.
4630+#LDFLAGS += -Wl,-z,defs -Wl,-O1
4631+
4632+DEB_CONFIGURE_EXTRA_FLAGS := --enable-spell \
4633+ --enable-libindicate \
4634+ --disable-tests \
4635+ --disable-schemas-compile \
4636+ --enable-webkit \
4637+ --enable-map=no \
4638+ --enable-location=no \
4639+ --enable-favourite-contacts=no \
4640+ --enable-nautilus-sendto \
4641+ --with-ca-file='/etc/ssl/certs/ca-certificates.crt'
4642+
4643+DEB_DBG_PACKAGE_empathy = empathy-dbg
4644+
4645+DEB_BUILD_ARCH_OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
4646+
4647+ifeq ($(DEB_BUILD_ARCH_OS),linux)
4648+ DEB_CONFIGURE_EXTRA_FLAGS += --with-connectivity=nm --enable-location=no
4649+else ifeq ($(DEB_BUILD_ARCH_OS),kfreebsd)
4650+ DEB_CONFIGURE_EXTRA_FLAGS += --with-connectivity=no --enable-location=no
4651+else
4652+ DEB_CONFIGURE_EXTRA_FLAGS += --with-connectivity=no --enable-location=no
4653+endif
4654+
4655+include $(CURDIR)/debian/update-patches.mk
4656
4657=== added directory 'debian/source'
4658=== added file 'debian/source/format'
4659--- debian/source/format 1970-01-01 00:00:00 +0000
4660+++ debian/source/format 2011-05-08 10:03:25 +0000
4661@@ -0,0 +1,1 @@
4662+3.0 (quilt)
4663
4664=== added file 'debian/source/options'
4665--- debian/source/options 1970-01-01 00:00:00 +0000
4666+++ debian/source/options 2011-05-08 10:03:25 +0000
4667@@ -0,0 +1,1 @@
4668+compression = "bzip2"
4669
4670=== added file 'debian/update-patches.mk'
4671--- debian/update-patches.mk 1970-01-01 00:00:00 +0000
4672+++ debian/update-patches.mk 2011-05-08 10:03:25 +0000
4673@@ -0,0 +1,10 @@
4674+update-patches:
4675+ mkdir -p $(CURDIR)/debian/patches
4676+ rm -f $(CURDIR)/debian/patches/*.patch
4677+ git format-patch -o $(CURDIR)/debian/patches debian-patches ^upstream
4678+ for patch in $$(ls $(CURDIR)/debian/patches/*.patch) ; \
4679+ do \
4680+ lines=$$(cat $$patch | wc -l) ; \
4681+ head -n $$(($$lines - 3)) $$patch > $${patch}.chomped ; \
4682+ mv $${patch}.chomped $$patch ; \
4683+ done
4684
4685=== added file 'debian/watch'
4686--- debian/watch 1970-01-01 00:00:00 +0000
4687+++ debian/watch 2011-05-08 10:03:25 +0000
4688@@ -0,0 +1,2 @@
4689+version=3
4690+http://ftp.gnome.org/pub/GNOME/sources/empathy/([0-9.]+)/empathy-(.*).tar.bz2

Subscribers

People subscribed via source and target branches