Mercurial > bins
view doc/install_prerequisites.html @ 6:3021deef1599
Encoding related fixes
* chomp encoding string
* reformat else (seems someone hacked it in)
* debug print encoding
* do not use :utf8 binmode ("re-encode") on written file if the input is _already_ UTF-8
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Thu, 16 Oct 2008 00:02:14 +0200 |
parents | a84c32f131df |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><meta name="generator" content="Website XSL Stylesheet V2.2 "><link rel="home" href="index.html" title="BINS Photo Album"><link rel="up" href="install.html" title="Installation"><link rel="previous" href="install.html" title="Installation"><link rel="next" href="install_automatic.html" title="Automatic installation"><link rel="last" href="install_manual.html" title="Manual installation"><link rel="stylesheet" href="example.css" type="text/css"> <title>Prerequisites</title> <meta name="keyword" content="SAUTRET, BINS, album, gallery, photos, EXIF"> </head><body class="tabular" bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="install_prerequisites" class="webpage"><a name="install_prerequisites"></a><table border="0" cellpadding="0" cellspacing="0" width="100%" summary="Navigation"><tr><td valign="top" align="left" bgcolor="#4080FF" width="220"><p class="navtoc"><a href="index.html"><img align="left" border="0" src="graphics/banner.png" alt="Banner"></a><br clear="all"><br><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="intro.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="intro.html">Introduction</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="examples.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="examples.html">Examples</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="faq.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="faq.html">FAQ</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="download.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="download.html">Download</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="install.html"><img src="graphics/navicons/triangle/other/open.gif" alt="?" border="0"></a><span class="ancestor"><a href="install.html">Installation</a></span><br></span><span class="shrink1"><img src="graphics/blank.gif" alt="???"><img src="graphics/blank.gif" alt="???"><a href="install_prerequisites.html"><img src="graphics/navicons/triangle/current/leaf.gif" alt="+" border="0"></a><span class="curpage">Prerequisites?<img src="graphics/navicons/triangle/current/pointer.gif" alt="<-"></span><br></span><span class="shrink1"><img src="graphics/blank.gif" alt="???"><img src="graphics/blank.gif" alt="???"><a href="install_automatic.html" title="Introduction"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="install_automatic.html" title="Introduction">Automatic installation</a></span><br></span><span class="shrink1"><img src="graphics/blank.gif" alt="???"><img src="graphics/blank.gif" alt="???"><a href="install_manual.html" title="Introduction"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="install_manual.html" title="Introduction">Manual installation</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="usage_album.html"><img src="graphics/navicons/triangle/other/closed.gif" alt="?" border="0"></a><span class="otherpage"><a href="usage_album.html">Usage</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="contact.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="contact.html">Contact and contribution</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="license.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="license.html">License</a></span><br></span><br></p></td><td valign="top" align="left" bgcolor="white"><h1>Prerequisites</h1><p>You need <a href="http://www.perl.com/CPAN/ports/index.html" target="_top">Perl</a> in order to run BINS, as well as the following Perl libraries (Mandrake and Debian package names are provided when known).</p><p>This <a href="bins_for_mdk.tar.gz" target="_top">tarball</a> contains all these libraries in rpm format for <a href="http://www.linux-mandrake.com/fr/" target="_top">Mandrake</a> or as tarballs when no rpm are available (see below for information on how to install Perl library from tarball).</p><div class="table"><a name="id2469512"></a><p class="title"><b>Table?1.?Prerequisites Libraries</b></p> <table summary="Prerequisites Libraries" border="1"><colgroup><col><col><col></colgroup><thead><tr><th> Perl library </th><th> Debian package </th><th> Mandrake 8.1 & 8.2 package </th></tr></thead><tbody><tr><td> POSIX </td><td>perl-base</td><td>perl-base-5.601-7mdk</td></tr><tr><td> IO::File </td><td>perl-base</td><td>perl-base-5.601-7mdk</td></tr><tr><td> Getopt::Long </td><td> perl-base </td><td>perl-base-5.601-7mdk</td></tr><tr><td> File::Basename </td><td>perl-modules</td><td>perl-base-5.601-7mdk</td></tr><tr><td> Storable</td><td>libstorable-perl</td><td>?</td></tr><tr><td> <a href="http://search.cpan.org/search?dist=IO-String" target="_top">IO:String</a> </td><td> libio-string-perl </td><td class="auto-generated">?</td></tr><tr><td> <a href="http://search.cpan.org/search?dist=Image-Size" target="_top">Image::Size</a> </td><td> libimage-size-perl </td><td>perl-Image-Size-2.903-5mdk</td></tr><tr><td> <a href="http://search.cpan.org/search?dist=Image-Info" target="_top">Image::Info</a> </td><td> libimage-info-perl</td><td>perl-Image-Info-1.07-1mdk</td></tr><tr><td> <a href="http://search.cpan.org/search?dist=PerlMagick" target="_top">Image::Magick</a> (with the <a href="http://www.imagemagick.org/" target="_top">ImageMagick</a> tools collection) </td><td> perlmagick </td><td>perl-Magick-5.4.2.3-3mdk</td></tr><tr><td> <a href="http://search.cpan.org/search?dist=HTML-Parser" target="_top">HTML::Entities</a> </td><td> libhtml-parser-perl </td><td> perl-HTML-Parser-3.25-3mdk </td></tr><tr><td> <a href="http://search.cpan.org/search?dist=HTML-Template" target="_top">HTML::Template</a> </td><td> libhtml-template-perl </td><td class="auto-generated">?</td></tr><tr><td> <a href="http://search.cpan.org/search?dist=HTML-Clean" target="_top">HTML::Clean</a> </td><td> libhtml-clean-perl </td><td class="auto-generated">?</td></tr><tr><td> <a href="http://search.cpan.org/search?dist=URI" target="_top">URI:Escape</a> </td><td> liburi-perl </td><td> perl-URI-1.18-1mdk </td></tr><tr><td> <a href="http://search.cpan.org/search?dist=libxml-perl" target="_top">XML::Parser::PerlSAX</a> </td><td> libxml-perl </td><td> perl-libxml-perl-0.07-5mdk </td></tr><tr><td> <a href="http://search.cpan.org/search?dist=XML-Grove" target="_top">XML::Grove</a> </td><td> libxml-grove-perl </td><td> perl-XML-Grove-0.46alpha-2mdk </td></tr><tr><td> <a href="http://search.cpan.org/search?dist=XML-Handler-YAWriter" target="_top">XML::Handler::YAWriter</a> </td><td> libxml-handler-yawriter-perl </td><td> </td></tr><tr><td> <a href="http://search.cpan.org/search?dist=Text-Iconv" target="_top">Text::Iconv</a> </td><td> libtext-iconv-perl </td><td> </td></tr><tr><td> <a href="http://search.cpan.org/search?dist=Text-Unaccent;%20%20%20%20%20%20" target="_top">Text::Unaccent</a> </td><td> libtext-unaccent-perl </td><td> </td></tr><tr><td> <a href="http://search.cpan.org/search?dist=gettext" target="_top">Locale::gettext</a> (optional if you don't want to have I18N in your album.)</td><td> liblocale-gettext-perl </td><td> perl-gettext-1.0-10mdk </td></tr></tbody></table> </div><p>Refer to <a href="http://cpan.org/modules/INSTALL.html" target="_top">this page</a> to know how to install them. You can find the perl interpreter and all this Perl libraries on <a href="http://www.cpan.org/" target="_top">CPAN</a>. </p><p>BINS need the<a href="http://www.imagemagick.org/" target="_top">ImageMagick</a> tools collection, which is probably already install on your system if you run one of the common GNU/Linux distribution. You can verify it by trying to run the <code class="filename">convert</code> (used to scale images) and <code class="filename">mogrify</code> (used to rotate images) programs. </p><p>If the <code class="literal">rotateWithJpegtran</code> parameter is set to <code class="literal">1</code> somewhere in the configuration file, BINS can also use <span><strong class="command">jpegtran</strong></span> to rotate images when the Orientation EXIF tag is found. If it doesn't find it (or if <code class="literal">rotateWithJpegtran</code> is set to <code class="literal">0</code>), it will use the <span><strong class="command">mogrify</strong></span> (from ImageMagick) tool instead. The <span><strong class="command">jpegtran</strong></span> program can perform lossless transformation and is quicker than <span><strong class="command">mogify</strong></span>, but works only on JPEG files. Note that some systems use a version of this program that is not compatible with BINS, so the <code class="literal">rotateWithJpegtran</code> is set to <code class="literal">0</code> in default config. <span><strong class="command">jpegtran</strong></span> can be found in the <code class="literal">libjpeg-progs</code> Debian package or in the <code class="filename">jpegsrc</code> tarball accessible on this <a href="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz" target="_top">FTP site</a>. </p><br></td></tr></table><div class="navfoot"><hr><table width="100%" border="0" summary="Footer navigation"><tr><td width="33%" align="left"><span class="footdate">$Date: 2005/08/21 20:12:33 $</span></td><td width="34%" align="center"><span class="foothome"><a href="index.html">Home</a></span></td><td width="33%" align="right">?</td></tr><tr><td colspan="3" align="right"><span class="footcopy"><span class="copyright">Copyright ? 2001, 2005, J?r?me SAUTRET. </span></span></td></tr></table></div></div></body></html>