diff -Nru gwibber-3.4.2/debian/changelog gwibber-3.4.2/debian/changelog --- gwibber-3.4.2/debian/changelog 2013-07-08 19:35:07.000000000 +0000 +++ gwibber-3.4.2/debian/changelog 2014-03-03 19:18:39.000000000 +0000 @@ -1,3 +1,13 @@ +gwibber (3.4.2-0ubuntu2.4) precise-proposed; urgency=medium + + * debian/patches/lp_1287211.patch + - Facebook's data structure for likes has changed, fix for parsing + and getting a count (LP: #1287211) + * debian/patches/lp_1286639.patch + - Ensure all calls to twitter.com use SSL (LP: #1286639) + + -- Ken VanDine Mon, 03 Mar 2014 13:38:17 -0500 + gwibber (3.4.2-0ubuntu2.3) precise-proposed; urgency=low * debian/patches/lp_1190479.patch diff -Nru gwibber-3.4.2/debian/patches/lp_1286639.patch gwibber-3.4.2/debian/patches/lp_1286639.patch --- gwibber-3.4.2/debian/patches/lp_1286639.patch 1970-01-01 00:00:00.000000000 +0000 +++ gwibber-3.4.2/debian/patches/lp_1286639.patch 2014-03-03 19:15:23.000000000 +0000 @@ -0,0 +1,35 @@ +Index: gwibber/gwibber/microblog/plugins/twitter/gtk/twitter/__init__.py +=================================================================== +--- gwibber.orig/gwibber/microblog/plugins/twitter/gtk/twitter/__init__.py 2014-03-03 10:43:51.758768000 -0500 ++++ gwibber/gwibber/microblog/plugins/twitter/gtk/twitter/__init__.py 2014-03-03 14:15:21.240696220 -0500 +@@ -75,7 +75,7 @@ + tokendata = urllib2.urlopen(request.http_url, request.to_postdata()).read() + self.token = oauth.OAuthToken.from_string(tokendata) + +- url = "http://api.twitter.com/oauth/authorize?oauth_token=" + self.token.key ++ url = "https://api.twitter.com/oauth/authorize?oauth_token=" + self.token.key + + web.load_uri(url) + web.connect("title-changed", self.on_twitter_auth_title_change) +@@ -141,7 +141,7 @@ + apireq = oauth.OAuthRequest.from_consumer_and_token( + self.consumer, atok, + http_method="GET", +- http_url="http://api.twitter.com/1.1/account/verify_credentials.json", parameters=None) ++ http_url="https://api.twitter.com/1.1/account/verify_credentials.json", parameters=None) + + apireq.sign_request(sigmeth, self.consumer, atok) + +Index: gwibber/gwibber/microblog/plugins/twitter/__init__.py +=================================================================== +--- gwibber.orig/gwibber/microblog/plugins/twitter/__init__.py 2014-03-03 10:43:51.758768000 -0500 ++++ gwibber/gwibber/microblog/plugins/twitter/__init__.py 2014-03-03 13:36:23.656619314 -0500 +@@ -398,7 +398,7 @@ + else: return [] + + def _search(self, **args): +- data = network.Download("http://search.twitter.com/search.json", util.compact(args)) ++ data = network.Download("https://search.twitter.com/search.json", util.compact(args)) + data = data.get_json()["results"] + + if type(data) != list: diff -Nru gwibber-3.4.2/debian/patches/lp_1287211.patch gwibber-3.4.2/debian/patches/lp_1287211.patch --- gwibber-3.4.2/debian/patches/lp_1287211.patch 1970-01-01 00:00:00.000000000 +0000 +++ gwibber-3.4.2/debian/patches/lp_1287211.patch 2014-03-03 18:30:21.000000000 +0000 @@ -0,0 +1,15 @@ +Index: gwibber/gwibber/microblog/plugins/facebook/__init__.py +=================================================================== +--- gwibber.orig/gwibber/microblog/plugins/facebook/__init__.py 2014-03-03 13:29:32.000891000 -0500 ++++ gwibber/gwibber/microblog/plugins/facebook/__init__.py 2014-03-03 13:30:17.668607273 -0500 +@@ -221,9 +221,9 @@ + m["likes"] = {} + m["likes"]["liked"] = False + if isinstance(data["likes"], dict): +- m["likes"]["count"] = data["likes"]["count"] + if data["likes"].has_key("data"): + m["likes"]["data"] = data["likes"]["data"] ++ m["likes"]["count"] = len(data["likes"]["data"]) + for d in m["likes"]["data"]: + if self.user_id == str(d["id"]): + m["likes"]["liked"] = True diff -Nru gwibber-3.4.2/debian/patches/series gwibber-3.4.2/debian/patches/series --- gwibber-3.4.2/debian/patches/series 2013-07-08 19:34:31.000000000 +0000 +++ gwibber-3.4.2/debian/patches/series 2014-03-03 18:35:27.000000000 +0000 @@ -4,3 +4,5 @@ lp_1058672.patch lp_1088775.patch lp_1190479.patch +lp_1287211.patch +lp_1286639.patch