[fdce50f] | 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 |
|
---|
[bbc99ad] | 7 | <!ENTITY gegl-download-http "https://download.gimp.org/pub/gegl/0.4/gegl-&gegl-version;.tar.xz">
|
---|
[8dfc5c3] | 8 | <!ENTITY gegl-download-ftp " ">
|
---|
[d230ea49] | 9 | <!ENTITY gegl-md5sum "fe182967ce4b678d8b45500c416555c5">
|
---|
[8dff71fb] | 10 | <!ENTITY gegl-size "5.5 MB">
|
---|
[d230ea49] | 11 | <!ENTITY gegl-buildsize "115 MB (Add 7 MB for tests)">
|
---|
| 12 | <!ENTITY gegl-time "0.9 SBU (Using parallelism=4; add 0.2 for tests)">
|
---|
[fdce50f] | 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 |
|
---|
[c966932] | 28 | <para>
|
---|
| 29 | This package provides the GEneric Graphics Library, which is a graph based
|
---|
| 30 | image processing format.
|
---|
| 31 | </para>
|
---|
[fdce50f] | 32 |
|
---|
[2cc15a2b] | 33 | &lfs112_checked;
|
---|
[fdce50f] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[c966932] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&gegl-download-http;"/>
|
---|
| 40 | </para>
|
---|
[fdce50f] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[c966932] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&gegl-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[fdce50f] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[c966932] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &gegl-md5sum;
|
---|
| 50 | </para>
|
---|
[fdce50f] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[c966932] | 53 | <para>
|
---|
| 54 | Download size: &gegl-size;
|
---|
| 55 | </para>
|
---|
[fdce50f] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[c966932] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &gegl-buildsize;
|
---|
| 60 | </para>
|
---|
[fdce50f] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[c966932] | 63 | <para>
|
---|
| 64 | Estimated build time: &gegl-time;
|
---|
| 65 | </para>
|
---|
[fdce50f] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
[8dff71fb] | 68 | <!--
|
---|
[cac1034] | 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>
|
---|
[8dff71fb] | 78 | -->
|
---|
[fdce50f] | 79 | <bridgehead renderas="sect3">gegl Dependencies</bridgehead>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c966932] | 82 | <para role="required">
|
---|
[6b2a913] | 83 | <xref linkend="babl"/>,
|
---|
| 84 | <xref linkend="json-glib"/>,
|
---|
| 85 | <xref linkend="libjpeg"/>, and
|
---|
| 86 | <xref linkend="libpng"/>
|
---|
[bbc99ad] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
| 91 | <xref linkend="gobject-introspection"/>,
|
---|
[206e0be] | 92 | <xref linkend="graphviz"/>,
|
---|
| 93 | <!-- EDITORS NOTE: Graphviz is required for the gegl:introspect
|
---|
| 94 | function. Without this function, GIMP will not start. You'll get the
|
---|
| 95 | following error:
|
---|
| 96 |
|
---|
| 97 | "GEGL Operation Missing! GIMP rqeuires the GEGL operation
|
---|
| 98 | 'gegl:introspect'. This operation cannot be found. Check your GEGL
|
---|
| 99 | install and ensure it has been compiled with any dependencies required
|
---|
| 100 | for GIMP."
|
---|
| 101 |
|
---|
| 102 | Reference: https://gitlab.gnome.org/GNOME/gegl/-/commit/1f50456de59c686941a861d299a63bfcd4126ee5
|
---|
| 103 | -->
|
---|
[8558044] | 104 | <xref linkend="pygments"/>, and
|
---|
[bbc99ad] | 105 | <xref linkend="pygobject3"/>
|
---|
[c966932] | 106 | </para>
|
---|
[fdce50f] | 107 |
|
---|
| 108 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c966932] | 109 | <para role="optional">
|
---|
[9faa23b6] | 110 | <xref linkend="asciidoc"/>,
|
---|
[c966932] | 111 | <xref linkend="cairo"/>,
|
---|
| 112 | <xref linkend="exiv2"/>,
|
---|
[dfdf251] | 113 | <xref linkend="ffmpeg"/>,
|
---|
[c966932] | 114 | <xref linkend="gdk-pixbuf"/>,
|
---|
[bbc99ad] | 115 | <xref linkend="gexiv2"/>,
|
---|
[dfdf251] | 116 | <xref linkend="gtk-doc"/>,
|
---|
[bbc99ad] | 117 | <xref linkend="jasper"/>,
|
---|
| 118 | <xref linkend="lcms2"/>,
|
---|
[9f1e41e] | 119 | <xref linkend="libraw"/>,
|
---|
[c966932] | 120 | <xref linkend="librsvg"/>,
|
---|
[bbc99ad] | 121 | <xref linkend="libtiff"/>,
|
---|
[3796d58b] | 122 | <xref linkend="libwebp"/>,
|
---|
[c966932] | 123 | <xref linkend="pango"/>,
|
---|
[49d0e35] | 124 | <xref linkend="poppler"/>,
|
---|
[c966932] | 125 | <xref linkend="ruby"/>,
|
---|
[bbc99ad] | 126 | <xref linkend="sdl2"/>,
|
---|
| 127 | <xref linkend="v4l-utils"/>,
|
---|
[c966932] | 128 | <xref linkend="vala"/>,
|
---|
[5505c45] | 129 | <xref linkend="libspiro"/>,
|
---|
[7c64789] | 130 | <ulink url="https://lensfun.github.io/">lensfun</ulink>,
|
---|
[fa9660c] | 131 | <ulink url="https://faculty.cse.tamu.edu/davis/suitesparse.html">libumfpack</ulink>,
|
---|
| 132 | <ulink url="https://luajit.org/luajit.html">LuaJIT</ulink>,
|
---|
[8dff71fb] | 133 | <ulink url="https://www.khronos.org/opencl">OpenCL</ulink> (for tests),
|
---|
[bbc99ad] | 134 | <ulink url="https://github.com/hodefoting/mrg/releases">MRG</ulink>, and
|
---|
| 135 | <ulink url="https://www.openexr.com">OpenEXR</ulink>
|
---|
[8ddd2428] | 136 | </para>
|
---|
[fdce50f] | 137 |
|
---|
[c966932] | 138 | <para condition="html" role="usernotes">
|
---|
| 139 | User Notes: <ulink url='&blfs-wiki;/gegl'/>
|
---|
| 140 | </para>
|
---|
[fdce50f] | 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="installation">
|
---|
| 144 | <title>Installation of gegl</title>
|
---|
| 145 |
|
---|
[dadfb45] | 146 | <para>
|
---|
| 147 | If installing over a previous version of <application>gegl</application>,
|
---|
[7a9a7b26] | 148 | one module needs to be removed. As the <systemitem class="username">root</systemitem>
|
---|
[dadfb45] | 149 | user, run:
|
---|
| 150 | </para>
|
---|
| 151 |
|
---|
| 152 | <screen><userinput>rm -f /usr/lib/gegl-0.4/vector-fill.so</userinput></screen>
|
---|
[8dff71fb] | 153 | <!--
|
---|
[cac1034] | 154 | <para>
|
---|
| 155 | Apply a patch to fix problems when building with ffmpeg-5.x:
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
| 158 | <screen><userinput remap="pre">patch -Np1 -i ../gegl-&gegl-version;-ffmpeg5_fixes-1.patch</userinput></screen>
|
---|
[8dff71fb] | 159 | -->
|
---|
[49d0e35] | 160 | <para>
|
---|
[9f1e41e] | 161 | If LibRaw-0.21.0 or above is installed, the build fails due to
|
---|
| 162 | a change in the ABI. Fix the issue by issuing:
|
---|
[49d0e35] | 163 | </para>
|
---|
| 164 |
|
---|
| 165 | <screen><userinput>sed -e '/shot_select/s/params/raw&/' \
|
---|
| 166 | -i operations/external/raw-load.c</userinput></screen>
|
---|
| 167 |
|
---|
[06cdf48] | 168 | <para>
|
---|
| 169 | Install <application>gegl</application> by running the following commands:
|
---|
| 170 | </para>
|
---|
| 171 |
|
---|
[bbc99ad] | 172 | <screen><userinput>mkdir build &&
|
---|
| 173 | cd build &&
|
---|
| 174 |
|
---|
[b7e2ce4] | 175 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[bbc99ad] | 176 | ninja</userinput></screen>
|
---|
[fdce50f] | 177 |
|
---|
[c966932] | 178 | <para>
|
---|
[8dff71fb] | 179 | To run the tests, issue: <command>ninja test</command>. This should
|
---|
| 180 | indicate no failures, but will skip many tests depending on optional
|
---|
[5f729f8] | 181 | dependencies installed on the system.
|
---|
[c966932] | 182 | </para>
|
---|
[fdce50f] | 183 |
|
---|
[c966932] | 184 | <para>
|
---|
| 185 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 186 | </para>
|
---|
[fdce50f] | 187 |
|
---|
[bbc99ad] | 188 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[fdce50f] | 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | <sect2 role="commands">
|
---|
| 192 | <title>Command Explanations</title>
|
---|
| 193 |
|
---|
[1e36a629] | 194 | <para>
|
---|
[aa41434] | 195 | <option>-Ddocs=true</option>: Build and
|
---|
[dfdf251] | 196 | install documentation (requires <xref linkend="gtk-doc"/>,).
|
---|
[1e36a629] | 197 | </para>
|
---|
| 198 |
|
---|
[fdce50f] | 199 | </sect2>
|
---|
| 200 |
|
---|
| 201 | <sect2 role="content">
|
---|
| 202 | <title>Contents</title>
|
---|
| 203 |
|
---|
| 204 | <segmentedlist>
|
---|
| 205 | <segtitle>Installed Programs</segtitle>
|
---|
| 206 | <segtitle>Installed Libraries</segtitle>
|
---|
| 207 | <segtitle>Installed Directories</segtitle>
|
---|
| 208 |
|
---|
| 209 | <seglistitem>
|
---|
[bbc99ad] | 210 | <seg>gegl and
|
---|
| 211 | gegl-imgcmp
|
---|
| 212 | </seg>
|
---|
[8558044] | 213 | <seg>libgegl-0.4.so,
|
---|
| 214 | libgegl-npd-0.4.so,
|
---|
| 215 | libgegl-sc-0.4.so, and
|
---|
[bbc99ad] | 216 | modules in /usr/lib/gegl-0.4
|
---|
| 217 | </seg>
|
---|
| 218 | <seg>/usr/lib/gegl-0.4 and
|
---|
| 219 | /usr/include/gegl-0.4
|
---|
| 220 | </seg>
|
---|
[fdce50f] | 221 | </seglistitem>
|
---|
| 222 | </segmentedlist>
|
---|
| 223 |
|
---|
| 224 | <variablelist>
|
---|
| 225 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 226 | <?dbfo list-presentation="list"?>
|
---|
| 227 | <?dbhtml list-presentation="table"?>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="gegl-prog">
|
---|
| 230 | <term><command>gegl</command></term>
|
---|
| 231 | <listitem>
|
---|
[c966932] | 232 | <para>
|
---|
[4c24eb0a] | 233 | is a commandline tool for working with the XML data model
|
---|
[c966932] | 234 | </para>
|
---|
[fdce50f] | 235 | <indexterm zone="gegl gegl-prog">
|
---|
| 236 | <primary sortas="b-gegl">gegl</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
[06cdf48] | 241 | <varlistentry id="gegl-imgcmp">
|
---|
| 242 | <term><command>gegl-imgcmp</command></term>
|
---|
| 243 | <listitem>
|
---|
| 244 | <para>
|
---|
| 245 | is a simple image difference detection tool for use in regression
|
---|
[4c24eb0a] | 246 | testing
|
---|
[06cdf48] | 247 | </para>
|
---|
| 248 | <indexterm zone="gegl gegl-imgcmp">
|
---|
| 249 | <primary sortas="b-gegl-imgcmp">gegl-imgcmp</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | <varlistentry id="libgegl-0.4">
|
---|
[4c24eb0a] | 255 | <term><filename class="libraryfile">libgegl-0.4.so</filename></term>
|
---|
[fdce50f] | 256 | <listitem>
|
---|
[c966932] | 257 | <para>
|
---|
| 258 | provides infrastructure to do demand based cached non destructive
|
---|
[4c24eb0a] | 259 | image editing on larger than RAM buffers
|
---|
[c966932] | 260 | </para>
|
---|
[06cdf48] | 261 | <indexterm zone="gegl libgegl-0.4">
|
---|
| 262 | <primary sortas="c-libgegl-0.4">libgegl-0.4.so</primary>
|
---|
| 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
| 267 | <varlistentry id="libgegl-npd-0.4">
|
---|
[4c24eb0a] | 268 | <term><filename class="libraryfile">libgegl-npd-0.4.so</filename></term>
|
---|
[06cdf48] | 269 | <listitem>
|
---|
| 270 | <para>
|
---|
[4c24eb0a] | 271 | is the GEGL N-point image deformation library
|
---|
[06cdf48] | 272 | </para>
|
---|
| 273 | <indexterm zone="gegl libgegl-npd-0.4">
|
---|
| 274 | <primary sortas="c-libgegl-npd-0.4">libgegl-npd-0.4.so</primary>
|
---|
[fdce50f] | 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
[06cdf48] | 278 |
|
---|
| 279 | <varlistentry id="libgegl-sc-0.4">
|
---|
[4c24eb0a] | 280 | <term><filename class="libraryfile">libgegl-sc-0.4.so</filename></term>
|
---|
[06cdf48] | 281 | <listitem>
|
---|
| 282 | <para>
|
---|
[4c24eb0a] | 283 | is the GEGL Seamless Cloning library
|
---|
[06cdf48] | 284 | </para>
|
---|
| 285 | <indexterm zone="gegl libgegl-sc-0.4">
|
---|
| 286 | <primary sortas="c-libgegl-sc-0.4">libgegl-sc-0.4.so</primary>
|
---|
| 287 | </indexterm>
|
---|
| 288 | </listitem>
|
---|
| 289 | </varlistentry>
|
---|
| 290 |
|
---|
[fdce50f] | 291 | </variablelist>
|
---|
| 292 | </sect2>
|
---|
[4c24eb0a] | 293 |
|
---|
[fdce50f] | 294 | </sect1>
|
---|