I’m very happy to see that the 3 proposed GSoC projects for Empathy are now accepted. I’m the mentor of 2 of them.
Thanks to those 4 students and good luck!
Thanks also to Frederic Peters who triaged almost all empathy bugs and proposed lots of patch already committed in Empathy 0.23.1, help is really appreciated
I released Empathy 0.23.1, the first release of the unstable 0.23.x branch proposed for inclusion in GNOME desktop 2.24. This release comes with tons of changes.
- Drop libtelepathy and use telepathy-glib instead.
- Beginning of support for MSN-like chats that becomes chatroom when a contact is invited.
- Added user manual support, it’s being written by Milo Casagrande.
- And the most important…… empathy now make easy to use TUBES !!!
What does “Tubes” means?
A tube is a way for applications to communicate. Traditionnally when I want to play a game with a friend I ask him the IP and the PORT on which he is hosting the server and I connect to it… And in most cases that fails because we are both behind a NAT. Tubes is a way for a server to offer a socket to an IM contact, the remote contact accepts the socket and they can begin to write/read data on it. I works even if there is a NAT in both sides.
You can see screencast of ther sender and the receiver of a tube (other screencasts here). The code of that little game can be found on a darcs repository.
Empathy make easy for developpers to make that, what you have to do:
- When the user want to initiate a game (or share a doc in abiword, etc…) the application uses empathy’s contact list widget from libempathy-gtk to let the user select a contact
- The application creates unix, ipv4 or ipv6 socket on localhost and call (from libempathy) empathy_tp_tube_new_stream_tube (selected_contact, TP_SOCKET_ADDRESS_TYPE_IPV4, “127.0.0.1”, PORT, “MyGreatGame”);
- That’s all for the initiator side, the remote contact will see his empathy status icon blink.
- On the receiver side the application must register the DBus service “org.gnome.Empathy.StreamTubeHandler.MyGreatGame” by installing a .service file. When started the application must create a EmpathyTubeHandler object: empathy_tube_handler_new (TP_TUBE_TYPE_STREAM, “MyGreatGame”); and connect to the “new-tube” signal on that object.
- Each time someone offers a tube that “new-tube” signal is emitted and give a EmpathyTpTube object.
- When you get that tube object you can call empathy_tp_tube_accept_stream_tube (tube, TP_SOCKET_ADDRESS_TYPE_IPV4) and get the socket using empathy_tp_tube_get_socket (tube, &hostname, &port).
- Open that socket and both sides can communicate over it.
Now is time for Abiword, Inkscape, gnome-games, and all other network application to stop reimplementing an IM system! Please use libempathy and libempathy-gtk to make your live easier.
– MissionControl 4.65 now stores passwords in gnome-keyring, if you upgrade it don’t forget to retype the password of all accounts you configured with the old MissionControl to make sure the password get removed from gconf and added to gnome-keyring.
– Empathy 0.23.1 do not use MissionControl’s system to dispatch channels, that means that you have to make sure that you don’t keep .chandler and .service files from previous installations. If you are using packaged version of empathy it shouldn’t be a problem for you.
Question about GIT and SVN
Empathy is hosted on svn.gnome.org but I prefer using GIT for the development. In fact only translators are still using SVN, all regular empathy contributors have git branches that I can easily merge. I initially created the git repository using git-svn, then I cloned my repository on a public server so everybody can get a git clone of empathy. Other developers cloned that public repository that I keep in sync with SVN trunk.
I branched to keep 0.22.x stable and continue dev on 0.23.x. I created the gnome-2-22 branch on SVN but I don’t know how to use it with git. I would like to have that branch in my git repository and being able to cherry-pick patches from master to the gnome-2-22 branch. How can I do that? How does other GNOME maintainers that uses GIT?
You can see here how I work with git for empathy.
Audio and Video in Empathy
I released Empathy 0.22.1 yesterday and I enabled VoIP support by default! It works pretty well with latest stream-engine (0.5.0). Audio should work with SIP. Audio/Video should work with jabber and compatible with google talk.
Google Summer of Code
We currently have 3 students for the Google Summer of Code 2008. They proposed 3 really interesting tasks:
1) Create a dedicated program for named chatrooms (IRC and Jabber) looking like xchat-gnome.
2) Improve webcam support. Porting empathy to the future libstream-engine using farsight2. Integrate with cheese for effects and things like taking a photo and use it as avatar. Etc…
3) Improve chat themes by plugins. Add optional use of webkit to display adium themes.
Edit: GSoC projects are not yet accepted, those are only proposed tasks for now.