Commit graph

16 commits

Author SHA1 Message Date
martti
9e0e38f0ab Updated bins to 1.1.22
- Perl 5.8 UTF-8 file writting problem has been corrected.
- htmldefaults option of HTML::Clean has been removed, because it
  breaks UTF-8 strings in Perl 5.8.
- added satyap style templates from Satya.
- added Dutch translation (nl).
2003-07-21 12:41:13 +00:00
martti
972ab33840 Updated bins to 1.1.21nb1
* install bins_cleanupgallery
2003-04-12 14:45:08 +00:00
martti
1069e157ea Updated bins to 1.1.21
- PNG images can now be used directly in the album (even if then are
  still renamed to .jpg...).

- File timestamps are now preserved when they are copied in the gallery.

- bins_cleanupgallery script has been added. Use it to remove any unused
  file in your HTML galleries. Run it without argument for usage
  information. Note that this script is still experimental, so if it
  performs wrong, just re-run bins to recreate erased files.
  This program was written by Jochen Schaeuble <psionic @ psionic.de>.

- default templates has been updated

- joi templates have been updated
2003-04-08 11:00:05 +00:00
wiz
7ad4f25d7d Update to 1.1.20:
- corrects bug with UTF-8 local encoding
2002-12-24 02:05:50 +00:00
wiz
252b0aea26 Update to 1.1.19 -- three more message catalogs installed, of which
two are new in this version ;).
2002-12-23 21:37:47 +00:00
dmcmahill
04cefdebc0 update to bins-1.1.18. Changes are:
BINS 1.1.18
-----------

- joi templates has been updated by Joachim Kohlhammer :
* The Albumtree works now correctly, even the thumbnail for the
  root-album works, i.e. no more broken images.
* New icon for the albumtree.
* Redesign of the image-view. The icons moved to the left border.
* Leave was renamed to Home; the variable in the template is now called
  HOME_LINK. The icon was changed to a little house. The old icon is
  still included.
* If the option pathImgNum is set, the image-view shows
  (Image/Imagecount) in the path.
* The path contains a icon for each level (corresponding to the type of
  the level (albumtree, album, image)) if the variable pathShowIcon is
  set to 1.
* In the Thumbnailview the bar with the next/prev-buttons shows only if
  there are two or more pages. If the bar shows, it now has a grey
  background.
* The "cycling" of the thumbnailpages and the imageviews can be disabled
  by setting the options thumbnailPageCycling and imagePageCycling to 1.

- If only one Thumbnailpage exists, the navigation bar shows
"Thumbnail Page" instead of "Thumbnail Page 1".
(from Joachim Kohlhammer's patch)

- select LATIN1 as default encoding on systems lacking the locale
command (like *BSD systems)
(patch from Dan <mcmahill at mtl.mit.edu>).

- added new parameter emptyAlbumDesc to get rid of the "No long/short
description available" message if no description was set.

- added Spanish translation.
(thanks to David Barroso).
2002-10-26 19:38:12 +00:00
dmcmahill
530b76cd11 add dependency on p5-gettext and patch the locale directory path.
This enables changing locale's.

Noted in private email from Eric Jacoboni (jaco at scrogneugneu dot org)
2002-10-19 18:16:40 +00:00
wiz
f2038c6bb2 Remove interpreter patching from patch -- is done by REPLACE_PERL. 2002-09-25 00:28:27 +00:00
dmcmahill
f96f445a7a udpate to bins-1.1.17. Changes since last packaged version:
BINS 1.1.17
---------

- new parameter feedbackMail to add a link "Send Feedback" in the
pages (only used in the joi templates for now).

- new parameter treePreview to add a the thumbnail album in the tree
page (only used in the joi templates for now).

- new parameters backgroundImage & excludeBackgroundImage to use an
image as a wallpaper (only used in the joi templates for now).

- joi templates have been updated, using above features.

(templates and patch by Joachim Kohlhammer).

- Russian translation has been updated.
(thanks to Andrei Emeltchenko).

BINS 1.1.16
-----------

- static elements (icons, css, javascript, etc.) can now be used by
the templates, by using a static subdir in the templates directory
(see the joi templates).

- joi templates has been added. It uses icons, css and javascript. See
http://album.sautret.org/300_lieux/500_Paris/index.html for an example
applied on some of the sub-albums of my main album. You can use it
with the templateStyle parameter in the binsrc or album.xml, or with
the -s command line parameter (see bins(1) man page).
(templates and patch by Joachim Kohlhammer).

- new parameter homeURL has been added to link your home page to the
Leave button of the joi template.

- javaScriptPreloadImage parameter has been renamed to
javaScriptPreloadThumbs. New javaScriptPreloadImage parameter can be
used to add some javascript code in image pages to preload the next
image of the same size when current one is loaded, to speed up the
album browsing.
(patch from David Panofsky).

- added Russian translation.
(thanks to Andrei Emeltchenko).

- Mandrake 9.0 and NetBSD packages are now available. Check the
download page.
(mdk rpm by C<E9>dric Thevenet, NetBSD package by dmcmahill @ netbsd.org)

- install.sh script can now install BINS in specified directories. For
example, to install it in /opt/bins, use the following command :
PREFIX=/opt/bins install.sh
2002-09-24 02:01:29 +00:00
wiz
37e2604506 Make bins_edit run again. Bump to 1.1.15nb1. 2002-09-13 17:58:26 +00:00
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
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
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