[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[9945e31] | 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;
|
---|
[9637385c] | 6 | <!ENTITY inkscape-download-http "https://inkscape.org/gallery/item/53679/inkscape-&inkscape-minor-version;.tar.xz">
|
---|
[c5a5f11] | 7 |
|
---|
| 8 | <!-- When updating, remember to change the numeric part of the URL -->
|
---|
| 9 |
|
---|
[9945e31] | 10 | <!ENTITY inkscape-download-ftp " ">
|
---|
[9637385c] | 11 | <!ENTITY inkscape-md5sum "a93f3a8eab82ef3d610f426bfe58e3df">
|
---|
| 12 | <!ENTITY inkscape-size "44 MB">
|
---|
| 13 | <!ENTITY inkscape-buildsize "784 MB (197 MB installed)">
|
---|
| 14 | <!ENTITY inkscape-time "2.6 SBU (with parallelism=8)">
|
---|
[df35651] | 15 |
|
---|
| 16 | <!-- To find newer tarballs, look here:
|
---|
| 17 | https://inkscape.org/release/all/source/archive/?pre=0
|
---|
| 18 | -->
|
---|
[9945e31] | 19 | ]>
|
---|
| 20 |
|
---|
[e1bfbee7] | 21 | <sect1 id="inkscape" xreflabel="Inkscape-&inkscape-minor-version;">
|
---|
[9945e31] | 22 | <?dbhtml filename="inkscape.html"?>
|
---|
| 23 |
|
---|
| 24 |
|
---|
[e1bfbee7] | 25 | <title>Inkscape-&inkscape-minor-version;</title>
|
---|
[9945e31] | 26 |
|
---|
| 27 | <indexterm zone="inkscape">
|
---|
[bc6e56d] | 28 | <primary sortas="a-Inkscape">Inkscape</primary>
|
---|
[9945e31] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to Inkscape</title>
|
---|
| 33 |
|
---|
| 34 | <para>
|
---|
| 35 | <application>Inkscape</application> is a what you see is what you get
|
---|
| 36 | Scalable Vector Graphics editor. It is useful for creating, viewing and
|
---|
| 37 | changing SVG images.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[dfa5ffd] | 40 | &lfs122_checked;
|
---|
[9945e31] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&inkscape-download-http;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&inkscape-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download MD5 sum: &inkscape-md5sum;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Download size: &inkscape-size;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated disk space required: &inkscape-buildsize;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Estimated build time: &inkscape-time;
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
[9637385c] | 75 | <!--
|
---|
[7d35ee59] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
[a353c3a] | 78 | <listitem>
|
---|
[622c1021] | 79 | <para>
|
---|
| 80 | Required patch: <ulink
|
---|
[d9833444] | 81 | url="&patch-root;/inkscape-&inkscape-minor-version;-upstream_fixes-2.patch"/>
|
---|
[622c1021] | 82 | </para>
|
---|
[e146aca] | 83 | </listitem>
|
---|
[7d35ee59] | 84 | </itemizedlist>
|
---|
[9637385c] | 85 | -->
|
---|
[b8ff9ea] | 86 | <note>
|
---|
| 87 | <para>
|
---|
[cbb00e28] | 88 | The tarball <filename>inkscape-&inkscape-minor-version;.tar.xz</filename>
|
---|
| 89 | will extract to the directory <filename
|
---|
| 90 | class="directory">inkscape-&inkscape-version;/</filename>.
|
---|
[b8ff9ea] | 91 | </para>
|
---|
| 92 | </note>
|
---|
[7d35ee59] | 93 |
|
---|
[9945e31] | 94 | <bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
---|
| 95 |
|
---|
| 96 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 97 | <para role="required">
|
---|
| 98 | <xref linkend="boost"/>,
|
---|
[b8ff9ea] | 99 | <xref linkend="double-conversion"/>,
|
---|
[bc6e56d] | 100 | <xref linkend="gc"/>,
|
---|
[81e3aeaa] | 101 | <xref linkend="gsl"/>,
|
---|
[b8ff9ea] | 102 | <xref linkend="gtkmm3"/>,
|
---|
| 103 | <xref linkend="libsoup"/>,
|
---|
[7d35ee59] | 104 | <xref linkend="libxslt"/>,
|
---|
[8fe2789] | 105 | <xref linkend="poppler"/>, and
|
---|
| 106 | <xref linkend="popt"/>
|
---|
[bc6e56d] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 110 | <para role="recommended">
|
---|
[bec34e0] | 111 | <!-- Imagemagick is used for two different purposes:
|
---|
| 112 | For raster extensions and image import resolution, Imagemagick
|
---|
| 113 | libraries are needed but this requires Imagemagick 6:
|
---|
[41273f26] | 114 | https://gitlab.com/inkscape/inkscape/-/issues/1294
|
---|
[bec34e0] | 115 | TODO: add Imagemagick 6 back or add GraphicsMagick, or port
|
---|
| 116 | inkscape to Imagemagick 7 API.
|
---|
| 117 | For WebSlicer export to JPG or GIF, Imagemagick program
|
---|
| 118 | "convert" is needed and this is only a runtime dependency. -->
|
---|
| 119 | <xref role="runtime" linkend="imagemagick"/> (runtime),
|
---|
[048e89d] | 120 | <xref linkend="lcms2"/>,
|
---|
[2abdf08b] | 121 | <xref linkend="libcanberra"/> (to eliminate plugin warnings),
|
---|
[521ec92] | 122 | <xref linkend="potrace"/> (for the bucket-fill tool), also
|
---|
| 123 | various Python modules at runtime for the core extensions:
|
---|
[5a434ec] | 124 | <!-- there might be others, or other needed dependencies:
|
---|
| 125 | needs someone who knows how to use *all" the core extensions -->
|
---|
[381cfd18] | 126 | <xref role="runtime" linkend="cachecontrol"/>,
|
---|
[5a434ec] | 127 | <xref role="runtime" linkend="cssselect"/>,
|
---|
[521ec92] | 128 | <xref role="runtime" linkend="lxml"/>,
|
---|
[cbc9210] | 129 | <xref role="runtime" linkend="numpy"/>,
|
---|
| 130 | <xref role="runtime" linkend="pyserial"/>, and
|
---|
[7b3ac32] | 131 | <xref role="runtime" linkend="scour"/>
|
---|
[9945e31] | 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 135 | <para role="optional">
|
---|
[bc6e56d] | 136 | <xref linkend="aspell"/>,
|
---|
[7d35ee59] | 137 | <xref linkend="dbus"/> (to run inkscape from scripts),
|
---|
[bc6e56d] | 138 | <xref linkend="doxygen"/>,
|
---|
[7d5d3d4] | 139 | <xref linkend="gspell"/>,
|
---|
[e47938a] | 140 |
|
---|
| 141 | <!-- these document foundation links work from firefox's address bar, or
|
---|
| 142 | from google (pages telling you how to get it from git), but when I link
|
---|
| 143 | them here I get "There is currently no text in this page...". Ken or
|
---|
| 144 | developer: wiki.documentfoundation.org pages don't like trailing / -->
|
---|
[0134954] | 145 | <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
---|
| 146 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
|
---|
[17aa21c] | 147 | <!--<ulink url="https://gtkspell.sourceforge.net">gtkspell</ulink>,-->
|
---|
[41273f26] | 148 | <ulink url="https://sourceforge.net/projects/graphicsmagick">GraphicsMagick</ulink>,
|
---|
[8e5b57e] | 149 | <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
---|
| 150 | <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
---|
[17aa21c] | 151 | <ulink url="https://libwpg.sourceforge.net/">libwpg</ulink> (or
|
---|
[7b3ac32] | 152 | <ulink url="https://libwpd.sourceforge.net/">libwpd</ulink>)
|
---|
[9945e31] | 153 | </para>
|
---|
| 154 |
|
---|
[7b3ac32] | 155 | <!-- no trace of this perl module in the core extensions for 1.2.2
|
---|
[dc6bfb82] | 156 | <bridgehead renderas="sect4">Optional Runtime Dependencies
|
---|
| 157 | (for some of the Inkscape extensions)</bridgehead>
|
---|
| 158 | <para role="optional">
|
---|
[c8b93dfd] | 159 | <ulink role="runtime"
|
---|
[b69e5dc] | 160 | url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
---|
[7b3ac32] | 161 | </para>-->
|
---|
[dc6bfb82] | 162 |
|
---|
[9945e31] | 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="installation">
|
---|
| 166 | <title>Installation of Inkscape</title>
|
---|
[e6a74ce] | 167 |
|
---|
[9945e31] | 168 | <para>
|
---|
| 169 | Install <application>Inkscape</application> by running the following
|
---|
| 170 | commands:
|
---|
| 171 | </para>
|
---|
[8fe2789] | 172 |
|
---|
[9fc3125] | 173 | <screen><userinput>mkdir build &&
|
---|
[50ab38f] | 174 | cd build &&
|
---|
[81d8cac] | 175 |
|
---|
[aeb782e] | 176 | cmake -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 177 | -D CMAKE_BUILD_TYPE=Release \
|
---|
| 178 | -D ENABLE_POPPLER=FALSE \
|
---|
| 179 | -D ENABLE_POPPLER_CAIRO=FALSE \
|
---|
[50ab38f] | 180 | .. &&
|
---|
[8874b6f] | 181 | make</userinput></screen>
|
---|
[9945e31] | 182 |
|
---|
[df210c3] | 183 | <!-- A race condition has been observed with inkscape-1.2.2, cmake-3.25.1,
|
---|
[9637385c] | 184 | and make-4.4. Reported by "Dragan" on the blfs-dev list
|
---|
| 185 |
|
---|
| 186 | I did not have any issues at -j8 or -j28 with make-4.4.1 and inkscape-1.4.
|
---|
| 187 | Removing for now. - bdubbs
|
---|
| 188 |
|
---|
| 189 | ¶llel_issues; -->
|
---|
[df210c3] | 190 |
|
---|
[b8ff9ea] | 191 | <!--
|
---|
[9945e31] | 192 | <para>
|
---|
[b8ff9ea] | 193 | To test the results, issue: <command>make check</command>.<!- - Ken or
|
---|
[57c1a7f] | 194 | other devs, there is no test suite in this package. -renodr
|
---|
| 195 | A small test suite is built if you download the necessary programs
|
---|
| 196 | with the command above (bash download-gtest.sh) -pierre
|
---|
[b8ff9ea] | 197 | This package does not come with a test suite. - ->
|
---|
| 198 |
|
---|
| 199 | At the moment, the test suite does not function with the
|
---|
| 200 | "bash download-gtest.sh". CMake is unable to find gtest.
|
---|
[9945e31] | 201 | </para>
|
---|
[b8ff9ea] | 202 | -->
|
---|
[0fa27361] | 203 |
|
---|
[270505a] | 204 | <para>
|
---|
| 205 | This package does not come with a working test suite.
|
---|
| 206 | </para>
|
---|
| 207 |
|
---|
[9945e31] | 208 | <para>
|
---|
| 209 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 210 | </para>
|
---|
| 211 |
|
---|
[b8ff9ea] | 212 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[9945e31] | 213 |
|
---|
[dc6bfb82] | 214 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 215 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
[87dfe6b] | 216 |
|
---|
| 217 | </sect2>
|
---|
[0f23f29] | 218 |
|
---|
[87dfe6b] | 219 | <sect2 role="commands">
|
---|
| 220 | <title>Command Explanations</title>
|
---|
| 221 |
|
---|
[19bcba7d] | 222 | <para>
|
---|
[cbfa153] | 223 | <parameter>-D CMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
|
---|
[7d35ee59] | 224 | build the release library without any debug `assert` in the code.
|
---|
| 225 | </para>
|
---|
| 226 |
|
---|
[aeb782e] | 227 | <para>
|
---|
| 228 | <parameter>-D ENABLE_POPPLER=FALSE</parameter>: This switch disables PDF
|
---|
| 229 | support because it does not build with poppler-24.10.0.
|
---|
| 230 | </para>
|
---|
| 231 |
|
---|
[7d35ee59] | 232 | <para>
|
---|
[cbfa153] | 233 | <option>-D WITH_DBUS=ON</option>: use this if you wish to use
|
---|
[7d35ee59] | 234 | <command>inkscape</command> in interactive scripts which manipulate
|
---|
| 235 | images.
|
---|
[80cfbfb] | 236 | </para>
|
---|
| 237 |
|
---|
[0f23f29] | 238 | </sect2>
|
---|
[9945e31] | 239 |
|
---|
| 240 | <sect2 role="content">
|
---|
| 241 | <title>Contents</title>
|
---|
| 242 |
|
---|
| 243 | <segmentedlist>
|
---|
| 244 | <segtitle>Installed Programs</segtitle>
|
---|
[7d35ee59] | 245 | <segtitle>Installed Library</segtitle>
|
---|
| 246 | <segtitle>Installed Directories</segtitle>
|
---|
[9945e31] | 247 |
|
---|
| 248 | <seglistitem>
|
---|
[bc6e56d] | 249 | <seg>
|
---|
| 250 | inkscape and inkview
|
---|
| 251 | </seg>
|
---|
[c3c56b2] | 252 | <seg>
|
---|
[0bc63182] | 253 | <!--lib2geom.so and-->
|
---|
[cbb00e28] | 254 | libinkscape_base.so (in /usr/lib/inkscape)
|
---|
[c3c56b2] | 255 | </seg>
|
---|
[bc6e56d] | 256 | <seg>
|
---|
[0bc63182] | 257 | <!--/usr/include/2geom-&lib2geom-version;,-->
|
---|
[cbb00e28] | 258 | /usr/lib/inkscape, and
|
---|
| 259 | /usr/share/inkscape
|
---|
[bc6e56d] | 260 | </seg>
|
---|
[9945e31] | 261 | </seglistitem>
|
---|
| 262 | </segmentedlist>
|
---|
| 263 |
|
---|
| 264 | <variablelist>
|
---|
| 265 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 266 | <?dbfo list-presentation="list"?>
|
---|
| 267 | <?dbhtml list-presentation="table"?>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="inkscape-prog">
|
---|
| 270 | <term><command>inkscape</command></term>
|
---|
| 271 | <listitem>
|
---|
| 272 | <para>
|
---|
[4c24eb0a] | 273 | is a SVG (Scalable Vector Graphics) editing program
|
---|
[9945e31] | 274 | </para>
|
---|
| 275 | <indexterm zone="inkscape inkscape-prog">
|
---|
| 276 | <primary sortas="b-inkscape">inkscape</primary>
|
---|
| 277 | </indexterm>
|
---|
| 278 | </listitem>
|
---|
| 279 | </varlistentry>
|
---|
| 280 |
|
---|
| 281 | <varlistentry id="inkview">
|
---|
| 282 | <term><command>inkview</command></term>
|
---|
| 283 | <listitem>
|
---|
| 284 | <para>
|
---|
[4c24eb0a] | 285 | is a simple program for displaying SVG files
|
---|
[9945e31] | 286 | </para>
|
---|
| 287 | <indexterm zone="inkscape inkview">
|
---|
| 288 | <primary sortas="b-inkview">inkview</primary>
|
---|
| 289 | </indexterm>
|
---|
| 290 | </listitem>
|
---|
| 291 | </varlistentry>
|
---|
[bc6e56d] | 292 |
|
---|
[7d35ee59] | 293 | <varlistentry id="libinkscape_base">
|
---|
| 294 | <term><filename class="libraryfile">libinkscape_base.so</filename></term>
|
---|
| 295 | <listitem>
|
---|
| 296 | <para>
|
---|
[4c24eb0a] | 297 | provides the routines used by inkscape and inkview
|
---|
[7d35ee59] | 298 | </para>
|
---|
| 299 | <indexterm zone="inkscape libinkscape_base">
|
---|
| 300 | <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
|
---|
| 301 | </indexterm>
|
---|
| 302 | </listitem>
|
---|
| 303 | </varlistentry>
|
---|
| 304 |
|
---|
[9945e31] | 305 | </variablelist>
|
---|
[bc6e56d] | 306 |
|
---|
[9945e31] | 307 | </sect2>
|
---|
[bc6e56d] | 308 |
|
---|
[9945e31] | 309 | </sect1>
|
---|