Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prep for 3.210 release

  • Loading branch information...
commit 9205b29d4d9eb40b9e59c777599736a7e6058f92 1 parent 2c11bfe
@rjray authored
Showing with 67 additions and 139 deletions.
  1. +19 −5 Build.PL
  2. +33 −0 ChangeLog.xml
  3. +0 −116 README
  4. +15 −18 README.textile
View
24 Build.PL
@@ -21,8 +21,14 @@ my $class =
# Create the text ChangeLog
$self->do_system('changelog2x',
- qw(--template text --input ChangeLog.xml),
- qw(--output ChangeLog));
+ qw(--template text
+ --input ChangeLog.xml
+ --output ChangeLog));
+ # Create the text README
+ $self->do_system('textile2x',
+ qw(--format plaintext
+ --input README.textile
+ --output README));
$self->SUPER::ACTION_manifest();
$self->SUPER::ACTION_dist();
@@ -36,7 +42,7 @@ my $builder =
dist_author => 'Randy J. Ray <rjray@blackperl.com>',
dist_abstract =>
'A library to extract height/width from images',
- dist_version => '3.21',
+ dist_version => '3.210',
build_requires => {
'Module::Build' => '0.28',
'Test::More' => '0.80',
@@ -47,16 +53,24 @@ my $builder =
},
recommends => {
'Compress::Zlib' => '2',
- 'Test::Pod' => '0',
- 'Test::Pod::Coverage' => '0',
},
script_files => [ qw(imgsize) ],
add_to_cleanup => [ qw(Image-Size-*
ChangeLog
+ README
MANIFEST
MANIFEST.bak
META.yml
Makefile.PL) ],
+ meta_merge =>
+ {
+ resources =>
+ {
+ homepage => 'http://search.cpan.org/dist/Image-Size',
+ bugtracker => 'http://rt.cpan.org/Public/Dist/Display.html?Name=Image-Size',
+ repository => 'http://github.com/rjray/image-size',
+ }
+ },
create_makefile_pl => 'traditional',
sign => 'here, please',
);
View
33 ChangeLog.xml
@@ -13,6 +13,39 @@
information from files in a wide variety of common (and not-so-common)
formats.
</description>
+ <release version="3.210" sc:tag="3.210" date="2009-10-21T18:50:00-07:00">
+ <change git:commit="4f12b06dd27f1f7b720acaea7a369c653e659206">
+ <file path="t/magick.t" />
+ <description>
+ Removed a stray colon causing errors with some Perl versions.
+ </description>
+ </change>
+ <change git:commit="175a683f3d568c418a94218702997da20d237fdd">
+ <fileset>
+ <file path="t/00_load.t" action="ADD" />
+ <file path="t/00_signature.t" action="DELETE" />
+ <file path="t/01_pod.t" action="ADD" />
+ <file path="t/02_pod_coverage.t" action="ADD" />
+ <file path="t/03_meta.t" action="ADD" />
+ <file path="t/04_minimumversion.t" action="ADD" />
+ <file path="t/05_critic.t" action="ADD" />
+ <file path="t/magick.t" />
+ <file path="t/pod.t" action="DELETE" />
+ <file path="t/pod_coverage.t" action="DELETE" />
+ </fileset>
+ <description>
+ Removed useless signature test, added QA tests, removed a duplicate
+ test.
+ </description>
+ </change>
+ <change git:commit="2c11bfe0c4df6b6201bce8c44b5763151dacf42c">
+ <file path="lib/Image/Size.pm" />
+ <description>
+ Moved around some conditionally-needed libs to delay loading
+ until/unless needed. Also made a small fix per Perl::Critic.
+ </description>
+ </change>
+ </release>
<release version="3.2" date="2009-02-23T05:00:00-08:00" sc:tag="v3.2">
<change git:commit="16dfa93026200cf00840f5ec721ac765644f72a7">
<fileset>
View
116 README
@@ -1,116 +0,0 @@
-Image::Size - Determine the size of images in several common formats
-
-Version: 3.2 (See CHANGES below)
-
-WHAT IS IT
-
-Image::Size is a library based on the image-sizing code in the wwwimagesize
-script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to
-IMG directives. Image::Size has generalized that code to return a raw (X, Y)
-pair, and included wrappers to pre-format that output into either HTML or
-a set of attribute pairs suitable for the CGI.pm library by Lincoln Stein.
-Currently, Image::Size can size images in XPM, XBM, GIF, JPEG, PNG, MNG, TIFF,
-the PPM family of formats (PPM/PGM/PBM) and if Image::Magick is installed,
-the formats supported by it.
-
-I did this because my old WWW server generated a lot of documents on demand
-rather than keeping them in static files. These documents not only used
-directional icons and buttons, but other graphics to annotate and highlight
-sections of the text. Without size attributes, browsers cannot render the
-text of a page until the image data is loaded and the size known for layout.
-This library enables scripts to size their images at run-time and include
-that as part of the generated HTML. Or for any other utility that uses and
-manipulates graphics. The idea of the basic interface + wrappers is to not
-limit the programmer to a certain data format.
-
-
-USING Image::Size IN YOUR SCRIPTS
-
-Image::Size has pod documentation that gives a more complete overview, but
-in a nutshell:
-
- use Image::Size;
-
- ($x, $y) = imgsize("something.gif");
-
-And ($x, $y) is now the width and height of something.gif. 95% of my usage of
-this library is in conjunction with Lincoln Stein's CGI.pm:
-
- use CGI ':all';
- use Image::Size 'attr_imgsize';
-
- #
- # Emit an IMG tag with size attributes:
- #
- print img({-SRC => '/server/images/arrow.gif',
- attr_imgsize('/server_root/server/images/arrow.gif')});
-
-Alternately, if you are running under Apache and mod_perl:
-
- # Assume $Q is an object of class CGI, $r is an Apache request object
- $r->print($Q->img({ -src => $imgpath,
- attr_imgsize($r->lookup_uri($imgpath)->
- filename) }));
-
-BUILDING/INSTALLING
-
-This package now uses the Module::Build system:
-
- perl Build.PL
- ./Build && ./Build test
-
-If all tests pass, then:
-
- ./Build install
-
-
-You may need super-user access to install.
-
-There is a Makefile.PL provided for backwards compatibility:
-
- perl Makefile.PL
- make && make test
- make install
-
-This simply wraps around the Build.PL file
-
-
-PROBLEMS/BUG REPORTS
-
-Please send any reports of problems or bugs to rjray@blackperl.com.
-
-
-CHANGES
-
-* lib/Image/Size.pm
-* t/all.t
-Make the package buildable in a pure-Perl software stack. Per
-RT ticket #42930, make Compress::Zlib optional, so that those
-who do not need it are not required to install it. Updated the
-test around the compressed-SWF file to skip if Compress::Zlib
-is absent.
-
-* Build.PL (restored)
-* ChangeLog (deleted)
-* ChangeLog.xml (added)
-* MANIFEST (deleted)
-* Makefile.PL (deleted)
-* README.Win32 (deleted)
-* etc/ChangeLogML.xsd (added)
-Making large-scale house-keeping changes to the build/dist
-process. Replace ChangeLog (plain-text) with a ChangeLogML file
-created from the CVS/SVN history and hand-adjusted; add the XSD
-for ChangeLogML; restore Build.PL and heavily enhance; and
-remove README.Win32, Makefile.PL and MANIFEST.
-
-* lib/Image/Size.pm
-Per RT ticket #43452, make the cache visible outside the
-lexical scope of the module This allows the hash to be used
-with packages like IPC::Shareable or IPC::MM to enable sharing
-the cache between processes. Added extra documentation of this,
-and a new section describing approaches to cache-sharing.
-
-Transaction revision: 136
-* imgsize
-* lib/Image/Size.pm
-Fix URL/specification of the license info for LGPL.
View
33 README.textile
@@ -1,6 +1,6 @@
h1. Image::Size - Determine the size of images in several common formats
-Version: 3.2 (See CHANGES below)
+Version: 3.210 (See CHANGES below)
h2. WHAT IS IT
@@ -69,26 +69,23 @@ Please send any reports of problems or bugs to rjray@blackperl.com.
h2. CHANGES
-* lib/Image/Size.pm
-* t/all.t
-
-p{margin-bottom:2em}. Make the package buildable in a pure-Perl software stack. Per RT ticket #42930, make Compress::Zlib optional, so that those who do not need it are not required to install it. Updated the test around the compressed-SWF file to skip if Compress::Zlib is absent.
+* t/magick.t
-* Build.PL (restored)
-* ChangeLog (deleted)
-* ChangeLog.xml (added)
-* MANIFEST (deleted)
-* Makefile.PL (deleted)
-* README.Win32 (deleted)
-* etc/ChangeLogML.xsd (added)
+p{margin-bottom:2em}. Removed a stray colon causing errors with some Perl versions.
-p{margin-bottom:2em}. Making large-scale house-keeping changes to the build/dist process. Replace ChangeLog (plain-text) with a ChangeLogML file created from the CVS/SVN history and hand-adjusted; add the XSD for ChangeLogML; restore Build.PL and heavily enhance; and remove README.Win32, Makefile.PL and MANIFEST.
-
-* lib/Image/Size.pm
+* t/00_load.t (added)
+* t/00_signature.t (deleted)
+* t/01_pod.t (added)
+* t/02_pod_coverage.t (added)
+* t/03_meta.t (added)
+* t/04_minimumversion.t (added)
+* t/05_critic.t (added)
+* t/magick.t
+* t/pod.t (deleted)
+* t/pod_coverage.t (deleted)
-p{margin-bottom:2em}. Per RT ticket #43452, make the cache visible outside the lexical scope of the module This allows the hash to be used with packages like IPC::Shareable or IPC::MM to enable sharing the cache between processes. Added extra documentation of this, and a new section describing approaches to cache-sharing.
+p{margin-bottom:2em}. Removed useless signature test, added QA tests, removed a duplicate test.
-* imgsize
* lib/Image/Size.pm
-p{margin-bottom:2em}. Fix URL/specification of the license info for LGPL.
+p{margin-bottom:2em}. Moved around some conditionally-needed libs to delay loading until/unless needed. Also made a small fix per Perl::Critic.
Please sign in to comment.
Something went wrong with that request. Please try again.