aboutsummaryrefslogtreecommitdiff
path: root/www/WebMagick
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-09-05 18:28:38 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-09-05 18:28:38 +0000
commit80285b20b9ff11b02505c876f7aa3a370e6606dd (patch)
treee9717b8a630868dd8c80babf9cdbedb2a1219b29 /www/WebMagick
parent2a65b2a4107b66e58f726b8943938b8795392117 (diff)
downloadports-80285b20b9ff11b02505c876f7aa3a370e6606dd.tar.gz
ports-80285b20b9ff11b02505c876f7aa3a370e6606dd.zip
Tweak %htmlOpts more
Notes
Notes: svn path=/head/; revision=65695
Diffstat (limited to 'www/WebMagick')
-rw-r--r--www/WebMagick/files/patch-aa28
1 files changed, 17 insertions, 11 deletions
diff --git a/www/WebMagick/files/patch-aa b/www/WebMagick/files/patch-aa
index 49a2a5955d9f..9209e98b7bf4 100644
--- a/www/WebMagick/files/patch-aa
+++ b/www/WebMagick/files/patch-aa
@@ -2,9 +2,10 @@ Index: webmagick.in
===================================================================
RCS file: /cvsroot/webmagick/WebMagick/webmagick.in,v
retrieving revision 1.103
-diff -u -r1.103 webmagick.in
+retrieving revision 1.105
+diff -u -r1.103 -r1.105
--- webmagick.in 28 Aug 2002 21:42:32 -0000 1.103
-+++ webmagick.in 5 Sep 2002 17:28:04 -0000
++++ webmagick.in 5 Sep 2002 18:21:47 -0000 1.105
@@ -302,7 +302,7 @@
$opt_serversidemap = 0; # Enable server-side maps writting
@@ -23,15 +24,21 @@ diff -u -r1.103 webmagick.in
$currentDate = strftime ($opt_msg_date_format, localtime);
-@@ -1597,7 +1599,6 @@
+@@ -1596,8 +1598,11 @@
+ 'address' => $opt_address,
'anonymous' => $opt_anonymous,
'backgroundimg' => $opt_icons{'background'},
- 'cachedir' => $opt_cachedir,
+- 'cachedir' => $opt_cachedir,
- 'lowresdir' => $opt_lowresdir,
++ 'cache' => $opt_cache,
++ 'cachedir' => !$opt_cache ? "" : $opt_cachedir,
++ 'cacheformat' => !$opt_cache ? "" : $opt_cacheformat,
++ 'cachegeom' => !$opt_cache ? "" : $opt_cachegeom,
++ 'cachemin' => !$opt_cache ? 0 : $opt_cachemin,
'coloralink' => $opt_coloralink,
'colorback' => $opt_colorback,
'colorfore' => $opt_colorfore,
-@@ -1634,6 +1635,12 @@
+@@ -1634,6 +1639,11 @@
'jsfunctions' => !$opt_javascript ? "" : $fileNames{'jsFunctions'},
'jspageindex' => !$opt_javascript ? "" : $fileNames{'jsPageIndex'},
'jsvariables' => !$opt_javascript ? "" : $fileNames{'jsVariables'},
@@ -39,12 +46,11 @@ diff -u -r1.103 webmagick.in
+ 'lowresdir' => !$opt_lowres ? "" : $opt_lowresdir,
+ 'lowresformat' => !$opt_lowres ? "" : $opt_lowresformat,
+ 'lowresgeom' => !$opt_lowres ? "" : $opt_lowresgeom,
-+ 'lowresgeometry' => !$opt_lowres ? "" : $opt_lowresgeometry,
+ 'lowresmin' => !$opt_lowres ? 0 : $opt_lowresmin,
'metaauthor' => $opt_metaauthor,
'metacharset' => $opt_metacharset,
'metaclassification' => $opt_metaclassification,
-@@ -1904,14 +1911,13 @@
+@@ -1904,14 +1914,13 @@
# Clean up cached thumbnails
#
if( $opt_cache && -d $opt_cachedir ) {
@@ -62,7 +68,7 @@ diff -u -r1.103 webmagick.in
grep( $tarray{$_}++, @imgfiles );
@extra = grep( $_ = "$opt_cachedir/$_", grep( ! $tarray{$_}, @cacheFiles ));
-@@ -1922,14 +1928,13 @@
+@@ -1922,14 +1931,13 @@
# Clean up cached low resolution images
#
if( $opt_lowres && -d $opt_lowresdir ) {
@@ -80,7 +86,7 @@ diff -u -r1.103 webmagick.in
grep( $tarray{$_}++, @imgfiles );
@extra = grep( $_ = "$opt_lowresdir/$_", grep( ! $tarray{$_}, @lowresFiles ));
-@@ -2889,12 +2894,12 @@
+@@ -2889,12 +2897,12 @@
#
# If caching thumbnails then ensure that directory exists
#
@@ -95,7 +101,7 @@ diff -u -r1.103 webmagick.in
# Read images into PerlMagick object
print( STDERR "\nReading images: ", join(' ', @{$imageNames[$pageNumber - 1]}), "\n" )
-@@ -2925,18 +2930,20 @@
+@@ -2925,18 +2933,20 @@
$filesize, # Image file size
$magick);
@@ -126,7 +132,7 @@ diff -u -r1.103 webmagick.in
#then do the thumbnail
($rc, $filesize, $width, $height, $magick) =
-@@ -3910,7 +3917,10 @@
+@@ -3910,7 +3920,10 @@
# the size specified (it returns a number of standard
# scaled sizes) but not smaller.
# This uses a feature available in PerlMagick 1.12 and beyond