summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-10-23 21:32:40 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-10-23 21:32:40 +0000
commit352919f7e6eee1c71b8a63f87de477945bc67410 (patch)
tree4441695637cb816b0d37e4f005b67f2a89a4f7ae /www
parentUpdate to 1.7.12. (diff)
Upgrade to 2.03pre3
Notes
Notes: svn path=/head/; revision=68686
Diffstat (limited to 'www')
-rw-r--r--www/WebMagick/Makefile4
-rw-r--r--www/WebMagick/distinfo2
-rw-r--r--www/WebMagick/files/patch-aa149
3 files changed, 3 insertions, 152 deletions
diff --git a/www/WebMagick/Makefile b/www/WebMagick/Makefile
index f1c7f95fcd39..9a8ed9dd1708 100644
--- a/www/WebMagick/Makefile
+++ b/www/WebMagick/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= WebMagick
-PORTVERSION= 2.03p2
+PORTVERSION= 2.03p3
CATEGORIES= www graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webmagick
-DISTNAME= ${PORTNAME}-2.03pre2
+DISTNAME= ${PORTNAME}-2.03pre3
MAINTAINER= ache@freebsd.org
diff --git a/www/WebMagick/distinfo b/www/WebMagick/distinfo
index 57d98ca800b4..10867d6bfb9d 100644
--- a/www/WebMagick/distinfo
+++ b/www/WebMagick/distinfo
@@ -1 +1 @@
-MD5 (WebMagick-2.03pre2.tar.gz) = 1dcd48683ef2467beb7003637e2b7d53
+MD5 (WebMagick-2.03pre3.tar.gz) = 72c0e9eb448a16fd0ab1d53941a7b122
diff --git a/www/WebMagick/files/patch-aa b/www/WebMagick/files/patch-aa
deleted file mode 100644
index 1d3aa5885d32..000000000000
--- a/www/WebMagick/files/patch-aa
+++ /dev/null
@@ -1,149 +0,0 @@
-Index: webmagick.in
-===================================================================
-RCS file: /cvsroot/webmagick/WebMagick/webmagick.in,v
-retrieving revision 1.114
-retrieving revision 1.116
-diff -u -r1.114 -r1.116
---- webmagick.in 25 Sep 2002 01:00:20 -0000 1.114
-+++ webmagick.in 23 Oct 2002 00:57:06 -0000 1.116
-@@ -1,6 +1,6 @@
- #! @PERL@
- #
--# $Id: webmagick.in,v 1.114 2002/09/25 01:00:20 clindell Exp $
-+# $Id: webmagick.in,v 1.116 2002/10/23 00:57:06 ache Exp $
- #
- # You are looking at the main PERL script for WebMagick, a package to
- # intelligently create HTML and JavaScript index files and imagemaps
-@@ -1595,9 +1595,6 @@
- 'address' => $opt_address,
- 'anonymous' => $opt_anonymous,
- 'backgroundimg' => $opt_icons{'background'},
-- 'lowres' => $opt_lowres,
-- 'lowresdir' => !$opt_lowres ? "" : $opt_lowresdir,
-- 'lowresformat' => !$opt_lowres ? "" : $opt_lowresformat,
- 'cachedir' => !$opt_tables ? "" : $opt_cachedir,
- 'cacheformat' => !$opt_tables ? "" : $opt_cacheformat,
- 'coloralink' => $opt_coloralink,
-@@ -1636,6 +1633,9 @@
- 'jsfunctions' => !$opt_javascript ? "" : $fileNames{'jsFunctions'},
- 'jspageindex' => !$opt_javascript ? "" : $fileNames{'jsPageIndex'},
- 'jsvariables' => !$opt_javascript ? "" : $fileNames{'jsVariables'},
-+ 'lowres' => $opt_lowres,
-+ 'lowresdir' => !$opt_lowres ? "" : $opt_lowresdir,
-+ 'lowresformat' => !$opt_lowres ? "" : $opt_lowresformat,
- 'metaauthor' => $opt_metaauthor,
- 'metacharset' => $opt_metacharset,
- 'metaclassification' => $opt_metaclassification,
-@@ -2937,11 +2937,13 @@
- $opt_forcelowres, $opt_lowresgeom,
- $opt_lowresformat, $opt_lowresmin,
- 0, 0);
-+ undef @$image; # Only delete image data, not object
-+
- if ($rc == -1) {
-+ print("Trying next image...\n");
- next READ;
- }
-
-- undef @$image; # Only delete image data, not object
- }
-
- #then do the thumbnail
-@@ -2951,7 +2953,9 @@
- $opt_cacheformat, $opt_cachemin,
- $opt_thumbprehook, $opt_thumbposthook);
- if ($rc == -1) {
-- next READ;
-+ undef @$image; # Only delete image data, not object
-+ print("Trying next image...\n");
-+ next READ;
- }
-
- #
-@@ -2959,8 +2963,6 @@
- #
- push(@$thumbs, @$image);
-
-- #print( STDERR "Freeing $imagename ...\n") if $opt_debug;
--
- # Only delete image data, not object
- undef @$image;
- }
-@@ -3698,7 +3700,6 @@
- print( STDERR "Reading $cachename ...\n" ) if $opt_debug;
- $status = $image->Read("$cachename");
- if ("$status") {
-- undef @$image; # Only delete image data, not object
- handleMagickError( __FILE__, __LINE__, $cachename, $status);
- return -1; # Try to read next image
- }
-@@ -3731,14 +3732,16 @@
- # scaled sizes) but not smaller.
- # This uses a feature available in PerlMagick 1.12 and beyond
- $status = $image->Set(size=>$a_geometry);
-- handleMagickError( __FILE__, __LINE__, "$a_geometry", $status) if "$status";
-+ if ("$status") {
-+ handleMagickError( __FILE__, __LINE__, "$a_geometry", $status);
-+ return -1; # Try to read next image }
-+ }
-
- # Read image
- print( STDERR "Reading ${imagename}\[0\] with geometry ${a_geometry}...\n" ) if $opt_debug;
- $status = $image->Read("${imagename}\[0\]");
-- if ("$status" && handleMagickError( __FILE__, __LINE__, $imagename, $status)) {
-- undef @$image; # Only delete image data, not object
-- print("Trying next image ...\n" );
-+ if ("$status") {
-+ handleMagickError( __FILE__, __LINE__, $imagename, $status);
- return -1; # Try to read next image }
- }
-
-@@ -3802,7 +3805,6 @@
- }
-
- if ("$status") {
-- undef @$image; # Only delete image data, not object
- handleMagickError( __FILE__, __LINE__, $imagename, $status);
- return -1; # Try to read next image
- }
-@@ -3826,7 +3828,10 @@
-
- # Apply comment to thumbnail image
- $status = $image->Comment( $comment );
-- handleMagickError( __FILE__, __LINE__, $cachename, $status) if "$status";
-+ if ("$status") {
-+ handleMagickError( __FILE__, __LINE__, $cachename, $status);
-+ return -1;
-+ }
-
- print( STDERR "Writing ${cachename} ...\n" )
- if $opt_debug;
-@@ -3844,7 +3849,10 @@
- filename=>"${a_cacheformat}:${cachename}"
- );
- }
-- handleMagickError( __FILE__, __LINE__, $cachename, $status) if "$status";
-+ if ("$status") {
-+ handleMagickError( __FILE__, __LINE__, $cachename, $status);
-+ return -1;
-+ }
- if (! $a_lowres) {
- # TODO: for some reason, the output looks like these are getting put in twice, once with .cache/
- $thumbImageSizes{$imagename} = html_imgsize($cachename);
-@@ -3916,12 +3924,12 @@
- print( STDERR "Applying image label: \"${label}\"\n" )
- if $opt_debug;
- $status = $image->Label( $label );
-- handleMagickError( __FILE__, __LINE__, $imagename, $status) if "$status";
-+ if ("$status") {
-+ handleMagickError( __FILE__, __LINE__, $imagename, $status);
-+ return -1;
-+ }
- }
-
-- undef @$image;
-- undef $image;
--
- return 0;
- }
- ######################################################################