[Telepathy] VOIP

2009-06-18 Thread Fabian Bozoglilanian

Hi there, im fabian Bozoglian, from Uruguay.
Actually im making an application to Ceibal (Uruguayan implement of OLPC). 
Its a python voip client using telepathy.
Can someone tell me where to start?

(sorry about my english)

Fabián Bozoglilanian Raíz - Analista Programador
Montevideo - Uruguay




_
Disfruta los mejores videos de MSN mientras chateas
http://messengertv.msn.com/mkt/es-xl/___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] empathy and mc5 migration

2009-06-18 Thread Sjoerd Simons
On Thu, Jun 18, 2009 at 07:10:30PM +0200, Xavier Claessens wrote:
> Le jeudi 18 juin 2009 à 11:04 -0500, Mike Turquette a écrit :
> > Hi all,
> > 
> > Does the master head of Empathy (2.27.x) work with MC5?  I'd like to
> > use MC5 if possible, but I obviously want a client I can use on top of
> > it.
> > 
> > Thanks,
> > Mike
> 
> Empathy is not yet ported to MC5. I hope to get it done before 2.28.

This will definately get done before 2.28. I've been doing some of the
preliminary work for that over the past few weeks (both refactoring bits to
make porting easier and mapping what needs to be done) and hope to get a bit
more done on that in the coming week or two.

Also  We're planning to have a small (informal) Empathy hackfest at the Gran
Canaria Desktop Summit in a few weeks, my personal goal there is to get the
initial port of empathy on top of MC5 actually working. Several other empathy
developers already mentioned they'd like to help out in this, so it's looking
good :)

  Sjoerd
-- 
You cannot have a science without measurement.
-- R. W. Hamming
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


[Telepathy] MC5 and my GSoC project for Banshee

2009-06-18 Thread Neil Loknath
Hey everyone!

My name is Neil (nloko on IRC), and I'm working on the Banshee with
Telepathy Integration project for SoC [0]. As I understand it, MC5 is coming
soon. If you've seen my blog posts [1], you know that I've made some good
progress on it. Therefore, I will need to make some changes to my project
when Empathy is ported to MC5. I thought it would be a good idea to get some
feedback on what I think I will need to change. I've already had some
discussion with wjt on IRC, but more information/confirmation on what I will
need to do will be very helpful. See below:

1) Currently, I am using MissionControl.AccountStatusChanged signal to
detect when connections become active/disconnected.
MC5: Use Account.AccountPropertiesChanged [2]

2) Using MissionControl.SetPresence to set presence message (I know Usertune
would be more appropriate, but since it's not there, I am making due with
this)
MC5: Use Account.RequestedPresence property [3]??

3) I'm using the ContactListChannel, Group, and SimplePresence interfaces to
find contact, track presence, etc.
MC5: Assuming that nothing here will have to change

4) Using ContactCapabilities.SetSelfCapabilities to advertise my DBusTube
service. And, using ContactCapabilities.GetCapabilities to find out if other
contacts support my service.
MC5:
 * Register dbus name org.freedesktop.Telepathy.Client.clientname,
(where clientname = Banshee ? ), that points to an object implementing
org.freedesktop.Telepathy.Client.Handler [4]. Set the HandleChannelFilter
property to the channels that are to be handled by Banshee. Banshee will be
a non-activatible client, so no .client file.
 * Implement the HandleChannels method to handle my channels (ie.
accept/close tube). This makes handling the NewChannels signal of the
Requests interface obsolete, correct? In other words, I won't need it.
 * I don't need to implement Client.Approver [5] as well, do I? It
seems redundant to me.
 * Can ContactCapabilities.GetCapabilities and
ContactCapabilitiesChanged signal still be used to discover what services
other contacts provide? I use this to filter out contacts that don't matter
to Banshee, since they can't participate in sharing.

5) I'm using the Requests Interface [6] to create channels and detect new
ones. On NewChannels signal, I compare SelfHandle to InitiatorHandle to
determine where the channel is coming from and take the appropriate action.
MC5: Should I use org.freedesktop.Telepathy.ChannelDispatcher [7]
instead? And, pass it my Banshee Client.Handler dbus name? And, as I have
said above, Client.Handler.HandleChannels replaces the need to handle the
NewChannels signal, right? Or, should I still use the Requests interface?

