2002-09-25 02:09:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2002/09/25 00:09:32 dmcmahill Exp $
|
2002-07-04 21:37:38 +02:00
|
|
|
#
|
|
|
|
|
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 04:01:29 +02:00
|
|
|
DISTNAME= bins-1.1.17
|
2002-09-25 02:09:32 +02:00
|
|
|
PKGREVISION= 1
|
2002-07-04 21:37:38 +02:00
|
|
|
CATEGORIES= www graphics
|
|
|
|
MASTER_SITES= http://jsautret.free.fr/BINS/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
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 13:24:55 +02:00
|
|
|
MAINTAINER= dmcmahill@netbsd.org
|
2002-07-04 21:37:38 +02:00
|
|
|
HOMEPAGE= http://bins.sautret.org/
|
|
|
|
COMMENT= static HTML photo album generator
|
|
|
|
|
2002-09-11 11:15:02 +02:00
|
|
|
DEPENDS+= p5-Text-Iconv>=1.1:../../converters/p5-Text-Iconv
|
2002-07-04 21:37:38 +02:00
|
|
|
DEPENDS+= p5-Storable>=2.04:../../devel/p5-Storable
|
|
|
|
DEPENDS+= p5-Image-Info>=1.10:../../graphics/p5-Image-Info
|
|
|
|
DEPENDS+= p5-Image-Size>=2.980:../../graphics/p5-Image-Size
|
2002-07-30 04:06:30 +02:00
|
|
|
DEPENDS+= p5-IO-String>=1.01:../../devel/p5-IO-String
|
2002-07-04 21:37:38 +02:00
|
|
|
DEPENDS+= p5-PerlMagick>=5.3.9nb1:../../graphics/p5-PerlMagick
|
|
|
|
DEPENDS+= p5-XML-Grove>=0.46.0.1:../../textproc/p5-XML-Grove
|
|
|
|
DEPENDS+= p5-XML-Handler-YAWriter-0.23:../../textproc/p5-XML-YAWriter
|
|
|
|
DEPENDS+= p5-XML-Parser>=2.30:../../textproc/p5-XML-Parser
|
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 13:24:55 +02:00
|
|
|
DEPENDS+= p5-HTML-Clean>=0.8:../../www/p5-HTML-Clean
|
2002-07-04 21:37:38 +02:00
|
|
|
DEPENDS+= p5-HTML-Parser>=3.26:../../www/p5-HTML-Parser
|
|
|
|
DEPENDS+= p5-HTML-Template>=2.5:../../www/p5-HTML-Template
|
|
|
|
DEPENDS+= p5-URI>=1.19:../../www/p5-URI
|
|
|
|
|
|
|
|
USE_PERL5= YES
|
|
|
|
# bins-edit-gui not installed because many needed packages are missing
|
|
|
|
# bins_txt2xml not installed because it's an upgrade tool, and we didn't
|
|
|
|
# have previous versions in pkgsrc.
|
|
|
|
REPLACE_PERL= bins bins_edit bins-edit-gui bins_txt2xml
|
|
|
|
|
2002-07-30 11:46:32 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/bins ${WRKSRC}/bins.bak
|
|
|
|
${SED} 's;@pkgsysconfdir@;${PKG_SYSCONFDIR};g' \
|
|
|
|
${WRKSRC}/bins.bak > ${WRKSRC}/bins
|
|
|
|
|
2002-07-04 21:37:38 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bins ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bins_edit ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/bins.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/bins_edit.1 ${PREFIX}/man/man1
|
2002-07-07 08:47:24 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/bins
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html \
|
|
|
|
${PREFIX}/share/doc/html/bins
|
2002-07-04 21:37:38 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.default
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/templates/*.html \
|
|
|
|
${PREFIX}/share/examples/bins/templates.default
|
2002-09-25 02:09:32 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.joi
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bins/templates.joi/static
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/templates.joi/*.html \
|
|
|
|
${PREFIX}/share/examples/bins/templates.joi
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/templates.joi/static/*.css \
|
|
|
|
${WRKSRC}/templates.joi/static/*.png \
|
|
|
|
${WRKSRC}/templates.joi/static/*.js \
|
|
|
|
${PREFIX}/share/examples/bins/templates.joi/static
|
2002-07-30 11:46:32 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/binsrc \
|
|
|
|
${PREFIX}/share/examples/bins
|
2002-07-04 21:37:38 +02:00
|
|
|
for lang in de fr it pl; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/intl/$$lang.mo \
|
|
|
|
${PREFIX}/${PKGLOCALEDIR}/locale/$$lang/LC_MESSAGES/bins.mo; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|