pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/dvtm Update 0.9 to 0.13



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3403345d1907
branches:  trunk
changeset: 643028:3403345d1907
user:      mef <mef%pkgsrc.org@localhost>
date:      Wed Dec 10 04:52:55 2014 +0000

description:
Update 0.9 to 0.13
  From the web page: http://www.brain-dump.org/projects/dvtm/
dvtm-0.13 released (15.11.2014)
------------------------------
   Changes include:
 * rewritten copy mode as an external process

   Upon MOD+e dvtm pipes the whole screen buffer content to $EDITOR.
   Whatever the editor writes to stdout will be stored in an internal
   dvtm register for later pasting with MOD+p.

   This only works if your editor of choice is usable as a filter i.e:

     echo Hello World | $EDITOR - | cat

   An alternative editor to use can be set with the environment variable
   $DVTM_EDITOR. Instructions for the intended usage together with vis
   can be found at:

     http://lists.suckless.org/dev/1411/23973.html

 * tagging concept working the same as in dwm. Current key bindings are
   as follows:

       Mod-F[1..n]
       Mod-v-[1..n]
              View all windows with nth tag.

       Mod-0 View all windows with any tag.

       Mod-v-Tab
              Toggles to the previously selected tags.

       Mod-V-[1..n]
              Add/remove all windows with nth tag to/from the view.

       Mod-t-[1..n]
              Apply nth tag to focused window.

       Mod-T-[1..n]
              Add/remove nth tag to/from focused window.

   The default configuration sets up five different tags (1-5).

 * rudimentarily sanitize $SHELL such that SHELL=dvtm dvtm is no longer
   a fork bomb.
 * more flexible key binding configuration including the possibility
   to specify key bindings involving 3 subsequent symbols.
 * unified drawing of minimized windows always on the last screen line.
   Previously the arrangement of those minimized windows was done by the
   individual layouts.
 * use of pselect(2) instead of select(2) in order to fix a race condition.
 * cleanups and comments for the terminal emulation code (vt.[ch]).
   This is also in preparation for eventual use in vis.
   Support for italic attributes and terminfo entries ({r,s}itm).
   Recognize '\033];title\007' as title changing sequence.
 * build system (i.e config.mk) should now respect $TERMINFO and $PREFIX
   if set. By default _POSIX_C_SOURCE=200809L and _XOPEN_SOURCE=700 is
   used, if you get compile errors change them to match whatever your
   system needs to expose the required interfaces.
 * Solaris and AIX support (with some tweaks to config.mk)
All in all a lot of code was changed, comments, patches and a thorough
review is always welcome!

As a kind of social experiment I also pushed a mirror of the repository
to github:
 https://github.com/martanne/dvtm

dvtm-0.12 released (05.07.2014)
------------------------------
   Changes include:
 * fixes to the redraw logic
 * new copymode key bindings CTRL+u (page-up), CTRL+d (page-down), CTRL+c (quit)
 * a new layout included in the source tarball but not enabled by default:
   vstack where all windows have the full screen width
 * cleanups to the build system and manual page

The tagging branch[1] has also been rebased. Special thanks to Mark Edgar
for his patches.
dvtm-0.11 released (08.03.2014)
------------------------------
   Changes since the 0.10 release include:
 * keybindings can be defined without any modifier key as result
   config.def.h was reindented. Sorry for the resulting merge
   conflicts.
 * scroll up and down is now also bound to Shift-Page{Up,Down}
 * the window border is no longer drawn if there exists only 1 window.
   This means when you start dvtm without any command you will just
   get a normal shell prompt without any decoration. This might be
   useful for people who use a terminal without builtin scrollback
   buffer support.
 * MOD+Tab switches to the previously focused window
 * Upon terminal resize the whole screen is completely redrawn. This
   fixes an issue with the optimized redraw logic introduced in the
   last release when attaching to an existing session with dtach or
   abduco.
 * the lock functionality (MOD-X) has been removed, use a session
   management tool like abduco to detach from your controlling
   terminal and logout properly using the existing system mechanism.

dvtm-0.10 released (28.12.2013)
------------------------------
  This is mostly a bugfix release with
 * improved redraw logic to reduce cursor flickering
 * better non blocking input handling
 * a couple of fixes to dvtm.info terminfo description (kbs, rs1)
 * various other fixes (fd leakage, misuse of strncpy, handling of I/O errors)
as there were changes to dvtm.info make sure to install the new version.
Furthermore I've rebased the tagging branch, which provides the same tagging
facilities that we know and love from dwm, on top of master:

