diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-12-31 07:07:16 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-12-31 07:07:16 +0000 |
commit | 9b4fa31ad49ea4993b46fba2bd1e8d6fe84f89d5 (patch) | |
tree | 23b53f3e659a907becb2bdf1dafcbd40596fd4a2 | |
parent | 8f0d0e0ae9cbdff66e380c06121b905ddf77d162 (diff) | |
download | pkgsrc-9b4fa31ad49ea4993b46fba2bd1e8d6fe84f89d5.tar.gz |
Update to 2.1
Changelog:
CHANGES FROM 2.0 to 2.1 18 October 2015
Incompatible Changes
====================
* Mouse-mode has been rewritten. There's now no longer options for:
- mouse-resize-pane
- mouse-select-pane
- mouse-select-window
- mode-mouse
Instead there is just one option: 'mouse' which turns on mouse support
entirely.
* 'default-terminal' is now a session option. Furthermore, if this is set
to 'screen-*' then emulate what screen does. If italics are wanted, this
can be set to 'tmux' but this is still new and not necessarily supported
on all platforms with older ncurses installs.
* The c0-* options for rate-limiting have been removed. Instead, a backoff
approach is used.
Normal Changes
==============
* New formats:
- session_activity
- window_linked
- window_activity_format
- session_alerts
- session_last_attached
- client_pid
- pid
* 'copy-selection', 'append-selection', 'start-named-buffer' now understand
an '-x' flag to prevent it exiting copying mode.
* 'select-pane' now understands '-P' to set window/pane background colours.
* 'renumber-windows' now understands windows which are unlinked.
* 'bind' now understands multiple key tables. Allows for key-chaining.
* 'select-layout' understands '-o' to undo the last layout change.
* The environment is updated when switching sessions as well as attaching.
* 'select-pane' now understands '-M' for marking a pane. This marked pane
can then be used with commands which understand src-pane specifiers
automatically.
* If a session/window target is prefixed with '=' then only an exact match
is considered.
* 'move-window' understands '-a'.
* 'update-environment' understands '-E' when attach-session is used on an
already attached client.
* 'show-environment' understands '-s' to output Bourne-compatible commands.
* New option: 'history-file' to save/restore command prompt history.
* Copy mode is exited if the history is cleared whilst in copy-mode.
* 'copy-mode' learned '-e' to exit copy-mode when scrolling to end.
-rw-r--r-- | misc/tmux/Makefile | 17 | ||||
-rw-r--r-- | misc/tmux/distinfo | 14 | ||||
-rw-r--r-- | misc/tmux/patches/patch-Makefile.am (renamed from misc/tmux/patches/patch-Makefile.in) | 8 | ||||
-rw-r--r-- | misc/tmux/patches/patch-server-client.c | 16 |
4 files changed, 29 insertions, 26 deletions
diff --git a/misc/tmux/Makefile b/misc/tmux/Makefile index fee765a3667..fd5b2980a1c 100644 --- a/misc/tmux/Makefile +++ b/misc/tmux/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.31 2015/11/16 03:16:50 ryoon Exp $ +# $NetBSD: Makefile,v 1.32 2015/12/31 07:07:16 ryoon Exp $ -DISTNAME= tmux-2.0 -PKGREVISION= 2 +DISTNAME= tmux-2.1 CATEGORIES= misc -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tmux/} +MASTER_SITES= ${MASTER_SITE_GITHUB:=tmux/} +GITHUB_PROJECT= tmux +GITHUB_TAG= 2.1 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://tmux.github.io/ @@ -13,6 +14,8 @@ LICENSE= modified-bsd GNU_CONFIGURE= yes USE_TERMINFO= yes +USE_TOOLS+= automake + .include "../../mk/bsd.prefs.mk" .include "../../mk/compiler.mk" .if !empty(MACHINE_PLATFORM:MSunOS-5.1[0-9]-*) && \ @@ -25,6 +28,12 @@ BUILDLINK_TRANSFORM+= opt:-D_XPG4_2:-D_XPG6 CPPFLAGS+= -D__DARWIN_VERS_1050=0 .endif +pre-configure: + set -e; cd ${WRKSRC}; \ + mkdir -p etc; \ + aclocal; \ + automake --add-missing --force-missing --copy --foreign; autoreconf + .include "../../devel/libevent/buildlink3.mk" BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10 .include "../../mk/terminfo.buildlink3.mk" diff --git a/misc/tmux/distinfo b/misc/tmux/distinfo index 38b98af1559..7e5fffd909d 100644 --- a/misc/tmux/distinfo +++ b/misc/tmux/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.28 2015/11/03 23:49:53 agc Exp $ +$NetBSD: distinfo,v 1.29 2015/12/31 07:07:16 ryoon Exp $ -SHA1 (tmux-2.0.tar.gz) = 977871e7433fe054928d86477382bd5f6794dc3d -RMD160 (tmux-2.0.tar.gz) = 5114e1e9d78667291375efcbd9be657b4f175806 -SHA512 (tmux-2.0.tar.gz) = 8a4be40ceb9b371a91107173de08348c4379b103454fa397ee326506f78a5fda1034dc7148c090c687221eddb8a2fc0c3aeb85da57841df6bcd74fb5f4f5f53d -Size (tmux-2.0.tar.gz) = 455754 bytes -SHA1 (patch-Makefile.in) = 9908c1f23603a735dd7b083b35cbfa7fc1fb4b3a -SHA1 (patch-server-client.c) = 1cd724559d5cac935b4bbb1d02a7927ae54ae3fc +SHA1 (tmux-2.1.tar.gz) = df182bd69b2f9b5c238c2a777d92a37479fd4b30 +RMD160 (tmux-2.1.tar.gz) = 993ab8b4bbb5ff7ccf146910dfe821b8c5499ada +SHA512 (tmux-2.1.tar.gz) = 73e917125413917f5a6edd105aa3fdcb5655fa96def26d7e7f1b75a598062d15124960fe38e2a7eafec950ad8039e4f783cb6c533ca7872ac64795425e750a2a +Size (tmux-2.1.tar.gz) = 588644 bytes +SHA1 (patch-Makefile.am) = 4578ec2aa2c4e0f3c81801568b1eaecdf7b67cf1 +SHA1 (patch-server-client.c) = 64bd26054f220d80f3ba1cf117425f216a004987 diff --git a/misc/tmux/patches/patch-Makefile.in b/misc/tmux/patches/patch-Makefile.am index db8d1e40941..e744b6980ad 100644 --- a/misc/tmux/patches/patch-Makefile.in +++ b/misc/tmux/patches/patch-Makefile.am @@ -1,12 +1,12 @@ -$NetBSD: patch-Makefile.in,v 1.2 2015/05/16 20:27:49 ryoon Exp $ +$NetBSD: patch-Makefile.am,v 1.1 2015/12/31 07:07:16 ryoon Exp $ At least on SunOS, lang/nawk (nawk-20050424nb3) insists on a space between -f and the program file name, by penalty of "/opt/local/bin/nawk: no program filename" ---- Makefile.in.orig 2015-05-06 22:49:42.000000000 +0000 -+++ Makefile.in -@@ -1208,7 +1208,7 @@ install-exec-hook: +--- Makefile.am.orig 2015-10-18 17:10:43.000000000 +0000 ++++ Makefile.am +@@ -242,7 +242,7 @@ install-exec-hook: >$(srcdir)/tmux.1.mdoc; \ else \ sed -e "s|@SYSCONFDIR@|$(sysconfdir)|g" $(srcdir)/tmux.1| \ diff --git a/misc/tmux/patches/patch-server-client.c b/misc/tmux/patches/patch-server-client.c index 98dc9e52327..106c71fd425 100644 --- a/misc/tmux/patches/patch-server-client.c +++ b/misc/tmux/patches/patch-server-client.c @@ -1,18 +1,12 @@ -$NetBSD: patch-server-client.c,v 1.2 2013/10/06 09:01:41 obache Exp $ +$NetBSD: patch-server-client.c,v 1.3 2015/12/31 07:07:16 ryoon Exp $ * SunOS errno support needs the right include. * timersub is missing on Solaris10 ---- server-client.c.orig 2013-03-26 19:22:31.000000000 +0000 +--- server-client.c.orig 2015-10-18 17:10:43.000000000 +0000 +++ server-client.c -@@ -26,8 +26,24 @@ - #include <time.h> - #include <unistd.h> +@@ -29,6 +29,18 @@ -+#ifdef __sun -+#include <errno.h> -+#endif -+ #include "tmux.h" +#ifndef timersub @@ -27,6 +21,6 @@ $NetBSD: patch-server-client.c,v 1.2 2013/10/06 09:01:41 obache Exp $ + } while (0) +#endif + + void server_client_key_table(struct client *, const char *); + void server_client_free(int, short, void *); void server_client_check_focus(struct window_pane *); - void server_client_check_resize(struct window_pane *); - void server_client_check_mouse(struct client *, struct window_pane *); |