From c916a04acfc229cec19e1def9eda718b4ae1eb2d Mon Sep 17 00:00:00 2001
From: ache
Date: Thu, 27 May 2004 00:02:49 +0000
Subject: Update to latest variant from project's CVS
PR: 67070 (partially)
Submitted by: Vladimir I. Chukharev
---
www/WebMagick/Makefile | 6 +-
www/WebMagick/files/patch-aa | 867 ++++++++++++++++++++++++++++++++++++++-----
www/WebMagick/files/patch-ab | 44 ++-
www/WebMagick/files/patch-ad | 135 +++++++
4 files changed, 957 insertions(+), 95 deletions(-)
create mode 100644 www/WebMagick/files/patch-ad
(limited to 'www')
diff --git a/www/WebMagick/Makefile b/www/WebMagick/Makefile
index f0680e3..b5d2d1b 100644
--- a/www/WebMagick/Makefile
+++ b/www/WebMagick/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= WebMagick
-PORTVERSION= 2.03p3
-PORTREVISION= 9
-PORTEPOCH= 1
+PORTVERSION= 2.03p3
+PORTREVISION= 10
+PORTEPOCH= 1
CATEGORIES= www graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webmagick
diff --git a/www/WebMagick/files/patch-aa b/www/WebMagick/files/patch-aa
index 66fd492..37bd7ff 100644
--- a/www/WebMagick/files/patch-aa
+++ b/www/WebMagick/files/patch-aa
@@ -2,19 +2,60 @@ Index: webmagick.in
===================================================================
RCS file: /cvsroot/webmagick/WebMagick/webmagick.in,v
retrieving revision 1.117
-retrieving revision 1.129
-diff -u -r1.117 -r1.129
+retrieving revision 1.136
+diff -u -r1.117 -r1.136
--- webmagick.in 23 Oct 2002 16:14:47 -0000 1.117
-+++ webmagick.in 21 Feb 2004 02:27:24 -0000 1.129
++++ webmagick.in 26 May 2004 23:28:43 -0000 1.136
@@ -1,6 +1,6 @@
#! @PERL@
#
-# $Id: webmagick.in,v 1.117 2002/10/23 16:14:47 clindell Exp $
-+# $Id: webmagick.in,v 1.129 2004/02/21 02:27:24 ache Exp $
++# $Id: webmagick.in,v 1.136 2004/05/26 23:28:43 ache Exp $
#
# You are looking at the main PERL script for WebMagick, a package to
# intelligently create HTML and JavaScript index files and imagemaps
-@@ -167,6 +167,7 @@
+@@ -99,7 +99,8 @@
+ @imageThumbCoords, # Thumbnail imagemap coordinates
+ $imageFrameLink, # URL to use as source for image frame
+ %imageLabels, # Labels to use for images (if specified)
+- %tableImageLabels, # labels to use in tables
++ %imageCaptions, # Captions for perimage HTML
++ %tableImageLabels, # labels to use in tables
+ %imageOrder, # Order that images occur in imgindex file
+ $inChild, # Set to true if this process is a child
+ $currentDate,
+@@ -117,6 +118,7 @@
+ $opt_cacheformat,
+ $opt_cachegeom,
+ $opt_cachemin,
++ $opt_centerfooter,
+ $opt_lowres,
+ $opt_lowresdir,
+ $opt_lowresformat,
+@@ -124,6 +126,7 @@
+ $opt_lowresmin,
+ $opt_coloralink,
+ $opt_colorback,
++ $opt_tablebackcolor,
+ $opt_colorfore,
+ $opt_colorlink,
+ $opt_colorvlink,
+@@ -144,12 +147,13 @@
+ $opt_forcejpeg,
+ $opt_forcehtml,
+ $opt_forcemontage,
++ $opt_forcenouplink,
++ $opt_forceuplink,
+ $opt_frame_name_dirview,
+ $opt_frame_name_imageview,
+ $opt_frame_name_thumbview,
+ $opt_frame_name_top,
+ $opt_frameborder,
+- $opt_framebordersize,
+ $opt_frameddirfmt,
+ %opt_framefmt,
+ %opt_framefmt_frames,
+@@ -167,6 +171,7 @@
%opt_icons,
$opt_ignore,
$opt_ignorefp,
@@ -22,17 +63,20 @@ diff -u -r1.117 -r1.129
$opt_imgindexname,
$opt_indexname,
$opt_javascript,
-@@ -212,6 +213,9 @@
+@@ -212,6 +217,12 @@
$opt_srcdir,
$opt_stylesheet, # URL to a CSS to use
$opt_tables,
++ $opt_tablebackcolor,
++ $opt_fancytables,
++ $opt_fancytableheight,
+ $opt_tables_bottom,
+ $opt_tables_params,
+ $opt_tables_top,
$opt_thumbbackground,
$opt_thumbbordercolor,
$opt_thumbborderwidth,
-@@ -237,8 +241,11 @@
+@@ -237,14 +248,20 @@
$opt_webmagickrc, # Per-directory WebMagick rc file name
$opt_zoomfilter,
$opt_pichtml,
@@ -42,9 +86,18 @@ diff -u -r1.117 -r1.129
$opt_pichtmlext,
+ $opt_pichtmllink,
$opt_pichtmlnav,
++ $opt_pichtmlupfirst,
$opt_pichtmlputtitle,
++ $opt_pichtmltitletop,
$opt_pichtmltarget,
-@@ -368,6 +375,7 @@
+ $opt_pichtmltitleend,
+ $opt_pichtmltitlestart,
+ $opt_pichtmltop,
++ $opt_edgelinksindex,
+ $pageStatusTime, # Time status file last modified
+ $pageNumber, # Current page number
+ $pathSep, # OS-specific path separator
+@@ -368,6 +385,7 @@
$opt_ignore = 0; # Do not webmagick this directory
# but still recurse into sub-directories
$opt_ignorefp = 1; # ignore _* special FrontPage directories (on)
@@ -52,15 +105,29 @@ diff -u -r1.117 -r1.129
$opt_srcdir = '.'; # Source directory path (current directory)
$opt_verbose = 0; # Verbose flag (default off)
$opt_forcecache = 0; # Force update of cached thumbnails
-@@ -386,13 +394,19 @@
+@@ -376,6 +394,9 @@
+ $opt_forcemontage = 0; # Force montage (default off)
+ $opt_forcegif = 0; # Force GIF imagemaps (default off)
+ $opt_forcejpeg = 0; # Force JPEG imagemaps (default off)
++$opt_forcenouplink = 0; # Force there to be no uplink in directory index list
++$opt_forceuplink = 0; # Force there to be an uplink in directory index list
++ # (i.e. even if we didn't generate ../index.html)
+ $opt_jpegquality = 70; # Quality for JPEG imagemaps
+ $opt_help = 0; # Display usage message
+ $opt_version = 0; # Display version info
+@@ -386,15 +407,28 @@
$opt_readmevisible = 0; # Make README.html be first page.
$opt_title = ''; # Page title (blank provides default title)
$opt_tables = 0; # disable tables
++$opt_tablebackcolor = '#000000'; # table background color
++$opt_fancytables = 0; # use a fancier table for index pages
++$opt_fancytableheight = 28; # the height of the fancy table border
+$opt_tables_bottom = ''; # HTML after table contents
+$opt_tables_params = 'WIDTH="90%"'; # table HTML parameters
+$opt_tables_top = ''; # HTML before table contents
$opt_address = ''; # Additonal address info for bottom of
# imagemap page
++$opt_centerfooter = 0; # Center the footer text
$opt_date = 1; # Output updates date
$opt_pichtml = 0; # Write separate HTML for each picture
@@ -70,65 +137,87 @@ diff -u -r1.117 -r1.129
$opt_pichtmlext = '.html'; # Use .shtml for SSI
+$opt_pichtmllink = ''; # Where to link pic
$opt_pichtmlnav = 0; # Write navigation into pic's HTML
++$opt_pichtmlupfirst = 1; # Put up button before next/prev
++$opt_edgelinksindex = 0; # End links link back to index
$opt_pichtmlputtitle = 1; # Write picture title above it
++$opt_pichtmltitletop = 1; # Put picture title at top
$opt_pichtmltarget = '';
-@@ -492,7 +506,7 @@
+ $opt_pichtmltitleend = '
'; # End tags for picture title
+ $opt_pichtmltitlestart = ''; # Start tags for picture title
+@@ -491,8 +525,7 @@
+ $opt_frames = 1; # Use frames
$opt_framemarginwidth = 1; # Pixels allocated to frame margin in horizontal direction
$opt_framemarginheight = 1; # Pixels allocated to frame margin in vertical direction
- $opt_framebordersize = 3 ; # Pixels allocated to frame border
+-$opt_framebordersize = 3 ; # Pixels allocated to frame border
-$opt_frameborder = 'YES'; # Enable (YES) or disable (NO) decorative frame borders
+$opt_frameborder = 1; # Enable (1) or disable (0) decorative frame borders
$opt_framestyle = 1; # Frame style to use (out of those available)
#
-@@ -596,12 +610,11 @@
+@@ -539,6 +572,7 @@
+ $opt_icons{'next_gray'} = 'gray_next.gif'; # Next (grayed out)
+ $opt_icons{'up'} = 'blue_up.gif'; # Up
+ $opt_icons{'help'} = 'blue_readme.gif'; # Help Readme File
++# $opt_icons{'ft_top'} = 'ft_top.gif'; # Fancy table top
+ # $opt_icons{'help'} = 'blue_help.gif'; # Help Alternative (Question)
+ # $opt_icons{'dir'} = 'blue_dir.gif'; # Directory List Icon (See below)
+ # $opt_icons{'ball'} = 'blue_ball.gif'; # A ball matching other icons
+@@ -596,12 +630,11 @@
# | | |
# -------------
$opt_framefmt{1}=
-'