--- libtext-wrapi18n-perl-0.06.orig/debian/changelog +++ libtext-wrapi18n-perl-0.06/debian/changelog @@ -0,0 +1,106 @@ +libtext-wrapi18n-perl (0.06-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)": + use DESTDIR in debian/rules. + (Closes: #795629) + + -- gregor herrmann Wed, 26 Aug 2015 18:12:58 +0200 + +libtext-wrapi18n-perl (0.06-7) unstable; urgency=low + + * Fix infinite loop in Text::WrapI18N + 01-470250-WrapI18N.pm.patch by Nicolas François + closes: 470250 + * Build depend on quilt + * Standards Version is 3.8.1 + * DH compatibility level is 7 + * Run dh_prep instead of dh_clean -k + + -- Anibal Monsalve Salazar Wed, 10 Jun 2009 07:58:32 +1000 + +libtext-wrapi18n-perl (0.06-6) unstable; urgency=low + + * Added debian/watch file + * Added homepage control header + * Bumped Standards-Version to 3.7.3 + * Fixed the following lintian issues: + - debian-rules-ignores-make-clean-error + - package-has-a-duplicate-build-relation + + -- Anibal Monsalve Salazar Thu, 28 Feb 2008 21:01:26 +1100 + +libtext-wrapi18n-perl (0.06-5) unstable; urgency=low + + * Set Standards-Version to 3.7.2. + * Set debian/compat to 5. + * Fixed "build-depends-indep-should-be-build-depends debhelper". + + -- Anibal Monsalve Salazar Thu, 22 Jun 2006 15:49:23 +1000 + +libtext-wrapi18n-perl (0.06-4) unstable; urgency=low + + * Set priority to required in debian/control. + + -- Anibal Monsalve Salazar Sat, 22 Oct 2005 14:04:42 +1000 + +libtext-wrapi18n-perl (0.06-3) unstable; urgency=low + + * Set Standard-Version to 3.6.2 and added homepage address in + debian/control. + + -- Anibal Monsalve Salazar Sun, 09 Oct 2005 00:10:06 +1000 + +libtext-wrapi18n-perl (0.06-2) unstable; urgency=low + + * New maintainer. + * Updated Policy's Standard-Version to 3.6.1. + + -- Anibal Monsalve Salazar Sat, 14 May 2005 12:41:56 +1000 + +libtext-wrapi18n-perl (0.06-1) unstable; urgency=low + + * New upstream version. + + Clearification of the license. + * Rewrote the Description: field. + * Previous versions are not adopted into Debian archive yet, + so I did a right ITP which I forgot to do (Closes: #198761). + + -- Tomohiro KUBOTA Wed, 25 Jun 2003 18:13:46 +0900 + +libtext-wrapi18n-perl (0.05-1) unstable; urgency=low + + * New upstream version. + + -- Tomohiro KUBOTA Sun, 22 Jun 2003 17:34:18 +0900 + +libtext-wrapi18n-perl (0.04-1) unstable; urgency=low + + * New upstream version. + + -- Tomohiro KUBOTA Sun, 22 Jun 2003 11:56:19 +0900 + +libtext-wrapi18n-perl (0.03-1) unstable; urgency=low + + * New upstream version. + + Added test. + * Fill in download site (CPAN) in debian/copyright file, + prepared to upload to Debian. + * Initial version for Debian upload. + + -- Tomohiro KUBOTA Sun, 22 Jun 2003 09:18:52 +0900 + +libtext-wrapi18n-perl (0.02-1) unstable; urgency=low + + * New upstream version + + First version for CPAN. + + Changed module name from Text::Wrapi18n to Text::WrapI18N. + + -- Tomohiro KUBOTA Fri, 20 Jun 2003 23:33:44 +0900 + +libtext-wrapi18n-perl (0.01-1) unstable; urgency=low + + * Initial Release. + + -- Tomohiro KUBOTA Thu, 19 Jun 2003 22:09:55 +0900 + --- libtext-wrapi18n-perl-0.06.orig/debian/compat +++ libtext-wrapi18n-perl-0.06/debian/compat @@ -0,0 +1 @@ +7 --- libtext-wrapi18n-perl-0.06.orig/debian/control +++ libtext-wrapi18n-perl-0.06/debian/control @@ -0,0 +1,20 @@ +Source: libtext-wrapi18n-perl +Section: perl +Priority: required +Maintainer: Anibal Monsalve Salazar +Build-Depends: debhelper (>= 7), quilt +Build-Depends-Indep: perl (>= 5.8.0) +Standards-Version: 3.8.1 +Homepage: http://search.cpan.org/search?module=Text::WrapI18N + +Package: libtext-wrapi18n-perl +Architecture: all +Depends: libtext-charwidth-perl, ${Perl:Depends} +Description: internationalized substitute of Text::Wrap + This module is a substitution for Text::Wrap, supporting + multibyte characters such as UTF-8, EUC-JP, and GB2312, fullwidth + characters such as east Asian characters, combining characters + such as diacritical marks and Thai, and languages which don't + use whitespaces between words such as Chinese and Japanese. + . + It provides wrap(). --- libtext-wrapi18n-perl-0.06.orig/debian/copyright +++ libtext-wrapi18n-perl-0.06/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Tomohiro KUBOTA on +Thu, 19 Jun 2003 23:09:55 +0900. + +It was downloaded from http://www.cpan.org/modules/by-module/Text/Text-WrapI18n-.tar.gz + +Upstream Author: Tomohiro KUBOTA + +Copyright: + +Copyright (C) 2003 Tomohiro KUBOTA + +This library is free software; you can redistribute it and/or modify it +under the same terms of either: + + a) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later + version, or + + b) the "Artistic License" which comes with Perl. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL' and +the Artistic Licence in `/usr/share/common-licenses/Artistic'. + --- libtext-wrapi18n-perl-0.06.orig/debian/dirs +++ libtext-wrapi18n-perl-0.06/debian/dirs @@ -0,0 +1,2 @@ +usr/share/perl5/Text +usr/share/man/man3 --- libtext-wrapi18n-perl-0.06.orig/debian/docs +++ libtext-wrapi18n-perl-0.06/debian/docs @@ -0,0 +1 @@ +README --- libtext-wrapi18n-perl-0.06.orig/debian/patches/01-470250-WrapI18N.pm.patch +++ libtext-wrapi18n-perl-0.06/debian/patches/01-470250-WrapI18N.pm.patch @@ -0,0 +1,23 @@ +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470250 + +The infinite loop occurs in Text::WrapI18N when po4a tries to report an +error in the PO files. + +I could reproduce the problem in WrapI18N::wrap() and I propose the +attached patch to WrapI18N::wrap(). (A word should be placed on the +next line if it fits on this line, but the leading header must be taken +into account, thus $columns -> $columns - length $header) + +Nicolas François + +--- a/WrapI18N.pm 2003-06-25 11:14:25.000000000 +0200 ++++ b/WrapI18N.pm 2008-03-13 02:04:02.628000837 +0100 +@@ -88,7 +88,7 @@ sub wrap { + $len = 0; + $text = $top2 . $text; + $word = ''; $wlen = 0; +- } elsif ($wlen + $w <= $columns) { ++ } elsif ($wlen + $w <= $columns - length ($top2)) { + # the current word is sent to next line + $out .= $separator; + $len = 0; --- libtext-wrapi18n-perl-0.06.orig/debian/patches/series +++ libtext-wrapi18n-perl-0.06/debian/patches/series @@ -0,0 +1 @@ +01-470250-WrapI18N.pm.patch --- libtext-wrapi18n-perl-0.06.orig/debian/rules +++ libtext-wrapi18n-perl-0.06/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# This debian/rules was configured by Tomohiro KUBOTA. + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +include /usr/share/quilt/quilt.make + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: patch build-stamp + +build-stamp: configure-stamp + dh_testdir + perl Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-Wall $(CFLAGS)" + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean Makefile.old Makefile + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install DESTDIR=`pwd`/debian/libtext-wrapi18n-perl + +# Build architecture-independent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_perl -d + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libtext-wrapi18n-perl-0.06.orig/debian/watch +++ libtext-wrapi18n-perl-0.06/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/Text/Text-WrapI18N-(.*)\.tar\.gz