diff options
-rw-r--r-- | Build.PL | 2 | ||||
-rw-r--r-- | README | 7 | ||||
-rwxr-xr-x | bin/dthumb | 12 | ||||
-rwxr-xr-x | lib/App/Dthumb.pm | 2 |
4 files changed, 8 insertions, 15 deletions
@@ -16,11 +16,11 @@ my $build = Module::Build->new( requires => { 'perl' => '5.10.0', 'autodie' => 0, - 'Archive::Tar' => 0, 'Cwd' => 0, 'Data::Section' => 0, 'Getopt::Long' => 0, 'Image::Imlib2' => 0, + 'MIME::Base64' => 0, }, ); $build->create_build_script(); @@ -2,7 +2,8 @@ dthumb - Create static HTML thumbnail list for images Requires: * perl version 5.10 or newer - * The Image::Imlib2 perl module + * Data::Section + * Image::Imlib2 Installation: @@ -11,3 +12,7 @@ Installation: > sudo ./Build install You can then run 'man dthumb' for more information. + + +You may also run './Build test'. This will require the Test::More, +Test::Compile and Test::Pod modules. @@ -50,13 +50,6 @@ Note that recursion is not yet supported. =over -=item B<-x>, B<--archive> - -Create (and link) an "image.tar" archive containing all full-size image files. -All but the last directories in the files' path are stripped, besides that the -directory structure is preserved. So, if you run dthumb -x in -.../mydir/, the archive will contain mydir/1.jpg, mydir/2.jpg etc. - =item B<-n>, B<--no-names> Do not show image names below thumbnails @@ -94,7 +87,7 @@ None. =item * autodie (Included in core as of perl 5.10.1) -=item * Archive::Tar (subject to change) +=item * Data::Section =item * Image::Imlib2 @@ -104,9 +97,6 @@ None. Thumbnails of changed images are not yet recreated. -When used with B<-x>, the completer tar archive is kept in memory, leading to -enormous memory usage and possibly out-of-memory errors. - =head1 AUTHOR Copyright (C) 2009, 2010 by Daniel Friesel E<lt>derf@chaosdorf.deE<gt> diff --git a/lib/App/Dthumb.pm b/lib/App/Dthumb.pm index 1b673c7..f525776 100755 --- a/lib/App/Dthumb.pm +++ b/lib/App/Dthumb.pm @@ -8,7 +8,6 @@ use 5.010; use base 'Exporter'; use App::Dthumb::Data; -use Archive::Tar; use Cwd; use Image::Imlib2; @@ -29,7 +28,6 @@ sub new { $ref->{config} = $conf; $ref->{data} = App::Dthumb::Data->new(); - $ref->{tar} = Archive::Tar->new(); $ref->{html} = $ref->{data}->get('html_start'); |