0
|
1 <?xml version="1.0" encoding="LATIN1" ?> |
|
2 <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website V2.2//EN" |
|
3 "http://docbook.sourceforge.net/release/website/2.2/website.dtd" [ |
|
4 <!NOTATION XML SYSTEM "xml"> |
|
5 ]> |
|
6 <!-- $Id: install_prerequisites.xml,v 1.4 2005/08/21 20:12:33 jerome Exp $ --> |
|
7 <webpage id="install_prerequisites"> |
|
8 <config param="rcsdate" value="$Date: 2005/08/21 20:12:33 $"/> |
|
9 |
|
10 <head> |
|
11 <title>Prerequisites</title> |
|
12 <keywords>SAUTRET, BINS, album, gallery, photos, EXIF</keywords> |
|
13 </head> |
|
14 |
|
15 <para>You need <ulink |
|
16 url="http://www.perl.com/CPAN/ports/index.html">Perl</ulink> in |
|
17 order to run BINS, as well as the following Perl libraries (Mandrake |
|
18 and Debian package names are provided when known).</para> |
|
19 |
|
20 <para>This <ulink url="bins_for_mdk.tar.gz">tarball</ulink> contains |
|
21 all these libraries in rpm format for <ulink |
|
22 url="http://www.linux-mandrake.com/fr/">Mandrake</ulink> or as |
|
23 tarballs when no rpm are available (see below for information on how |
|
24 to install Perl library from tarball).</para> |
|
25 |
|
26 <table frame='all'><title>Prerequisites Libraries</title> |
|
27 <tgroup cols='3'> |
|
28 <thead> |
|
29 <row> |
|
30 <entry> |
|
31 Perl library |
|
32 </entry> |
|
33 <entry> |
|
34 Debian package |
|
35 </entry> |
|
36 <entry> |
|
37 Mandrake 8.1 & 8.2 package |
|
38 </entry> |
|
39 </row> |
|
40 </thead> |
|
41 <tbody> |
|
42 <row> |
|
43 <entry> POSIX </entry> |
|
44 <entry>perl-base</entry> |
|
45 <entry>perl-base-5.601-7mdk</entry> |
|
46 </row> |
|
47 <row> |
|
48 <entry> IO::File </entry> |
|
49 <entry>perl-base</entry> |
|
50 <entry>perl-base-5.601-7mdk</entry> |
|
51 </row> |
|
52 <row> |
|
53 <entry> Getopt::Long </entry> |
|
54 <entry> perl-base </entry> |
|
55 <entry>perl-base-5.601-7mdk</entry> |
|
56 </row> |
|
57 <row> |
|
58 <entry> File::Basename </entry> |
|
59 <entry>perl-modules</entry> |
|
60 <entry>perl-base-5.601-7mdk</entry> |
|
61 </row> |
|
62 <row> |
|
63 <entry> Storable</entry> |
|
64 <entry>libstorable-perl</entry> |
|
65 <entry></entry> |
|
66 </row> |
|
67 <row> |
|
68 <entry> |
|
69 <ulink url="http://search.cpan.org/search?dist=IO-String">IO:String</ulink> |
|
70 </entry> |
|
71 <entry> libio-string-perl </entry> |
|
72 </row> |
|
73 <row> |
|
74 <entry> |
|
75 <ulink url="http://search.cpan.org/search?dist=Image-Size">Image::Size</ulink> |
|
76 </entry> |
|
77 <entry> libimage-size-perl </entry> |
|
78 <entry>perl-Image-Size-2.903-5mdk</entry> |
|
79 </row> |
|
80 <row> |
|
81 <entry> |
|
82 <ulink url="http://search.cpan.org/search?dist=Image-Info">Image::Info</ulink> |
|
83 </entry> |
|
84 <entry> libimage-info-perl</entry> |
|
85 <entry>perl-Image-Info-1.07-1mdk</entry> |
|
86 </row> |
|
87 <row> |
|
88 <entry> |
|
89 <ulink url="http://search.cpan.org/search?dist=PerlMagick">Image::Magick</ulink> |
|
90 (with the <ulink |
|
91 url="http://www.imagemagick.org/">ImageMagick</ulink> tools |
|
92 collection) </entry> <entry> perlmagick </entry> |
|
93 <entry>perl-Magick-5.4.2.3-3mdk</entry> |
|
94 </row> |
|
95 <row> |
|
96 <entry> |
|
97 <ulink url="http://search.cpan.org/search?dist=HTML-Parser">HTML::Entities</ulink> |
|
98 </entry> |
|
99 <entry> libhtml-parser-perl </entry> |
|
100 <entry> perl-HTML-Parser-3.25-3mdk </entry> |
|
101 </row> |
|
102 <row> |
|
103 <entry> |
|
104 <ulink url="http://search.cpan.org/search?dist=HTML-Template">HTML::Template</ulink> |
|
105 </entry> |
|
106 <entry> libhtml-template-perl </entry> |
|
107 </row> |
|
108 <row> |
|
109 <entry> |
|
110 <ulink url="http://search.cpan.org/search?dist=HTML-Clean">HTML::Clean</ulink> |
|
111 </entry> |
|
112 <entry> libhtml-clean-perl </entry> |
|
113 </row> |
|
114 <row> |
|
115 <entry> |
|
116 <ulink url="http://search.cpan.org/search?dist=URI">URI:Escape</ulink> |
|
117 </entry> |
|
118 <entry> liburi-perl </entry> |
|
119 <entry> perl-URI-1.18-1mdk </entry> |
|
120 </row> |
|
121 <row> |
|
122 <entry> |
|
123 <ulink url="http://search.cpan.org/search?dist=libxml-perl">XML::Parser::PerlSAX</ulink> |
|
124 </entry> |
|
125 <entry> libxml-perl </entry> |
|
126 <entry> perl-libxml-perl-0.07-5mdk </entry> |
|
127 </row> |
|
128 <row> |
|
129 <entry> |
|
130 <ulink url="http://search.cpan.org/search?dist=XML-Grove">XML::Grove</ulink> |
|
131 </entry> |
|
132 <entry> libxml-grove-perl </entry> |
|
133 <entry> perl-XML-Grove-0.46alpha-2mdk </entry> |
|
134 </row> |
|
135 <row> |
|
136 <entry> |
|
137 <ulink url="http://search.cpan.org/search?dist=XML-Handler-YAWriter">XML::Handler::YAWriter</ulink> |
|
138 </entry> <entry> libxml-handler-yawriter-perl </entry> <entry> </entry> |
|
139 </row> |
|
140 <row> |
|
141 <entry> |
|
142 <ulink url="http://search.cpan.org/search?dist=Text-Iconv">Text::Iconv</ulink> |
|
143 </entry> |
|
144 <entry> libtext-iconv-perl </entry> |
|
145 <entry> </entry> |
|
146 </row> |
|
147 |
|
148 <row> |
|
149 <entry> |
|
150 <ulink |
|
151 url="http://search.cpan.org/search?dist=Text-Unaccent; |
|
152 ">Text::Unaccent</ulink> |
|
153 </entry> |
|
154 <entry> libtext-unaccent-perl </entry> |
|
155 <entry> </entry> |
|
156 </row> |
|
157 |
|
158 <row> |
|
159 <entry> |
|
160 <ulink url="http://search.cpan.org/search?dist=gettext">Locale::gettext</ulink> |
|
161 (optional if you don't want to have |
|
162 I18N in your album.)</entry> |
|
163 <entry> liblocale-gettext-perl </entry> |
|
164 <entry> perl-gettext-1.0-10mdk </entry> |
|
165 </row> |
|
166 </tbody> |
|
167 </tgroup> |
|
168 </table> |
|
169 |
|
170 <para>Refer to <ulink |
|
171 url="http://cpan.org/modules/INSTALL.html">this page</ulink> to know |
|
172 how to install them. You can find the perl interpreter and all this |
|
173 Perl libraries on <ulink |
|
174 url="http://www.cpan.org/">CPAN</ulink>. </para> |
|
175 |
|
176 <para>BINS need the<ulink |
|
177 url="http://www.imagemagick.org/">ImageMagick</ulink> tools |
|
178 collection, which is probably already install on your system if you |
|
179 run one of the common GNU/Linux distribution. You can verify it by |
|
180 trying to run the <filename>convert</filename> (used to scale |
|
181 images) and <filename>mogrify</filename> (used to rotate images) |
|
182 programs. |
|
183 </para> |
|
184 |
|
185 <para>If the <literal>rotateWithJpegtran</literal> parameter is set |
|
186 to <literal>1</literal> somewhere in the configuration file, BINS |
|
187 can also use <command>jpegtran</command> to rotate images when the |
|
188 Orientation EXIF tag is found. If it doesn't find it (or if |
|
189 <literal>rotateWithJpegtran</literal> is set to |
|
190 <literal>0</literal>), it will use the <command>mogrify</command> |
|
191 (from ImageMagick) tool instead. The <command>jpegtran</command> |
|
192 program can perform lossless transformation and is quicker than |
|
193 <command>mogify</command>, but works only on JPEG files. Note that |
|
194 some systems use a version of this program that is not compatible |
|
195 with BINS, so the <literal>rotateWithJpegtran</literal> is set to |
|
196 <literal>0</literal> in default config. <command>jpegtran</command> |
|
197 can be found in the <literal>libjpeg-progs</literal> Debian package |
|
198 or in the <filename>jpegsrc</filename> tarball accessible on this |
|
199 <ulink url="ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz">FTP |
|
200 site</ulink>. |
|
201 </para> |
|
202 </webpage> |
|
203 |
|
204 |
|
205 |
|
206 <!-- |
|
207 Local variables: |
|
208 mode: docbook |
|
209 End: |
|
210 --> |