pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/weechat



Module Name:    pkgsrc
Committed By:   roy
Date:           Tue Feb  7 12:30:30 UTC 2017

Modified Files:
        pkgsrc/chat/weechat: Makefile distinfo
Added Files:
        pkgsrc/chat/weechat/patches: patch-src_gui_curses_gui-curses-main.c

Log Message:
Add a patch from upstream to improve screen refresh times when resized.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/chat/weechat/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/chat/weechat/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/weechat/Makefile
diff -u pkgsrc/chat/weechat/Makefile:1.70 pkgsrc/chat/weechat/Makefile:1.71
--- pkgsrc/chat/weechat/Makefile:1.70   Sun Jan 22 15:31:28 2017
+++ pkgsrc/chat/weechat/Makefile        Tue Feb  7 12:30:29 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.70 2017/01/22 15:31:28 jperkin Exp $
+# $NetBSD: Makefile,v 1.71 2017/02/07 12:30:29 roy Exp $
 
 DISTNAME=      weechat-1.7
+PKG_REVISION=  1
 CATEGORIES=    chat
 MASTER_SITES=  http://www.weechat.org/files/src/
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/chat/weechat/distinfo
diff -u pkgsrc/chat/weechat/distinfo:1.40 pkgsrc/chat/weechat/distinfo:1.41
--- pkgsrc/chat/weechat/distinfo:1.40   Sun Jan 22 01:32:53 2017
+++ pkgsrc/chat/weechat/distinfo        Tue Feb  7 12:30:29 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2017/01/22 01:32:53 ryoon Exp $
+$NetBSD: distinfo,v 1.41 2017/02/07 12:30:29 roy Exp $
 
 SHA1 (weechat-1.7.tar.bz2) = f8683d940417e8de1bfd933fff50fa1bbcf5d7b6
 RMD160 (weechat-1.7.tar.bz2) = 0a7b7faad1362599db8273edcc205c2760e917d5
@@ -8,5 +8,6 @@ SHA1 (patch-ab) = 2a4583e0f5b0336e8c42ad
 SHA1 (patch-cmake_FindRuby_cmake.patch) = c9987559eca2240fddb03023092fa8d02ad25976
 SHA1 (patch-po_CMakeLists.txt) = 9b97a4a4da4175e31ea53352fd0b95e1c985ba1e
 SHA1 (patch-src_gui_curses_CMakeLists_txt) = 28a1b3b9920cc130d0454a18b111d37b8090038b
+SHA1 (patch-src_gui_curses_gui-curses-main.c) = 928b4049177574277f8b250a4c3f6c76b6d48113
 SHA1 (patch-src_gui_curses_gui-curses-term_c) = 900af9a94e74f229b32031bfeced1b85ea3a0ccf
 SHA1 (patch-src_plugins_charset_charset.c) = f0b6e5268908caab5efa8048c8a55b0083ec0ca4

Added files:

Index: pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-main.c
diff -u /dev/null pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-main.c:1.1
--- /dev/null   Tue Feb  7 12:30:30 2017
+++ pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-main.c  Tue Feb  7 12:30:29 2017
@@ -0,0 +1,30 @@
+$NetBSD: patch-src_gui_curses_gui-curses-main.c,v 1.1 2017/02/07 12:30:29 roy Exp $
+
+Upstream commit d6977490d0c91b3417a383dd3d1a844657c09f84
+
+core: fix delayed refresh when the signal SIGWINCH is received (terminal resized)
+
+--- src/gui/curses/gui-curses-main.c.orig      2017-02-07 10:57:15.926377533 +0000
++++ src/gui/curses/gui-curses-main.c
+@@ -451,10 +451,6 @@ gui_main_loop ()
+             gui_color_pairs_auto_reset_pending = 1;
+         }
+ 
+-        gui_main_refreshs ();
+-        if (gui_window_refresh_needed && !gui_window_bare_display)
+-            gui_main_refreshs ();
+-
+         if (gui_signal_sigwinch_received)
+         {
+             (void) hook_signal_send ("signal_sigwinch",
+@@ -463,6 +459,10 @@ gui_main_loop ()
+             gui_window_ask_refresh (2);
+         }
+ 
++        gui_main_refreshs ();
++        if (gui_window_refresh_needed && !gui_window_bare_display)
++            gui_main_refreshs ();
++
+         gui_color_pairs_auto_reset_pending = 0;
+ 
+         /* execute fd hooks */



Home | Main Index | Thread Index | Old Index