From b0cc851a192a87cbaf57758a59a1c6a38797514a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 27 Feb 2011 16:39:57 +0100 Subject: Update documentation --- Build.PL | 2 +- README | 7 ++++++- bin/dthumb | 12 +----------- lib/App/Dthumb.pm | 2 -- 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/Build.PL b/Build.PL index 2158460..7cd582c 100644 --- a/Build.PL +++ b/Build.PL @@ -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(); diff --git a/README b/README index 14e0ed6..8678cef 100644 --- a/README +++ b/README @@ -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. diff --git a/bin/dthumb b/bin/dthumb index 012b911..38e330e 100755 --- a/bin/dthumb +++ b/bin/dthumb @@ -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 Ederf@chaosdorf.deE 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'); -- cgit v1.2.3