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 gegl-download-http "https://download.gimp.org/pub/gegl/0.4/gegl-&gegl-version;.tar.xz">
|
---|
8 | <!ENTITY gegl-download-ftp " ">
|
---|
9 | <!ENTITY gegl-md5sum "a96ae32d46855ab4eefa1fce2dbefda1">
|
---|
10 | <!ENTITY gegl-size "5.5 MB">
|
---|
11 | <!ENTITY gegl-buildsize "80 MB (Add 4 MB for tests)">
|
---|
12 | <!ENTITY gegl-time "0.7 SBU (add 0.1 SBU for tests, both with parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gegl" xreflabel="gegl-&gegl-version;">
|
---|
16 | <?dbhtml filename="gegl.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>gegl-&gegl-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="gegl">
|
---|
22 | <primary sortas="a-Gegl">Gegl</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to gegl</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | This package provides the GEneric Graphics Library, which is a graph based
|
---|
30 | image processing format.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs122_checked;
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>
|
---|
39 | Download (HTTP): <ulink url="&gegl-download-http;"/>
|
---|
40 | </para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (FTP): <ulink url="&gegl-download-ftp;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download MD5 sum: &gegl-md5sum;
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download size: &gegl-size;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Estimated disk space required: &gegl-buildsize;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated build time: &gegl-time;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 | <!--
|
---|
69 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
70 | <itemizedlist spacing="compact">
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Required patch:
|
---|
74 | <ulink url="&patch-root;/gegl-&gegl-version;-ffmpeg5_fixes-1.patch"/>
|
---|
75 | </para>
|
---|
76 | </listitem>
|
---|
77 | </itemizedlist>
|
---|
78 | -->
|
---|
79 | <bridgehead renderas="sect3">gegl Dependencies</bridgehead>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
82 | <para role="required">
|
---|
83 | <xref linkend="babl"/> and
|
---|
84 | <xref linkend="json-glib"/>
|
---|
85 | <!-- These are marked obsolete - no effect in meson_options.txt
|
---|
86 | <xref linkend="libjpeg"/>, and
|
---|
87 | <xref linkend="libpng"/>-->
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
91 | <para role="recommended">
|
---|
92 | &gobject-introspection;,
|
---|
93 | <xref linkend="graphviz"/> (build with pango and libpng),
|
---|
94 | <!-- EDITORS NOTE: Graphviz is required for the gegl:introspect
|
---|
95 | function. Without this function, GIMP will not start. You'll get the
|
---|
96 | following error:
|
---|
97 |
|
---|
98 | "GEGL Operation Missing! GIMP rqeuires the GEGL operation
|
---|
99 | 'gegl:introspect'. This operation cannot be found. Check your GEGL
|
---|
100 | install and ensure it has been compiled with any dependencies required
|
---|
101 | for GIMP."
|
---|
102 |
|
---|
103 | Reference: https://gitlab.gnome.org/GNOME/gegl/-/commit/1f50456de59c686941a861d299a63bfcd4126ee5
|
---|
104 | -->
|
---|
105 | <xref linkend="pygments"/>, and
|
---|
106 | <xref linkend="pygobject3"/>
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
110 | <para role="optional">
|
---|
111 | <xref linkend="asciidoc"/>,
|
---|
112 | <xref linkend="cairo"/>,
|
---|
113 | <xref linkend="ffmpeg"/> (currently broken),
|
---|
114 | <xref linkend="gdk-pixbuf"/>,
|
---|
115 | <xref linkend="gexiv2"/>,
|
---|
116 | <xref linkend="gtk-doc"/>,
|
---|
117 | <xref linkend="jasper"/>,
|
---|
118 | <xref linkend="lcms2"/>,
|
---|
119 | <xref linkend="libraw"/>,
|
---|
120 | <xref linkend="librsvg"/>,
|
---|
121 | <xref linkend="libspiro"/>,
|
---|
122 | <xref linkend="libtiff"/>,
|
---|
123 | <xref linkend="libwebp"/>,
|
---|
124 | <xref linkend="luajit"/>,
|
---|
125 | <xref linkend="pango"/>,
|
---|
126 | <xref linkend="poppler"/>,
|
---|
127 | <xref linkend="ruby"/>,
|
---|
128 | <xref linkend="sdl2"/>,
|
---|
129 | <xref linkend="v4l-utils"/>,
|
---|
130 | <xref linkend="vala"/>,
|
---|
131 | <ulink url="https://lensfun.github.io/">lensfun</ulink>,
|
---|
132 | <ulink url="https://www.netsurf-browser.org/projects/libnsgif/">libnsgif</ulink>,
|
---|
133 | <ulink url="https://faculty.cse.tamu.edu/davis/suitesparse.html">libumfpack</ulink>,
|
---|
134 | <ulink url="https://github.com/gerddie/maxflow">maxflow</ulink>,
|
---|
135 | <ulink url="https://github.com/hodefoting/mrg/releases">MRG</ulink>,
|
---|
136 | <ulink url="https://www.khronos.org/opencl/">OpenCL</ulink>,
|
---|
137 | <ulink url="https://www.openexr.com">OpenEXR</ulink>,
|
---|
138 | <ulink url="https://github.com/KyleLink/poly2tri-c">poly2tri-c</ulink>,
|
---|
139 | <ulink url="https://www.gnu.org/software/src-highlite/">source-highlight</ulink>, and
|
---|
140 | <ulink url="https://w3m.sourceforge.net/">w3m</ulink>
|
---|
141 | </para>
|
---|
142 |
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="installation">
|
---|
146 | <title>Installation of gegl</title>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | If you are installing over a previous version of
|
---|
150 | <application>gegl</application>, one of the modules will need to be removed.
|
---|
151 | As the &root; user, run the following command to remove it:
|
---|
152 | </para>
|
---|
153 |
|
---|
154 | <screen role="root"><userinput>rm -f /usr/lib/gegl-0.4/vector-fill.so</userinput></screen>
|
---|
155 |
|
---|
156 | <para>
|
---|
157 | Install <application>gegl</application> by running the following commands:
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <screen><userinput>mkdir build &&
|
---|
161 | cd build &&
|
---|
162 |
|
---|
163 | meson setup --prefix=/usr --buildtype=release -D libav=disabled .. &&
|
---|
164 | ninja</userinput></screen>
|
---|
165 |
|
---|
166 | <para>
|
---|
167 | To run the tests, issue: <command>ninja test</command>. <!--This should
|
---|
168 | indicate no failures, but will skip many tests depending on optional
|
---|
169 | dependencies installed on the system. 7 tests in the
|
---|
170 | <filename>gegl:ff-load-save</filename> portion of the test suite are
|
---|
171 | known to fail due to incompatibilities with ffmpeg-6.0.-->
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | <para>
|
---|
175 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
176 | </para>
|
---|
177 |
|
---|
178 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
179 | </sect2>
|
---|
180 |
|
---|
181 | <sect2 role="commands">
|
---|
182 | <title>Command Explanations</title>
|
---|
183 |
|
---|
184 | <para>
|
---|
185 | <parameter>-D libav=disabled</parameter>: This switch disables building
|
---|
186 | support for ffmpeg because the latest version causes the build to fail.
|
---|
187 | </para>
|
---|
188 |
|
---|
189 | <para>
|
---|
190 | <option>-D docs=true</option>: Use this switch to build and install the
|
---|
191 | documentation (requires <xref linkend="gtk-doc"/>).
|
---|
192 | </para>
|
---|
193 |
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | <sect2 role="content">
|
---|
197 | <title>Contents</title>
|
---|
198 |
|
---|
199 | <segmentedlist>
|
---|
200 | <segtitle>Installed Programs</segtitle>
|
---|
201 | <segtitle>Installed Libraries</segtitle>
|
---|
202 | <segtitle>Installed Directories</segtitle>
|
---|
203 |
|
---|
204 | <seglistitem>
|
---|
205 | <seg>gegl and
|
---|
206 | gegl-imgcmp
|
---|
207 | </seg>
|
---|
208 | <seg>libgegl-0.4.so,
|
---|
209 | libgegl-npd-0.4.so,
|
---|
210 | <!--libgegl-sc-0.4.so,--> and
|
---|
211 | modules in /usr/lib/gegl-0.4
|
---|
212 | </seg>
|
---|
213 | <seg>/usr/lib/gegl-0.4 and
|
---|
214 | /usr/include/gegl-0.4
|
---|
215 | </seg>
|
---|
216 | </seglistitem>
|
---|
217 | </segmentedlist>
|
---|
218 |
|
---|
219 | <variablelist>
|
---|
220 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
221 | <?dbfo list-presentation="list"?>
|
---|
222 | <?dbhtml list-presentation="table"?>
|
---|
223 |
|
---|
224 | <varlistentry id="gegl-prog">
|
---|
225 | <term><command>gegl</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>
|
---|
228 | is a commandline tool for interfacing with the gegl library
|
---|
229 | </para>
|
---|
230 | <indexterm zone="gegl gegl-prog">
|
---|
231 | <primary sortas="b-gegl">gegl</primary>
|
---|
232 | </indexterm>
|
---|
233 | </listitem>
|
---|
234 | </varlistentry>
|
---|
235 |
|
---|
236 | <varlistentry id="gegl-imgcmp">
|
---|
237 | <term><command>gegl-imgcmp</command></term>
|
---|
238 | <listitem>
|
---|
239 | <para>
|
---|
240 | is a simple image difference detection tool for use in regression
|
---|
241 | testing
|
---|
242 | </para>
|
---|
243 | <indexterm zone="gegl gegl-imgcmp">
|
---|
244 | <primary sortas="b-gegl-imgcmp">gegl-imgcmp</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | <varlistentry id="libgegl-0.4">
|
---|
250 | <term><filename class="libraryfile">libgegl-0.4.so</filename></term>
|
---|
251 | <listitem>
|
---|
252 | <para>
|
---|
253 | provides infrastructure to do demand based cached non destructive
|
---|
254 | image editing on larger than RAM buffers
|
---|
255 | </para>
|
---|
256 | <indexterm zone="gegl libgegl-0.4">
|
---|
257 | <primary sortas="c-libgegl-0.4">libgegl-0.4.so</primary>
|
---|
258 | </indexterm>
|
---|
259 | </listitem>
|
---|
260 | </varlistentry>
|
---|
261 |
|
---|
262 | <varlistentry id="libgegl-npd-0.4">
|
---|
263 | <term><filename class="libraryfile">libgegl-npd-0.4.so</filename></term>
|
---|
264 | <listitem>
|
---|
265 | <para>
|
---|
266 | is the GEGL N-point image deformation library
|
---|
267 | </para>
|
---|
268 | <indexterm zone="gegl libgegl-npd-0.4">
|
---|
269 | <primary sortas="c-libgegl-npd-0.4">libgegl-npd-0.4.so</primary>
|
---|
270 | </indexterm>
|
---|
271 | </listitem>
|
---|
272 | </varlistentry>
|
---|
273 |
|
---|
274 | <!--
|
---|
275 | <varlistentry id="libgegl-sc-0.4">
|
---|
276 | <term><filename class="libraryfile">libgegl-sc-0.4.so</filename></term>
|
---|
277 | <listitem>
|
---|
278 | <para>
|
---|
279 | is the GEGL Seamless Cloning library
|
---|
280 | </para>
|
---|
281 | <indexterm zone="gegl libgegl-sc-0.4">
|
---|
282 | <primary sortas="c-libgegl-sc-0.4">libgegl-sc-0.4.so</primary>
|
---|
283 | </indexterm>
|
---|
284 | </listitem>
|
---|
285 | </varlistentry>
|
---|
286 | -->
|
---|
287 |
|
---|
288 | </variablelist>
|
---|
289 | </sect2>
|
---|
290 |
|
---|
291 | </sect1>
|
---|