r18961 - in /trunk/libcompress-zlib-perl: Changes META.yml Makefile.PL README debian/changelog debian/copyright lib/Compress/Zlib.pm pod/FAQ.pod t/000prereq.t t/compress/CompTestUtils.pm
roberto at users.alioth.debian.org
roberto at users.alioth.debian.org
Mon Apr 21 13:06:59 UTC 2008
Author: roberto
Date: Mon Apr 21 13:06:58 2008
New Revision: 18961
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18961
Log:
* New upstream release.
* Updated years of upstream copyright.
Modified:
trunk/libcompress-zlib-perl/Changes
trunk/libcompress-zlib-perl/META.yml
trunk/libcompress-zlib-perl/Makefile.PL
trunk/libcompress-zlib-perl/README
trunk/libcompress-zlib-perl/debian/changelog
trunk/libcompress-zlib-perl/debian/copyright
trunk/libcompress-zlib-perl/lib/Compress/Zlib.pm
trunk/libcompress-zlib-perl/pod/FAQ.pod
trunk/libcompress-zlib-perl/t/000prereq.t
trunk/libcompress-zlib-perl/t/compress/CompTestUtils.pm
Modified: trunk/libcompress-zlib-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/Changes?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/Changes (original)
+++ trunk/libcompress-zlib-perl/Changes Mon Apr 21 13:06:58 2008
@@ -1,5 +1,10 @@
CHANGES
-------
+
+ 2.009 20 April 2008
+
+ * Minor documentation issue with flush.
+ [rt.cpan.org #31446]
2.008 2 November 2007
Modified: trunk/libcompress-zlib-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/META.yml?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/META.yml (original)
+++ trunk/libcompress-zlib-perl/META.yml Mon Apr 21 13:06:58 2008
@@ -1,21 +1,21 @@
--- #YAML:1.0
name: Compress-Zlib
-version: 2.008
+version: 2.009
abstract: Interface to zlib compression library
license: perl
-generated_by: ExtUtils::MakeMaker version 6.36
+author:
+ - Paul Marquess <pmqs at cpan.org>
+generated_by: ExtUtils::MakeMaker version 6.44
distribution_type: module
requires:
- Compress::Raw::Zlib: 2.008
- IO::Compress::Base: 2.008
- IO::Compress::Base::Common: 2.008
- IO::Compress::Gzip: 2.008
- IO::Compress::Gzip::Constants: 2.008
- IO::Uncompress::Base: 2.008
- IO::Uncompress::Gunzip: 2.008
+ Compress::Raw::Zlib: 2.009
+ IO::Compress::Base: 2.009
+ IO::Compress::Base::Common: 2.009
+ IO::Compress::Gzip: 2.009
+ IO::Compress::Gzip::Constants: 2.009
+ IO::Uncompress::Base: 2.009
+ IO::Uncompress::Gunzip: 2.009
Scalar::Util: 0
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
-author:
- - Paul Marquess <pmqs at cpan.org>
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
+ version: 1.3
Modified: trunk/libcompress-zlib-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/Makefile.PL?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/Makefile.PL (original)
+++ trunk/libcompress-zlib-perl/Makefile.PL Mon Apr 21 13:06:58 2008
@@ -3,7 +3,7 @@
use strict ;
require 5.004 ;
-$::VERSION = '2.008' ;
+$::VERSION = '2.009' ;
use private::MakeUtil;
use ExtUtils::MakeMaker 5.16 ;
Modified: trunk/libcompress-zlib-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/README?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/README (original)
+++ trunk/libcompress-zlib-perl/README Mon Apr 21 13:06:58 2008
@@ -1,27 +1,18 @@
Compress-Zlib
- Version 2.008
+ Version 2.009
- 2nd November 2007
+ 20th April 2008
-
- Copyright (c) 1995-2007 Paul Marquess. All rights reserved.
+ Copyright (c) 1995-2008 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
-
-
-
DESCRIPTION
-----------
-
This module provides a Perl interface to the zlib compression library.
-
-
-
-
PREREQUISITES
-------------
@@ -29,14 +20,9 @@
Before you can build Compress-Zlib you need to have the following
installed on your system:
-
* Perl 5.004 or better.
* Compress::Raw::Zlib
* IO::Compress::Gzip
-
-
-
-
BUILDING THE MODULE
-------------------
@@ -48,8 +34,6 @@
make
make test
-
-
INSTALLATION
------------
@@ -57,13 +41,8 @@
make install
-
-
-
-
TROUBLESHOOTING
---------------
-
Undefined Symbol gzsetparams
----------------------------
@@ -82,8 +61,6 @@
2. Edit config.in and set the OLD_ZLIB variable to True.
-
-
Test Harness 01version fails
----------------------------
If the 01version test harness fails, and the problem isn't covered by the
@@ -95,14 +72,6 @@
make test TEST_VERBOSE=1 TEST_FILES=t/01version.t
Try removing the one you don't want to use and rebuild.
-
-
-
-
-
-
-
-
FEEDBACK
--------
@@ -137,9 +106,7 @@
If you haven't installed Compress-Zlib then search Compress::Zlib.pm
for a line like this:
- $VERSION = "2.008" ;
-
-
+ $VERSION = "2.009" ;
2. If you are having problems building Compress-Zlib, send me a
complete log of what happened. Start by unpacking the Compress-Zlib
@@ -150,5 +117,4 @@
make
make test TEST_VERBOSE=1
-
Paul Marquess <pmqs at cpan.org>
Modified: trunk/libcompress-zlib-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/debian/changelog?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/debian/changelog (original)
+++ trunk/libcompress-zlib-perl/debian/changelog Mon Apr 21 13:06:58 2008
@@ -1,3 +1,10 @@
+libcompress-zlib-perl (2.009-1) unstable; urgency=low
+
+ * New upstream release.
+ * Updated years of upstream copyright.
+
+ -- Roberto C. Sanchez <roberto at debian.org> Mon, 21 Apr 2008 09:06:23 -0400
+
libcompress-zlib-perl (2.008-2) unstable; urgency=low
[ gregor herrmann ]
Modified: trunk/libcompress-zlib-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/debian/copyright?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/debian/copyright (original)
+++ trunk/libcompress-zlib-perl/debian/copyright Mon Apr 21 13:06:58 2008
@@ -14,7 +14,7 @@
The Compress::Zlib copyright is as follows:
- Copyright (c) 1995-2007 Paul Marquess. All rights reserved.
+ Copyright (c) 1995-2008 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Modified: trunk/libcompress-zlib-perl/lib/Compress/Zlib.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/lib/Compress/Zlib.pm?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/lib/Compress/Zlib.pm (original)
+++ trunk/libcompress-zlib-perl/lib/Compress/Zlib.pm Mon Apr 21 13:06:58 2008
@@ -8,17 +8,17 @@
use IO::Handle ;
use Scalar::Util qw(dualvar);
-use IO::Compress::Base::Common 2.008 ;
-use Compress::Raw::Zlib 2.008 ;
-use IO::Compress::Gzip 2.008 ;
-use IO::Uncompress::Gunzip 2.008 ;
+use IO::Compress::Base::Common 2.009 ;
+use Compress::Raw::Zlib 2.009 ;
+use IO::Compress::Gzip 2.009 ;
+use IO::Uncompress::Gunzip 2.009 ;
use strict ;
use warnings ;
use bytes ;
our ($VERSION, $XS_VERSION, @ISA, @EXPORT, $AUTOLOAD);
-$VERSION = '2.008';
+$VERSION = '2.009';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
@@ -452,7 +452,7 @@
package Compress::Zlib ;
-use IO::Compress::Gzip::Constants 2.008 ;
+use IO::Compress::Gzip::Constants 2.009 ;
sub memGzip($)
{
@@ -583,7 +583,7 @@
($d, $status) = deflateInit( [OPT] ) ;
$status = $d->deflate($input, $output) ;
- $status = $d->flush($output [, $flush_type]) ;
+ $status = $d->flush([$flush_type]) ;
$d->deflateParams(OPTS) ;
$d->deflateTune(OPTS) ;
$d->dict_adler() ;
@@ -635,8 +635,6 @@
ZLIB_VERSION
ZLIB_VERNUM
-
-
=head1 DESCRIPTION
The I<Compress::Zlib> module provides a Perl interface to the I<zlib>
@@ -808,7 +806,6 @@
Returns 0 on success.
-
=item B<$offset = $gz-E<gt>gztell() ;>
Returns the uncompressed file offset.
@@ -893,7 +890,6 @@
=back
-
=head2 Examples
Here is an example script which uses the interface. It implements a
@@ -1022,7 +1018,6 @@
C<Z_BEST_COMPRESSION>, and C<Z_DEFAULT_COMPRESSION>.
If C<$level> is not specified C<Z_DEFAULT_COMPRESSION> will be used.
-
=item B<$dest = uncompress($source) ;>
Uncompresses C<$source>. If successful it returns the uncompressed
@@ -1039,14 +1034,12 @@
this distribution for an alternative interface for reading/writing RFC 1950
files/buffers.
-
=head1 Deflate Interface
This section defines an interface that allows in-memory compression using
the I<deflate> interface provided by zlib.
Here is a definition of the interface available:
-
=head2 B<($d, $status) = deflateInit( [OPT] )>
@@ -1140,9 +1133,7 @@
deflateInit( -Bufsize => 300,
-Level => Z_BEST_SPEED ) ;
-
=head2 B<($out, $status) = $d-E<gt>deflate($buffer)>
-
Deflates the contents of C<$buffer>. The buffer can either be a scalar
or a scalar reference. When finished, C<$buffer> will be
@@ -1159,8 +1150,8 @@
case that any output will be produced by this method. So don't rely on
the fact that C<$out> is empty for an error test.
-
-=head2 B<($out, $status) = $d-E<gt>flush([flush_type])>
+=head2 B<($out, $status) = $d-E<gt>flush()>
+=head2 B<($out, $status) = $d-E<gt>flush($flush_type)>
Typically used to finish the deflation. Any pending output will be
returned via C<$out>.
@@ -1218,7 +1209,6 @@
=head2 Example
-
Here is a trivial example of using C<deflate>. It simply reads standard
input, deflates it and writes it to standard output.
@@ -1256,7 +1246,6 @@
uncompression using the I<deflate> interface provided by zlib.
Here is a definition of the interface:
-
=head2 B<($i, $status) = inflateInit()>
@@ -1349,7 +1338,6 @@
data is available, C<inflateSync> can be called repeatedly with more
compressed data until the flush point is found.
-
=head2 B<$i-E<gt>dict_adler()>
Returns the adler32 value for the dictionary.
@@ -1423,7 +1411,6 @@
All the I<zlib> constants are automatically imported when you make use
of I<Compress::Zlib>.
-
=head1 SEE ALSO
L<IO::Compress::Gzip>, L<IO::Uncompress::Gunzip>, L<IO::Compress::Deflate>, L<IO::Uncompress::Inflate>, L<IO::Compress::RawDeflate>, L<IO::Uncompress::RawInflate>, L<IO::Compress::Bzip2>, L<IO::Uncompress::Bunzip2>, L<IO::Compress::Lzop>, L<IO::Uncompress::UnLzop>, L<IO::Compress::Lzf>, L<IO::Uncompress::UnLzf>, L<IO::Uncompress::AnyInflate>, L<IO::Uncompress::AnyUncompress>
@@ -1433,7 +1420,6 @@
L<File::GlobMapper|File::GlobMapper>, L<Archive::Zip|Archive::Zip>,
L<Archive::Tar|Archive::Tar>,
L<IO::Zlib|IO::Zlib>
-
For RFC 1950, 1951 and 1952 see
F<http://www.faqs.org/rfcs/rfc1950.html>,
@@ -1448,25 +1434,18 @@
The primary site for gzip is F<http://www.gzip.org>.
-
-
-
=head1 AUTHOR
This module was written by Paul Marquess, F<pmqs at cpan.org>.
-
-
=head1 MODIFICATION HISTORY
See the Changes file.
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 1995-2007 Paul Marquess. All rights reserved.
+Copyright (c) 1995-2008 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
-
-
Modified: trunk/libcompress-zlib-perl/pod/FAQ.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/pod/FAQ.pod?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/pod/FAQ.pod (original)
+++ trunk/libcompress-zlib-perl/pod/FAQ.pod Mon Apr 21 13:06:58 2008
@@ -7,17 +7,12 @@
Common questions answered.
-
-
-
=head2 Compatibility with Unix compress/uncompress.
-
Although C<Compress::Zlib> has a pair of functions called C<compress> and
-C<uncompress>, they are I<not> the same as the Unix programs of the same
+C<uncompress>, they are I<not> related to the Unix programs of the same
name. The C<Compress::Zlib> module is not compatible with Unix
C<compress>.
-
If you have the C<uncompress> program available, you can use this to read
compressed files
@@ -45,16 +40,14 @@
=head2 Accessing .tar.Z files
-
The C<Archive::Tar> module can optionally use C<Compress::Zlib> (via the
C<IO::Zlib> module) to access tar files that have been compressed with
C<gzip>. Unfortunately tar files compressed with the Unix C<compress>
utility cannot be read by C<Compress::Zlib> and so cannot be directly
-accesses by C<Archive::Tar>.
+accessed by C<Archive::Tar>.
If the C<uncompress> or C<gunzip> programs are available, you can use one
of these workarounds to read C<.tar.Z> files from C<Archive::Tar>
-
Firstly with C<uncompress>
@@ -90,42 +83,20 @@
$tar->write($fh);
$fh->close ;
-
=head2 Accessing Zip Files
-
This module does not support reading/writing zip files.
-Limited support for reading/writing zip files is included with the
+Support for reading/writing zip files is included with the
C<IO::Compress::Zip> and C<IO::Uncompress::Unzip> modules.
-
-A full interface for manipulating zip files is available with the
-C<Archive::Zip> module. You can find it on CPAN at
+The primary focus of the C<IO::Compress::Zip> and C<IO::Uncompress::Unzip>
+modules is to provide an C<IO::File> compatible streaming read/write
+interface to zip files/buffers. They are not fully flegged archivers. If
+you are looking for an archiver check out the C<Archive::Zip> module. You
+can find it on CPAN at
http://www.cpan.org/modules/by-module/Archive/Archive-Zip-*.tar.gz
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
=head1 SEE ALSO
@@ -137,15 +108,9 @@
L<Archive::Tar|Archive::Tar>,
L<IO::Zlib|IO::Zlib>
-
-
-
-
=head1 AUTHOR
This module was written by Paul Marquess, F<pmqs at cpan.org>.
-
-
=head1 MODIFICATION HISTORY
@@ -153,7 +118,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2005-2007 Paul Marquess. All rights reserved.
+Copyright (c) 2005-2008 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Modified: trunk/libcompress-zlib-perl/t/000prereq.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/t/000prereq.t?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/t/000prereq.t (original)
+++ trunk/libcompress-zlib-perl/t/000prereq.t Mon Apr 21 13:06:58 2008
@@ -27,7 +27,7 @@
if eval { require Test::NoWarnings ; import Test::NoWarnings; 1 };
- my $VERSION = '2.008';
+ my $VERSION = '2.009';
my @NAMES = qw(
Compress::Raw::Zlib
IO::Compress::Base
Modified: trunk/libcompress-zlib-perl/t/compress/CompTestUtils.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-zlib-perl/t/compress/CompTestUtils.pm?rev=18961&op=diff
==============================================================================
--- trunk/libcompress-zlib-perl/t/compress/CompTestUtils.pm (original)
+++ trunk/libcompress-zlib-perl/t/compress/CompTestUtils.pm Mon Apr 21 13:06:58 2008
@@ -201,6 +201,14 @@
{
my ($filename, $uue) = @_ ;
return readFile($filename) eq unpack("u", $uue) ;
+}
+
+sub isRawFormat
+{
+ my $class = shift;
+ my %raw = map { $_ => 1 } qw( RawDeflate );
+
+ return defined $raw{$class};
}
sub uncompressBuffer
@@ -222,6 +230,8 @@
'IO::Compress::Lzop::lzop' => 'IO::Uncompress::UnLzop',
'IO::Compress::Lzf' => 'IO::Uncompress::UnLzf' ,
'IO::Compress::Lzf::lzf' => 'IO::Uncompress::UnLzf',
+ 'IO::Compress::PPMd' => 'IO::Uncompress::UnPPMd' ,
+ 'IO::Compress::PPMd::ppmd' => 'IO::Uncompress::UnPPMd',
'IO::Compress::DummyComp' => 'IO::Uncompress::DummyUncomp',
'IO::Compress::DummyComp::dummycomp' => 'IO::Uncompress::DummyUncomp',
);
@@ -265,6 +275,10 @@
'IO::Compress::Lzf::lzf' => \$IO::Compress::Lzf::LzfError,
'IO::Uncompress::UnLzf' => \$IO::Uncompress::UnLzf::UnLzfError,
'IO::Uncompress::UnLzf::unlzf' => \$IO::Uncompress::UnLzf::UnLzfError,
+ 'IO::Compress::PPMd' => \$IO::Compress::PPMd::PPMdError,
+ 'IO::Compress::PPMd::ppmd' => \$IO::Compress::PPMd::PPMdError,
+ 'IO::Uncompress::UnPPMd' => \$IO::Uncompress::UnPPMd::UnPPMdError,
+ 'IO::Uncompress::UnPPMd::unppmd' => \$IO::Uncompress::UnPPMd::UnPPMdError,
'IO::Compress::DummyComp' => \$IO::Compress::DummyComp::DummyCompError,
'IO::Compress::DummyComp::dummycomp'=> \$IO::Compress::DummyComp::DummyCompError,
@@ -293,6 +307,8 @@
'IO::Uncompress::UnLzop' => 'IO::Uncompress::UnLzop::unlzop',
'IO::Compress::Lzf' => 'IO::Compress::Lzf::lzf',
'IO::Uncompress::UnLzf' => 'IO::Uncompress::UnLzf::unlzf',
+ 'IO::Compress::PPMd' => 'IO::Compress::PPMd::ppmd',
+ 'IO::Uncompress::UnPPMd' => 'IO::Uncompress::UnPPMd::unppmd',
'IO::Compress::DummyComp' => 'IO::Compress::DummyComp::dummyuncomp',
'IO::Uncompress::DummyUncomp' => 'IO::Uncompress::DummyUncomp::dummyuncomp',
);
@@ -319,6 +335,8 @@
'IO::Compress::Lzop' => 'IO::Uncompress::UnLzop',
'IO::Compress::Lzf::lzf' => 'IO::Uncompress::UnLzf::unlzf',
'IO::Compress::Lzf' => 'IO::Uncompress::UnLzf',
+ 'IO::Compress::PPMd::ppmd' => 'IO::Uncompress::UnPPMd::unppmd',
+ 'IO::Compress::PPMd' => 'IO::Uncompress::UnPPMd',
'IO::Compress::DummyComp::dummycomp' => 'IO::Uncompress::DummyUncomp::dummyuncomp',
'IO::Compress::DummyComp' => 'IO::Uncompress::DummyUncomp',
);
@@ -372,6 +390,8 @@
'IO::Uncompress::UnLzop::unlzop' => 'IO::Compress::Lzop',
'IO::Uncompress::UnLzp' => 'IO::Compress::Lzf',
'IO::Uncompress::UnLzf::unlzf' => 'IO::Compress::Lzf',
+ 'IO::Uncompress::UnPPMd' => 'IO::Compress::PPMd',
+ 'IO::Uncompress::UnPPMd::unppmd' => 'IO::Compress::PPMd',
'IO::Uncompress::AnyInflate' => 'IO::Compress::Gzip',
'IO::Uncompress::AnyInflate::anyinflate' => 'IO::Compress::Gzip',
'IO::Uncompress::AnyUncompress' => 'IO::Compress::Gzip',
More information about the Pkg-perl-cvs-commits
mailing list