tmux: Update to 2.1
authorFredrik Fornwall <fredrik@fornwall.net>
Mon, 19 Oct 2015 21:36:12 +0000 (17:36 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Mon, 19 Oct 2015 21:36:17 +0000 (17:36 -0400)
packages/tmux/build.sh
packages/tmux/tmux.conf
packages/tmux/tmux_h.patch

index 09191f2..2e96a5f 100755 (executable)
@@ -1,9 +1,8 @@
 TERMUX_PKG_HOMEPAGE=http://tmux.github.io/
 TERMUX_PKG_DESCRIPTION="Terminal multiplexer implementing switching between several programs in one terminal, detaching them and reattaching them to a different terminal"
 TERMUX_PKG_DEPENDS="ncurses, libevent, libutil"
-TERMUX_PKG_VERSION=2.0
-TERMUX_PKG_BUILD_REVISION=4
-TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/tmux/tmux/tmux-${TERMUX_PKG_VERSION}/tmux-${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_VERSION=2.1
+TERMUX_PKG_SRCURL=https://github.com/tmux/tmux/releases/download/${TERMUX_PKG_VERSION}/tmux-${TERMUX_PKG_VERSION}.tar.gz
 TERMUX_PKG_BUILD_IN_SRC=yes
 
 termux_step_post_make_install () {
index d53cd03..207e5b5 100644 (file)
@@ -1,5 +1,2 @@
-set -g mode-mouse on
-set -g mouse-select-pane on
-set -g mouse-select-window on
-set -g mouse-resize-pane on
+set -g mouse on
 set -s escape-time 0
index 27662bf..edcc83a 100644 (file)
@@ -1,7 +1,16 @@
-diff -u -r ../tmux-1.9a/tmux.h ./tmux.h
---- ../tmux-1.9a/tmux.h        2014-02-22 21:48:37.000000000 +0100
-+++ ./tmux.h   2014-02-24 08:44:04.000000000 +0100
-@@ -62,7 +62,7 @@
+diff -u -r ../tmux-2.1/tmux.h ./tmux.h
+--- ../tmux-2.1/tmux.h 2015-09-27 05:51:49.000000000 -0400
++++ ./tmux.h   2015-10-19 17:33:45.737891900 -0400
+@@ -40,7 +40,7 @@
+ extern char   **environ;
+ /* Default global configuration file. */
+-#define TMUX_CONF "/etc/tmux.conf"
++#define TMUX_CONF "@TERMUX_PREFIX@/etc/tmux.conf"
+ /*
+  * Minimum layout cell size, NOT including separator line. The scroll region
+@@ -72,7 +72,7 @@
  #define fatalx(msg) log_fatalx("%s: %s", __func__, msg);
  
  /* Definition to shut gcc up about unused arguments. */
@@ -9,4 +18,4 @@ diff -u -r ../tmux-1.9a/tmux.h ./tmux.h
 +#define unused
  
  /* Attribute to make gcc check printf-like arguments. */
- #define printflike1 __attribute__ ((format (printf, 1, 2)))
+ #define printflike(a, b) __attribute__ ((format (printf, a, b)))