Commit 3b70ba95 authored by Kapil Paranjape's avatar Kapil Paranjape Committed by Boyuan Yang

Import Debian changes 1.52-3

par (1.52-3) unstable; urgency=low

  * debian/README.Debian:
    - removed as it is about the i18n patch which is not yet ready.
  * debian/README.Debian-source:
    - added an explanation about the cosmetic differences between
      the Debian tar.gz and upstream tar.gz
  * debian/watch:
    - added entry based on current upstream numbering.
  * debian/rules:
    - set DEB_INSTALL_DOCS_ALL to debian/README.Debian-source

par (1.52-2) unstable; urgency=low

  [ Jérôme Pouiller (Jezz) ]
  * debian/patches/add_Makefile:
    - define _GNU_SOURCE_ to fix warnings
      during compilation.

  [ Mohammed Adnène Trojette ]
  * debian/patches/fix_man_spellings:
    - replace preceed with precede.
      Closes: #311229 --- really. Closes: #437895.
  * debian/changelog: remove emacs settings
  * debian/rules: switch to cdbs
  * debian/control: added cdbs to Build-Depends.

  [ Kapil Hari Paranjape ]
  * debian/control:
    - added Mohammed Adnène Trojette and
      Jérôme Pouiller to Uploaders.
    - added quilt to Build-Depends.
    - Standards-Version: 3.7.2. No changes required.
    - changed maintainer e-mail address.
    - removed space in "Home page:".
    - added XS-Vcs-Svn field.
  * debian/dirs: removed unused "/usr/sbin" entry.
  * debian/rules: switch to quilt for patch management.
  * debian/patches/catch_output_error:
    - Clarified option E and I/O errors in par.1
    - Added some output error checking if E option is 1.
      Closes: #214179.
  * debian/copyright: filled in more details about copyright on
    original source, patches and Debian changes.

par (1.52-1) unstable; urgency=low

  * New Maintainer.
  * Standards-Version: 3.6.2. No changes required.
  * DH_COMPAT=4. Needed to replace use of dh_installmanpages
    with dh_installman. Also fixed Build-Depends.
  * Incorporated spelling corrections in the
    man page. Closes: #311229.

