pkgsrc-Bugs archive

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

pkg/45916: Outdated textproc/wdiff package in pkgsrc-current (1.0.1 vs. 1.1.0); patch included



>Number:         45916
>Category:       pkg
>Synopsis:       Outdated textproc/wdiff package in pkgsrc-current (1.0.1 vs. 
>1.1.0); patch included
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 03 00:35:01 +0000 2012
>Originator:     Bug Hunting
>Release:        
>Organization:
>Environment:
>Description:
The textproc/wdiff package in pkgsrc-current currently holds wdiff version 
1.0.1,
while the current upstream release is 1.1.0; updating is desired, as also
noted in pkgsrc/doc/TODO since r1.10676 of the file.

Changes since release 1.0.1, as taken from the `NEWS' file from the 1.1.0
release distfile, but at the moment of writing also (although in slighty 
different
form) listed on the homepage <http://www.gnu.org/software/wdiff/>:

* Version 1.1.0 - November 2011, by Martin von Gager

  * Updated Czech, German, Spanish, Finnish, Dutch, Polish, Slovenian,
    Swedish and Ukrainian translations.
  * Fix several issue with the use of screen in the test suite.
  * Allow WDIFF_PAGER to override PAGER environment variable.
  * Do not autodetect less, so we don't auto-enable less-mode.
    This should improve things for UTF8 text. (Savannah bug #34224)
    Less-mode is considered deprecated, as it isn't fit for multi-byte
    encodings. Nevertheless it can still be enabled on the command line.

* Version 1.0.2 - September 2011, by Martin von Gagern

  * Unofficial beta release
  * Introduces use of ngettext to allow correct handling of plural forms

While here, update the description in the `DESCR' file to today's contents of
<http://www.gnu.org/software/wdiff/> (see patch below).

When the package is updated, doc/TODO and doc/CHANGES-2011 should
obviously be updated accordingly as well.
>How-To-Repeat:
With an up-to-date checkout of pkgsrc-current, issue
"cd /usr/pkgsrc/textproc/wdiff; make package-name"; compare with the current
contents of <http://www.gnu.org/software/wdiff/>.
>Fix:
Apply the following proposed patch file, generated with
"cd /usr/pkgsrc/; cvs diff -u textproc/wdiff" and created, tested, and found to
work correctly on NetBSD/i386 (the MD5 sum of this patch file is
b5f3ab0891b5a587772ed9a170312760; please verify it before applying):

Index: textproc/wdiff/DESCR
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/wdiff/DESCR,v
retrieving revision 1.2
diff -u -r1.2 DESCR
--- textproc/wdiff/DESCR        23 Dec 2007 04:38:54 -0000      1.2
+++ textproc/wdiff/DESCR        3 Feb 2012 00:28:05 -0000
@@ -1,9 +1,8 @@
-`wdiff' is a front-end to GNU `diff'.  It compares two files, finding
-which words have been deleted or added to the first in order to create
-the second.  It has many output formats and interacts well with
-terminals and pagers (notably with `less').  `wdiff' is particularly
-useful when two texts differ only by a few words and paragraphs have
-been refilled.
-
-GNU `wdiff' has been written by Franc,ois Pinard.  It is an evolving
-product, and specifications might change in future releases.
+The GNU wdiff program is a front end to diff for comparing files
+on a word per word basis.  A word is anything between whitespace.
+This is useful for comparing two texts in which a few words have
+been changed and for which paragraphs have been refilled.  It works
+by creating two temporary files, one word per line, and then executes
+diff on these files.  It collects the diff output and uses it to
+produce a nicer display of word differences between the original
+files.
Index: textproc/wdiff/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/wdiff/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- textproc/wdiff/Makefile     3 Oct 2011 13:55:37 -0000       1.21
+++ textproc/wdiff/Makefile     3 Feb 2012 00:28:05 -0000
@@ -1,14 +1,14 @@
 # $NetBSD: Makefile,v 1.21 2011/10/03 13:55:37 ryoon Exp $
 #
 
-DISTNAME=              wdiff-1.0.1
+DISTNAME=              wdiff-1.1.0
 CATEGORIES=            textproc
 MASTER_SITES=          ${MASTER_SITE_GNU:=wdiff/}
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://www.gnu.org/software/wdiff/wdiff.html
+HOMEPAGE=              http://www.gnu.org/software/wdiff/
 COMMENT=               Word-by-word diff
-LICENSE=               gnu-gpl-v3
+LICENSE=               gnu-gpl-v3 # or later
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
Index: textproc/wdiff/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/wdiff/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- textproc/wdiff/distinfo     3 Oct 2011 13:55:37 -0000       1.8
+++ textproc/wdiff/distinfo     3 Feb 2012 00:28:05 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.8 2011/10/03 13:55:37 ryoon Exp $
 
-SHA1 (wdiff-1.0.1.tar.gz) = 7d82dd082a8df9510ab029e89bcf3676b4d21c52
-RMD160 (wdiff-1.0.1.tar.gz) = 53a8d1a640bd6943030aa01557e52adc759b3975
-Size (wdiff-1.0.1.tar.gz) = 1294317 bytes
+SHA1 (wdiff-1.1.0.tar.gz) = 89147bf81aeb9ba4607aabd57d05bc56002d941e
+RMD160 (wdiff-1.1.0.tar.gz) = d87977019a994a03f992fc37e9565f2bad81cabc
+Size (wdiff-1.1.0.tar.gz) = 1384900 bytes



Home | Main Index | Thread Index | Old Index