pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/sayaka sayaka: pull an upstream fix for monochrome...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fcc33530d89
branches:  trunk
changeset: 410751:6fcc33530d89
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Tue Jan 28 15:00:45 2020 +0000

description:
sayaka: pull an upstream fix for monochrome screen support.

Bump PKGREVISION.
Twitter filterstream timeline on Sun3/60 running NetBSD/sun3 9.0_RC1 by
sayaka was demonstrated on NetBSD booth at Open Source Conference 2020 Osaka.
 https://mail-index.netbsd.org/netbsd-advocacy/2020/01/28/msg000823.html

diffstat:

 net/sayaka/Makefile                       |   3 ++-
 net/sayaka/distinfo                       |   3 ++-
 net/sayaka/patches/patch-vala_sayaka.vala |  21 +++++++++++++++++++++
 3 files changed, 25 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 70ee95578161 -r 6fcc33530d89 net/sayaka/Makefile
--- a/net/sayaka/Makefile       Tue Jan 28 14:35:47 2020 +0000
+++ b/net/sayaka/Makefile       Tue Jan 28 15:00:45 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2020/01/12 13:47:17 tsutsui Exp $
+# $NetBSD: Makefile,v 1.20 2020/01/28 15:00:45 tsutsui Exp $
 
 DISTNAME=      sayaka-3.4.1
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=isaki68k/}
 GITHUB_PROJECT=        ${DISTNAME:S/-${PKGVERSION_NOREV}//}
diff -r 70ee95578161 -r 6fcc33530d89 net/sayaka/distinfo
--- a/net/sayaka/distinfo       Tue Jan 28 14:35:47 2020 +0000
+++ b/net/sayaka/distinfo       Tue Jan 28 15:00:45 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2020/01/12 13:47:17 tsutsui Exp $
+$NetBSD: distinfo,v 1.10 2020/01/28 15:00:45 tsutsui Exp $
 
 SHA1 (sayaka-3.4.1.tar.gz) = 03e7ed7251d79cef957a0c976185c659a24c9779
 RMD160 (sayaka-3.4.1.tar.gz) = 350ee7f192d757e1d0f2e5e6ce40ca159995bc76
 SHA512 (sayaka-3.4.1.tar.gz) = cb2709b7a7dd4285b2c615235da692bf31c6390df40689e1da3c1b5bae46eb25c1c1c29667e9cfbb1ee0d09cc28da95a09d5b155949cfbb206f78e21438164b0
 Size (sayaka-3.4.1.tar.gz) = 1967534 bytes
+SHA1 (patch-vala_sayaka.vala) = 6cccbdbaaf1f79cfc09317a8e80c634e1eb99df9
diff -r 70ee95578161 -r 6fcc33530d89 net/sayaka/patches/patch-vala_sayaka.vala
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/sayaka/patches/patch-vala_sayaka.vala Tue Jan 28 15:00:45 2020 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-vala_sayaka.vala,v 1.4 2020/01/28 15:00:45 tsutsui Exp $
+
+- pull upstream change for monochrome terminal settings:
+ https://github.com/isaki68k/sayaka/commit/7746eed85599a72f03ff464e21b5cbeae46ab7c2
+--- vala/sayaka.vala.orig      2020-01-12 07:03:03.000000000 +0000
++++ vala/sayaka.vala
+@@ -1811,6 +1811,14 @@ public class SayakaMain
+               string fav;
+               string gray;
+ 
++              // 2è?²ã?ªã??ã??ã?­ã?¹ã??ã?«è?²(ã??ä½?ã?®å±?æ?§ã??)ã?¤ã??ã?ªã??
++              if (color_mode != ColorFixedX68k && color_mode <= 2) {
++                      for (var i = 0; i < Color.Max; i++) {
++                              color2esc[i] = "";
++                      }
++                      return;
++              }
++
+               // é»?è??æ?¯ã??ç?½è??æ?¯ã??ã?§è?²å??ã??ã??å¤?ã??ã??ã?»ã??ã??読ã?¿ã??ã??ã??
+               if (bg_white) {
+                       blue = BLUE;



Home | Main Index | Thread Index | Old Index