{"id":40,"date":"2009-06-12T19:21:32","date_gmt":"2009-06-12T07:21:32","guid":{"rendered":"http:\/\/eion.robbmob.com\/blog\/?p=40"},"modified":"2009-06-12T19:21:32","modified_gmt":"2009-06-12T07:21:32","slug":"pidgin-facebookchat-v1-51-important-changes","status":"publish","type":"post","link":"https:\/\/eion.robbmob.com\/blog\/2009\/06\/12\/pidgin-facebookchat-v1-51-important-changes\/","title":{"rendered":"pidgin-facebookchat v1.51 important changes"},"content":{"rendered":"<p>By the time you read this, I&#8217;ll have come out with a <a href=\"http:\/\/code.google.com\/p\/pidgin-facebookchat\/wiki\/Changelog#Version_1.51\">new version<\/a> of the <a href=\"http:\/\/pidgin-facebookchat.googlecode.com\/\">pidgin-facebookchat plugin<\/a>.  There are some significant changes that downstream packagers will want to pay attention to.<\/p>\n<p>The main one you&#8217;ll bump into, is that the plugin now uses the <a href=\"http:\/\/live.gnome.org\/JsonGlib\">json-glib<\/a> library.  It&#8217;s <a href=\"http:\/\/code.google.com\/p\/pidgin-facebookchat\/source\/browse\/trunk\/libjson-glib-1.0.dll\">included in svn<\/a> if you don&#8217;t want to compile it yourself, but it&#8217;ll be good to make a package for your distro to include it, since not all distro&#8217;s have it.  From now, we&#8217;ll be moving over the string-parsing code to use the new json-glib stuff.  The buddy list has been the first thing ported over, and by the next version we&#8217;ll have moved all the code over to using it.<\/p>\n<p>The other important change is that the plugin can use <a href=\"http:\/\/www.zlib.net\/\">zlib<\/a> for requesting compressed data from the Facebook servers.  <a href=\"http:\/\/eion.robbmob.com\/blog\/2009\/05\/06\/gzip-encoding\/\">gzip content encoding<\/a> is nothing new, but it was a P.I.T.A. to code up in C.  To enable it, you&#8217;ll need to use the -DHAVE_ZLIB compiler flag.  I&#8217;ve found that the data savings are around 75%, so you&#8217;ll make your fellow distro-users happy by enabling it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By the time you read this, I&#8217;ll have come out with a new version of the pidgin-facebookchat plugin. There are some significant changes that downstream packagers will want to pay attention to. The main one you&#8217;ll bump into, is that the plugin now uses the json-glib library. It&#8217;s included in svn if you don&#8217;t want [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3CEsE-E","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/40"}],"collection":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":0,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}