par (1.52-0.1) unstable; urgency=low

  * NMU
  * new upstream version 1.52 (Closes: #143570)
  * new URL in debian/copyright
  * remove dh_testversion from debian/rules.
  * install file releasenotes as upstream changelog.
  * Standards-Version: 3.5.9 (Only changes to debian/rules with respect to
    compile options required)
  * make lintian happy, remove emacs settings from changelog

par (1.51-1.1) unstable; urgency=low

  * Non-maintainer upload.
  * Rebuild w/ new debhelper and no changes to finish
    /usr/doc transition. Closes: #322794, #322814

par (1.51-1) unstable; urgency=low

  * new upstream release.  more liberal license.  closes: #90201
  * recompiled to match man & doc standards.  closes: #91017, #91645

par (1.50-4) unstable; urgency=low

  * recompiled for libc6

par (1.50-3) unstable; urgency=low

  * added Section: text to debian/control

par (1.50-2) unstable; urgency=low

  * repackaged with debmake

par (1.50-1) unstable; urgency=low

  * New upstream release

par (1.41-2) unstable; urgency=low

  * recompiled as ELF

par (1.41-1) unstable; urgency=low

  * Initial Release
parent 54e03c0d
Explanation for different file sizes and checksums
--------------------------------------------------
for the upstream source and Debian source.
--------------------------------------------------
The upstream source for version 1.52 is
http://www.nicemice.net/par/Par152.tar.gz
which unpacks into a directory named Par152.
The debian source for version 1.52 unpacks into a directory
par-1.52.orig. The contents of this directory are identical
the contents of Par152 obtained from the upstream sources.
This re-packing of the upstream source was inadvertant and
will be corrected with the next upstream release.
Kapil Hari Paranjape
Sun, 26 Aug 2007 21:15:56 +0530
--
par (1.52-3) unstable; urgency=low
* debian/README.Debian:
- removed as it is about the i18n patch which is not yet ready.
* debian/README.Debian-source:
- added an explanation about the cosmetic differences between
the Debian tar.gz and upstream tar.gz
* debian/watch:
- added entry based on current upstream numbering.
* debian/rules:
- set DEB_INSTALL_DOCS_ALL to debian/README.Debian-source
-- Kapil Hari Paranjape <kapil@debian.org> Mon, 27 Aug 2007 11:40:44 +0530
par (1.52-2) unstable; urgency=low
[ Jérôme Pouiller (Jezz) ]
* debian/patches/add_Makefile:
- define _GNU_SOURCE_ to fix warnings
during compilation.
[ Mohammed Adnène Trojette ]
* debian/patches/fix_man_spellings:
- replace preceed with precede.
Closes: #311229 --- really. Closes: #437895.
* debian/changelog: remove emacs settings
* debian/rules: switch to cdbs
* debian/control: added cdbs to Build-Depends.
[ Kapil Hari Paranjape ]
* debian/control:
- added Mohammed Adnène Trojette and
Jérôme Pouiller to Uploaders.
- added quilt to Build-Depends.
- Standards-Version: 3.7.2. No changes required.
- changed maintainer e-mail address.
- removed space in "Home page:".
- added XS-Vcs-Svn field.
* debian/dirs: removed unused "/usr/sbin" entry.
* debian/rules: switch to quilt for patch management.
* debian/patches/catch_output_error:
- Clarified option E and I/O errors in par.1
- Added some output error checking if E option is 1.
Closes: #214179.
* debian/copyright: filled in more details about copyright on
original source, patches and Debian changes.
-- Kapil Hari Paranjape <kapil@debian.org> Fri, 24 Aug 2007 21:58:22 +0530
par (1.52-1) unstable; urgency=low
* New Maintainer.
* Standards-Version: 3.6.2. No changes required.
* DH_COMPAT=4. Needed to replace use of dh_installmanpages
with dh_installman. Also fixed Build-Depends.
* Incorporated spelling corrections in the
man page. Closes: #311229.
-- Kapil Hari Paranjape <kapil@imsc.res.in> Mon, 27 Mar 2006 10:29:39 +0530
par (1.52-0.1) unstable; urgency=low
* NMU
* new upstream version 1.52 (Closes: #143570)
* new URL in debian/copyright
* remove dh_testversion from debian/rules.
* install file releasenotes as upstream changelog.
* Standards-Version: 3.5.9 (Only changes to debian/rules with respect to
compile options required)
* make lintian happy, remove emacs settings from changelog
-- Andreas Metzler <ametzler@debian.org> Sun, 16 Mar 2003 16:58:06 +0100
par (1.51-1.1) unstable; urgency=low
* Non-maintainer upload.
* Rebuild w/ new debhelper and no changes to finish
/usr/doc transition. Closes: #322794, #322814
-- Joey Hess <joeyh@debian.org> Tue, 10 Jan 2006 01:14:30 -0500
par (1.51-1) unstable; urgency=low
* new upstream release. more liberal license. closes: #90201
* recompiled to match man & doc standards. closes: #91017, #91645
-- Craig Sanders <cas@taz.net.au> Sat, 31 Mar 2001 12:35:39 +1000
par (1.50-4) unstable; urgency=low
* recompiled for libc6
-- Craig Sanders <cas@taz.net.au> Wed, 10 Sep 1997 08:29:22 +1000
par (1.50-3) unstable; urgency=low
* added Section: text to debian/control
-- Craig Sanders <cas@taz.net.au> Sat, 22 Feb 1997 15:10:00 +1100
par (1.50-2) unstable; urgency=low
* repackaged with debmake
-- Craig Sanders <cas@taz.net.au> Sat, 22 Feb 1997 13:16:50 +1100
par (1.50-1) unstable; urgency=low
* New upstream release
-- Craig Sanders <cas@taz.net.au> Tue, 14 Jun 1996 00:00:00 +1100
par (1.41-2) unstable; urgency=low
* recompiled as ELF
-- Craig Sanders <cas@taz.net.au> Tue, 18 Apr 1996 00:00:00 +1100
par (1.41-1) unstable; urgency=low
* Initial Release
-- Craig Sanders <cas@taz.net.au> Tue, 26 Jan 1996 00:00:00 +1100
Source: par
Section: text
Priority: optional
Maintainer: Kapil Hari Paranjape <kapil@debian.org>
Uploaders: Mohammed Adnène Trojette <adn+deb@diwi.org>, Jérôme Pouiller (Jezz) <jezz@sysmic.org>
Build-Depends: debhelper (>= 5), cdbs (>= 0.4.23-1.1), quilt (>= 0.45-3)
XS-Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/par
Standards-Version: 3.7.2
Package: par
Architecture: any
Depends: ${shlibs:Depends}
Description: Paragraph reformatter
Greatly enhanced fmt type program by Adam M. Costello.
.
Can be used within vi or other editor to automatically reformat text
in a variety of ways.
.
Perfect for use with email & usenet messages as it correctly handles
multiple levels of quoting characters.
.
This version includes a patch allowing multi-byte and multi-width character
encodings.
.
Homepage: http://www.nicemice.net/par/
This package was debianized by Craig Sanders cas@taz.net.au on
Sat, 31 Mar 2001 12:35:39 +1000.
It is currently maintained by Kapil Hari Paranjape
<kapil@imsc.res.in>, Mohammed Adnène Trojette <adn+deb@diwi.org>
and Jérôme Pouiller (Jezz) <jezz@sysmic.org>.
Upstream:
It was downloaded from http://www.nicemice.net/par/
The Upstream author is Adam M. Costello <amc@nicemice.net>.
Patches:
The i18n patch was provided by Jérôme Pouiller (Jezz) <jezz@sysmic.org>.
The debian patches are distributed under the same license as that of
the rest of the source. (See below.)
Copyright:
Each file in the source carries a header of the following form (which
was taken from par.c):
/* Copyright 2001 by */
/* Adam M. Costello */
The file "par.doc" contains the copyright notice which reads as follows:
The files listed in the Files List section above are each Copyright
2000 by Adam M. Costello (henceforth "I", "me").
I grant everyone ("you") permission to do whatever you like with
these files, provided that if you modify them you take reasonable
steps to avoid confusing or misleading people about who wrote the
modified files (both you and I) or what version they are. All
official versions of Par will have version numbers consisting of
only digits and periods.
I encourage you to send me copies of your modifications in case I
wish to incorporate them into future versions of Par. See the Bugs
section for my address.
Though I have tried to make sure that Par is free of bugs, I make no
guarantees about its soundness. Therefore, I am not responsible for
any damage resulting from the use of these files.
---
Document: par
Title: Debian par Manual
Author: Adam M. Costello
Abstract: paragraph reformatter
Section: text
Format: text
Files: /usr/share/doc/par/par.doc.gz
This diff is collapsed.
# add a Makefile that sets up variables for
# the protoMakefile from upstream
Index: par-1.52/Makefile
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ par-1.52/Makefile 2006-10-05 08:16:49.000000000 +0530
@@ -0,0 +1,17 @@
+#! /usr/bin/make
+
+BIN=$(DESTDIR)/usr/bin
+DOC=$(DESTDIR)/usr/share/doc/par
+MAN=$(DESTDIR)/usr/share/man/man1
+
+include protoMakefile
+
+CC = cc $(CFLAGS) -c -D_GNU_SOURCE
+
+install: par par.doc
+ install -o root -g root -m 0755 par $(BIN)/par
+ install -d $(DOC) -o root -g root -m 0755
+ install -o root -g root -m 0644 par.doc $(DOC)
+ install -d $(MAN) -o root -g root -m 0755
+ install -o root -g root -m 0644 par.1 $(MAN)
+
Index: par-1.52/par.c
===================================================================
--- par-1.52.orig/par.c 2007-08-24 07:19:50.000000000 +0530
+++ par-1.52/par.c 2007-08-24 07:20:05.000000000 +0530
@@ -18,6 +18,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <wchar.h>
#undef NULL
#define NULL ((void *) 0)
# This patch adds an output error check when
# the E option is set.
# This patch also modifies the man page to explain why
# the output error checking is not done when E is not set.
Index: par-1.52/par.1
===================================================================
--- par-1.52.orig/par.1 2007-08-24 07:31:16.000000000 +0530
+++ par-1.52/par.1 2007-08-24 07:51:14.000000000 +0530
@@ -1144,10 +1144,14 @@
or environment variable syntax are accompanied by
the same usage message that the help option produces.
.LP
-Of course, trying to print an error message would be
+Unless the option
+.BI E
+is set, trying to print an error message would be
futile if an error resulted from an output function, so
.B par
-doesn't bother doing any error checking on output functions.
+doesn't bother doing any error checking on output functions if
+.BI E
+is 0.
.SH EXAMPLES
.de VS
.RS -.5i
Index: par-1.52/par.c
===================================================================
--- par-1.52.orig/par.c 2007-08-24 07:31:16.000000000 +0530
+++ par-1.52/par.c 2007-08-24 07:49:06.000000000 +0530
@@ -17,6 +17,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
#undef NULL
#define NULL ((void *) 0)
@@ -893,6 +894,11 @@
if (props) free(props);
if (outlines) freelines(outlines);
+ if (Err == 1) {
+ if ( fclose(stdout) == EOF )
+ sprintf(errmsg,"%.*s\n",errmsg_size,strerror(errno));
+ }
+
errout = Err ? stderr : stdout;
if (*errmsg) fprintf(errout, "par error:\n%.*s", errmsg_size, errmsg);
if (version) fputs("par 1.52\n",errout);
# This patch fixes spelling errors in the man pages
Index: par-1.52/par.1
===================================================================
--- par-1.52.orig/par.1 2006-10-13 07:37:39.000000000 +0530
+++ par-1.52/par.1 2006-10-13 07:37:39.000000000 +0530
@@ -220,7 +220,7 @@
advance the divider over any immediately
following spaces. The comprelen of
.I S
-is the number of characters preceeding the divider.
+is the number of characters preceding the divider.
.IP comsuflen
Given a non-empty sequence
.I S
@@ -249,7 +249,7 @@
.I body
is 1, place the divider just before the first
non-space non-body character, then back up
-the divider over one immediately preceeding
+the divider over one immediately preceding
space if there is one. The comsuflen of
.I S
is the number of characters following the divider.
@@ -853,7 +853,7 @@
.IR Tab )
spaces, where
.I n
-is the number of characters preceeding the
+is the number of characters preceding the
tab character on the line (evaluated after
earlier tab characters have been expanded).
.LP
@@ -917,7 +917,7 @@
in the
.SM OPTIONS
section). The first word includes any
-spaces that preceed it on the same line.
+spaces that precede it on the same line.
.LP
Let
.I L
@@ -1135,7 +1135,7 @@
.B par
will return
.BR \s-1EXIT_FAILURE\s0 .
-If the error is local to a single paragraph, the preceeding
+If the error is local to a single paragraph, the preceding
paragraphs will have been output before the error
was detected. Line numbers in error messages are
local to the IP in which the error occurred. All
catch_output_errors
fix_man_spellings
add_Makefile
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
DEB_MAKE_CLEAN_TARGET := clean
DEB_MAKE_BUILD_TARGET := par par.doc
DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/par/
# no check for this software
DEB_MAKE_CHECK_TARGET :=
DEB_INSTALL_CHANGELOGS_ALL := releasenotes
DEB_INSTALL_DOCS_ALL := debian/README.Debian-source
# format version number, currently 3; this line is compulsory!
version=3
http://www.nicemice.net/par/Par(\d)(\d\d).tar.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment