head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.54 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.52 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.50 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.48 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.46 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.44 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.42 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.40 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.38 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.36 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.34 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.32 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.30 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.28 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.26 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.24 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.22 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.20 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.18 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.16 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.14 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.12 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.10 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.8 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.6 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 netbsd-1-6:1.1.0.6 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.2 pkgviews-base:1.1; locks; strict; comment @# @; 1.6 date 2002.10.26.19.38.12; author dmcmahill; state dead; branches; next 1.5; 1.5 date 2002.09.25.00.28.27; author wiz; state Exp; branches; next 1.4; 1.4 date 2002.09.24.02.01.30; author dmcmahill; state Exp; branches; next 1.3; 1.3 date 2002.09.13.17.58.27; author wiz; state Exp; branches; next 1.2; 1.2 date 2002.08.31.04.34.22; author dmcmahill; state Exp; branches; next 1.1; 1.1 date 2002.07.07.13.21.53; author simonb; state Exp; branches; next ; desc @@ 1.6 log @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 ). - 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). @ text @$NetBSD: patch-ab,v 1.5 2002/09/25 00:28:27 wiz Exp $ no 'locale' command on netbsd so deal with `locale charmap` not returning correctly. --- bins_edit.orig Sat Sep 21 09:50:14 2002 +++ bins_edit @@@@ -42,12 +42,18 @@@@ use HTML::Entities; my $verbose = 1; my $html=0; -my $localEncoding = `locale charmap`; -chop($localEncoding); +my $localEncoding; +$localEncoding = `locale charmap`; +if ($? != 0 ) { + $localEncoding = "LATIN1"; +} +else { if (! $localEncoding or ($localEncoding eq "ANSI_X3.4-1968")) { + chop($localEncoding); # ANSI is unspeakably primitive, promote it. $localEncoding = "LATIN1"; print "Forcing encoding to $localEncoding\n" if ($verbose >=2); +} } my $converter = Text::Iconv->new($localEncoding, "UTF-8"); @ 1.5 log @Remove interpreter patching from patch -- is done by REPLACE_PERL. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2002/09/24 02:01:30 dmcmahill Exp $ @ 1.4 log @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 Cdric 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 @ text @d1 1 a1 1 $NetBSD$ a7 6 @@@@ -1,4 +1,4 @@@@ -#!/usr/bin/perl -w +#!/usr/pkg/bin/perl -w # bins_edit for BINS Photo Album version 1.1.17 # Copyright (C) 2001,2002 Jérôme Sautret (Jerome@@Sautret.org) @ 1.3 log @Make bins_edit run again. Bump to 1.1.15nb1. @ text @d3 4 a6 1 --- bins_edit.orig Sat Aug 24 17:31:58 2002 d8 7 a14 1 @@@@ -42,13 +42,14 @@@@ use HTML::Entities; d20 13 a32 13 -if (! $localEncoding or ($localEncoding eq "ANSI_X3.4-1968")) { - # ANSI is unspeakably primitive, promote it. - $localEncoding = "LATIN1"; - print "Forcing encoding to $localEncoding\n" if ($verbose >=2); -} +# XXX no "locale" command in NetBSD +#my $localEncoding = `locale charmap`; +#chop($localEncoding); +#if (! $localEncoding or ($localEncoding eq "ANSI_X3.4-1968")) { +# # ANSI is unspeakably primitive, promote it. +my $localEncoding = "LATIN1"; +# print "Forcing encoding to $localEncoding\n" if ($verbose >=2); +#} a34 1 # decode HTML entites which doesn't exist in XML @ 1.2 log @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. @ text @d3 1 a3 1 --- bins_edit.orig Sat Aug 24 11:31:58 2002 d13 3 d21 1 a21 3 $localEncoding = "LATIN1"; - print "Forcing encoding to $localEncoding\n" if ($verbose >=2); -} @ 1.1 log @There is no "locale" command in NetBSD (apparently a glibc'ism), so assume the default locale. @ text @d3 1 a3 1 --- bins_edit.orig Mon Jun 10 05:54:13 2002 d5 1 a5 1 @@@@ -42,12 +42,14 @@@@ d10 1 d14 4 a17 4 +# my $localEncoding = `locale charmap`; +# if (! $localEncoding or ($localEncoding eq "ANSI_X3.4-1968")) { +# # ANSI is unspeakably primitive, promote it. +my d21 2 a22 2 +# print "Forcing encoding to $localEncoding\n" if ($verbose >=2); +# } @