Hello community,
here is the log from the commit of package perl-Image-Size
checked in at Mon Mar 3 16:34:51 CET 2008.
--------
--- perl-Image-Size/perl-Image-Size.changes 2006-09-14 14:36:36.000000000 +0200
+++ perl-Image-Size/perl-Image-Size.changes 2008-03-03 12:13:19.368129000 +0100
@@ -1,0 +2,25 @@
+Mon Mar 3 12:11:21 CET 2008 - kssingvo@suse.de
+
+- upgrade to version 3.1.1
+ * Updated the license information to make sure all references are
+ to both the Artistic 2.0 and the LGPL.
+ * Changed "use 5.6.0" lines to no longer use v-strings, for
+ forward compatibility with Perl 5.10.0.
+ * Added "recommends" specification to Build.PL to refer to
+ modules used in the testing phase (there is no
+ "build_recommends" setting).
+ * Added Compress::Zlib to the list of required modules in
+ Makefile.PL and Build.PL.
+ * Added "use warnings" to Size.pm to make sure it stays
+ warnings-clean.
+ * Small change from n@shaplov.ru for a bug in CWS handling that
+ only surfaced when two CWS files were sized consecutively.
+ * Updated the date on the copyright notice and added a
+ "COPYRIGHT" section to the documentation.
+ * Changed the licensing terms. This is now dual-licensed under
+ Artistic 2.0 and LGPL 2.1.
+ * Restored the old Makefile.PL for users who don't have
+ Module::Build.
+
+
+-------------------------------------------------------------------
Old:
----
Image-Size-3.01.tar.bz2
New:
----
Image-Size-3.1.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Image-Size.spec ++++++
--- /var/tmp/diff_new_pack.X25183/_old 2008-03-03 16:34:06.000000000 +0100
+++ /var/tmp/diff_new_pack.X25183/_new 2008-03-03 16:34:07.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package perl-Image-Size (Version 3.01)
+# spec file for package perl-Image-Size (Version 3.1.1)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,17 +10,18 @@
# norootforbuild
+
Name: perl-Image-Size
License: Artistic License
BuildRequires: perl-Compress-Zlib perl-Module-Build
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
-Autoreqprov: on
+AutoReqProv: on
Summary: A Perl Module to deal with Dimensions of an Image in Several Popular Formats
-Version: 3.01
+Version: 3.1.1
Release: 1
Source: Image-Size-%{version}.tar.bz2
-URL: http://www.cpan.org/authors/id/R/RJ/RJRAY
+Url: http://www.cpan.org/authors/id/R/RJ/RJRAY
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -43,7 +44,6 @@
%prep
%setup -n Image-Size-%{version}
-
%build
perl Build.PL destdir=$RPM_BUILD_ROOT installdirs=vendor
./Build
@@ -69,33 +69,54 @@
%doc %{_mandir}/man?/*
%doc README README.Win32 ex/*
-%changelog -n perl-Image-Size
-* Thu Sep 14 2006 - kssingvo@suse.de
+%changelog
+* Mon Mar 03 2008 kssingvo@suse.de
+- upgrade to version 3.1.1
+ * Updated the license information to make sure all references are
+ to both the Artistic 2.0 and the LGPL.
+ * Changed "use 5.6.0" lines to no longer use v-strings, for
+ forward compatibility with Perl 5.10.0.
+ * Added "recommends" specification to Build.PL to refer to
+ modules used in the testing phase (there is no
+ "build_recommends" setting).
+ * Added Compress::Zlib to the list of required modules in
+ Makefile.PL and Build.PL.
+ * Added "use warnings" to Size.pm to make sure it stays
+ warnings-clean.
+ * Small change from n@shaplov.ru for a bug in CWS handling that
+ only surfaced when two CWS files were sized consecutively.
+ * Updated the date on the copyright notice and added a
+ "COPYRIGHT" section to the documentation.
+ * Changed the licensing terms. This is now dual-licensed under
+ Artistic 2.0 and LGPL 2.1.
+ * Restored the old Makefile.PL for users who don't have
+ Module::Build.
+* Thu Sep 14 2006 kssingvo@suse.de
- upgrade to version 3.01. New features:
- Added ex/ directory with a few samples.
- Dropped ExtUtils::MakeMaker and switched to Module::Build.
Makefile.PL is now a wrapper of sorts around Build.PL. This allows
adding licensing information to META.yml for CPAN indexing.
- adapted the specfile
-* Thu Jun 22 2006 - kssingvo@suse.de
+* Thu Jun 22 2006 kssingvo@suse.de
- upgrade to version 3.0. New features:
- delay of Image::Magick loading until it is needed
- additional installation tests
- FlashMX (Shockwave Flash Ver. 6) support
- image size of gif is now controlled by additional flag
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Wed Sep 28 2005 - dmueller@suse.de
+* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
-* Fri Aug 22 2003 - mjancar@suse.cz
+* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
-* Mon Jul 28 2003 - ro@suse.de
+* Mon Jul 28 2003 ro@suse.de
- install to vendor location
-* Tue Jul 22 2003 - kssingvo@suse.de
+* Tue Jul 22 2003 kssingvo@suse.de
- updated to version 2.992
-* Mon Jun 16 2003 - kssingvo@suse.de
+* Mon Jun 16 2003 kssingvo@suse.de
- added missing directories
-* Mon May 26 2003 - ro@suse.de
+* Mon May 26 2003 ro@suse.de
- remove unpackaged files from buildroot
-* Mon Feb 03 2003 - kssingvo@suse.de
+* Mon Feb 03 2003 kssingvo@suse.de
- initial package version 2.991
++++++ Image-Size-3.01.tar.bz2 -> Image-Size-3.1.1.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Image-Size-3.01/Build.PL new/Image-Size-3.1.1/Build.PL
--- old/Image-Size-3.01/Build.PL 2006-09-14 09:48:03.000000000 +0200
+++ new/Image-Size-3.1.1/Build.PL 2008-02-18 07:36:17.000000000 +0100
@@ -5,13 +5,16 @@
my $build = Module::Build->new(
module_name => 'Image::Size',
autosplit => 'lib/Image/Size.pm',
- license => 'artistic',
- requires => { perl => '5.6.0',
- File::Spec => 0 },
+ license => 'perl',
+ requires => { perl => '5.006',
+ File::Spec => 0, Compress::Zlib => 2 },
build_requires => { Test::More => 0 },
+ build_recommends => { Image::Magick => 6 },
+ # This *should* be "build_recommends", since it is only for the tests
+ recommends => { Test::Pod => 0, Test::Pod::Coverage => 0 },
dist_author => 'Randy J. Ray ',
dist_abstract => 'A library to extract height/width from images',
- dist_version_from => 'lib/Image/Size.pm',
+ dist_version => '3.1.1',
script_files => [ 'imgsize' ],
sign => 'yes, please',
);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Image-Size-3.01/ChangeLog new/Image-Size-3.1.1/ChangeLog
--- old/Image-Size-3.01/ChangeLog 2006-09-14 09:48:03.000000000 +0200
+++ new/Image-Size-3.1.1/ChangeLog 2008-02-18 07:36:17.000000000 +0100
@@ -1,5 +1,34 @@
CHANGE HISTORY
+Changes in 3.1.1:
+
+* Updated the license information to make sure all references are to both the
+ Artistic 2.0 and the LGPL.
+
+* Changed "use 5.6.0" lines to no longer use v-strings, for forward
+ compatibility with Perl 5.10.0.
+
+* Added "recommends" specification to Build.PL to refer to modules used in
+ the testing phase (there is no "build_recommends" setting).
+
+* Added Compress::Zlib to the list of required modules in Makefile.PL and
+ Build.PL.
+
+* Added "use warnings" to Size.pm to make sure it stays warnings-clean.
+
+Changes in 3.1:
+
+* Small change from n@shaplov.ru for a bug in CWS handling that only surfaced
+ when two CWS files were sized consecutively.
+
+* Updated the date on the copyright notice and added a "COPYRIGHT" section
+ to the documentation.
+
+* Changed the licensing terms. This is now dual-licensed under Artistic 2.0
+ and LGPL 2.1.
+
+* Restored the old Makefile.PL for users who don't have Module::Build.
+
Changes in 3.01:
* Added ex/ directory with a few samples.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Image-Size-3.01/imgsize new/Image-Size-3.1.1/imgsize
--- old/Image-Size-3.01/imgsize 2006-09-14 09:48:03.000000000 +0200
+++ new/Image-Size-3.1.1/imgsize 2008-02-18 07:36:17.000000000 +0100
@@ -1,5 +1,16 @@
#!/usr/bin/perl
+###############################################################################
+#
+# This file copyright (c) 2008 by Randy J. Ray, all rights reserved
+#
+# Copying and distribution are permitted under the terms of the Artistic
+# License 2.0 (http://www.opensource.org/licenses/artistic-license-2.0.php) or
+# the GNU LGPL (http://www.opensource.org/licenses/lgpl-license.php).
+#
+# $Id: imgsize 133 2008-02-18 06:34:47Z $
+#
+###############################################################################
#
# No-brainer to size an image supplied on the command-line. All the real
# work is done in Image::Size
@@ -56,6 +67,7 @@
=cut
use strict;
+use warnings;
use vars qw($opt_h $opt_r $opt_a $opt_f);
use Image::Size qw(:all);
@@ -63,7 +75,7 @@
my $rtn;
-&getopts('hraf:');
+getopts('hraf:');
#
# Usage reporting: if -h, or no @ARGV, or more than one of the rest...
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Image-Size-3.01/lib/Image/Size.pm new/Image-Size-3.1.1/lib/Image/Size.pm
--- old/Image-Size-3.01/lib/Image/Size.pm 2006-09-14 09:48:03.000000000 +0200
+++ new/Image-Size-3.1.1/lib/Image/Size.pm 2008-02-18 07:36:17.000000000 +0100
@@ -1,9 +1,12 @@
###############################################################################
#
-# This file copyright (c) 2000 by Randy J. Ray, all rights reserved
+# This file copyright (c) 2008 by Randy J. Ray, all rights reserved
#
# Copying and distribution are permitted under the terms of the Artistic
-# License as distributed with Perl versions 5.005 and later.
+# License 2.0 (http://www.opensource.org/licenses/artistic-license-2.0.php) or
+# the GNU LGPL (http://www.opensource.org/licenses/lgpl-license.php).
+#
+# $Id: Size.pm 133 2008-02-18 06:34:47Z $
#
###############################################################################
#
@@ -11,15 +14,16 @@
# Knowles, alex@ed.ac.uk. Since then, even I barely recognize it. It has
# contributions, fixes, additions and enhancements from all over the world.
#
-# See the file README for change history.
+# See the file ChangeLog for change history.
#
###############################################################################
package Image::Size;
-require 5.6.0;
+require 5.006;
use strict;
+use warnings;
use bytes;
use Cwd ();
use File::Spec ();
@@ -39,7 +43,7 @@
$GIF_BEHAVIOR);
%EXPORT_TAGS = ('all' => [ @EXPORT_OK ]);
- $VERSION = "3.01";
+ $VERSION = "3.100001";
# Default behavior for GIFs is to return the "screen" size
$GIF_BEHAVIOR = 0;
@@ -659,6 +663,18 @@
found several typos and a small buglet. Ville Skytt� I<(ville.skytta@iki.fi)>
provided the MNG and the Image::Magick fallback code.
+=head1 COPYRIGHT
+
+This module and the code within are copyright (c) 2007 by Randy J. Ray. Some
+sections may have copyright assigned to other authors, as indicated in the
+in-line documentation.
+
+=head1 LICENSE
+
+Copying and distribution are permitted under the terms of the Artistic
+License 2.0 (Lhttp://www.opensource.org/licenses/artistic-license-2.0.php) or
+the GNU LGPL (Lhttp://www.opensource.org/licenses/lgpl-license.php).
+
=cut
1;
@@ -1128,7 +1144,8 @@
my $ver = _bin2int(unpack 'B8', substr($header, 3, 1));
my ($d, $status) = Compress::Zlib::inflateInit();
- $header = $d->inflate(substr($header, 8, 1024));
+ $header = substr($header, 8, 1024);
+ $header = $d->inflate($header);
my $bs = unpack 'B133', substr($header, 0, 9);
my $bits = _bin2int(substr($bs, 0, 5));
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Image-Size-3.01/Makefile.PL new/Image-Size-3.1.1/Makefile.PL
--- old/Image-Size-3.01/Makefile.PL 2006-09-14 09:48:03.000000000 +0200
+++ new/Image-Size-3.1.1/Makefile.PL 2008-02-18 07:36:17.000000000 +0100
@@ -1,5 +1,18 @@
-#!/usr/bin/perl
+# $Id: Makefile.PL 133 2008-02-18 06:34:47Z $
+require 5.006;
+use ExtUtils::MakeMaker;
-use Module::Build::Compat;
-Module::Build::Compat->run_build_pl(args => \@ARGV);
-Module::Build::Compat->write_makefile();
+WriteMakefile(NAME => 'Image::Size',
+ ($] >= 5.005 ?
+ (ABSTRACT => 'A library to extract height/width from images',
+ AUTHOR => 'Randy J. Ray (rjray@blackperl.com)') : ()),
+ dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
+ PREREQ_PM => { File::Spec => 0, Test::More => 0,
+ Compress::Zlib => 2 },
+ EXE_FILES => ['imgsize'],
+ PL_FILES => {},
+ clean => { FILES =>
+ 'Image-Size-* *.spec *.rpm rpmrc rpmmacro' },
+ VERSION => '3.1.1',
+ LICENSE => 'perl',
+ SIGN => 'here, please');
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Image-Size-3.01/META.yml new/Image-Size-3.1.1/META.yml
--- old/Image-Size-3.01/META.yml 2006-09-14 09:48:03.000000000 +0200
+++ new/Image-Size-3.1.1/META.yml 2008-02-18 07:36:17.000000000 +0100
@@ -1,22 +1,26 @@
---
name: Image-Size
-version: 3.01
+version: 3.1.1
author:
- 'Randy J. Ray '
abstract: A library to extract height/width from images
-license: artistic
+license: perl
resources:
- license: http://opensource.org/licenses/artistic-license.php
+ license: http://dev.perl.org/licenses/
requires:
+ Compress::Zlib: 2
File::Spec: 0
- perl: 5.6.0
+ perl: 5.006
build_requires:
Test::More: 0
+recommends:
+ Test::Pod: 0
+ Test::Pod::Coverage: 0
provides:
Image::Size:
file: lib/Image/Size.pm
- version: 3.01
-generated_by: Module::Build version 0.2805
+ version: 3.100001
+generated_by: Module::Build version 0.2808
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Image-Size-3.01/README new/Image-Size-3.1.1/README
--- old/Image-Size-3.01/README 2006-09-14 09:48:03.000000000 +0200
+++ new/Image-Size-3.1.1/README 2008-02-18 07:36:17.000000000 +0100
@@ -1,6 +1,6 @@
Image::Size - Determine the size of images in several common formats
-Version: 3.01 (See CHANGES below)
+Version: 3.1.1 (See CHANGES below)
WHAT IS IT
@@ -82,8 +82,17 @@
CHANGES
-Added ex/ directory with a few samples.
+Updated the license information to make sure all references are to both the
+Artistic 2.0 and the LGPL.
+
+Changed "use 5.6.0" lines to no longer use v-strings, for forward
+compatibility with Perl 5.10.0.
+
+Added "recommends" specification to Build.PL to refer to modules used in
+the testing phase (there is no "build_recommends" setting).
+
+Added Compress::Zlib to the list of required modules in Makefile.PL and
+Build.PL.
+
+Added "use warnings" to Size.pm to make sure it stays warnings-clean.
-Dropped ExtUtils::MakeMaker and switched to Module::Build. Makefile.PL is
-now a wrapper of sorts around Build.PL. This allows adding licensing
-information to META.yml for CPAN indexing.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Image-Size-3.01/SIGNATURE new/Image-Size-3.1.1/SIGNATURE
--- old/Image-Size-3.01/SIGNATURE 2006-09-14 09:48:06.000000000 +0200
+++ new/Image-Size-3.1.1/SIGNATURE 2008-02-18 07:36:21.000000000 +0100
@@ -14,17 +14,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 1805be10754316156dd852f1dfcac2050fcec0ca Build.PL
-SHA1 dc821832de8501a6f3c2e6b848bce252965276a6 ChangeLog
+SHA1 4c8390cdca0c911e334b2ecc2ef681d0ed1b33fd Build.PL
+SHA1 7d312a08f6bf11784e60a826b26f75caf11a7d79 ChangeLog
SHA1 7453996fad5f41d26658a5ee1a0174f4eab2411b MANIFEST
SHA1 548725eceb701a43211abf9e6ca7d009a770b6ce MANIFEST.SKIP
-SHA1 886188a6ae2e3933c37119d1dd3d2c5f73a33c63 META.yml
-SHA1 fc5a857f7cd483cf47c326eda1dbf0d95eab8c0f Makefile.PL
-SHA1 e3e194666ed712593f07b1cf1ed0306a33557853 README
+SHA1 90004fe55efdf271f7bc702323152973de627740 META.yml
+SHA1 a6b8e4c86f889ea884080060bb9b00c651a052a3 Makefile.PL
+SHA1 6fe0433810999b766a061be6025a5cb6c809ab33 README
SHA1 07825dcd35e70ec57c59905b39aeb9697055ed64 README.Win32
SHA1 35e9fb37ea0fa935a5c4443947a1a2f8bfda7e2e ex/make_gallery.pl
-SHA1 e82284dd3c12a75f2b7cddb618b291cf539c6315 imgsize
-SHA1 eb39814ecb6bfa45f148f19c3bea4a900728826c lib/Image/Size.pm
+SHA1 f4db1e2a0fdac3ab5eacddfeee6463ac9f41a275 imgsize
+SHA1 993b9b998ba0cdbeb3f875418aeb7423947a9b58 lib/Image/Size.pm
SHA1 e8cbb92589ecb68c8f03eae2ce497974752f21cc t/00_signature.t
SHA1 2ee82029c10fe46c29f6d78af599d4255e6cd315 t/468x60.psd
SHA1 92b2187605fc572527b5b87084487f1bd49c1d8a t/8.swf
@@ -44,9 +44,9 @@
SHA1 56d90857807bc62f46632c4cdc9331d87b71ec27 t/xterm.xpm
SHA1 4de752622ecfc7045623b39c0f7bce9c531e8a65 t/yasp.swf
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFFCQk23Cp33jjp81URAt0NAJ4mPpPqxDDbKopxHyhfMwC5w9v43QCfdYuO
-tDZirTjKSYH50RKPXFn+iHc=
-=2nVu
+iD8DBQFHuSdl3Cp33jjp81URAvSMAJsGyVVUwoA4MisltlODeAk1tK6G5gCcCBW2
+1mm3HiuQowOWHKSFv25d6LY=
+=YFLC
-----END PGP SIGNATURE-----
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org