Update sayaka to 3.2.2.

Upstream changes:

* 3.2.2 (2016/09/25)
 * switch to libcurl instead of glib-networking
 * implement --post and --ciphers options
 * support display of extended_tweet

* 3.2.1 (2016/04/24)
 * implement --filter and --record options
 * implement editing NG words
 * reflect 'don't show Retweets by this user' settings
 * add support for thumbnail of Shindan-maker
 * print Unicode foreign letters
 * compressed display of continuous RTs and favs
This commit is contained in:
tsutsui 2016-10-09 17:15:18 +00:00
parent c86216e797
commit 25a77b12d3
3 changed files with 23 additions and 14 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.5 2016/08/03 10:23:17 adam Exp $
# $NetBSD: Makefile,v 1.6 2016/10/09 17:15:18 tsutsui Exp $
DISTNAME= sayaka-3.2.0
PKGREVISION= 2
DISTNAME= sayaka-3.2.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=isaki68k/}
GITHUB_PROJECT= ${DISTNAME:S/-${PKGVERSION_NOREV}//}
@ -12,8 +11,6 @@ HOMEPAGE= https://github.com/isaki68k/sayaka
COMMENT= Terminal specific Twitter client
LICENSE= modified-bsd
DEPENDS+= glib-networking-[0-9]*:../../net/glib-networking
USE_TOOLS+= pax pkg-config
INSTALLATION_DIRS+= bin share/sayaka
@ -39,4 +36,5 @@ BUILDLINK_API_DEPENDS.vala+= vala>=0.28.0
.include "../../lang/vala/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.1 2016/02/27 14:30:58 tsutsui Exp $
$NetBSD: distinfo,v 1.2 2016/10/09 17:15:18 tsutsui Exp $
SHA1 (sayaka-3.2.0.tar.gz) = 010cf54c52390da25ffcfbd6dbbd90d01232d878
RMD160 (sayaka-3.2.0.tar.gz) = 44989c936ab9a7371472c3d5376eb07e0e04f0ad
SHA512 (sayaka-3.2.0.tar.gz) = 064164b4149ac02d716b24253427c086383f772c1d6c4d3b189878146f2f70868874ad4eecb6290d24b0f1e091bdcab2f7f10f87f89a88f2d37c206a023dd4f6
Size (sayaka-3.2.0.tar.gz) = 91518 bytes
SHA1 (patch-vala_sayaka.vala) = 32e40ade29ed326e739eae7d25cb78723ee750b9
SHA1 (sayaka-3.2.2.tar.gz) = 897bd4f4bdb20d859c31ca34519b9686cd2b1f3b
RMD160 (sayaka-3.2.2.tar.gz) = f78fb30306e6c7c01391edc9fbfc873561abe8ba
SHA512 (sayaka-3.2.2.tar.gz) = 6418e2a54562163c691a0c71d9f5221295fbdf9af139a42cc3bbf1dc3ac480a870e5fc7efe8a59a7db58c43b7102d31603d1b4bf9b622abf159fb5eb66ce6454
Size (sayaka-3.2.2.tar.gz) = 104693 bytes
SHA1 (patch-vala_sayaka.vala) = ad1010da1f9c75f2cad669cf419beba5ea46f59f

View file

@ -1,10 +1,12 @@
$NetBSD: patch-vala_sayaka.vala,v 1.1 2016/02/27 14:30:58 tsutsui Exp $
$NetBSD: patch-vala_sayaka.vala,v 1.2 2016/10/09 17:15:18 tsutsui Exp $
- use colormap files installed into pkgsrc dir
- pull upstream fix:
https://github.com/isaki68k/sayaka/commit/c2b2974d75cc63cfd51f57253b112257ee912f6e
--- vala/sayaka.vala.orig 2016-02-24 12:58:04.000000000 +0000
--- vala/sayaka.vala.orig 2016-09-25 11:53:37.000000000 +0000
+++ vala/sayaka.vala
@@ -176,7 +176,7 @@ public class SayakaMain
@@ -170,7 +170,7 @@ public class SayakaMain
cachedir = basedir + "cache";
tokenfile = basedir + "token.json";
ngwordfile = basedir + "ngword.json";
@ -13,3 +15,12 @@ $NetBSD: patch-vala_sayaka.vala,v 1.1 2016/02/27 14:30:58 tsutsui Exp $
address_family = SocketFamily.INVALID; // UNSPEC
color_mode = 256;
@@ -1445,7 +1445,7 @@ public class SayakaMain
}
//
- if (media_entities != null) {
+ if (media_entities != null && media_entities.Has("media")) {
var media = media_entities.GetArray("media");
for (var i = 0; i < media.length; i++) {
var m = media.index(i);