Hello community,
here is the log from the commit of package perl-Image-Info for openSUSE:Factory checked in at 2015-04-22 01:18:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Image-Info (Old)
and /work/SRC/openSUSE:Factory/.perl-Image-Info.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Image-Info"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Image-Info/perl-Image-Info.changes 2015-04-15 16:25:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Image-Info.new/perl-Image-Info.changes 2015-04-22 01:18:43.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Apr 20 08:46:00 UTC 2015 - coolo@suse.com
+
+- updated to 1.38
+ see /usr/share/doc/packages/perl-Image-Info/CHANGES
+
+ 2015-04-19 Slaven Rezic
+
+ Release 1.38
+
+ Pod typo fixes (by hatorikibble)
+
+ New xt tests (synopsis, strict, kwalitee, by hatorikibble)
+
+-------------------------------------------------------------------
Old:
----
Image-Info-1.37.tar.gz
New:
----
Image-Info-1.38.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Image-Info.spec ++++++
--- /var/tmp/diff_new_pack.SfVWxm/_old 2015-04-22 01:18:44.000000000 +0200
+++ /var/tmp/diff_new_pack.SfVWxm/_new 2015-04-22 01:18:44.000000000 +0200
@@ -17,14 +17,15 @@
Name: perl-Image-Info
-Version: 1.37
+Version: 1.38
Release: 0
%define cpan_name Image-Info
Summary: Extract meta information from image files
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Image-Info/
-Source: http://www.cpan.org/authors/id/S/SR/SREZIC/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/S/SR/SREZIC/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -38,7 +39,7 @@
%{perl_requires}
%description
-This module provide functions to extract various kind of meta information
+This module provide functions to extract various kinds of meta information
from image files.
%prep
++++++ Image-Info-1.37.tar.gz -> Image-Info-1.38.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/.gitignore new/Image-Info-1.38/.gitignore
--- old/Image-Info-1.37/.gitignore 2011-12-28 22:30:30.000000000 +0100
+++ new/Image-Info-1.38/.gitignore 2015-04-03 15:07:22.000000000 +0200
@@ -1,9 +1,14 @@
+*~
/.prove
+/blib
+/cover_db
/Image-Info-*.tar.gz
/MANIFEST.bak
/MYMETA.json
/MYMETA.yml
/Makefile
/Makefile.old
-/blib
/pm_to_blib
+/nytprof.out
+\#*\#
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/CHANGES new/Image-Info-1.38/CHANGES
--- old/Image-Info-1.37/CHANGES 2014-12-31 09:42:11.000000000 +0100
+++ new/Image-Info-1.38/CHANGES 2015-04-20 06:46:24.000000000 +0200
@@ -1,5 +1,13 @@
Revision history for Image::Info
+2015-04-19 Slaven Rezic
+
+ Release 1.38
+
+ Pod typo fixes (by hatorikibble)
+
+ New xt tests (synopsis, strict, kwalitee, by hatorikibble)
+
2014-12-31 Slaven Rezic
Release 1.37
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/MANIFEST new/Image-Info-1.38/MANIFEST
--- old/Image-Info-1.37/MANIFEST 2014-12-31 09:43:39.000000000 +0100
+++ new/Image-Info-1.38/MANIFEST 2015-04-20 06:57:39.000000000 +0200
@@ -81,6 +81,9 @@
t/tiny-pgm.t
t/wbmp.t
TODO
+xt/kwalitee.t
+xt/strict.t
+xt/synopsis.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
SIGNATURE Public-key signature (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/META.json new/Image-Info-1.38/META.json
--- old/Image-Info-1.37/META.json 2014-12-31 09:43:39.000000000 +0100
+++ new/Image-Info-1.38/META.json 2015-04-20 06:57:38.000000000 +0200
@@ -54,5 +54,5 @@
"url" : "git://github.com/eserte/image-info.git"
}
},
- "version" : "1.37"
+ "version" : "1.38"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/META.yml new/Image-Info-1.38/META.yml
--- old/Image-Info-1.37/META.yml 2014-12-31 09:43:39.000000000 +0100
+++ new/Image-Info-1.38/META.yml 2015-04-20 06:57:38.000000000 +0200
@@ -32,4 +32,4 @@
perl: 5.006
resources:
repository: git://github.com/eserte/image-info.git
-version: 1.37
+version: 1.38
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/SIGNATURE new/Image-Info-1.38/SIGNATURE
--- old/Image-Info-1.37/SIGNATURE 2014-12-31 09:43:42.000000000 +0100
+++ new/Image-Info-1.38/SIGNATURE 2015-04-20 06:57:41.000000000 +0200
@@ -14,17 +14,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 6d73a8e85000c1fcf22376c01ee50d0c3960de02 .gitignore
-SHA1 b4e6ad6c2ab3de22df2b603961da30652d845ae9 CHANGES
+SHA1 c82d6187bf83f92dcd4a4ba9ab8341c3edcc094a .gitignore
+SHA1 93e03daefbe0bfec3c418f671d6ee7206e17e47d CHANGES
SHA1 517bff80bcf518746150086148acaf8cfa37a17d CREDITS
-SHA1 26a9591892b663a6852011b447d97c8af742c0aa MANIFEST
+SHA1 8b13b87882e8e171d87da8495e868415b49a15c9 MANIFEST
SHA1 396a95962b71b01b3032a31ff5f12a33984c2644 MANIFEST.SKIP
-SHA1 392f921ccc0b2a500d5c64f3402b343a7a73ba9b META.json
-SHA1 74c38b42ad67730f7f34c76cd52a4f0465410c22 META.yml
+SHA1 3660da7a8d216cff8b7e11c91ea3ce2bc34b037e META.json
+SHA1 4ebc7bd648c8aa6dd8aedd49a4b233084dbeaf1f META.yml
SHA1 fd14642d591e132078fc91a8e54a4a4fed927f46 Makefile.PL
SHA1 0184503d850cb0d34d0cfe26bd5af84d4cf97dbc README
SHA1 36ea8eabe5ac80acc416411aae77b60e1480de1b TODO
-SHA1 f54eb4c387b72da3d191721f3e1999860ef30823 dev/Info.pm.tmpl
+SHA1 0e763171d566addcfff34c7309979a27326b33dd dev/Info.pm.tmpl
SHA1 c11e7408bd16d35b2116ee47eaac4f08266be902 dev/build.pl
SHA1 38b386e67725abff64ea00abb8e92c46f38e2f59 exifdump
SHA1 0e2ed058a8e6b748c639b08064f6782c4f51d643 img/bad-exif-1.jpg
@@ -60,14 +60,14 @@
SHA1 e403a1722e5d26002d8afbf29bd497c60f8ee05f img/upside-down.bmp
SHA1 684ef627299906409c258ed2a66990a26dd13794 img/ztxt.png
SHA1 376cc1bd8424b1123f0073df81ce5433be4df58e imgdump
-SHA1 45d4f0a75274a3946aa861459dd6a19ee4d1dd44 lib/Bundle/Image/Info/Everything.pm
-SHA1 52e684ed4ae8089b3f9c83355dc12d3113673111 lib/Bundle/Image/Info/PNG.pm
-SHA1 8c1fec2e87c5e2ed5fde24d99b47f9c15ce5d318 lib/Bundle/Image/Info/SVG.pm
-SHA1 f348a5f14a0e674ef9077fd7c9a7eedd7b9462b5 lib/Bundle/Image/Info/XBM.pm
-SHA1 6495717c95aee79965e174147c0fb99b54b4f3a1 lib/Bundle/Image/Info/XPM.pm
-SHA1 4f497043f9ee1482839e40bfa50a1929ead94bc4 lib/Image/Info.pm
-SHA1 354d31a85801f9ab40a5818f1dcd1da76825e48d lib/Image/Info/BMP.pm
-SHA1 6f63955e7d15c4c43355145e2a8c2952c64c1afa lib/Image/Info/GIF.pm
+SHA1 b28345eb7918c00c9e8190b9b5ebabb326a84d91 lib/Bundle/Image/Info/Everything.pm
+SHA1 4a2ca6a6407e82ba0de7ccde961771365b5928d8 lib/Bundle/Image/Info/PNG.pm
+SHA1 777028fc6271fc140b361904b7ff29053d404144 lib/Bundle/Image/Info/SVG.pm
+SHA1 ebdf279c647010c1fa17b0003238debdc3e1f80b lib/Bundle/Image/Info/XBM.pm
+SHA1 df3482b8e4a6c7b140ebbb1dc0ab56dc60a8e7e7 lib/Bundle/Image/Info/XPM.pm
+SHA1 68d6cc00378159751743e38f955927fe68d5a948 lib/Image/Info.pm
+SHA1 6991a957bacde9d3b873184d90d910d083f5f403 lib/Image/Info/BMP.pm
+SHA1 0996bffe073126dceb72c04dc5b3002c78c24d56 lib/Image/Info/GIF.pm
SHA1 fb628cb66c566ab66a1b7953a1bb29cfde1c79c7 lib/Image/Info/ICO.pm
SHA1 cb662c31e3429214bdc9f1e7b65fac2c4198f689 lib/Image/Info/JPEG.pm
SHA1 df4bd657aae33fe5ef9cbad6546674ec2de9d53f lib/Image/Info/PNG.pm
@@ -99,10 +99,13 @@
SHA1 c08bf003a891603d6f5f098425a70680a699e31a t/tiff_segfault.t
SHA1 0a5f7c518af4b72fd76fa8def1f51e8691727bdd t/tiny-pgm.t
SHA1 7d7708b0392491f75eb9b68289469c1a488453ca t/wbmp.t
+SHA1 4396e44dfbfe4c2ff26d115bc0eadbce507b7bf0 xt/kwalitee.t
+SHA1 6ef907e37bb4840f96f8d5b16b47991806f21f31 xt/strict.t
+SHA1 40f46c65b4865610c38eeb3cf05482c53e058180 xt/synopsis.t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-iQBVAwUBVKO3PL9kDNo3Bl+NAQJD9QIA285JrDTiMi7UiNl6tM4DMfX4xhBdI4+A
-yN8oed1RaMCAAsORAdt2xgbMiJ+a+49RUkouMchVpvCBR2DK/ItTKA==
-=6EAg
+iQBVAwUBVTSHQ79kDNo3Bl+NAQKFagH9FCG+u23Ji0qRMEtZtkEtg9YQw54JrRoE
+mQMsiLIavzZLijrOBxobPzLjpztrcEi9fRAZI9iFyUYGIfqRQWnL9A==
+=6Aux
-----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/dev/Info.pm.tmpl new/Image-Info-1.38/dev/Info.pm.tmpl
--- old/Image-Info-1.37/dev/Info.pm.tmpl 2014-12-31 09:41:23.000000000 +0100
+++ new/Image-Info-1.38/dev/Info.pm.tmpl 2015-04-20 06:46:24.000000000 +0200
@@ -13,12 +13,12 @@
# modify it under the same terms as Perl v5.8.8 itself.
#
# Previously maintained by Tels - (c) 2006 - 2008.
-# Currently maintained by Slaven Rezic - (c) 2008 - 2014.
+# Currently maintained by Slaven Rezic - (c) 2008 - 2015.
use strict;
use vars qw($VERSION @EXPORT_OK);
-$VERSION = '1.37';
+$VERSION = '1.38';
require Exporter;
*import = \&Exporter::import;
@@ -240,7 +240,7 @@
=head1 DESCRIPTION
-This module provide functions to extract various kind of meta
+This module provide functions to extract various kinds of meta
information from image files.
=head2 EXPORTS
@@ -272,15 +272,15 @@
the file only one hash is returned. In scalar context, only the hash
for the first image is returned.
-In case of error, and hash containing the "error" key will be
+In case of error, a hash containing the "error" key will be
returned. The corresponding value will be an appropriate error
message.
-If a reference to a scalar is passed as argument to this function,
+If a reference to a scalar is passed as an argument to this function,
then it is assumed that this scalar contains the raw image data
directly.
-The image_info() function also take optional key/value style arguments
+The C function also take optional key/value style arguments
that can influence what information is returned.
=item image_type( $file )
@@ -304,7 +304,7 @@
it returns a HASH reference, with the C<< $type->{error} >> key set if
there was an error.
-On success, the HASH reference will contain the single key 'file_type',
+On success, the HASH reference will contain the single key C<< file_type >>,
which represents the type of the file, expressed as the type code used for
the various drivers ('GIF', 'JPEG', 'TIFF' and so on).
@@ -318,7 +318,7 @@
=item dim( $info_hash )
-Takes an hash as returned from image_info() and returns the dimensions
+Takes an hash as returned from C and returns the dimensions
($width, $height) of the image. In scalar context returns the
dimensions as a string.
@@ -340,7 +340,7 @@
=head1 Image descriptions
-The image_info() function returns meta information about each image in
+The C function returns meta information about each image in
the form of a reference to a hash. The hash keys used are in most
cases based on the TIFF element names. All lower case keys are
mandatory for all file formats and will always be there unless an
@@ -368,7 +368,7 @@
=item height
-This is the number of pixels vertically in the image. (TIFF use the
+This is the number of pixels vertically in the image. (TIFF uses the
name ImageLength for this field.)
=item color_type
@@ -388,7 +388,7 @@
composed of indexes into a palette. Of these, only "Indexed-RGB" is
likely to occur.
-It is similar to the TIFF field PhotometricInterpretation, but this
+It is similar to the TIFF field "PhotometricInterpretation", but this
name was found to be too long, so we used the PNG inpired term
instead.
@@ -427,7 +427,7 @@
=item Interlace
-If the image is interlaced, then this tell which interlace method is
+If the image is interlaced, then this tells which interlace method is
used.
=item Compression
@@ -474,7 +474,7 @@
Tels - (c) 2006 - 2008.
-Current maintainer: Slaven Rezic - (c) 2008 - 2014.
+Current maintainer: Slaven Rezic - (c) 2008 - 2015.
=head1 LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/lib/Bundle/Image/Info/Everything.pm new/Image-Info-1.38/lib/Bundle/Image/Info/Everything.pm
--- old/Image-Info-1.37/lib/Bundle/Image/Info/Everything.pm 2009-11-22 21:33:54.000000000 +0100
+++ new/Image-Info-1.38/lib/Bundle/Image/Info/Everything.pm 2015-03-03 08:21:17.000000000 +0100
@@ -1,7 +1,11 @@
# -*- perl -*-
package Bundle::Image::Info::Everything;
+
+use strict;
+use vars qw($VERSION);
$VERSION = '0.01';
+
1;
__END__
@@ -12,8 +16,12 @@
=head1 SYNOPSIS
+=for test_synopsis BEGIN { die "SKIP: shell code\n"; }
+
perl -MCPAN -e 'install Bundle::Image::Info::Everything'
+=end
+
=head1 CONTENTS
Image::Info - the base Image::Info module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/lib/Bundle/Image/Info/PNG.pm new/Image-Info-1.38/lib/Bundle/Image/Info/PNG.pm
--- old/Image-Info-1.37/lib/Bundle/Image/Info/PNG.pm 2009-11-22 20:06:39.000000000 +0100
+++ new/Image-Info-1.38/lib/Bundle/Image/Info/PNG.pm 2015-03-03 08:21:17.000000000 +0100
@@ -1,7 +1,11 @@
# -*- perl -*-
package Bundle::Image::Info::PNG;
+
+use strict;
+use vars qw($VERSION);
$VERSION = '0.01';
+
1;
__END__
@@ -12,8 +16,12 @@
=head1 SYNOPSIS
+=for test_synopsis BEGIN { die "SKIP: shell code\n"; }
+
perl -MCPAN -e 'install Bundle::Image::Info::PNG'
+=end
+
=head1 CONTENTS
Image::Info - the base Image::Info module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/lib/Bundle/Image/Info/SVG.pm new/Image-Info-1.38/lib/Bundle/Image/Info/SVG.pm
--- old/Image-Info-1.37/lib/Bundle/Image/Info/SVG.pm 2009-11-22 20:06:39.000000000 +0100
+++ new/Image-Info-1.38/lib/Bundle/Image/Info/SVG.pm 2015-03-03 08:21:17.000000000 +0100
@@ -1,7 +1,11 @@
# -*- perl -*-
package Bundle::Image::Info::SVG;
+
+use strict;
+use vars qw($VERSION);
$VERSION = '0.01';
+
1;
__END__
@@ -12,8 +16,12 @@
=head1 SYNOPSIS
+=for test_synopsis BEGIN { die "SKIP: shell code\n"; }
+
perl -MCPAN -e 'install Bundle::Image::Info::SVG'
+=end
+
=head1 CONTENTS
Image::Info - the base Image::Info module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/lib/Bundle/Image/Info/XBM.pm new/Image-Info-1.38/lib/Bundle/Image/Info/XBM.pm
--- old/Image-Info-1.37/lib/Bundle/Image/Info/XBM.pm 2009-11-22 20:06:39.000000000 +0100
+++ new/Image-Info-1.38/lib/Bundle/Image/Info/XBM.pm 2015-03-03 08:21:17.000000000 +0100
@@ -1,7 +1,11 @@
# -*- perl -*-
package Bundle::Image::Info::XBM;
+
+use strict;
+use vars qw($VERSION);
$VERSION = '0.01';
+
1;
__END__
@@ -12,8 +16,12 @@
=head1 SYNOPSIS
+=for test_synopsis BEGIN { die "SKIP: shell code\n"; }
+
perl -MCPAN -e 'install Bundle::Image::Info::XBM'
+=end
+
=head1 CONTENTS
Image::Info - the base Image::Info module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/lib/Bundle/Image/Info/XPM.pm new/Image-Info-1.38/lib/Bundle/Image/Info/XPM.pm
--- old/Image-Info-1.37/lib/Bundle/Image/Info/XPM.pm 2009-11-22 20:06:39.000000000 +0100
+++ new/Image-Info-1.38/lib/Bundle/Image/Info/XPM.pm 2015-03-03 08:21:17.000000000 +0100
@@ -1,7 +1,11 @@
# -*- perl -*-
package Bundle::Image::Info::XPM;
+
+use strict;
+use vars qw($VERSION);
$VERSION = '0.01';
+
1;
__END__
@@ -12,8 +16,12 @@
=head1 SYNOPSIS
+=for test_synopsis BEGIN { die "SKIP: shell code\n"; }
+
perl -MCPAN -e 'install Bundle::Image::Info::XPM'
+=end
+
=head1 CONTENTS
Image::Info 1.31 - the base Image::Info module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/lib/Image/Info/BMP.pm new/Image-Info-1.38/lib/Image/Info/BMP.pm
--- old/Image-Info-1.37/lib/Image/Info/BMP.pm 2014-12-20 00:06:31.000000000 +0100
+++ new/Image-Info-1.38/lib/Image/Info/BMP.pm 2015-04-03 15:07:22.000000000 +0200
@@ -118,7 +118,7 @@
=head1 DESCRIPTION
-This modules supplies the standard key names
+This module supplies the standard key names
except for Gamma, Interlace, LastModificationTime, as well as:
=over
@@ -131,8 +131,8 @@
=item BMP_Origin
If true the bitmap is a bottom-up DIB and its origin is the lower-left corner.
-Otherwise,
-the bitmap is a top-down DIB and its origin is the upper-left corner.
+Otherwise, the bitmap is a top-down DIB and its origin is the upper-left
+corner.
=item ColorPalette
@@ -144,7 +144,7 @@
The number of colors the image uses.
If 0 then this is a true color image.
-The number of color I<available> is 2 ^ B<BitsPerSample>.
+The number of colors I<available> is 2 ^ B<BitsPerSample>.
=back
@@ -190,14 +190,14 @@
=item Size mismatch
-The image may be correct, the filesize does not match the internally stored
+The image may be correct, but the filesize does not match the internally stored
value.
=back
=head1 BUGS
-The current implementation only function on little-endian architectures.
+The current implementation only functions on little-endian architectures.
Consequently erroneous data concerning compression (including
B and B) may be reported.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/lib/Image/Info/GIF.pm new/Image-Info-1.38/lib/Image/Info/GIF.pm
--- old/Image-Info-1.37/lib/Image/Info/GIF.pm 2009-11-22 23:07:53.000000000 +0100
+++ new/Image-Info-1.38/lib/Image/Info/GIF.pm 2015-04-03 15:07:22.000000000 +0200
@@ -210,3 +210,49 @@
}
1;
+
+__END__
+
+=pod
+
+=head1 NAME
+
+Image::Info::GIF - Graphics Interchange Format support for Image::Info
+
+=head1 SYNOPSIS
+
+ use Image::Info qw(image_info dim);
+
+ my $info = image_info("image.gif");
+ if (my $error = $info->{error}) {
+ die "Can't parse image info: $error\n";
+ }
+ my $color = $info->{color_type};
+
+ my($w, $h) = dim($info);
+
+=head1 DESCRIPTION
+
+This module supplies the standard key names as well as
+
+=over
+
+=item GIF_Loop
+
+The Netscape-2.0 extension to loop animation sequences is represented by the GIF_Loop key for the first image. The value is either "forever" or a number indicating loop count.
+
+=back
+
+head1 METHODS
+
+=head2 process_file()
+
+ $info->process_file($source, $options);
+
+Processes one file and sets the found info fields in the C<$info> object.
+
+=head1 SEE ALSO
+
+LImage::Info
+
+=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/lib/Image/Info.pm new/Image-Info-1.38/lib/Image/Info.pm
--- old/Image-Info-1.37/lib/Image/Info.pm 2014-12-31 09:43:09.000000000 +0100
+++ new/Image-Info-1.38/lib/Image/Info.pm 2015-04-20 06:57:05.000000000 +0200
@@ -13,12 +13,12 @@
# modify it under the same terms as Perl v5.8.8 itself.
#
# Previously maintained by Tels - (c) 2006 - 2008.
-# Currently maintained by Slaven Rezic - (c) 2008 - 2014.
+# Currently maintained by Slaven Rezic - (c) 2008 - 2015.
use strict;
use vars qw($VERSION @EXPORT_OK);
-$VERSION = '1.37';
+$VERSION = '1.38';
require Exporter;
*import = \&Exporter::import;
@@ -255,7 +255,7 @@
=head1 DESCRIPTION
-This module provide functions to extract various kind of meta
+This module provide functions to extract various kinds of meta
information from image files.
=head2 EXPORTS
@@ -287,15 +287,15 @@
the file only one hash is returned. In scalar context, only the hash
for the first image is returned.
-In case of error, and hash containing the "error" key will be
+In case of error, a hash containing the "error" key will be
returned. The corresponding value will be an appropriate error
message.
-If a reference to a scalar is passed as argument to this function,
+If a reference to a scalar is passed as an argument to this function,
then it is assumed that this scalar contains the raw image data
directly.
-The image_info() function also take optional key/value style arguments
+The C function also take optional key/value style arguments
that can influence what information is returned.
=item image_type( $file )
@@ -319,7 +319,7 @@
it returns a HASH reference, with the C<< $type->{error} >> key set if
there was an error.
-On success, the HASH reference will contain the single key 'file_type',
+On success, the HASH reference will contain the single key C<< file_type >>,
which represents the type of the file, expressed as the type code used for
the various drivers ('GIF', 'JPEG', 'TIFF' and so on).
@@ -333,7 +333,7 @@
=item dim( $info_hash )
-Takes an hash as returned from image_info() and returns the dimensions
+Takes an hash as returned from C and returns the dimensions
($width, $height) of the image. In scalar context returns the
dimensions as a string.
@@ -355,7 +355,7 @@
=head1 Image descriptions
-The image_info() function returns meta information about each image in
+The C function returns meta information about each image in
the form of a reference to a hash. The hash keys used are in most
cases based on the TIFF element names. All lower case keys are
mandatory for all file formats and will always be there unless an
@@ -383,7 +383,7 @@
=item height
-This is the number of pixels vertically in the image. (TIFF use the
+This is the number of pixels vertically in the image. (TIFF uses the
name ImageLength for this field.)
=item color_type
@@ -403,7 +403,7 @@
composed of indexes into a palette. Of these, only "Indexed-RGB" is
likely to occur.
-It is similar to the TIFF field PhotometricInterpretation, but this
+It is similar to the TIFF field "PhotometricInterpretation", but this
name was found to be too long, so we used the PNG inpired term
instead.
@@ -442,7 +442,7 @@
=item Interlace
-If the image is interlaced, then this tell which interlace method is
+If the image is interlaced, then this tells which interlace method is
used.
=item Compression
@@ -561,7 +561,7 @@
Tels - (c) 2006 - 2008.
-Current maintainer: Slaven Rezic - (c) 2008 - 2014.
+Current maintainer: Slaven Rezic - (c) 2008 - 2015.
=head1 LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/xt/kwalitee.t new/Image-Info-1.38/xt/kwalitee.t
--- old/Image-Info-1.37/xt/kwalitee.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Image-Info-1.38/xt/kwalitee.t 2015-04-19 22:10:40.000000000 +0200
@@ -0,0 +1,12 @@
+#!/usr/bin/perl -w
+# -*- perl -*-
+
+#
+# Author: Peter Mayr
+#
+use strict;
+use Test::More;
+use Test::Kwalitee 'kwalitee_ok';
+
+kwalitee_ok();
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/xt/strict.t new/Image-Info-1.38/xt/strict.t
--- old/Image-Info-1.37/xt/strict.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Image-Info-1.38/xt/strict.t 2015-04-19 22:10:45.000000000 +0200
@@ -0,0 +1,11 @@
+#!/usr/bin/perl -w
+# -*- perl -*-
+
+#
+# Author: Peter Mayr
+#
+
+use strict;
+use Test::Strict;
+
+all_perl_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Image-Info-1.37/xt/synopsis.t new/Image-Info-1.38/xt/synopsis.t
--- old/Image-Info-1.37/xt/synopsis.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Image-Info-1.38/xt/synopsis.t 2015-04-19 22:10:50.000000000 +0200
@@ -0,0 +1,14 @@
+#!/usr/bin/perl -w
+# -*- perl -*-
+
+#
+# Author: Peter Mayr
+#
+use strict;
+use Test::More;
+
+eval "use Test::Synopsis";
+plan skip_all => "Test::Synopsis required for testing" if $@;
+all_synopsis_ok();
+
+done_testing;
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag
#ignore_requires: Bizarre::Module