summaryrefslogtreecommitdiff
path: root/misc/tmux
diff options
context:
space:
mode:
authorjmmv <jmmv>2011-08-17 16:57:18 +0000
committerjmmv <jmmv>2011-08-17 16:57:18 +0000
commit0424a2004e09598746917891ea22bc902b3d5cfb (patch)
tree0535b3fac11be4555a3f39008aa7a4f709cc1563 /misc/tmux
parentccd48f8c3a37ebb8ebbd0b86de64181dc914cc81 (diff)
downloadpkgsrc-0424a2004e09598746917891ea22bc902b3d5cfb.tar.gz
Update to 1.5:
The official list of changes is shown below. However, this release also switches to use GNU Autoconf and Automake, yet this is not shown in the list of changes. This fact obsoletes our previous local changes, although new portability problems might arise. CHANGES FROM 1.4 TO 1.5, 09 July 2011 * Support xterm mouse modes 1002 and 1003. * Change from a per-session stack of buffers to one global stack. This renders copy-buffer useless and makes buffer-limit now a server option. * Fix most-recently-used choice by avoiding reset the activity timer for unattached sessions every second. * Add a -P option to new-window and split-window to print the new window or pane index in target form (useful to pass it into other commands). * Handle a # at the end of a replacement string (such as status-left) correctly. * Support for UTF-8 mouse input (\033[1005h) which was added in xterm 262. If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all UTF-8 terminals. The option defaults to on if LANG etc are set in the same manner as the utf8 option. * Support for HP-UX. * Accept colours of the hex form #ffffff and translate to the nearest from the xterm(1) 256-colour set. * Clear the non-blocking IO flag (O_NONBLOCK) on the stdio file descriptors before closing them (fixes things like "tmux ls && cat"). * Use TMPDIR if set. * Fix next and previous session functions to actually work. * Support -x and -y for new-session to specify the initial size of the window if created detached with -d. * Make bind-key accept characters with the top-bit-set and print them as octal. * Set $TMUX without the session when background jobs are run. * Simplify the way jobs work and drop the persist type, so all jobs are fire-and-forget. * Accept tcgetattr/tcsetattr(3) failure, fixes problems with fatal() if the terminal disappears while locked. * Add a -P option to detach to HUP the client's parent process (usually causing it to exit as well). * Support passing through escape sequences to the underlying terminal by using DCS with a "tmux;" prefix. * Prevent tiled producing a corrupt layout when only one column is needed. * Give each pane created in a tmux server a unique id (starting from 0), put it in the TMUX_PANE environment variable and accept it as a target. * Allow a start and end line to be specified for capture-pane which may be negative to capture part of the history. * Add -a and -s options to lsp to list all panes in the server or session respectively. Likewise add -s to lsw. * Change -t on display-message to be target-pane for the #[A-Z] replacements and add -c as target-client. * The attach-session command now prefers the most recently used unattached session. * Add -s option to detach-client to detach all clients attached to a session. * Add -t to list-clients. * Change window with mouse wheel over status line if mouse-select-window is on. * When mode-mouse is on, automatically enter copy mode when the mouse is dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel is scrolled off the bottom. * Provide #h character pair for short hostname (no domain). * Don't use strnvis(3) for the title as it breaks UTF-8. * Use the tsl and fsl terminfo(5) capabilities to update terminal title and automatically fill them in on terminals with the XT capability (which means their title setting is xterm-compatible). * Add a new option, mouse-resize-pane. When on, panes may be resized by dragging their borders. * Fix crash by resetting last pane on {break,swap}-pane across windows. * Add three new copy-mode commands - select-line, copy-line, copy-end-of-line. * Support setting the xterm clipboard when copying from copy mode using the xterm escape sequence for the purpose (if xterm is configured to allow it). * Support xterm(1) cursor colour change sequences through terminfo(5) Cc (set) and Cr (reset) extensions. * Support DECSCUSR sequence to set the cursor style with two new terminfo(5) extensions, Cs and Csr. * Make the command-prompt custom prompts recognize the status-left option character pairs. * Add a respawn-pane command. * Add a couple of extra xterm-style keys that gnome terminal provides. * Allow the initial context on prompts to be set with the new -I option to command-prompt. Include the current window and session name in the prompt when renaming and add a new key binding ($) for rename session. * Option bell-on-alert added to trigger the terminal bell when there is an alert. * Change the list-keys format so that it shows the keys using actual tmux commands which should be able to be directly copied into the config file. * Show full targets for lsp/lsw -a. * Make confirm-before prompt customizable with -p option like command-prompt and add the character pairs #W and #P to the default kill-{pane,window} prompts. * Avoid sending data to suspended/locked clients. * Small memory leaks in error paths plugged. * Vi mode improvements.
Diffstat (limited to 'misc/tmux')
-rw-r--r--misc/tmux/Makefile7
-rw-r--r--misc/tmux/distinfo8
-rw-r--r--misc/tmux/patches/patch-aa16
-rw-r--r--misc/tmux/patches/patch-ab54
4 files changed, 7 insertions, 78 deletions
diff --git a/misc/tmux/Makefile b/misc/tmux/Makefile
index 137e8478171..791a31fe1ea 100644
--- a/misc/tmux/Makefile
+++ b/misc/tmux/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2011/02/28 14:52:57 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2011/08/17 16:57:18 jmmv Exp $
-DISTNAME= tmux-1.4
-PKGREVISION= 1
+DISTNAME= tmux-1.5
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tmux/}
@@ -12,7 +11,7 @@ LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
-HAS_CONFIGURE= yes
+GNU_CONFIGURE= yes
USE_TERMINFO= yes
.include "../../devel/libevent/buildlink3.mk"
diff --git a/misc/tmux/distinfo b/misc/tmux/distinfo
index 3336b1c3d9c..8e5e0a5266f 100644
--- a/misc/tmux/distinfo
+++ b/misc/tmux/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2011/03/14 06:06:58 rumko Exp $
+$NetBSD: distinfo,v 1.14 2011/08/17 16:57:19 jmmv Exp $
-SHA1 (tmux-1.4.tar.gz) = c0cb9b01aee9b2b5c939bacccd5c78cf6fa6773e
-RMD160 (tmux-1.4.tar.gz) = d8d09ccac7c1c79244f96beccbd6d52f1cc50d1b
-Size (tmux-1.4.tar.gz) = 259614 bytes
+SHA1 (tmux-1.5.tar.gz) = e26132f02f344f8d6d06ae87d11f6a7aad880f67
+RMD160 (tmux-1.5.tar.gz) = 08eec02bcbd91b3c37a36a05167f3758e7911973
+Size (tmux-1.5.tar.gz) = 374093 bytes
SHA1 (patch-aa) = e50976effc9fa43044d45055aabd86a69d9d9047
SHA1 (patch-ab) = 35dc1e7e8d0cd1bac40c2def39fbaed76d80b3c5
diff --git a/misc/tmux/patches/patch-aa b/misc/tmux/patches/patch-aa
deleted file mode 100644
index 30ab3abfd8c..00000000000
--- a/misc/tmux/patches/patch-aa
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2009/07/08 20:59:11 hasso Exp $
-
---- Makefile.orig 2009-07-04 00:42:13.000000000 +0100
-+++ Makefile
-@@ -56,7 +56,7 @@ clean-all: clean
- rm -f config.h config.mk
-
- install: all
-- ${INSTALLDIR} ${DESTDIR}${PREFIX}/bin
-- ${INSTALLBIN} tmux ${DESTDIR}${PREFIX}/bin/
-- ${INSTALLDIR} ${DESTDIR}${PREFIX}/man/man1
-- ${INSTALLMAN} tmux.1 ${DESTDIR}${PREFIX}/man/man1/
-+ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
-+ ${BSD_INSTALL_PROGRAM} tmux ${DESTDIR}${PREFIX}/bin/
-+ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/man/man1
-+ ${BSD_INSTALL_MAN} tmux.1 ${DESTDIR}${PREFIX}/man/man1/
diff --git a/misc/tmux/patches/patch-ab b/misc/tmux/patches/patch-ab
deleted file mode 100644
index 5efa2cad215..00000000000
--- a/misc/tmux/patches/patch-ab
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-ab,v 1.8 2011/03/14 06:06:58 rumko Exp $
-
-Deal with DragonFly BSD separately from FreeBSD.
---- configure.orig 2010-06-06 13:00:47.000000000 +0000
-+++ configure
-@@ -205,7 +205,7 @@ SRCS+= osdep-darwin.c \
- EOF
- ;;
- # ------------------------------------------------------------------------------
-- FreeBSD|DragonFly)
-+ FreeBSD)
- cat <<EOF >>$CONFIG_H
- #define HAVE_ASPRINTF
- #define HAVE_BROKEN_KQUEUE
-@@ -236,6 +236,39 @@ SRCS+= osdep-freebsd.c \
- EOF
- ;;
- # ------------------------------------------------------------------------------
-+ DragonFly)
-+ cat <<EOF >>$CONFIG_H
-+#define HAVE_ASPRINTF
-+#define HAVE_BZERO
-+#define HAVE_CLOSEFROM
-+#define HAVE_DAEMON
-+#define HAVE_FGETLN
-+#define HAVE_FORKPTY
-+#define HAVE_GETOPT
-+#define HAVE_LIBUTIL_H
-+#define HAVE_LOGIN_CAP
-+#define HAVE_PATHS_H
-+#define HAVE_POLL
-+#define HAVE_PROGNAME
-+#define HAVE_SETPROCTITLE
-+#define HAVE_STRCASESTR
-+#define HAVE_STRLCAT
-+#define HAVE_STRLCPY
-+#define HAVE_STRTONUM
-+#define HAVE_STRSEP
-+#define HAVE_TREE_H
-+#define HAVE_U_INT
-+EOF
-+ cat <<EOF >>$CONFIG_MK
-+LIBS+= -lcurses -lcrypt -lutil -levent
-+SRCS+= osdep-unknown.c \
-+ compat/vis.c \
-+ compat/unvis.c \
-+ compat/imsg-buffer.c \
-+ compat/imsg.c
-+EOF
-+ ;;
-+# ------------------------------------------------------------------------------
- NetBSD)
- cat <<EOF >>$CONFIG_H
- #define HAVE_ASPRINTF