Mercurial > bins
view doc/install_prerequisites.xml @ 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
<?xml version="1.0" encoding="LATIN1" ?> <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website V2.2//EN" "http://docbook.sourceforge.net/release/website/2.2/website.dtd" [ <!NOTATION XML SYSTEM "xml"> ]> <!-- $Id: install_prerequisites.xml,v 1.4 2005/08/21 20:12:33 jerome Exp $ --> <webpage id="install_prerequisites"> <config param="rcsdate" value="$Date: 2005/08/21 20:12:33 $"/> <head> <title>Prerequisites</title> <keywords>SAUTRET, BINS, album, gallery, photos, EXIF</keywords> </head> <para>You need <ulink url="http://www.perl.com/CPAN/ports/index.html">Perl</ulink> in order to run BINS, as well as the following Perl libraries (Mandrake and Debian package names are provided when known).</para> <para>This <ulink url="bins_for_mdk.tar.gz">tarball</ulink> contains all these libraries in rpm format for <ulink url="http://www.linux-mandrake.com/fr/">Mandrake</ulink> or as tarballs when no rpm are available (see below for information on how to install Perl library from tarball).</para> <table frame='all'><title>Prerequisites Libraries</title> <tgroup cols='3'> <thead> <row> <entry> Perl library </entry> <entry> Debian package </entry> <entry> Mandrake 8.1 & 8.2 package </entry> </row> </thead> <tbody> <row> <entry> POSIX </entry> <entry>perl-base</entry> <entry>perl-base-5.601-7mdk</entry> </row> <row> <entry> IO::File </entry> <entry>perl-base</entry> <entry>perl-base-5.601-7mdk</entry> </row> <row> <entry> Getopt::Long </entry> <entry> perl-base </entry> <entry>perl-base-5.601-7mdk</entry> </row> <row> <entry> File::Basename </entry> <entry>perl-modules</entry> <entry>perl-base-5.601-7mdk</entry> </row> <row> <entry> Storable</entry> <entry>libstorable-perl</entry> <entry></entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=IO-String">IO:String</ulink> </entry> <entry> libio-string-perl </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=Image-Size">Image::Size</ulink> </entry> <entry> libimage-size-perl </entry> <entry>perl-Image-Size-2.903-5mdk</entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=Image-Info">Image::Info</ulink> </entry> <entry> libimage-info-perl</entry> <entry>perl-Image-Info-1.07-1mdk</entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=PerlMagick">Image::Magick</ulink> (with the <ulink url="http://www.imagemagick.org/">ImageMagick</ulink> tools collection) </entry> <entry> perlmagick </entry> <entry>perl-Magick-5.4.2.3-3mdk</entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=HTML-Parser">HTML::Entities</ulink> </entry> <entry> libhtml-parser-perl </entry> <entry> perl-HTML-Parser-3.25-3mdk </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=HTML-Template">HTML::Template</ulink> </entry> <entry> libhtml-template-perl </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=HTML-Clean">HTML::Clean</ulink> </entry> <entry> libhtml-clean-perl </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=URI">URI:Escape</ulink> </entry> <entry> liburi-perl </entry> <entry> perl-URI-1.18-1mdk </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=libxml-perl">XML::Parser::PerlSAX</ulink> </entry> <entry> libxml-perl </entry> <entry> perl-libxml-perl-0.07-5mdk </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=XML-Grove">XML::Grove</ulink> </entry> <entry> libxml-grove-perl </entry> <entry> perl-XML-Grove-0.46alpha-2mdk </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=XML-Handler-YAWriter">XML::Handler::YAWriter</ulink> </entry> <entry> libxml-handler-yawriter-perl </entry> <entry> </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=Text-Iconv">Text::Iconv</ulink> </entry> <entry> libtext-iconv-perl </entry> <entry> </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=Text-Unaccent; ">Text::Unaccent</ulink> </entry> <entry> libtext-unaccent-perl </entry> <entry> </entry> </row> <row> <entry> <ulink url="http://search.cpan.org/search?dist=gettext">Locale::gettext</ulink> (optional if you don't want to have I18N in your album.)</entry> <entry> liblocale-gettext-perl </entry> <entry> perl-gettext-1.0-10mdk </entry> </row> </tbody> </tgroup> </table> <para>Refer to <ulink url="http://cpan.org/modules/INSTALL.html">this page</ulink> to know how to install them. You can find the perl interpreter and all this Perl libraries on <ulink url="http://www.cpan.org/">CPAN</ulink>. </para> <para>BINS need the<ulink url="http://www.imagemagick.org/">ImageMagick</ulink> 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 <filename>convert</filename> (used to scale images) and <filename>mogrify</filename> (used to rotate images) programs. </para> <para>If the <literal>rotateWithJpegtran</literal> parameter is set to <literal>1</literal> somewhere in the configuration file, BINS can also use <command>jpegtran</command> to rotate images when the Orientation EXIF tag is found. If it doesn't find it (or if <literal>rotateWithJpegtran</literal> is set to <literal>0</literal>), it will use the <command>mogrify</command> (from ImageMagick) tool instead. The <command>jpegtran</command> program can perform lossless transformation and is quicker than <command>mogify</command>, but works only on JPEG files. Note that some systems use a version of this program that is not compatible with BINS, so the <literal>rotateWithJpegtran</literal> is set to <literal>0</literal> in default config. <command>jpegtran</command> can be found in the <literal>libjpeg-progs</literal> Debian package or in the <filename>jpegsrc</filename> tarball accessible on this <ulink url="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz">FTP site</ulink>. </para> </webpage> <!-- Local variables: mode: docbook End: -->