Commit graph

8 commits

Author SHA1 Message Date
dmcmahill
9b7c6fa691 update to bins-1.1.15 changes are:
BINS 1.1.15
-----------

- New parameter linkInsteadOfCopy has been added, to create a link to
the image in the destination directory instead of copying it, when
it's possible.
Patch from Vincent Bernat.

- Correct a bug that crashed bins with Perl 5.8.0
Patch from Marty Leisner

- Include links for movie files (avi, mpeg and mov) in the navigation
bar of albums ("In this album" upper left box).
Patch from Vincent Cautaer.

- Scale method (to created scaled pictures and thumbnails) can now be
chose with the new scaleMethod parameter. It can be either scale or
sample. sample is faster, scale is better.
Idea from Mark W. Eichin.

- Don't perform rotation on files matching the regexp defined by the
new noRotation parameter (default to _Orig suffix). This can be used
in conjunction with scaleIfSameSize=0 and a scaled size of 100%x100%
to keep original pictures in your album.
Patch from Vincent Cautaer.

- Correct a bad behavior with some little pictures when scaled sizes
uses mixed pixels and percentages.
Patch from Vincent Cautaer.

- jpegtran can now be used with image names containing spaces.
Patch from Vincent Bernat.

- Define $verbose earlier to avoid warning.
Patch from Vincent Bernat.

- Chop local encoding to avoid carrier return.
Patch from Vincent Bernat.

- A sample album.xml file is provided in the doc directory. Take a
look at it to see how you can customize a album.
2002-08-31 04:34:21 +00:00
dmcmahill
fdc98437ad update to bins-1.1.14 provided in PR pkg/17984 by Eric Jacoboni,
jaco at scrogneugneu.org.

Changes since 1.1.10 are:

- Some image files and directories can now be excluded by setting some
regexp to excludeFiles and excludeDirs new parameters. excludeDirs is
set to ^CVS$ in default config, and thus, CVS subdirs aren't processed
by bins now.

- HTML generation performances have been increased by using the
blind_cache parameter of HTML::Template.
Thanks to Mark Eichin for this one.

- Corrected a bug that wrongly set width and height of thumbnails and
prevented Internet Explorer (at least version 5) to display them.

- Changed the image template so that Internet Explorer can display the
title tooltip on the prev/next thumbnails (when thumbPrevNext is 1).

- bins now process .thm (THuMbnail) files. Accroding to Mark Eichin,
Canon cameras that do movies generate mvi*.thm files which are really
small JPEGs with exif data.

- It is now possible to use the <sizes> parameter in picture
description files to have different scaled images number and scaled
sizes for pictures in the same album (for example, one can have three
scaled pictures, small, medium and big, for most of the images of an
album, and a fourth one, huge, for big panoramas). Some other
parameters, such as titleOnThumbnail, defaultSize or
thumbnailBackground, can now also be used on a per image basis.

- A bug introduced in 1.1.10 version that caused scaleIfSameSize
parameter to be always 1 has been corrected.
Thanks to Mark Eichin for pointing out the problem
and to Dan (mcmahill @ mtl.mit.edu) and Kamil Iskra for the correction path.

- jpegtran can now be used even if it cannot handle the same file in
input and output (this is the case for the jpegtran shipped with most
GNU/Linux distribution, except Debian).
Patch from Kamil Iskra.

- Corrected encoding problem on creation date.

- Sorting order for directories and/or pictures can now be reversed,
using the -r command line option or the reverseOrder parameter.
Patch from Christian Hoenig for the -r option.

- A bug on automatic rotation of destination image when -o was used
has been corrected (width and height were inversed).

- French translation has been corrected.

- Some javascript code is now added in thumbnails pages to preload
thumbnails of the next page when current one is loaded, to speed up
the album browsing. This can be deactivated with the new
javaScriptPreloadImages parameter.

- Generated HTML code is now cleaned up to reduce the size of pages
and thus, speed up browsing. This reduces the size of HTML BINS files
by about 30%. This uses the HTML::Clean(3) library (new
dependency). This can be deactivated with the new compactHTML
parameter.

- Use of the jpegtran program is now deactivated in default config
(some versions fail to perform rotation correctly). A new parameter
rotateWithJpegtran has been added. Set it to 1 in binsrc to continue
to use jpegtran.

- Added some non breakable spaces in HTML code.

- Strip . (dots) in small size names when creating file names (this
caused problem with italian i18n). You may have to delete all your
generated HTML files before running bins on a old italian album to
clean it up.

- Some minor bugs have been corrected.

- French translation has been corrected.
2002-08-24 11:24:55 +00:00
dmcmahill
7b4a6cfcb5 fix a bug in creating scaled images. If the original image is the correct
size and in the correct format, it is not re-encoded (losing quality)
anymore but just copied.

Problem noted by Jeff McMahill.  Andrew Brown and Jaromir Dolecek helped
me with perl.

Bump PKGREVISION.
2002-07-31 14:34:01 +00:00
dmcmahill
1fa0335e67 use PKG_SYSCONFDIR/bins for the global config directory instead of
hard coding /etc/bins.

install a default binsrc as an example which can be copied to
${PKG_SYSCONFDIR}/bins/binsrc and/or ~/.bins/binsrc

bump PKGREVISION to bins-1.1.10nb1
2002-07-30 09:46:32 +00:00
dmcmahill
538b768369 add missing dependency on p5-IO-String. Makes the reading of EXIF data work 2002-07-30 02:06:30 +00:00
simonb
f23d6ab6cb There is no "locale" command in NetBSD (apparently a glibc'ism), so
assume the default locale.
2002-07-07 13:21:52 +00:00
simonb
199c4633a7 Install the documentation in ${PREFIX}/share/doc/html/bins. 2002-07-07 06:47:24 +00:00
wiz
0cee21f3f5 Initial import of bins:
The aim of BINS is to generate static HTML photo albums. Some of the
functionalities of BINS are :
* album can contains other albums (sub albums): tree structure
* generation of a thumbnail and of scaled images for each picture
* generated album appearance is fully customizable by using HTML
  templates and configuration parameters
* several description fields (date, location, etc...) can be
  associated with the pictures (in text or HTML format)
* Exif information and Digital camera support:
  o use the EXIF data structure found on some image files (usually,
    those produced by digital cameras) to fill automatically some fields
    (date and time for example).
  o BINS use the Orientation EXIF tag (which is normally set when you
    rotate a image on you DigiCam) to rotate the picture to correct
    orientation.
  o For each image, a page provides all information available on the
    picture and the DigiCam settings when the photo was taken.
  o All EXIF information is saved in the XML description file,
    preventing they disappear when the image is modified
* customizable charset encoding for HTML generation, including UTF-8
  (Unicode) support by default. Generation of the Apache .htaccess file
  for correct encoding charset in HTTP headers
* generate valid HTML 4 code.
2002-07-04 19:37:38 +00:00