source: xsoft/other/gimp.xml@ feecd37

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since feecd37 was feecd37, checked in by DJ Lucas <dj@…>, 8 years ago

Fix compile error in gimp-2.8.16 when built with gegl-0.3.8

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17555 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 18.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY gimp-download-http "http://download.gimp.org/pub/gimp/v2.8/gimp-&gimp-version;.tar.bz2">
8 <!ENTITY gimp-download-ftp " ">
9<!-- <!ENTITY gimp-download-ftp "ftp://mirrors.xmission.com/gimp/gimp/v2.8/gimp-&gimp-version;.tar.bz2">-->
10 <!ENTITY gimp-md5sum "30e0a1b7c18b0e3415f4ac54567252ac">
11 <!ENTITY gimp-size "20 MB">
12 <!ENTITY gimp-buildsize "632 MB (additional 690 MB to run
13 the test suite)">
14 <!ENTITY gimp-time "4.2 SBU (additional 0.7 SBU to run
15 the test suite)">
16
17
18 <!ENTITY gimp-help-version "2.8.2">
19 <!ENTITY gimp-help-download "http://download.gimp.org/pub/gimp/help/gimp-help-&gimp-help-version;.tar.bz2">
20 <!ENTITY gimp-help-md5sum "a591c8974b2f4f584d0a769d52ed6c5b">
21 <!ENTITY gimp-help-size "152 MB">
22 <!ENTITY gimp-help-buildsize "From 307 MB (en only) to 1257 MB (all 18
23 languages), average of 52 MB per translation">
24 <!ENTITY gimp-help-time "0.8 SBU (en only), average of 1.2 SBU per
25 translation (measured with 5 languages), 5.9
26 SBU, with parallelism=8, for all languages">
27]>
28
29<sect1 id="gimp" xreflabel="Gimp-&gimp-version;">
30 <?dbhtml filename="gimp.html" ?>
31
32 <sect1info>
33 <othername>$LastChangedBy$</othername>
34 <date>$Date$</date>
35 </sect1info>
36
37 <title>Gimp-&gimp-version;</title>
38
39 <indexterm zone="gimp">
40 <primary sortas="a-Gimp">Gimp</primary>
41 </indexterm>
42
43 <sect2 role="package">
44 <title>Introduction to Gimp</title>
45
46 <para>
47 The <application>Gimp</application> package contains
48 the GNU Image Manipulation Program which is useful for
49 photo retouching, image composition and image authoring.
50 </para>
51
52 &lfs79_checked;&gcc6_checked;
53
54 <bridgehead renderas="sect3">Package Information</bridgehead>
55 <itemizedlist spacing="compact">
56 <listitem>
57 <para>
58 Download (HTTP): <ulink url="&gimp-download-http;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download (FTP): <ulink url="&gimp-download-ftp;"/>
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Download MD5 sum: &gimp-md5sum;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Download size: &gimp-size;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated disk space required: &gimp-buildsize;
79 </para>
80 </listitem>
81 <listitem>
82 <para>
83 Estimated build time: &gimp-time;
84 </para>
85 </listitem>
86 </itemizedlist>
87
88 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
89 <itemizedlist spacing="compact">
90 <listitem>
91 <para>
92 Optional help files: <ulink url="&gimp-help-download;"/>
93 </para>
94 </listitem>
95 <listitem>
96 <para>
97 Download MD5 sum: &gimp-help-md5sum;
98 </para>
99 </listitem>
100 <listitem>
101 <para>
102 Download size: &gimp-help-size;
103 </para>
104 </listitem>
105 <listitem>
106 <para>
107 Estimated disk space required: &gimp-help-buildsize;
108 </para>
109 </listitem>
110 <listitem>
111 <para>
112 Estimated build time: &gimp-help-time;
113 </para>
114 </listitem>
115 </itemizedlist>
116
117 <bridgehead renderas="sect3">Gimp Dependencies</bridgehead>
118
119 <bridgehead renderas="sect4">Required</bridgehead>
120 <para role="required">
121 <xref linkend="gegl"/> and
122 <xref linkend="gtk2"/>
123 </para>
124
125 <bridgehead renderas="sect4">Recommended</bridgehead>
126 <para role="recommended">
127 <xref linkend="pygtk"/> (including the gtk and pango modules)
128 </para>
129
130 <bridgehead renderas="sect4">Optional</bridgehead>
131 <para role="optional">
132 <xref linkend="aalib"/>,
133 <xref linkend="alsa-lib"/>,
134 <xref linkend="curl"/>,
135 <xref linkend="dbus-glib"/>,
136 <xref linkend="gs"/> (with libgs installed),
137 <xref linkend="gvfs"/>,
138 <xref linkend="iso-codes"/>,
139 <xref linkend="jasper"/>,
140 <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
141 <xref linkend="libexif"/>,
142 <xref linkend="libgudev"/>,
143 <xref linkend="libmng"/>,
144 <xref linkend="librsvg"/>,
145 <xref linkend="poppler"/>,
146 an <xref linkend="server-mail"/> (that provides a
147 <command>sendmail</command> program),
148 <xref linkend="gtk-doc"/>,
149 <!--xref linkend="webkitgtk2"/> (required for the help-plugin) and-->
150 <ulink url="http://webkitgtk.org/releases/">WebKitGTK+-2.4.x</ulink> (required for the help-plugin), and
151 <ulink url="http://wvware.sourceforge.net/libwmf.html">libwmf</ulink>
152 </para>
153
154 <bridgehead renderas="sect4">Optional, for optimizing the PNG files in the
155 help system</bridgehead>
156 <para role="optional">
157 <ulink url="http://pngnq.sourceforge.net/">pngnq</ulink> and
158 <ulink url="http://pmt.sourceforge.net/pngcrush/">pngcrush</ulink>
159 </para>
160
161 <para condition="html" role="usernotes">User Notes:
162 <ulink url="&blfs-wiki;/gimp"/>
163 </para>
164 </sect2>
165
166 <sect2 role="installation">
167 <title>Installation of Gimp</title>
168
169 <para>
170 Fix some issues with <xref linkend="gegl"/>:
171 </para>
172
173<screen><userinput>sed -i '/gegl/s/2/3/' configure.ac &amp;&amp;
174sed -i '70,75 d' app/core/gimpparamspecs-duplicate.c &amp;&amp;
175autoreconf -fiv</userinput></screen>
176
177 <para>
178 Install <application>Gimp</application> by running
179 the following commands:
180 </para>
181
182<screen><userinput>./configure --prefix=/usr \
183 --sysconfdir=/etc \
184 --without-gvfs &amp;&amp;
185make</userinput></screen>
186
187 <para>
188 To test the results (requires an X-Windowed terminal) issue:
189 <command>make check</command>.
190 </para>
191
192 <para>
193 Now, as the <systemitem class="username">root</systemitem>
194 user:
195 </para>
196
197<screen role="root"><userinput>make install</userinput></screen>
198
199 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
200 href="../../xincludes/update-icons-and-desktop.xml"/>
201
202 </sect2>
203
204 <sect2 role="installation">
205 <title>Installation of Gimp-Help</title>
206
207 <para>
208 The <filename>gimp-help</filename> tarball contains images and English
209 text help for help files, together with translations.
210 </para>
211
212 <para>
213 If you downloaded the <filename>gimp-help</filename> tarball, unpack
214 it and change into the root of the newly created source tree. Prepare for
215 the build with the following command:
216 </para>
217
218<screen><userinput>ALL_LINGUAS=&quot;ca da de el en en_GB es fr it ja ko nl nn pt_BR ru sl sv zh_CN&quot; \
219./configure --prefix=/usr &amp;&amp;</userinput></screen>
220
221 <para>
222 Remove from <envar>ALL_LINGUAS</envar> the codes for any languages which
223 you do not wish to install. Alternatively, remove the line starting with
224 <envar>ALL_LINGUAS</envar>, if you wish to build all languages.
225 </para>
226
227 <para>
228 Now build the help files:
229 </para>
230
231<screen><userinput>make</userinput></screen>
232
233 <para>
234 Issue the following commands as the
235 <systemitem class="username">root</systemitem> user to install the help
236 files:
237 </para>
238
239<screen role="root"><userinput>make install &amp;&amp;
240chown -R root:root /usr/share/gimp/2.0/help</userinput></screen>
241
242 </sect2>
243
244 <sect2 role="commands" id="gimp-cmd-explanations">
245 <title>Command Explanations</title>
246
247 <para>
248 <command> sed ... configure.ac</command>: This command allows
249 building with the current version of gegl.
250 </para>
251
252 <para>
253 <envar>ALL_LINGUAS=&quot;ca da de el en en_GB ...&quot;</envar>: by
254 default, the help files will be rendered in all the available languages.
255 Remove the codes of any languages you do not wish to build.
256 </para>
257
258 <para>
259 <parameter>--without-gvfs</parameter>: the choice of the backend to
260 handle URI information, e.g., when dragging images from a browser into the
261 <application>Gimp</application>, is made at compile time. This parameter will
262 ensure that <application>cURL</application> is used at run-time, instead of
263 <application>Gvfs</application>. You can omit this if you are installing
264 <application>Gvfs</application> AND will be running <command>gvfsd</command>,
265 e.g., in a <application>GNOME</application> desktop.
266 </para>
267
268 <para><option>--disable-python</option>: This option is necessary if
269 you have not installed <application>PyGTK</application>.</para>
270
271 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
272 href="../../xincludes/gtk-doc-rebuild.xml"/>
273
274 </sect2>
275
276 <sect2 role="configuration">
277 <title>Configuring The Gimp</title>
278
279 <sect3 id="gimp-config">
280 <title>Config Files</title>
281
282 <para>
283 <filename>/etc/gimp/2.0/*</filename> and
284 <filename>~/.gimp-2.8/gimprc</filename>
285 </para>
286
287 <indexterm zone="gimp gimp-config">
288 <primary sortas="e-AA.gimp-2.0/gimprc">~/.gimp-2.0/gimprc</primary>
289 </indexterm>
290
291 <indexterm zone="gimp gimp-config">
292 <primary sortas="e-etc-gimp-2.0-star">/etc/gimp/2.0/*</primary>
293 </indexterm>
294
295 </sect3>
296
297 <sect3>
298 <title>Configuration Information</title>
299
300 <para>
301 The <application>Gimp</application> executes a configuration wizard
302 for each user upon their initial use of the program.
303 </para>
304
305 <para>
306 The GIMP uses either a plugin or a browser for its help system. The
307 depedency to build the plugin, WebKitGTK+-2.4.x, has been deprecated
308 and is no longer in BLFS. To set up the help system to work with the
309 default browser, use Edit -> Preferences -> Help System and select 'Web
310 Browser' for the 'Help Browser to use' setting.
311 </para>
312 </sect3>
313
314 </sect2>
315
316 <sect2 role="content">
317 <title>Contents</title>
318
319 <segmentedlist>
320 <segtitle>Installed Programs</segtitle>
321 <segtitle>Installed Libraries</segtitle>
322 <segtitle>Installed Directories</segtitle>
323
324 <seglistitem>
325 <seg>
326 gimp, gimp-2.8,
327 gimp-console, gimp-console-2.8, and
328 gimptool-2.0
329 </seg>
330 <seg>
331 libgimp-2.0.so, libgimpbase-2.0.so, libgimpcolor-2.0.so,
332 libgimpconfig-2.0.so, libgimpmath-2.0.so, libgimpmodule-2.0.so,
333 libgimpthumb-2.0.so, libgimpui-2.0.so, and libgimpwidgets-2.0.so
334 </seg>
335 <seg>
336 /etc/gimp,
337 /usr/include/gimp-2.0,
338 /usr/{lib,share}/gimp,
339 /usr/share/gimp/2.0/help/{en,lang2,lang3,...},
340 /usr/share/gtk-doc/html/libgimp{,base,color,config}, and
341 /usr/share/gtk-doc/html/libgimp{math,module,thumb,widgets}
342 </seg>
343 </seglistitem>
344 </segmentedlist>
345
346 <variablelist>
347 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
348 <?dbfo list-presentation="list"?>
349 <?dbhtml list-presentation="table"?>
350
351 <varlistentry id="gimp-prog">
352 <term><command>gimp</command></term>
353 <listitem>
354 <para>
355 is a symbolic link to <command>gimp-2.8</command>.
356 </para>
357 <indexterm zone="gimp gimp-prog">
358 <primary sortas="b-gimp">gimp</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="gimp-2.8">
364 <term><command>gimp-2.8</command></term>
365 <listitem>
366 <para>
367 is the Gnu Image Manipulation Program. It works with a variety
368 of image formats and provides a large selection of tools.
369 </para>
370 <indexterm zone="gimp gimp-2.8">
371 <primary sortas="b-gimp-2.8">gimp-2.8</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="gimp-console">
377 <term><command>gimp-console</command></term>
378 <listitem>
379 <para>
380 is a symbolic link to <command>gimp-console-2.8</command>.
381 </para>
382 <indexterm zone="gimp gimp-console">
383 <primary sortas="b-gimp-console">gimp-console</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="gimp-console-2.8">
389 <term><command>gimp-console-2.8</command></term>
390 <listitem>
391 <para>
392 is a console program that behaves as if The
393 <application>Gimp</application> was called with the
394 <option>--no-interface</option> command-line option.
395 </para>
396 <indexterm zone="gimp gimp-console-2.8">
397 <primary sortas="b-gimp-console-2.8">gimp-console-2.8</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="gimptool-2.0">
403 <term><command>gimptool-2.0</command></term>
404 <listitem>
405 <para>
406 is a tool that can build plug-ins or scripts and install them
407 if they are distributed in one source file.
408 <command>gimptool-2.0</command> can also be used by programs that
409 need to know what libraries and include-paths The
410 <application>Gimp</application> was compiled with.
411 </para>
412 <indexterm zone="gimp gimptool-2.0">
413 <primary sortas="b-gimptool-2.0">gimptool-2.0</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="libgimp-2.0">
419 <term><filename class="libraryfile">libgimp-2.0.so</filename></term>
420 <listitem>
421 <para>
422 provides C bindings for The <application>Gimp</application>'s
423 Procedural Database (PDB) which offers an interface to core functions
424 and to functionality provided by plug-ins.
425 </para>
426 <indexterm zone="gimp libgimp-2.0">
427 <primary sortas="c-libgimp-2.0">libgimp-2.0.so</primary>
428 </indexterm>
429 </listitem>
430 </varlistentry>
431
432 <varlistentry id="libgimpbase-2.0">
433 <term><filename class="libraryfile">libgimpbase-2.0.so</filename></term>
434 <listitem>
435 <para>
436 provides the C functions for basic
437 <application>Gimp</application> functionality such as determining
438 enumeration data types, gettext translation, determining The
439 <application>Gimp</application>'s version number and capabilities,
440 handling data files and accessing the environment.
441 </para>
442 <indexterm zone="gimp libgimpbase-2.0">
443 <primary sortas="c-libgimpbase-2.0">libgimpbase-2.0.so</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="libgimpcolor-2.0">
449 <term><filename
450 class="libraryfile">libgimpcolor-2.0.so</filename></term>
451 <listitem>
452 <para>
453 provides the C functions relating to RGB, HSV and CMYK colors as
454 well as converting colors between different color models and
455 performing adaptive supersampling on an area.
456 </para>
457 <indexterm zone="gimp libgimpcolor-2.0">
458 <primary sortas="c-libgimpcolor-2.0">libgimpcolor-2.0.so</primary>
459 </indexterm>
460 </listitem>
461 </varlistentry>
462
463 <varlistentry id="libgimpconfig-2.0">
464 <term><filename
465 class="libraryfile">libgimpconfig-2.0.so</filename></term>
466 <listitem>
467 <para>
468 contains C functions for reading and writing config information.
469 </para>
470 <indexterm zone="gimp libgimpconfig-2.0">
471 <primary sortas="c-libgimpconfig-2.0">libgimpconfig-2.0.so</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
476 <varlistentry id="libgimpmath-2.0">
477 <term><filename class="libraryfile">libgimpmath-2.0.so</filename></term>
478 <listitem>
479 <para>
480 contains C functions which provide mathematical definitions and
481 macros, manipulate 3x3 transformation matrices, set up and manipulate
482 vectors and the MD5 message-digest algorithm.
483 </para>
484 <indexterm zone="gimp libgimpmath-2.0">
485 <primary sortas="c-libgimpmath-2.0">libgimpmath-2.0.so</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="libgimpmodule-2.0">
491 <term><filename class="libraryfile">libgimpmodule-2.0.so</filename></term>
492 <listitem>
493 <para>
494 provides the C functions which implements module loading using
495 GModule and keeps a list of GimpModule's found in a given
496 searchpath.
497 </para>
498 <indexterm zone="gimp libgimpmodule-2.0">
499 <primary sortas="c-libgimpmodule-2.0">libgimpmodule-2.0.so</primary>
500 </indexterm>
501 </listitem>
502 </varlistentry>
503
504 <varlistentry id="libgimpthumb-2.0">
505 <term><filename class="libraryfile">libgimpthumb-2.0.so</filename></term>
506 <listitem>
507 <para>
508 provides the C functions for handling The
509 <application>Gimp</application>'s thumbnail objects.
510 </para>
511 <indexterm zone="gimp libgimpthumb-2.0">
512 <primary sortas="c-libgimpthumb-2.0">libgimpthumb-2.0.so</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
516
517 <varlistentry id="libgimpui-2.0">
518 <term><filename class="libraryfile">libgimpui-2.0.so</filename></term>
519 <listitem>
520 <para>
521 contains The <application>Gimp</application>'s common user
522 interface functions.
523 </para>
524 <indexterm zone="gimp libgimpui-2.0">
525 <primary sortas="c-libgimpui-2.0">libgimpui-2.0.so</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="libgimpwidgets-2.0">
531 <term><filename class="libraryfile">libgimpwidgets-2.0.so</filename></term>
532 <listitem>
533 <para>
534 contains The <application>Gimp</application>
535 and <application>GTK</application>'s widget creation and
536 manipulation functions.
537 </para>
538 <indexterm zone="gimp libgimpwidgets-2.0">
539 <primary
540 sortas="c-libgimpwidgets-2.0">libgimpwidgets-2.0.so</primary>
541 </indexterm>
542 </listitem>
543 </varlistentry>
544
545 </variablelist>
546
547 </sect2>
548
549</sect1>
Note: See TracBrowser for help on using the repository browser.