--- libxml-um-perl-0.01.orig/debian/control +++ libxml-um-perl-0.01/debian/control @@ -0,0 +1,32 @@ +Source: libxml-um-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Jay Bonci , + Ansgar Burchardt +Standards-Version: 3.8.3 +Homepage: http://search.cpan.org/dist/XML-UM/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-um-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libxml-um-perl/ +Build-Depends: debhelper (>= 7.0.8~), quilt (>= 0.46-7) +Build-Depends-Indep: perl, libxml-encoding-perl + +Package: libxml-um-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, libxml-encoding-perl +Description: Perl module for converting UTF-8 strings + The XML::UM module provides methods to convert UTF-8 strings to any XML + encoding that XML::Encoding supports. It creates mapping routines + from the .xml files that can be found in the maps/ directory in the + XML::Encoding distribution. Note that the XML::Encoding distribution + does install the .enc files in your perl directory, but not the.xml + files they were created from. That's why you have to specify $ENCDIR + as in the SYNOPSIS. + . + This implementation uses the XML::Encoding class to parse the .xml + file and creates a hash that maps UTF-8 characters (each consisting + of up to 4 bytes) to their equivalent byte sequence in the specified + encoding. Note that large mappings may consume a lot of memory! + . + Future implementations may parse the .enc files directly, or do the + conversions entirely in XS (i.e. C code). --- libxml-um-perl-0.01.orig/debian/copyright +++ libxml-um-perl-0.01/debian/copyright @@ -0,0 +1,29 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Maintainer: T.J. Mather +Source: http://search.cpan.org/dist/XML-UM/ +Name: XML-UM + +Copyright: © 1999-2000, Enno Derksen +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: + © 2001-2003, Ardo van Rangelrooij + © 2004-2007, Jay Bonci + © 2010, Ansgar Burchardt +License: Artistic | GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in `/usr/share/common-licenses/Artistic' + +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libxml-um-perl-0.01.orig/debian/watch +++ libxml-um-perl-0.01/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/XML-UM/ .*/XML-UM-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libxml-um-perl-0.01.orig/debian/compat +++ libxml-um-perl-0.01/debian/compat @@ -0,0 +1 @@ +7 --- libxml-um-perl-0.01.orig/debian/README.source +++ libxml-um-perl-0.01/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libxml-um-perl-0.01.orig/debian/changelog +++ libxml-um-perl-0.01/debian/changelog @@ -0,0 +1,93 @@ +libxml-um-perl (0.01-8) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). + * Set Maintainer to Debian Perl Group. + * Use dist-based URL in debian/watch. + * Split the fix for #402585 out into a patch; add quilt framework. + * Add debian/README.source to document quilt usage, as required by + Debian Policy since 3.8.0. + * debian/control: Added: ${misc:Depends} to Depends: field. + + [ Salvatore Bonaccorso ] + * debian/control: Changed: Replace versioned (build-)dependency on + perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as + permitted by Debian Policy 3.8.3). + + [ Ansgar Burchardt ] + * Refresh rules for debhelper 7. + * debian/control: Mention module name in description. + * debian/control: Remove duplicate Section, Priority fields from + binary package stanza. + * debian/control: Remove Conflicts, Replaces libxml-enno-perl + (no longer in Debian). + * Bump Standards-Version to 3.8.3. + * Add myself to Uploaders. + * debian/watch: Use extended regular expression to match upstream releases. + * Convert debian/copyright to proposed machine-readable format. + + -- Ansgar Burchardt Sun, 03 Jan 2010 20:12:20 +0900 + +libxml-um-perl (0.01-7) unstable; urgency=low + + * Fixes bad hardcoded path (Closes: #402585) + * Fixed watchfile so that uupdate will work + * Bumped policy-version to 3.7.2.2 (No other changes) + * Moved debhelper to Build-Depends instead of -Indep + * Added specific dependancy on perl (>= 5.6.0-16) + * Only conditionally ignore make clean errors for lintian + + -- Jay Bonci Sat, 07 Jul 2007 18:29:21 -0400 + +libxml-um-perl (0.01-6) unstable; urgency=low + + * Adds debian/watch file so uscan will work + + -- Jay Bonci Wed, 27 Oct 2004 13:18:26 -0400 + +libxml-um-perl (0.01-5) unstable; urgency=low + + * New Maintainer (Closes: #210546) + * Bumped policy version to 3.6.1.0 (No other changes) + * Clarified license to explicate the dual nature of the perl license + * Removed .install file as it is no longer needed + * Removed .docs file as it installed only a stub README with install and + license info, that is contained elsewhere + * Moved over to my standard rules file template + + -- Jay Bonci Mon, 15 Mar 2004 15:47:45 -0500 + +libxml-um-perl (0.01-4) unstable; urgency=low + + * debian/rules: moved debhelper compatibility level setting to + 'debian/compat' per latest debhelper best practices + * debian/control: updated sections according to latest archive changes: + - 'libxml-um-perl' from 'interpreters' to 'perl' + * debian/control: upgraded build dependency on 'debhelper' to '>= 4.1' + * debian/control: upgraded to Debian Policy 3.6.0 (no changes) + + -- Ardo van Rangelrooij Thu, 4 Sep 2003 22:37:12 -0500 + +libxml-um-perl (0.01-3) unstable; urgency=low + + * debian/rules: upgraded to debhelper v4 + * debian/control: changed build dependency on debhelper accordingly + * debian/rules: migrated from 'dh_movefiles' to 'dh_install' + * debian/rules: split off 'install' target from 'binary-indep' target + * debian/copyright: added pointer to license + + -- Ardo van Rangelrooij Thu, 8 Aug 2002 20:26:42 -0500 + +libxml-um-perl (0.01-2) unstable; urgency=low + + * debian/control: upgraded to Debian Policy 3.5.6 + + -- Ardo van Rangelrooij Sun, 23 Dec 2001 20:53:47 -0600 + +libxml-um-perl (0.01-1) unstable; urgency=low + + * Initial release as a separate package + (closes: Bug#102909, Bug#105700) + + -- Ardo van Rangelrooij Mon, 3 Sep 2001 12:45:24 -0500 --- libxml-um-perl-0.01.orig/debian/rules +++ libxml-um-perl-0.01/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh --with quilt $@ --- libxml-um-perl-0.01.orig/debian/patches/path.patch +++ libxml-um-perl-0.01/debian/patches/path.patch @@ -0,0 +1,15 @@ +Author: Jay Bonci +Descriptin: Fixes bad hardcoded path +Bug: #402585 + +--- a/UM.pm ++++ b/UM.pm +@@ -24,7 +24,7 @@ my $UTFCHAR = '[\\x00-\\xBF]|[\\xC0-\\xD + # The directory that contains the .xml files that come with XML::Encoding. + # Include the terminating '\' or '/' !! + # +-$ENCDIR = "/home1/enno/perlModules/XML-Encoding-1.01/maps/"; ++$ENCDIR = "/usr/share/libxml-encoding-perl/"; + #$ENCDIR = "c:\\src\\perl\\xml\\XML-Encoding-1.01\\maps\\"; + + # --- libxml-um-perl-0.01.orig/debian/patches/series +++ libxml-um-perl-0.01/debian/patches/series @@ -0,0 +1 @@ +path.patch