Browse Source

weechat: Enable mouse by default

android-5
Fredrik Fornwall 10 years ago
parent
commit
2bbb49a63f
  1. 2
      packages/weechat/build.sh
  2. 14
      packages/weechat/src-core-wee-config.c.patch

2
packages/weechat/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://weechat.org/ TERMUX_PKG_HOMEPAGE=http://weechat.org/
TERMUX_PKG_DESCRIPTION="Fast, light and extensible IRC chat client" TERMUX_PKG_DESCRIPTION="Fast, light and extensible IRC chat client"
TERMUX_PKG_VERSION=1.2 TERMUX_PKG_VERSION=1.2
TERMUX_PKG_BUILD_REVISION=3 TERMUX_PKG_BUILD_REVISION=4
TERMUX_PKG_SRCURL=http://www.weechat.org/files/src/weechat-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SRCURL=http://www.weechat.org/files/src/weechat-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="ncurses, libgcrypt, libcurl, libgnutls, libandroid-support" TERMUX_PKG_DEPENDS="ncurses, libgcrypt, libcurl, libgnutls, libandroid-support"
# weechat-curses is a symlink to weechat, so remove it: # weechat-curses is a symlink to weechat, so remove it:

14
packages/weechat/src-core-wee-config.c.patch

@ -0,0 +1,14 @@
Enable mouse support by default.
diff -u -r ../weechat-1.2/src/core/wee-config.c ./src/core/wee-config.c
--- ../weechat-1.2/src/core/wee-config.c 2015-05-10 03:24:50.000000000 -0400
+++ ./src/core/wee-config.c 2015-08-12 00:20:55.006420493 -0400
@@ -2619,7 +2619,7 @@
weechat_config_file, ptr_section,
"mouse", "boolean",
N_("enable mouse support"),
- NULL, 0, 0, "off", NULL, 0, NULL, NULL, &config_change_mouse, NULL, NULL, NULL);
+ NULL, 0, 0, "on", NULL, 0, NULL, NULL, &config_change_mouse, NULL, NULL, NULL);
config_look_mouse_timer_delay = config_file_new_option (
weechat_config_file, ptr_section,
"mouse_timer_delay", "integer",
Loading…
Cancel
Save