Long post! But, this information will be very helpful to me, and maybe
others too. If there is anything else you think I should know, please let me
know. I hope I have covered everything.

Thanks in advance for your help with my project

Neil

[0]
http://socghop.appspot.com/student_project/show/google/gsoc2009/gnome/t124022403765
[1] http://nlokos.blogspot.com/2009/06/gsoc-week-3.html
[2]
http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.Account.html#org.freedesktop.Telepathy.Account.AccountPropertyChanged
[3]
http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.Account.html#org.freedesktop.Telepathy.Account.RequestedPresence
[4]
http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.Client.Handler.html
[5]
http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.Client.Approver.html
[6]
http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.Connection.Interface.Requests.html
[7]
http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.ChannelDispatcher.html
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


[Telepathy] Using Telepathy, followup to questions in IRC

2009-06-18 Thread webm0nk3y
As mentioned in #telepathy, I am working on Ubuntu One (U1) which is going  
to

provide a set of cloud based services to Ubuntu Users.

I would really like to use Telepathy in this project but, I am unclear as to
what it will involve. I would appreciate any feedback. Sorry for the long  
email.


Currently, my primary focus is on Screen Sharing using vino/vinagre.

I understand there are already changes made to support these over stream  
tubes
which will already provide a lot of what we wanted to do. In addition we  
would

like to do is provide U1 users access to private proxy servers if we can't
establish a p2p connection when a Tube offer is made. (This is where I am  
unsure how

this would work)

There are also other things we think we can do to improve performance:
* Find ways to increase success of P2P connections using Tubes (libnice  
changes perhaps)
* Decrease bandwidth usage by adjusting options in vino (there's a vino bug  
for this)
* Smart Proxy/Message Accelerator between vino/vinagre? (Idea based on  
http://www-cse.ucsd.edu/~cbtaylor/psu.pdf)
* Proxy between server/viewer for Compression like NX? (We can't change  
RFB, but we could create a special client/server proxy)



Here are some additional possibilities we are considering for  
telepathy/empathy:


Connecting U1 Users
* Connecting our users to our XMPP server
* Contacts Presence (Empathy, custom client)
* Chat User <> User (Empathy)
* U1 notifications Server ---> User (Empathy? or custom client)
* Bob has shared a folder with you
* Bob wants to share his contact list with you...
* Bob wants to do this wizbang U1 thing with you (etc..)

U1 specific XMPP Extentions:
* Not sure, there has to be something (Account Info?)

If you have any questions feel free to contact me (jdobrien on  
freenode)...I'm

usually in #ubuntuone or #telepathy.

Thank you in advance for your help,
John O'Brien
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] empathy and mc5 migration

2009-06-18 Thread Xavier Claessens
Le jeudi 18 juin 2009 à 11:04 -0500, Mike Turquette a écrit :
> Hi all,
> 
> Does the master head of Empathy (2.27.x) work with MC5?  I'd like to
> use MC5 if possible, but I obviously want a client I can use on top of
> it.
> 
> Thanks,
> Mike

Empathy is not yet ported to MC5. I hope to get it done before 2.28.

___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


[Telepathy] empathy and mc5 migration

2009-06-18 Thread Mike Turquette
Hi all,

Does the master head of Empathy (2.27.x) work with MC5?  I'd like to
use MC5 if possible, but I obviously want a client I can use on top of
it.

Thanks,
Mike
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] [PATCH] Geoclue: check for errors, validity and bail when setting up

2009-06-18 Thread Pierre-Luc Beaudoin
On Thu, 2009-06-18 at 17:28 +0900, Niv Sardi wrote:
> 
> in setup_geoclue:libempathy-gtk/empathy-location-manager.c we call
> geoclue_master_create_client () without checking it actually returns
> anything or giving it a GError pointer.

Hi,

Thanks for you patch, but we were already aware of that bug and it has
been fixed the day after the release as can be seen here:
http://bugzilla.gnome.org/show_bug.cgi?id=585887

This bug is triggered when you have built with libgeoclue, but are not
running geoclue (missing packages such as geoclue and geoclue-*).  By
the way, don't install geoclue-example, it screws the location
determination process.

On a side note, we prefer receiving patches on bug reports it makes it
easier to manage in quantity and track their status.

Thanks again,

Pierre-Luc


signature.asc
Description: This is a digitally signed message part
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


[Telepathy] (no subject)