diffstat:

 misc/dvtm/Makefile         |   5 ++---
 misc/dvtm/distinfo         |  10 +++++-----
 misc/dvtm/patches/patch-aa |  12 ++++++------
 3 files changed, 13 insertions(+), 14 deletions(-)

diffs (69 lines):

diff -r 4e25558a3e25 -r 3403345d1907 misc/dvtm/Makefile
--- a/misc/dvtm/Makefile        Wed Dec 10 02:40:04 2014 +0000
+++ b/misc/dvtm/Makefile        Wed Dec 10 04:52:55 2014 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2013/11/24 07:38:41 dholland Exp $
+# $NetBSD: Makefile,v 1.11 2014/12/10 04:52:55 mef Exp $
 
-DISTNAME=      dvtm-0.9
-PKGREVISION=   1
+DISTNAME=      dvtm-0.13
 CATEGORIES=    misc
 MASTER_SITES=  http://www.brain-dump.org/projects/dvtm/
 
diff -r 4e25558a3e25 -r 3403345d1907 misc/dvtm/distinfo
--- a/misc/dvtm/distinfo        Wed Dec 10 02:40:04 2014 +0000
+++ b/misc/dvtm/distinfo        Wed Dec 10 04:52:55 2014 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2013/05/21 12:34:02 adam Exp $
+$NetBSD: distinfo,v 1.10 2014/12/10 04:52:55 mef Exp $
 
-SHA1 (dvtm-0.9.tar.gz) = 74b9d1f5172fddd6839d932e483d36c6d0ef4b04
-RMD160 (dvtm-0.9.tar.gz) = 26dd89e223c7b903ff14a93e5442855b02a72669
-Size (dvtm-0.9.tar.gz) = 34557 bytes
-SHA1 (patch-aa) = 2161324f44bf0e368a8476b64f5800e369f1486a
+SHA1 (dvtm-0.13.tar.gz) = 8a4fc2440faa3050244e5a492fb6766899e0c0d7
+RMD160 (dvtm-0.13.tar.gz) = 3b9fc0e2616179bae036b9ade00fd72c0d335345
+Size (dvtm-0.13.tar.gz) = 35651 bytes
+SHA1 (patch-aa) = 468fdc831372b9c78c9c7f5606f7c6246bb2943f
diff -r 4e25558a3e25 -r 3403345d1907 misc/dvtm/patches/patch-aa
--- a/misc/dvtm/patches/patch-aa        Wed Dec 10 02:40:04 2014 +0000
+++ b/misc/dvtm/patches/patch-aa        Wed Dec 10 04:52:55 2014 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-aa,v 1.5 2013/05/21 12:34:02 adam Exp $
+$NetBSD: patch-aa,v 1.6 2014/12/10 04:52:55 mef Exp $
 
 Do not use rudimentary mkdir(1), cp(1) and chmod(1): install(1) is
 simpler and more elegant to install binaries.
 
---- Makefile.orig      2013-04-03 11:18:46.000000000 +0000
-+++ Makefile
+--- Makefile.orig      2014-11-15 23:01:02.000000000 +0900
++++ Makefile   2014-12-10 12:14:44.000000000 +0900
 @@ -23,6 +23,7 @@ ${OBJ}: config.h config.mk
  dvtm: ${OBJ}
        @echo CC -o $@
@@ -13,12 +13,12 @@
  
  debug: clean
        @make CFLAGS='${DEBUG_CFLAGS}'
-@@ -42,20 +43,13 @@ dist: clean
+@@ -43,20 +44,13 @@ dist: clean
        @rm -rf dvtm-${VERSION}
  
  install: dvtm
 -      @echo stripping executable
--      @strip -s dvtm
+-      @${STRIP} dvtm
        @echo installing executable file to ${DESTDIR}${PREFIX}/bin
 -      @mkdir -p ${DESTDIR}${PREFIX}/bin
 -      @cp -f dvtm ${DESTDIR}${PREFIX}/bin
@@ -34,7 +34,7 @@
 +      ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1
 +      ${BSD_INSTALL_MAN} dvtm.1.out ${DESTDIR}${MANPREFIX}/man1/dvtm.1
        @echo installing terminfo description
--      @tic -s dvtm.info
+-      @TERMINFO=${TERMINFO} tic -s dvtm.info
  
  uninstall:
        @echo removing executable file from ${DESTDIR}${PREFIX}/bin



Home | Main Index | Thread Index | Old Index