[9945e31] | 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;
|
---|
[cbb00e28] | 6 | <!ENTITY inkscape-download-http "https://inkscape.org/gallery/item/37360/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 " ">
|
---|
[cbb00e28] | 11 | <!ENTITY inkscape-md5sum "490c40bbb3ce3441ceee88e61775bbf4">
|
---|
| 12 | <!ENTITY inkscape-size "38 MB">
|
---|
| 13 | <!ENTITY inkscape-buildsize "911 MB (184 MB installed)">
|
---|
| 14 | <!ENTITY inkscape-time "4.7 SBU (with parallelism=4)">
|
---|
[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 |
|
---|
[b474dfa] | 40 | &lfs113_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>
|
---|
[cbb00e28] | 75 | <!--
|
---|
[7d35ee59] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
[a353c3a] | 78 | <listitem>
|
---|
[622c1021] | 79 | <para>
|
---|
| 80 | Required patch: <ulink
|
---|
[d608866] | 81 | url="&patch-root;/inkscape-&inkscape-version;-poppler_22_09_fixes-1.patch"/>
|
---|
[622c1021] | 82 | </para>
|
---|
[e146aca] | 83 | </listitem>
|
---|
[7d35ee59] | 84 | </itemizedlist>
|
---|
[cbb00e28] | 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"/>,
|
---|
[0fa27361] | 105 | <xref linkend="poppler"/>,
|
---|
[7d35ee59] | 106 | <xref linkend="popt"/> and
|
---|
| 107 | <xref linkend="wget"/> (to download the test dependencies)
|
---|
[bc6e56d] | 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 111 | <para role="recommended">
|
---|
[b8ff9ea] | 112 | <xref linkend="imagemagick"/>,
|
---|
[8e5b57e] | 113 | <xref linkend="lcms2"/> or
|
---|
[cac7f93] | 114 | <xref role="nodep" linkend="lcms"/>,
|
---|
[2abdf08b] | 115 | <xref linkend="libcanberra"/> (to eliminate plugin warnings),
|
---|
[7d35ee59] | 116 | <xref linkend="potrace"/> (for the bucket-fill tool),
|
---|
[57c1a7f] | 117 | <xref role="runtime" linkend="lxml"/> and
|
---|
| 118 | <xref role="runtime" linkend="scour"/> (both at runtime, for Save As
|
---|
| 119 | Optimized SVG).
|
---|
[9945e31] | 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 123 | <para role="optional">
|
---|
[bc6e56d] | 124 | <xref linkend="aspell"/>,
|
---|
[7d35ee59] | 125 | <xref linkend="dbus"/> (to run inkscape from scripts),
|
---|
[bc6e56d] | 126 | <xref linkend="doxygen"/>,
|
---|
[7d5d3d4] | 127 | <xref linkend="gspell"/>,
|
---|
[e47938a] | 128 |
|
---|
| 129 | <!-- these document foundation links work from firefox's address bar, or
|
---|
| 130 | from google (pages telling you how to get it from git), but when I link
|
---|
| 131 | them here I get "There is currently no text in this page...". Ken or
|
---|
| 132 | developer: wiki.documentfoundation.org pages don't like trailing / -->
|
---|
[0134954] | 133 | <!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
---|
| 134 | <ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
|
---|
[17aa21c] | 135 | <!--<ulink url="https://gtkspell.sourceforge.net">gtkspell</ulink>,-->
|
---|
[8e5b57e] | 136 | <ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
---|
| 137 | <ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
---|
[17aa21c] | 138 | <ulink url="https://libwpg.sourceforge.net/">libwpg</ulink> (or
|
---|
| 139 | <ulink url="https://libwpd.sourceforge.net/">libwpd</ulink>) and
|
---|
[c8b93dfd] | 140 | <ulink role="runtime"
|
---|
| 141 | url="https://sourceforge.net/projects/NumPy/files/">NumPy</ulink>
|
---|
[7d35ee59] | 142 | (at runtime for some extensions)
|
---|
[9945e31] | 143 | </para>
|
---|
| 144 |
|
---|
[dc6bfb82] | 145 | <bridgehead renderas="sect4">Optional Runtime Dependencies
|
---|
| 146 | (for some of the Inkscape extensions)</bridgehead>
|
---|
| 147 | <para role="optional">
|
---|
[c8b93dfd] | 148 | <ulink role="runtime"
|
---|
[b69e5dc] | 149 | url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
---|
[dc6bfb82] | 150 | </para>
|
---|
| 151 |
|
---|
[9945e31] | 152 | <para condition="html" role="usernotes">
|
---|
| 153 | User Notes: <ulink url="&blfs-wiki;/inkscape"/>
|
---|
| 154 | </para>
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="installation">
|
---|
| 158 | <title>Installation of Inkscape</title>
|
---|
[cbb00e28] | 159 | <!--
|
---|
[e146aca] | 160 | <para>
|
---|
[d608866] | 161 | First, fix Inkscape to build with poppler-22.09.0:
|
---|
[e146aca] | 162 | </para>
|
---|
| 163 |
|
---|
[d608866] | 164 | <screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_22_09_fixes-1.patch</userinput></screen>
|
---|
[cbb00e28] | 165 | -->
|
---|
[a353c3a] | 166 |
|
---|
[57c1a7f] | 167 | <!-- If there is no test suite, then this is not needed.
|
---|
[b8ff9ea] | 168 | There is none if the command below is not run.
|
---|
| 169 | With 1.0, this support is broken, so let's comment it out for now to
|
---|
| 170 | prevent confusion.
|
---|
[7d35ee59] | 171 | <para>
|
---|
[48771ae] | 172 | If you wish to run the test suite, download the required versions of
|
---|
[7d35ee59] | 173 | <application>googletest</application> and
|
---|
| 174 | <application>googlemock</application> by running:
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
[cbb00e28] | 177 | <screen remap="test"><userinput>./download-gtest.sh</userinput></screen>
|
---|
[ba768b1] | 178 | -->
|
---|
[7ebcf19] | 179 |
|
---|
[9945e31] | 180 | <para>
|
---|
| 181 | Install <application>Inkscape</application> by running the following
|
---|
| 182 | commands:
|
---|
| 183 | </para>
|
---|
[9fc3125] | 184 | <!--
|
---|
[c30de44] | 185 | <screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_21.11.0-1.patch &&
|
---|
[9fc3125] | 186 | -->
|
---|
| 187 | <screen><userinput>mkdir build &&
|
---|
[50ab38f] | 188 | cd build &&
|
---|
[81d8cac] | 189 |
|
---|
[7d35ee59] | 190 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 191 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[50ab38f] | 192 | .. &&
|
---|
[8874b6f] | 193 | make</userinput></screen>
|
---|
[9945e31] | 194 |
|
---|
[df210c3] | 195 | <!-- A race condition has been observed with inkscape-1.2.2, cmake-3.25.1,
|
---|
| 196 | and make-4.4. Reported by "Dragan" on the blfs-dev list -->
|
---|
| 197 | ¶llel_issues;
|
---|
| 198 |
|
---|
[b8ff9ea] | 199 | <!--
|
---|
[9945e31] | 200 | <para>
|
---|
[b8ff9ea] | 201 | To test the results, issue: <command>make check</command>.<!- - Ken or
|
---|
[57c1a7f] | 202 | other devs, there is no test suite in this package. -renodr
|
---|
| 203 | A small test suite is built if you download the necessary programs
|
---|
| 204 | with the command above (bash download-gtest.sh) -pierre
|
---|
[b8ff9ea] | 205 | This package does not come with a test suite. - ->
|
---|
| 206 |
|
---|
| 207 | At the moment, the test suite does not function with the
|
---|
| 208 | "bash download-gtest.sh". CMake is unable to find gtest.
|
---|
[9945e31] | 209 | </para>
|
---|
[b8ff9ea] | 210 | -->
|
---|
[0fa27361] | 211 |
|
---|
[270505a] | 212 | <para>
|
---|
| 213 | This package does not come with a working test suite.
|
---|
| 214 | </para>
|
---|
| 215 |
|
---|
[9945e31] | 216 | <para>
|
---|
| 217 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 218 | </para>
|
---|
| 219 |
|
---|
[b8ff9ea] | 220 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[9945e31] | 221 |
|
---|
[dc6bfb82] | 222 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 223 | href="../../xincludes/update-icons-and-desktop.xml"/>
|
---|
[87dfe6b] | 224 |
|
---|
| 225 | </sect2>
|
---|
[0f23f29] | 226 |
|
---|
[87dfe6b] | 227 | <sect2 role="commands">
|
---|
| 228 | <title>Command Explanations</title>
|
---|
| 229 |
|
---|
[19bcba7d] | 230 | <para>
|
---|
[7d35ee59] | 231 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
|
---|
| 232 | build the release library without any debug `assert` in the code.
|
---|
| 233 | </para>
|
---|
| 234 |
|
---|
| 235 | <para>
|
---|
| 236 | <option>-DWITH_DBUS=ON</option>: use this if you wish to use
|
---|
| 237 | <command>inkscape</command> in interactive scripts which manipulate
|
---|
| 238 | images.
|
---|
[80cfbfb] | 239 | </para>
|
---|
| 240 |
|
---|
[0f23f29] | 241 | </sect2>
|
---|
[9945e31] | 242 |
|
---|
| 243 | <sect2 role="content">
|
---|
| 244 | <title>Contents</title>
|
---|
| 245 |
|
---|
| 246 | <segmentedlist>
|
---|
| 247 | <segtitle>Installed Programs</segtitle>
|
---|
[7d35ee59] | 248 | <segtitle>Installed Library</segtitle>
|
---|
| 249 | <segtitle>Installed Directories</segtitle>
|
---|
[9945e31] | 250 |
|
---|
| 251 | <seglistitem>
|
---|
[bc6e56d] | 252 | <seg>
|
---|
| 253 | inkscape and inkview
|
---|
| 254 | </seg>
|
---|
[c3c56b2] | 255 | <seg>
|
---|
[cbb00e28] | 256 | lib2geom.so and
|
---|
| 257 | libinkscape_base.so (in /usr/lib/inkscape)
|
---|
[c3c56b2] | 258 | </seg>
|
---|
[bc6e56d] | 259 | <seg>
|
---|
[cbb00e28] | 260 | /usr/include/2geom-&lib2geom-version;,
|
---|
| 261 | /usr/lib/inkscape, and
|
---|
| 262 | /usr/share/inkscape
|
---|
[bc6e56d] | 263 | </seg>
|
---|
[9945e31] | 264 | </seglistitem>
|
---|
| 265 | </segmentedlist>
|
---|
| 266 |
|
---|
| 267 | <variablelist>
|
---|
| 268 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 269 | <?dbfo list-presentation="list"?>
|
---|
| 270 | <?dbhtml list-presentation="table"?>
|
---|
| 271 |
|
---|
| 272 | <varlistentry id="inkscape-prog">
|
---|
| 273 | <term><command>inkscape</command></term>
|
---|
| 274 | <listitem>
|
---|
| 275 | <para>
|
---|
[4c24eb0a] | 276 | is a SVG (Scalable Vector Graphics) editing program
|
---|
[9945e31] | 277 | </para>
|
---|
| 278 | <indexterm zone="inkscape inkscape-prog">
|
---|
| 279 | <primary sortas="b-inkscape">inkscape</primary>
|
---|
| 280 | </indexterm>
|
---|
| 281 | </listitem>
|
---|
| 282 | </varlistentry>
|
---|
| 283 |
|
---|
| 284 | <varlistentry id="inkview">
|
---|
| 285 | <term><command>inkview</command></term>
|
---|
| 286 | <listitem>
|
---|
| 287 | <para>
|
---|
[4c24eb0a] | 288 | is a simple program for displaying SVG files
|
---|
[9945e31] | 289 | </para>
|
---|
| 290 | <indexterm zone="inkscape inkview">
|
---|
| 291 | <primary sortas="b-inkview">inkview</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
[bc6e56d] | 295 |
|
---|
[7d35ee59] | 296 | <varlistentry id="libinkscape_base">
|
---|
| 297 | <term><filename class="libraryfile">libinkscape_base.so</filename></term>
|
---|
| 298 | <listitem>
|
---|
| 299 | <para>
|
---|
[4c24eb0a] | 300 | provides the routines used by inkscape and inkview
|
---|
[7d35ee59] | 301 | </para>
|
---|
| 302 | <indexterm zone="inkscape libinkscape_base">
|
---|
| 303 | <primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
|
---|
| 304 | </indexterm>
|
---|
| 305 | </listitem>
|
---|
| 306 | </varlistentry>
|
---|
| 307 |
|
---|
[9945e31] | 308 | </variablelist>
|
---|
[bc6e56d] | 309 |
|
---|
[9945e31] | 310 | </sect2>
|
---|
[bc6e56d] | 311 |
|
---|
[9945e31] | 312 | </sect1>
|
---|