summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-02-27 16:39:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-02-27 16:40:41 +0100
commitb0cc851a192a87cbaf57758a59a1c6a38797514a (patch)
treecd3c998d7a0a93df1b3df14a04b04d7e97ecbada
parentac79b62359ecb4ab7e12c7d930460226da9bfbe8 (diff)
Update documentation
-rw-r--r--Build.PL2
-rw-r--r--README7
-rwxr-xr-xbin/dthumb12
-rwxr-xr-xlib/App/Dthumb.pm2
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 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');