Re: [canola-devel] [GSoC 09] IM Client for Canola - report 1

2009-06-15 Thread Thiago Bolaum
Guys, thank you very much for your opinions. They will all be accounted for.
We decided to use telepathy.
Updates on project dev. can be seen in the wiki (
http://wiki.maemo.org/GSoC_2009/Projects/IM_Client_For_Canola).

On Fri, Jun 5, 2009 at 4:13 PM, Thomas Clavier t...@tcweb.org wrote:

 Fred a écrit :
  Well I suppose telepathy does use libpurple ...
  I think you should use telepathy because it gives you more options ...

 Telepathy use libpurple only for protocols that are not handled by
 others libraries. For more information about that see
 http://telepathy.freedesktop.org/wiki/Components


 --
 Thomas Clavier http://www.tcweb.org
 Jabber/XMPP/MSN/Gtalk :t...@jabber.tcweb.org
 +33 (0)6 20 81 81 30   +33 (0)950 783 783


 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers




-- 
Thiago 'bolaum' Borges Abdnur
--
Trust no one...
- Deep Throat (The X-Files)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [canola-devel] [GSoC 09] IM Client for Canola - report 1

2009-06-06 Thread Antonio Júnior
Hi Thiago,

I worked with a plugin for canola (https://garage.maemo.org/projects/bluehi)
and I'm studying a about Telepathy.

So I'm very interested in participating in the development of IM plugin for
canola.

How can I help you??

2009/6/5 Thomas Clavier t...@tcweb.org

 Fred a écrit :
  Well I suppose telepathy does use libpurple ...
  I think you should use telepathy because it gives you more options ...

 Telepathy use libpurple only for protocols that are not handled by
 others libraries. For more information about that see
 http://telepathy.freedesktop.org/wiki/Components


 --
 Thomas Clavier http://www.tcweb.org
 Jabber/XMPP/MSN/Gtalk :t...@jabber.tcweb.org
 +33 (0)6 20 81 81 30   +33 (0)950 783 783


 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers




-- 
--
Antonio Ramos de Carvalho Júnior
Estudante de Bacharel em Ciência da Computação - FUCAPI
Mobile Development Center - INDT/FUCAPI

Ninguém além de nós mesmos pode libertar as nossas mentes
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: IM Client for Canola - report 1

2009-06-05 Thread Bruno Abinader
Nice job Thiago :)

Feel free to ask me or Anderson Briglia whenever possible!

As for the LD_PRELOAD bug, darkrain42 (libpurple developer) hacked a fix for 
this bug using the 'ld' python library (see 
http://developer.pidgin.im/ticket/7872). The garage repository is already 
updated and now we don't need to alter that environment variable anymore ;)

[]s!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: IM Client for Canola - report 1

2009-06-05 Thread Thiago Bolaum
Hehehe actually, I'm bolaum! xD The guy telling the solution in #pidgin.
darkrain42 just pasted the solution I found to close the ticket.

Cheers

On Fri, Jun 5, 2009 at 1:22 PM, Bruno Abinader bruno.abina...@openbossa.org
 wrote:

 Nice job Thiago :)

 Feel free to ask me or Anderson Briglia whenever possible!

 As for the LD_PRELOAD bug, darkrain42 (libpurple developer) hacked a fix
 for this bug using the 'ld' python library (see
 http://developer.pidgin.im/ticket/7872). The garage repository is already
 updated and now we don't need to alter that environment variable anymore ;)

 []s!
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers




-- 
Thiago 'bolaum' Borges Abdnur
--
Trust no one...
- Deep Throat (The X-Files)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [canola-devel] [GSoC 09] IM Client for Canola - report 1

2009-06-05 Thread Thomas Clavier
Fred a écrit :
 Well I suppose telepathy does use libpurple ...
 I think you should use telepathy because it gives you more options ...

Telepathy use libpurple only for protocols that are not handled by
others libraries. For more information about that see
http://telepathy.freedesktop.org/wiki/Components


-- 
Thomas Clavier http://www.tcweb.org
Jabber/XMPP/MSN/Gtalk :t...@jabber.tcweb.org
+33 (0)6 20 81 81 30   +33 (0)950 783 783



signature.asc
Description: OpenPGP digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [canola-devel] [GSoC 09] IM Client for Canola - report 1

2009-06-04 Thread Valerio Valerio
Hello,


On Thu, Jun 4, 2009 at 6:16 AM, Thiago Bolaum bol...@gmail.com wrote:


 Telepathy:
   . Built to be a generic communications framework using D-Bus.
   . Has Python bindings to facilitate the use of D-Bus, using conection
 managers.
   . Can be used with EFL D-Bus MainLoop (used inside Canola).
   . Has a connection manager called telepathy-haze that exposes libpurple's
 protocols to Telepathy framework.
   . A bit more burocratic access than python-purple, since it isn't a
 direct binding.
   . These connection managers (gabble (jabber), butterfly (MSN), haze
 (libpurple), salut (Bonjour)) seem pretty stable.

 python-purple:
   . Easy to use and less burocratic, since it is a direct binding (written
 in cython) to libpurple.
   . Already implements all basic signals, enough to develop the IM plugin,
 or at least a version with basic functionalities.
   . Active and accessible developers, to help improving the lib.
   . Needs testing and some bugs correction (I was able to fix an annoying
 one, concerning the necessity of LD_PRELOADing libpurple).
   . Using this would lead to a more stable and usable version of
 python-purple, but less time would be spent developing the plugin itself.

 As said before, I think that both could handle the job, having their own
 pros and cons. So we wanted some feedback from you guys, which do you think
 is better and why. After that, I'll talk to antognolli and we will have a
 final decision on which we'll work with.


I'm not a expert in this area, but by your assumptions seems to me that
telepathy offer a better future for your project, and also will allow you to
extend and add more feature in the application. Probably python-purple will
be easier to use, but the telepathy features should reward your effort.
And also notice that telepathy is under active development and have a large
community that will help you for sure.

Thanks for listening and accept the community comments :).

Best regards,

-- 
Valério Valério

http://www.valeriovalerio.org




 --
 Thiago 'bolaum' Borges Abdnur


 ___
 Canola-devel mailing list
 canola-de...@garage.maemo.org
 https://garage.maemo.org/mailman/listinfo/canola-devel


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [canola-devel] [GSoC 09] IM Client for Canola - report 1

2009-06-04 Thread Anderson Lizardo
On Thu, Jun 4, 2009 at 1:16 AM, Thiago Bolaum bol...@gmail.com wrote:
 python-purple:
 [...]
   . Needs testing and some bugs correction (I was able to fix an annoying 
 one, concerning the necessity of LD_PRELOADing libpurple).

I wonder how did you fix that? (just curious)

Regards,
--
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [GSoC 09] IM Client for Canola - report 1

2009-06-04 Thread Ryan Abel
On Thu, Jun 4, 2009 at 1:16 AM, Thiago Bolaum bol...@gmail.com wrote:

 Telepathy:


Barring extreme circumstances, always go with what's bundled on the
platform. Especially with resource-limited mobile devices.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [canola-devel] [GSoC 09] IM Client for Canola - report 1

2009-06-04 Thread Thomas Clavier
Valerio Valerio a écrit :
 I'm not a expert in this area, but by your assumptions seems to me that
 telepathy offer a better future for your project, and also will allow
 you to extend and add more feature in the application. Probably
 python-purple will be easier to use, but the telepathy features should
 reward your effort.
 And also notice that telepathy is under active development and have a
 large community that will help you for sure.

+1 and on a device without many memory in my opinion, it's better to
re-use library.

-- 
Thomas Clavier http://www.tcweb.org
Jabber/XMPP/MSN/Gtalk :t...@jabber.tcweb.org
+33 (0)6 20 81 81 30   +33 (0)950 783 783



signature.asc
Description: OpenPGP digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [canola-devel] [GSoC 09] IM Client for Canola - report 1

2009-06-04 Thread Fred
Thomas Clavier a écrit :
 Valerio Valerio a écrit :
 I'm not a expert in this area, but by your assumptions seems to me that
 telepathy offer a better future for your project, and also will allow
 you to extend and add more feature in the application. Probably
 python-purple will be easier to use, but the telepathy features should
 reward your effort.
 And also notice that telepathy is under active development and have a
 large community that will help you for sure.
 
 +1 and on a device without many memory in my opinion, it's better to
 re-use library.

Well I suppose telepathy does use libpurple ...
I think you should use telepathy because it gives you more options ...

 
 
 
 
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [canola-devel] [GSoC 09] IM Client for Canola - report 1

2009-06-04 Thread Gustavo Sverzut Barbieri
On Thu, Jun 4, 2009 at 2:16 AM, Thiago Bolaum bol...@gmail.com wrote:
 Hi all!
 This is the first report for my GSoC project. So I'll talk about the initial
 steps for it done last week.
 As told by my mentor, antognolli, some people at #maemo and #canola
 suggested the idea of using Telepathy instead of python-purple as the IM lib
 of the plugin, as it will be a standard for most Maemo's projects dealing
 with communication. We have decided to think about it.
 So my mission was understanding both libraries and trying to use them. Both
 have very comprehensive examples, that make use of almost everything needed
 in the plugin, such as connecting, sending and receiving messages. File
 transfer wasn't tested.
 I'll describe in more detail my conclusions on each of these libs:

 Telepathy:
   . Built to be a generic communications framework using D-Bus.
   . Has Python bindings to facilitate the use of D-Bus, using conection
 managers.
   . Can be used with EFL D-Bus MainLoop (used inside Canola).
   . Has a connection manager called telepathy-haze that exposes libpurple's
 protocols to Telepathy framework.
   . A bit more burocratic access than python-purple, since it isn't a direct
 binding.
   . These connection managers (gabble (jabber), butterfly (MSN), haze
 (libpurple), salut (Bonjour)) seem pretty stable.

 python-purple:
   . Easy to use and less burocratic, since it is a direct binding (written
 in cython) to libpurple.
   . Already implements all basic signals, enough to develop the IM plugin,
 or at least a version with basic functionalities.
   . Active and accessible developers, to help improving the lib.
   . Needs testing and some bugs correction (I was able to fix an annoying
 one, concerning the necessity of LD_PRELOADing libpurple).
   . Using this would lead to a more stable and usable version of
 python-purple, but less time would be spent developing the plugin itself.

 As said before, I think that both could handle the job, having their own
 pros and cons. So we wanted some feedback from you guys, which do you think
 is better and why. After that, I'll talk to antognolli and we will have a
 final decision on which we'll work with.
 Meanwhile, I intend to start working with the interface, in a top-down
 approach, so instead of drawing mockups, everyone would be able to interact
 with the plugin and suggest changes.

 That's all for now. Thank you and good work for everyone!

Telepathy is much better in theory than practice, but given Nokia
resources for a while now, it is becoming better and better. First
versions of it on 770 were really unusable and Pidgin usage grown a
lot.

There is a huge problem with both libpurple and telepathy that is good
support for most protocols. MSN sucks in both, amsn being the solution
for that. This is mostly because IM networks are similar but not
equal, and trying to fit all their specific bits into a single
protocol is hard.  However, it's unlikely that Canola will do more
than basic message viewing and minimal input/send, so we can ignore
such problems for now.

But yes, let's believe it will be good enough and provide what we
need, let's go Telepathy.



-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


[GSoC 09] IM Client for Canola - report 1

2009-06-03 Thread Thiago Bolaum
Hi all!
This is the first report for my GSoC project. So I'll talk about the initial
steps for it done last week.
As told by my mentor, antognolli, some people at #maemo and #canola
suggested the idea of using Telepathy instead of python-purple as the IM lib
of the plugin, as it will be a standard for most Maemo's projects dealing
with communication. We have decided to think about it.
So my mission was understanding both libraries and trying to use them. Both
have very comprehensive examples, that make use of almost everything needed
in the plugin, such as connecting, sending and receiving messages. File
transfer wasn't tested.
I'll describe in more detail my conclusions on each of these libs:

Telepathy:
  . Built to be a generic communications framework using D-Bus.
  . Has Python bindings to facilitate the use of D-Bus, using conection
managers.
  . Can be used with EFL D-Bus MainLoop (used inside Canola).
  . Has a connection manager called telepathy-haze that exposes libpurple's
protocols to Telepathy framework.
  . A bit more burocratic access than python-purple, since it isn't a direct
binding.
  . These connection managers (gabble (jabber), butterfly (MSN), haze
(libpurple), salut (Bonjour)) seem pretty stable.

python-purple:
  . Easy to use and less burocratic, since it is a direct binding (written
in cython) to libpurple.
  . Already implements all basic signals, enough to develop the IM plugin,
or at least a version with basic functionalities.
  . Active and accessible developers, to help improving the lib.
  . Needs testing and some bugs correction (I was able to fix an annoying
one, concerning the necessity of LD_PRELOADing libpurple).
  . Using this would lead to a more stable and usable version of
python-purple, but less time would be spent developing the plugin itself.

As said before, I think that both could handle the job, having their own
pros and cons. So we wanted some feedback from you guys, which do you think
is better and why. After that, I'll talk to antognolli and we will have a
final decision on which we'll work with.
Meanwhile, I intend to start working with the interface, in a top-down
approach, so instead of drawing mockups, everyone would be able to interact
with the plugin and suggest changes.

That's all for now. Thank you and good work for everyone!

-- 
Thiago 'bolaum' Borges Abdnur
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers