"Fossies" - the Fresh Open Source Software Archive

Member "Apache-Gallery-1.0.2/UPGRADE" (8 Jun 2011, 3579 Bytes) of package /linux/www/old/Apache-Gallery-1.0.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # $Author: mil $ $Rev: 297 $
    2 # $Date: 2005-06-07 09:50:49 +0200 (Tue, 07 Jun 2005) $
    3 
    4 For users upgrading to 1.0
    5 
    6 If you are using mod_perl2 version mod_perl-2.0 is now required.
    7 
    8 Also, CGI 3.08 is required if using mod_perl2.
    9 
   10 To enable access keys for navigation update the navpicture.tpl and
   11 showpicture.tpl templates.
   12 
   13 For users upgrading from 0.7 to 0.8
   14 
   15 You need to create new directory called gallery in Apaches
   16 icons directory. Copy the png files from the htdocs dictory
   17 to this new directory.
   18 
   19 For those of you with pre-existing templates, a simple
   20 
   21    cd templates; perl -pi -e 's/(?<!\\)(\$[\w\_\d]+)/\{ $1 \}/g' *.tpl
   22 
   23 should get your templates but directory.tpl and file.tpl
   24 working correctly. The last two needs to be updated from
   25 the distribution.
   26 
   27 For users upgrading from 0.6 to 0.7
   28 
   29 Apache::Gallery now uses the module Image::Imlib2 instead
   30 of Inline::C. This enables us to ship binary distributions.
   31 
   32 Copy htdocs/agfolder.png to your Apache
   33 icons directory.
   34 
   35 If you enable the GalleryMaxThumbnailsPerPage option you
   36 need to update your index.tpl template file or use the
   37 new templates. You also need to copy templates/default/gallery.css
   38 to your DocumentRoot.
   39 
   40 To update to the new layout, copy templates/new/gallery.css 
   41 to your DocumentRoot and copy templates/new/*.tpl to your
   42 GalleryTemplateDir and set the following option in your virtual
   43 host:
   44 
   45 PerlSetVar GalleryEXIFMode 'values'
   46 
   47 For users upgrading from 0.5.1 to 0.6
   48 
   49 templates/movie.tpl has been removed and replaced by
   50 templates/file.tpl
   51 
   52 Remember to update templates/picture.tpl
   53 
   54 htdocs/video-wmv.png
   55 htdocs/application-doc.png
   56 htdocs/application-mp3.png
   57 htdocs/application-ogg.png
   58 htdocs/application-pdf.png
   59 htdocs/application-rtf.png
   60 htdocs/application-wav.png
   61 
   62 have been added and should be copied to our Apache icons
   63 directory.
   64 
   65 For users upgrading from 0.5 to 0.5.1
   66 
   67 InlineDir is no longer honored, File::Spec is used to find a temporary
   68 directory (usually /tmp)
   69 Since 0.5, your .cache subdirectories are no longer used and can be
   70 safely deleted. All cached images are now kept in
   71 /var/tmp/Apache-Gallery/ unless you set GalleryCacheDir.
   72 
   73 For users upgrading from 0.4 to 0.5
   74 
   75 Remember to update the following templates:
   76 templates/interval.tpl
   77 templates/intervalactive.tpl
   78 templates/layout.tpl
   79 templates/refresh.tpl
   80 templates/scaleactive.tpl
   81 templates/showpicture.tpl
   82 templates/slideshowisoff.tpl
   83 templates/slideshowoff.tpl
   84 templates/pictureinfo.tpl
   85 templates/nopictureinfo.tpl
   86 
   87 A new option has been added:
   88 
   89 PerlSetVar	GalleryCacheDir '/var/tmp/Apache-Gallery/'
   90 
   91 GalleryCacheDir is optional but you can use it to decide
   92 where Apache::Gallery should place the scaled pictures.
   93 
   94 For users upgrading from 0.3 to 0.4:
   95 
   96 Two new options have been added, they are both optional:
   97 
   98 PerlSetVar   GalleryThumbnailSize '100x75'
   99 PerlSetVar   GalleryCopyrightImage 'htdocs/c.png'
  100 
  101 The templates and the htdocs/gallery.css file has been updated
  102 so remember to copy them to your template dir and documentroot!
  103 
  104 To use the new movie feature make sure you add the movie.tpl file
  105 to your templates dir and copy the video-* files from htdocs to
  106 your apache icons directory.
  107 
  108 For users upgrading from 0.2 to 0.3:
  109 
  110 There has been som changes to the templates. info.tpl and scale.tpl
  111 were added and showpicture.tpl was changed a little.
  112 
  113 InlineDir, imageinfo and imagesizes have been made configurable,
  114 so please add
  115 
  116 PerlSetVar   InlineDir '/usr/local/apache/Inline'
  117 PerlSetVar   GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash' 
  118 PerlSetVar   GallerySizes '640 1024 1600 2272'
  119 
  120 to your virtualhost.
  121