NetBSD Problem Report #45315

From www@NetBSD.org  Tue Aug 30 15:21:58 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0FFFF63C7BD
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 30 Aug 2011 15:21:58 +0000 (UTC)
Message-Id: <20110830152156.D248863C7B0@www.NetBSD.org>
Date: Tue, 30 Aug 2011 15:21:56 +0000 (UTC)
From: bughunting@xs4all.nl
Reply-To: bughunting@xs4all.nl
To: gnats-bugs@NetBSD.org
Subject: Outdated misc/dvtm package (0.5.2 vs. 0.6 upstream) in pkgsrc-current; patch included
X-Send-Pr-Version: www-1.0

>Number:         45315
>Category:       pkg
>Synopsis:       Outdated misc/dvtm package (0.5.2 vs. 0.6 upstream) in pkgsrc-current; patch included
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 30 15:25:00 +0000 2011
>Closed-Date:    Wed Aug 31 12:56:49 +0000 2011
>Last-Modified:  Wed Aug 31 12:56:49 +0000 2011
>Originator:     Bug Hunting
>Release:        
>Organization:
>Environment:
>Description:
The misc/dvtm package in pkgsrc-current currently holds dvtm version 0.5.2,
while the current upstream release is 0.6.  As already noted in doc/TODO,
updating is desired.

While here, update the `DESCR' file; the patch below makes it reflect today's
description as can be found on <http://www.freshmeat.net/projects/dvtm>,
as linked to on <http://www.brain-dump.org/projects/dvtm/#download>),
although with one minor change: s/console based/console-based/.  Also, a
minor improvement to the Makefile is made, as the first assignment to the
`SUBST_SED.makefile' variable currently holds `+=', where it can actually be
`='.

Upstream changes, to include in the pkgsrc CVS commit message, taken
from <http://lists.suckless.org/dev/1010/6146.html>, as linked to on
<http://www.brain-dump.org/projects/dvtm/#news>:

   Changes include:
    - window content buffering upon resize, this actually improves
      usability quite a bit. Thanks to Niki Yoshiuchi for the initial
      patch
    - multiplexing mode, press MOD+a and your keystrokes will be sent
      to all non minimized windows. Could be handy if you have to do
      something interactive simultaneously on multiple servers.
    - a bug fix which should prevent leaking open file descriptors

When the package has been updated, the relevant line from doc/TODO (line
528 in TODO, v1.10523) should be deleted; when it is not updated
immediately, please make that line refer to this PR instead.
>How-To-Repeat:
With an up-to-date checkout of pkgsrc-current, issue
"cd /usr/pkgsrc/misc/dvtm; make package-name"; compare with the current
content of <http://www.brain-dump.org/projects/dvtm/>.

Also, with such up-to-date checkout of pkgsrc-current, issue
"grep dvtm /usr/pkgsrc/doc/TODO".
>Fix:
Apply the proposed patches below, which were generated with
"cd /usr/pkgsrc/misc/dvtm; cvs diff -u 2>/dev/null" (the output has
MD5-checksum 91ada41ad762a61c39bac3c5686c3be0) and
created, tested, and found to work correctly on NetBSD/i386:

Index: DESCR
===================================================================
RCS file: /cvsroot/pkgsrc/misc/dvtm/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- DESCR	9 Mar 2008 17:20:47 -0000	1.1.1.1
+++ DESCR	30 Aug 2011 15:11:23 -0000
@@ -1,4 +1,6 @@
 dvtm brings the concept of tiling window management, popularized by X11-window
-managers like dwm to the console. As a console window manager it tries to make
-it easy to work with multiple console based programs like vim, mutt, cmus or
-irssi.
+managers like dwm, to the console. As a console window manager, it tries to make
+it easy to work with multiple console-based programs like vim, mutt, cmus, or
+irssi. dvtm is intended to be used where X11 isn't available or over SSH. In
+conjunction with dtach, it can be seen as a lightweight alternative to GNU
+screen.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/dvtm/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	8 Jul 2009 06:28:22 -0000	1.4
+++ Makefile	30 Aug 2011 15:11:23 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.4 2009/07/08 06:28:22 tnn Exp $
 #

-DISTNAME=	dvtm-0.5.2
+DISTNAME=	dvtm-0.6
 CATEGORIES=	misc
 MASTER_SITES=	http://www.brain-dump.org/projects/dvtm/

@@ -20,7 +20,7 @@
 SUBST_STAGE.makefile=	pre-build
 SUBST_MESSAGE.makefile=	Fixing config.mk
 SUBST_FILES.makefile=	config.mk
-SUBST_SED.makefile+=	-e 's,/usr/local,${PREFIX},g'
+SUBST_SED.makefile=	-e 's,/usr/local,${PREFIX},g'
 SUBST_SED.makefile+=	-e 's,share/man,${PKGMANDIR},g'
 SUBST_SED.makefile+=	-e 's,^CFLAGS =,CFLAGS +=,'
 SUBST_SED.makefile+=	-e 's,^LDFLAGS =,LDFLAGS +=,'
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/misc/dvtm/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo	8 Jul 2009 06:28:22 -0000	1.5
+++ distinfo	30 Aug 2011 15:11:23 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.5 2009/07/08 06:28:22 tnn Exp $

-SHA1 (dvtm-0.5.2.tar.gz) = b688048fc93a28722f1ed50b64d275fbdae5cd43
-RMD160 (dvtm-0.5.2.tar.gz) = e23395dc96713640ede4ab4846168c3e9044dd40
-Size (dvtm-0.5.2.tar.gz) = 26340 bytes
+SHA1 (dvtm-0.6.tar.gz) = 5d5b5c7518ead9f08bae28c081bf2abbb4472933
+RMD160 (dvtm-0.6.tar.gz) = 19201c82df18a4cccf45228aa056529c9f4a16c3
+Size (dvtm-0.6.tar.gz) = 26542 bytes
 SHA1 (patch-aa) = 2de5ef5ff718918b61c9c73a1137efaefeaf81c1

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45315 CVS commit: pkgsrc/misc/dvtm
Date: Wed, 31 Aug 2011 12:54:58 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Wed Aug 31 12:54:58 UTC 2011

 Modified Files:
 	pkgsrc/misc/dvtm: DESCR Makefile distinfo

 Log Message:
 Update dvtm to 0.6.
 PR#45315 by Bug Hunting.

 Changes include:

  - window content buffering upon resize, this actually improves
     usability quite a bit. Thanks to Niki Yoshiuchi for the initial
     patch

  - multiplexing mode, press MOD+a and your keystrokes will be sent
     to all non minimized windows. Could be handy if you have to do
     something interactive simultaneously on multiple servers.

  - a bug fix which should prevent leaking open file descriptors


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/misc/dvtm/DESCR
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/dvtm/Makefile
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/dvtm/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Wed, 31 Aug 2011 12:56:49 +0000
State-Changed-Why:
Updated.  Thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.