2009-06-18 Thread Niv Sardi

Ok, I know I have pending the other patches, make a bug and all, but I'll leave 
it for times where I have real internet.

I wanted to try the geolocation stuff just released and it crashed, here's the 
patch.
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


[Telepathy] [PATCH] Geoclue: check for errors, validity and bail when setting up

2009-06-18 Thread Niv Sardi
in setup_geoclue:libempathy-gtk/empathy-location-manager.c we call
geoclue_master_create_client () without checking it actually returns
anything or giving it a GError pointer.

Add the check and the use of error.

Signed-off-by: Niv Sardi 
---
 libempathy-gtk/empathy-location-manager.c |9 -
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/libempathy-gtk/empathy-location-manager.c 
b/libempathy-gtk/empathy-location-manager.c
index 2e45ab6..492704e 100644
--- a/libempathy-gtk/empathy-location-manager.c
+++ b/libempathy-gtk/empathy-location-manager.c
@@ -482,9 +482,16 @@ setup_geoclue (EmpathyLocationManager *location_manager)
 
   DEBUG ("Setting up Geoclue");
   master = geoclue_master_get_default ();
-  priv->gc_client = geoclue_master_create_client (master, NULL, NULL);
+  priv->gc_client = geoclue_master_create_client (master, NULL, &error);
   g_object_unref (master);
 
+  if (! priv->gc_client)
+{
+   DEBUG("Failed to acquire GeoClue client: %s", error->message);
+   g_error_free (error);
+   return;
+}
+
   update_resources (location_manager);
 
   /* Get updated when the position is changes */
-- 
1.6.3.1

___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] discussion about empathy chat window

2009-06-18 Thread Nicolò Chieffo
Actually strange things happen if I put there a gtkimage: when the
scrolled window gets resized to 2 lines, I get 2 images, but one is a
ghost, and a similar things happens when scrolling
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] discussion about empathy chat window

2009-06-18 Thread Will Thompson
Nicolò Chieffo wrote:
> I've already tried unsuccessfully using
> gtk_text_view_add_child_in_window, but nothing appears.

The attached patch vaguely works for me, although it doesn't deal well
with the box resizing or scrolling very well. Maybe you didn't show()
the child widget?

-- 
Will
From b86a6f36bdbd137aa035936790436ee0be89287a Mon Sep 17 00:00:00 2001
From: Will Thompson 
Date: Thu, 18 Jun 2009 12:30:36 +0100
Subject: [PATCH] Add a misc widget to the RHS of the input box

---
 libempathy-gtk/empathy-chat.c |7 +++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index c3fc794..225967a 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1442,6 +1442,13 @@ chat_create_ui (EmpathyChat *chat)
 			   chat->input_text_view);
 	gtk_widget_show (chat->input_text_view);
 
+	{
+		GtkWidget *l = gtk_label_new ("sup");
+		gtk_text_view_set_border_window_size (GTK_TEXT_VIEW (chat->input_text_view), GTK_TEXT_WINDOW_RIGHT, 30);
+		gtk_text_view_add_child_in_window (GTK_TEXT_VIEW (chat->input_text_view), l, GTK_TEXT_WINDOW_RIGHT, 0, 0);
+		gtk_widget_show (l);
+	}
+
 	/* Create contact list */
 	chat_set_show_contacts (chat, priv->remote_contact == NULL);
 
-- 
1.6.3.1



signature.asc
Description: OpenPGP digital signature
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] discussion about empathy chat window

2009-06-18 Thread Nicolò Chieffo
I've already tried unsuccessfully using
gtk_text_view_add_child_in_window, but nothing appears.
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] discussion about empathy chat window

2009-06-18 Thread Will Thompson
Nicolò Chieffo wrote:
> I've just had a look at the code: unfortunately the text chat input is
> not a GtkEntry, it's a GtkTextView, so there's no easy way to add an
> icon at the end.
> Suggestions?

I believe one can add arbitrary widgets to a GtkTextView, although the
API looks a tad confusing.

-- 
Will



signature.asc
Description: OpenPGP digital signature
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] discussion about empathy chat window

2009-06-18 Thread Nicolò Chieffo
I've just had a look at the code: unfortunately the text chat input is
not a GtkEntry, it's a GtkTextView, so there's no easy way to add an
icon at the end.
Suggestions?
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy