source: xsoft/other/gimp.xml@ f0a0e34

12.2 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since f0a0e34 was f0a0e34, checked in by Xi Ruoyao <xry111@…>, 2 months ago

gimp: Tweak dependencies

dbus-glib is no longer a dependency since 2013 (thus we should have
dropped it for GIMP 2 years ago!).

Also drop the "x-window-system" dependency (which bascially just means
xorg-libraries for 99% cases and xorg-libraries is already required by
gtk3).

I've built it with dbus-glib omitted and many things in xorg section
omitted.

Link: https://gitlab.gnome.org/GNOME/gimp/-/commit/c4460e84

  • Property mode set to 100644
File size: 17.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 "&sources-anduin-http;/BLFS/gimp/gimp-&gimp-version;.tar.xz">
8 <!ENTITY gimp-download-ftp " ">
9 <!ENTITY gimp-md5sum "17fcd0bfc8e66fc61d672b4409cb3e3a">
10 <!ENTITY gimp-size "26 MB">
11 <!ENTITY gimp-buildsize "456 MB (162 MB installed)">
12 <!ENTITY gimp-time "1.2 SBU (Using parallelism=4)">
13
14 <!-- pro-tem, a pull of gimp-help, https://gitlab.gnome.org/GNOME/gimp-help.git
15 git archive - -format=tar - -prefix=${DIRNAME}/ HEAD | xz >../${DIRNAME}.tar.xz -->
16
17 <!-- renodr: I generated the git tarball using the following instructions:
18 cd /tmp &&
19 mkdir gimp-help &&
20 cd gimp-help &&
21 git clone https://gitlab.gnome.org/GNOME/gimp-help.git &&
22 cd gimp-help &&
23 git checkout gimp-help-2-10 &&
24 cd .. &&
25 rm -rv gimp-help/.git &&
26 mv -v gimp-help gimp-help-<DATE>
27 tar -cJvf gimp-help-<DATE>.tar.xz gimp-help-<DATE>
28
29 After you've completed this, run a test build, and upload the tarball to
30 anduin.-->
31
32 <!ENTITY gimp-help-version "&gimp-version;">
33 <!ENTITY gimp-help-download "&sources-anduin-http;/BLFS/gimp/gimp-help-&gimp-help-version;.tar.xz">
34<!-- <!ENTITY gimp-help-download "https://download.gimp.org/pub/gimp/help/gimp-help-&gimp-help-version;.tar.bz2">-->
35 <!ENTITY gimp-help-md5sum "162d57a67ff737ed221a8d7f274d119f">
36 <!ENTITY gimp-help-size "129 MB">
37 <!ENTITY gimp-help-buildsize "From 351 MB (74 MB installed) for en only to 1.5 GB for all
38 languages">
39 <!ENTITY gimp-help-time "0.4 SBU (en only), 5.1 SBU for all languages; using parallelism=4">
40]>
41
42<sect1 id="gimp" xreflabel="Gimp-&gimp-version;">
43 <?dbhtml filename="gimp.html" ?>
44
45 <title>Gimp-&gimp-version;</title>
46
47 <indexterm zone="gimp">
48 <primary sortas="a-Gimp">Gimp</primary>
49 </indexterm>
50
51 <sect2 role="package">
52 <title>Introduction to Gimp</title>
53
54 <para>
55 The <application>Gimp</application> package contains
56 the GNU Image Manipulation Program which is useful for
57 photo retouching, image composition and image authoring.
58 </para>
59
60 &lfs121_checked;
61
62 <bridgehead renderas="sect3">Package Information</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>
66 Download (HTTP): <ulink url="&gimp-download-http;"/>
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Download (FTP): <ulink url="&gimp-download-ftp;"/>
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Download MD5 sum: &gimp-md5sum;
77 </para>
78 </listitem>
79 <listitem>
80 <para>
81 Download size: &gimp-size;
82 </para>
83 </listitem>
84 <listitem>
85 <para>
86 Estimated disk space required: &gimp-buildsize;
87 </para>
88 </listitem>
89 <listitem>
90 <para>
91 Estimated build time: &gimp-time;
92 </para>
93 </listitem>
94 </itemizedlist>
95
96 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
97<!--
98 <note>
99 <para>
100 The creation of local html files with recent versions of the necessary
101 packages is somewhat broken (some png images are not sourced by the
102 generated HTML, only their captions are visible).
103 </para>
104 </note>
105-->
106 <note>
107 <para>
108 The help files English version is complete, but large
109 parts of the text for many other languages are not yet translated.
110 </para>
111 </note>
112
113
114 <itemizedlist spacing="compact">
115 <listitem>
116 <para>
117 Download (HTTP): <ulink url="&gimp-help-download;"/>
118 </para>
119 </listitem>
120 <listitem>
121 <para>
122 Download size: &gimp-help-size;
123 </para>
124 </listitem>
125 <listitem>
126 <para>
127 Download MD5 sum: &gimp-help-md5sum;
128 </para>
129 </listitem>
130 <listitem>
131 <para>
132 Estimated disk space required: &gimp-help-buildsize;
133 </para>
134 </listitem>
135 <listitem>
136 <para>
137 Estimated build time: &gimp-help-time;
138 </para>
139 </listitem>
140 </itemizedlist>
141
142 <bridgehead renderas="sect3">Gimp Dependencies</bridgehead>
143
144 <bridgehead renderas="sect4">Required</bridgehead>
145 <para role="required">
146 <xref linkend="appstream-glib"/>,
147 <xref linkend="gegl"/>,
148 <xref linkend="gexiv2"/>,
149 <xref linkend="glib-networking"/>,
150 <xref linkend="harfbuzz"/>,
151 <xref linkend="libjpeg"/>,
152 <xref linkend="libmypaint"/>,
153 <xref linkend="librsvg"/>,
154 <xref linkend="libtiff"/>,
155 <!-- en can be built without this -->
156 <xref linkend="libxml2"/> (to build the translated help files),
157 <xref linkend="lcms2"/>,
158 <xref linkend="mypaint-brushes"/>, and
159 <xref linkend="poppler"/> (including poppler-data)
160 </para>
161
162 <bridgehead renderas="sect4">Recommended</bridgehead>
163 <para role="recommended">
164 <xref linkend="graphviz"/>,
165 <xref linkend="gs"/> (with libgs installed),
166 <xref linkend="iso-codes"/>,
167 <xref linkend="libgudev"/>, and
168 <xref linkend="xdg-utils"/>
169 </para>
170
171 <bridgehead renderas="sect4">Optional</bridgehead>
172 <para role="optional">
173 <xref linkend="aalib"/>,
174 <xref linkend="alsa-lib"/>,
175 <xref linkend="gvfs"/> (to access the online help),
176 <xref linkend="libmng"/>,
177 <xref linkend="libunwind"/>,
178 <xref linkend="libwebp"/>,
179 <xref linkend="openjpeg2"/>,
180 <xref linkend="gtk-doc"/>,
181 <ulink url="https://people.freedesktop.org/~hughsient/appstream-glib">appstream-glib</ulink>,
182 <ulink url="https://github.com/ianlancetaylor/libbacktrace">libbacktrace</ulink>,
183 <ulink url="https://github.com/strukturag/libheif/">libheif</ulink> with
184 <ulink url="https://github.com/strukturag/libde265/">libde265</ulink>
185 (both needed to read macOS heic images),
186 <ulink url="https://wvware.sourceforge.net/libwmf.html">libwmf</ulink>, and
187 <ulink url="https://www.openexr.com/">OpenEXR</ulink>
188 </para>
189
190 <bridgehead renderas="sect4">Optional, for building the help system</bridgehead>
191 <para role="optional">
192 <ulink url="https://dblatex.sourceforge.net/">dblatex</ulink> (for PDF docs),
193 <ulink url="https://pngnq.sourceforge.net/">pngnq</ulink> and
194 <ulink url="https://pmt.sourceforge.net/pngcrush/">pngcrush</ulink>
195 to optimize the png files, but see the note on the help download above
196 </para>
197
198 <para condition="html" role="usernotes">Editor Notes:
199 <ulink url="&blfs-wiki;/gimp"/>
200 </para>
201 </sect2>
202
203 <sect2 role="installation">
204 <title>Installation of Gimp</title>
205
206 <para>
207 Install <application>Gimp</application> by running
208 the following commands:
209 </para>
210
211<screen><userinput>mkdir gimp-build &amp;&amp;
212cd gimp-build &amp;&amp;
213
214meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
215ninja</userinput></screen>
216
217 <para>
218 To test the results (requires an X-Windowed terminal) issue:
219 <command>ninja test</command>.
220 <!-- km: in 2.10.16 no failures, 2 tests were skipped -->
221
222 </para>
223
224 <para>
225 Now, as the &root; user:
226 </para>
227
228<screen role="root"><userinput>ninja test</userinput></screen>
229
230 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
231 href="../../xincludes/update-icons-and-desktop.xml"/>
232
233 </sect2>
234
235 <sect2 role="installation">
236 <title>Installation of Gimp-Help</title>
237
238 <para>
239 The <filename>gimp-help</filename> tarball contains images and English
240 text help for help files, together with translations.
241 If you wish to install local copies of the help files to read offline,
242 unpack the gimp-help tarball and change into the root of the newly
243 created source tree.
244
245 <!--
246 The documentation generated by gimp-help-2.10.34 and online help have
247 the same contents, so I comment this out. [pierre Nov. 2023]
248 Because of the
249 issues mentioned in the note above, you are recommended to use the online
250 help, either by building against <xref linkend="gvfs"/> so that 'help'
251 can open the latest XML files in your browser, or else you can manually
252 open the html in your browser by going to <ulink
253 url="https://docs.gimp.org/2.10/en/">https://docs.gimp.org/2.10/en</ulink>
254 (change the language code if desired).-->
255 </para>
256
257<screen><userinput>tar -xf ../../gimp3-help-&gimp-version;.tar.xz &amp;&amp;
258cd gimp3-help-&gimp-version;
259
260ALL_LINGUAS=&quot;ca cs da de en en_GB es fa fr hr ko lt nl nn pt pt_BR ro sl sv uk zh_CN&quot; \
261./configure --prefix=/usr</userinput></screen>
262
263 <para>
264 Remove from <envar>ALL_LINGUAS</envar> the codes for any languages which
265 you do not wish to install. Alternatively, remove the line starting with
266 <envar>ALL_LINGUAS</envar>, if you wish to build all languages.
267 </para>
268
269 <para>
270 Now build the help files:
271 </para>
272
273<screen><userinput>make</userinput></screen>
274
275 <para>
276 Issue the following commands as the &root; user to install the help files:
277 </para>
278
279<screen role="root"><userinput>make install &amp;&amp;
280chown -R root:root /usr/share/gimp/3.0/help</userinput></screen>
281
282 </sect2>
283
284 <sect2 role="commands" id="gimp-cmd-explanations">
285 <title>Command Explanations</title>
286
287 <para>
288 <envar>ALL_LINGUAS=&quot;ca cs da de en en_GB es fa...&quot;</envar>: by
289 default, the help files will be rendered in all the available languages.
290 Remove the codes of any languages you do not wish to build.
291 </para>
292
293 <para>
294 <parameter>--disable-python</parameter>: This option is necessary if
295 you have not installed <application>PyGTK</application>.
296 </para>
297
298 </sect2>
299
300 <sect2 role="configuration">
301 <title>Configuring The Gimp</title>
302
303 <sect3 id="gimp-config">
304 <title>Config Files</title>
305
306 <para>
307 <filename>/etc/gimp/3.0/*</filename>
308 </para>
309
310 <indexterm zone="gimp gimp-config">
311 <primary sortas="e-etc-gimp-3.0-star">/etc/gimp/3.0/*</primary>
312 </indexterm>
313
314 </sect3>
315
316 </sect2>
317
318 <sect2 role="content">
319 <title>Contents</title>
320
321 <segmentedlist>
322 <segtitle>Installed Programs</segtitle>
323 <segtitle>Installed Libraries</segtitle>
324 <segtitle>Installed Directories</segtitle>
325
326 <seglistitem>
327 <seg>
328 gimp-2.99,
329 gimp-console-2.99,
330 gimptool-2.99,
331 gimp-test-clipboard-2.99, and
332 gimp-script-fu-interpreter-3.0
333 </seg>
334 <seg>
335 libgimp-3.0.so,
336 libgimp-scriptfu-3.0,
337 libgimpbase-3.0.so,
338 libgimpcolor-3.0.so,
339 libgimpconfig-3.0.so,
340 libgimpmath-3.0.so,
341 libgimpmodule-3.0.so,
342 libgimpui-3.0.so, and
343 libgimpwidgets-3.0.so
344 </seg>
345 <seg>
346 /etc/gimp,
347 /usr/include/gimp-3.0,
348 /usr/lib/gimp-3.0,
349 /usr/lib/gimp/3.0,
350 /usr/share/gimp/3.0, and
351 /usr/share/doc/gimp-2.99
352 </seg>
353 </seglistitem>
354 </segmentedlist>
355
356 <variablelist>
357 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
358 <?dbfo list-presentation="list"?>
359 <?dbhtml list-presentation="table"?>
360
361 <varlistentry id="gimp-2.99">
362 <term><command>gimp-2.99</command></term>
363 <listitem>
364 <para>
365 is the Gnu Image Manipulation Program. It works with a variety
366 of image formats and provides a large selection of tools
367 </para>
368 <indexterm zone="gimp gimp-2.99">
369 <primary sortas="b-gimp-2.99">gimp-2.99</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="gimp-console-2.99">
375 <term><command>gimp-console-2.99</command></term>
376 <listitem>
377 <para>
378 is a console program that behaves as if The
379 <application>Gimp</application> was called with the
380 <option>--no-interface</option> command-line option
381 </para>
382 <indexterm zone="gimp gimp-console-2.99">
383 <primary sortas="b-gimp-console-2.99">gimp-console-2.99</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry id="gimptool-2.99">
389 <term><command>gimptool-2.99</command></term>
390 <listitem>
391 <para>
392 is a tool that can build plug-ins or scripts and install them
393 if they are distributed in one source file.
394 <command>gimptool-2.0</command> can also be used by programs that
395 need to know what libraries and include-paths The
396 <application>Gimp</application> was compiled with
397 </para>
398 <indexterm zone="gimp gimptool-2.99">
399 <primary sortas="b-gimptool-2.99">gimptool-2.99</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="libgimp-3.0">
405 <term><filename class="libraryfile">libgimp-3.0.so</filename></term>
406 <listitem>
407 <para>
408 provides C bindings for The <application>Gimp</application>'s
409 Procedural Database (PDB) which offers an interface to core functions
410 and to functionality provided by plug-ins
411 </para>
412 <indexterm zone="gimp libgimp-3.0">
413 <primary sortas="c-libgimp-3.0">libgimp-3.0.so</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="libgimpbase-3.0">
419 <term><filename class="libraryfile">libgimpbase-3.0.so</filename></term>
420 <listitem>
421 <para>
422 provides the C functions for basic
423 <application>Gimp</application> functionality such as determining
424 enumeration data types, gettext translation, determining The
425 <application>Gimp</application>'s version number and capabilities,
426 handling data files and accessing the environment
427 </para>
428 <indexterm zone="gimp libgimpbase-3.0">
429 <primary sortas="c-libgimpbase-3.0">libgimpbase-3.0.so</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="libgimpcolor-3.0">
435 <term><filename class="libraryfile">libgimpcolor-3.0.so</filename></term>
436 <listitem>
437 <para>
438 provides the C functions relating to RGB, HSV and CMYK colors as
439 well as converting colors between different color models and
440 performing adaptive supersampling on an area
441 </para>
442 <indexterm zone="gimp libgimpcolor-3.0">
443 <primary sortas="c-libgimpcolor-3.0">libgimpcolor-3.0.so</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="libgimpconfig-3.0">
449 <term><filename class="libraryfile">libgimpconfig-3.0.so</filename></term>
450 <listitem>
451 <para>
452 contains C functions for reading and writing config information
453 </para>
454 <indexterm zone="gimp libgimpconfig-3.0">
455 <primary sortas="c-libgimpconfig-3.0">libgimpconfig-3.0.so</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
460 <varlistentry id="libgimpmath-3.0">
461 <term><filename class="libraryfile">libgimpmath-3.0.so</filename></term>
462 <listitem>
463 <para>
464 contains C functions which provide mathematical definitions and
465 macros, manipulate 3x3 transformation matrices, set up and manipulate
466 vectors and the MD5 message-digest algorithm
467 </para>
468 <indexterm zone="gimp libgimpmath-3.0">
469 <primary sortas="c-libgimpmath-3.0">libgimpmath-3.0.so</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry id="libgimpmodule-3.0">
475 <term><filename class="libraryfile">libgimpmodule-3.0.so</filename></term>
476 <listitem>
477 <para>
478 provides the C functions which implement module loading using
479 GModule and supports keeping a list of GimpModule's found in a given
480 searchpath
481 </para>
482 <indexterm zone="gimp libgimpmodule-3.0">
483 <primary sortas="c-libgimpmodule-3.0">libgimpmodule-2.0.so</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
488 <varlistentry id="libgimpthumb-3.0">
489 <term><filename class="libraryfile">libgimpthumb-3.0.so</filename></term>
490 <listitem>
491 <para>
492 provides the C functions for handling The
493 <application>Gimp</application>'s thumbnail objects
494 </para>
495 <indexterm zone="gimp libgimpthumb-3.0">
496 <primary sortas="c-libgimpthumb-3.0">libgimpthumb-3.0.so</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500
501 <varlistentry id="libgimpui-3.0">
502 <term><filename class="libraryfile">libgimpui-3.0.so</filename></term>
503 <listitem>
504 <para>
505 contains The <application>Gimp</application>'s common user
506 interface functions
507 </para>
508 <indexterm zone="gimp libgimpui-3.0">
509 <primary sortas="c-libgimpui-3.0">libgimpui-3.0.so</primary>
510 </indexterm>
511 </listitem>
512 </varlistentry>
513
514 <varlistentry id="libgimpwidgets-3.0">
515 <term><filename class="libraryfile">libgimpwidgets-3.0.so</filename></term>
516 <listitem>
517 <para>
518 contains The <application>Gimp</application>
519 and <application>GTK</application>'s widget creation and
520 manipulation functions
521 </para>
522 <indexterm zone="gimp libgimpwidgets-3.0">
523 <primary sortas="c-libgimpwidgets-3.0">libgimpwidgets-3.0.so</primary>
524 </indexterm>
525 </listitem>
526 </varlistentry>
527
528 </variablelist>
529
530 </sect2>
531
532</sect1>
Note: See TracBrowser for help on using the repository browser.