mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-29 10:52:14 +08:00
381cfd1854
CacheControl is used an inkscape clipart file, and in an inkman file for searching for external packages and getting meta data about them. Unfortunately, I cannot find a working link. When I go to https://pypi.org/project/CacheControl/#files and click on the link for CacheControl-0.12.11.tar.gz I get a good download, but if I mouse over that to read where it points to I get a very long link which starts https://files.pythonhosted.org/packages/49/9b/ followed by \n unfeasibly long hash which only remains visible while my mouse is on the link. Trying to point to c/CacheControl fails. Current upstream has v0.12.12 but there is at least one issue for why that might not be at pythonhosted, and trying to link to the tag for 0.12.11 (there are no releases there) fails.
317 lines
10 KiB
XML
317 lines
10 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
<!ENTITY inkscape-download-http "https://inkscape.org/gallery/item/37360/inkscape-&inkscape-minor-version;.tar.xz">
|
|
|
|
<!-- When updating, remember to change the numeric part of the URL -->
|
|
|
|
<!ENTITY inkscape-download-ftp " ">
|
|
<!ENTITY inkscape-md5sum "490c40bbb3ce3441ceee88e61775bbf4">
|
|
<!ENTITY inkscape-size "38 MB">
|
|
<!ENTITY inkscape-buildsize "911 MB (184 MB installed)">
|
|
<!ENTITY inkscape-time "4.7 SBU (with parallelism=4)">
|
|
|
|
<!-- To find newer tarballs, look here:
|
|
https://inkscape.org/release/all/source/archive/?pre=0
|
|
-->
|
|
]>
|
|
|
|
<sect1 id="inkscape" xreflabel="Inkscape-&inkscape-minor-version;">
|
|
<?dbhtml filename="inkscape.html"?>
|
|
|
|
|
|
<title>Inkscape-&inkscape-minor-version;</title>
|
|
|
|
<indexterm zone="inkscape">
|
|
<primary sortas="a-Inkscape">Inkscape</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Inkscape</title>
|
|
|
|
<para>
|
|
<application>Inkscape</application> is a what you see is what you get
|
|
Scalable Vector Graphics editor. It is useful for creating, viewing and
|
|
changing SVG images.
|
|
</para>
|
|
|
|
&lfs113_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&inkscape-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&inkscape-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &inkscape-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &inkscape-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &inkscape-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &inkscape-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
<!--
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Required patch: <ulink
|
|
url="&patch-root;/inkscape-&inkscape-version;-poppler_22_09_fixes-1.patch"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
<note>
|
|
<para>
|
|
The tarball <filename>inkscape-&inkscape-minor-version;.tar.xz</filename>
|
|
will extract to the directory <filename
|
|
class="directory">inkscape-&inkscape-version;/</filename>.
|
|
</para>
|
|
</note>
|
|
|
|
<bridgehead renderas="sect3">Inkscape Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="boost"/>,
|
|
<xref linkend="double-conversion"/>,
|
|
<xref linkend="gc"/>,
|
|
<xref linkend="gsl"/>,
|
|
<xref linkend="gtkmm3"/>,
|
|
<xref linkend="libsoup"/>,
|
|
<xref linkend="libxslt"/>,
|
|
<xref linkend="poppler"/>,
|
|
<xref linkend="popt"/> and
|
|
<xref linkend="wget"/> (to download the test dependencies)
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="imagemagick"/>,
|
|
<xref linkend="lcms2"/> or
|
|
<xref role="nodep" linkend="lcms"/>,
|
|
<xref linkend="libcanberra"/> (to eliminate plugin warnings),
|
|
<xref linkend="potrace"/> (for the bucket-fill tool), also
|
|
various Python modules at runtime for the core extensions:
|
|
<!-- there might be others, or other needed dependencies:
|
|
needs someone who knows how to use *all" the core extensions -->
|
|
<xref role="runtime" linkend="cachecontrol"/>,
|
|
<xref role="runtime" linkend="cssselect"/>,
|
|
<xref role="runtime" linkend="lxml"/>,
|
|
<xref role="runtime" linkend="numpy"/>,
|
|
<xref role="runtime" linkend="pyserial"/>, and
|
|
<xref role="runtime" linkend="scour"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="aspell"/>,
|
|
<xref linkend="dbus"/> (to run inkscape from scripts),
|
|
<xref linkend="doxygen"/>,
|
|
<xref linkend="gspell"/>,
|
|
|
|
<!-- these document foundation links work from firefox's address bar, or
|
|
from google (pages telling you how to get it from git), but when I link
|
|
them here I get "There is currently no text in this page...". Ken or
|
|
developer: wiki.documentfoundation.org pages don't like trailing / -->
|
|
<!--<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libcdr">libcdr</ulink>,
|
|
<ulink url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio">libvisio</ulink>,-->
|
|
<!--<ulink url="https://gtkspell.sourceforge.net">gtkspell</ulink>,-->
|
|
<ulink url="https://github.com/LibreOffice/libcdr">libcdr</ulink>,
|
|
<ulink url="https://github.com/LibreOffice/libvisio">libvisio</ulink>,
|
|
<ulink url="https://libwpg.sourceforge.net/">libwpg</ulink> (or
|
|
<ulink url="https://libwpd.sourceforge.net/">libwpd</ulink>)
|
|
</para>
|
|
|
|
<!-- no trace of this perl module in the core extensions for 1.2.2
|
|
<bridgehead renderas="sect4">Optional Runtime Dependencies
|
|
(for some of the Inkscape extensions)</bridgehead>
|
|
<para role="optional">
|
|
<ulink role="runtime"
|
|
url="https://metacpan.org/pod/release/TJMATHER/XML-XQL-0.68/lib/XML/XQL.pm">XML::XQL</ulink>
|
|
</para>-->
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/inkscape"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Inkscape</title>
|
|
<!--
|
|
<para>
|
|
First, fix Inkscape to build with poppler-22.09.0:
|
|
</para>
|
|
|
|
<screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_22_09_fixes-1.patch</userinput></screen>
|
|
-->
|
|
|
|
<!-- If there is no test suite, then this is not needed.
|
|
There is none if the command below is not run.
|
|
With 1.0, this support is broken, so let's comment it out for now to
|
|
prevent confusion.
|
|
<para>
|
|
If you wish to run the test suite, download the required versions of
|
|
<application>googletest</application> and
|
|
<application>googlemock</application> by running:
|
|
</para>
|
|
|
|
<screen remap="test"><userinput>./download-gtest.sh</userinput></screen>
|
|
-->
|
|
|
|
<para>
|
|
Install <application>Inkscape</application> by running the following
|
|
commands:
|
|
</para>
|
|
<!--
|
|
<screen><userinput remap="pre">patch -Np1 -i ../inkscape-&inkscape-version;-poppler_21.11.0-1.patch &&
|
|
-->
|
|
<screen><userinput>mkdir build &&
|
|
cd build &&
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
.. &&
|
|
make</userinput></screen>
|
|
|
|
<!-- A race condition has been observed with inkscape-1.2.2, cmake-3.25.1,
|
|
and make-4.4. Reported by "Dragan" on the blfs-dev list -->
|
|
¶llel_issues;
|
|
|
|
<!--
|
|
<para>
|
|
To test the results, issue: <command>make check</command>.<!- - Ken or
|
|
other devs, there is no test suite in this package. -renodr
|
|
A small test suite is built if you download the necessary programs
|
|
with the command above (bash download-gtest.sh) -pierre
|
|
This package does not come with a test suite. - ->
|
|
|
|
At the moment, the test suite does not function with the
|
|
"bash download-gtest.sh". CMake is unable to find gtest.
|
|
</para>
|
|
-->
|
|
|
|
<para>
|
|
This package does not come with a working test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/update-icons-and-desktop.xml"/>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
|
|
build the release library without any debug `assert` in the code.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-DWITH_DBUS=ON</option>: use this if you wish to use
|
|
<command>inkscape</command> in interactive scripts which manipulate
|
|
images.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
inkscape and inkview
|
|
</seg>
|
|
<seg>
|
|
lib2geom.so and
|
|
libinkscape_base.so (in /usr/lib/inkscape)
|
|
</seg>
|
|
<seg>
|
|
/usr/include/2geom-&lib2geom-version;,
|
|
/usr/lib/inkscape, and
|
|
/usr/share/inkscape
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="inkscape-prog">
|
|
<term><command>inkscape</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a SVG (Scalable Vector Graphics) editing program
|
|
</para>
|
|
<indexterm zone="inkscape inkscape-prog">
|
|
<primary sortas="b-inkscape">inkscape</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="inkview">
|
|
<term><command>inkview</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a simple program for displaying SVG files
|
|
</para>
|
|
<indexterm zone="inkscape inkview">
|
|
<primary sortas="b-inkview">inkview</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libinkscape_base">
|
|
<term><filename class="libraryfile">libinkscape_base.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
provides the routines used by inkscape and inkview
|
|
</para>
|
|
<indexterm zone="inkscape libinkscape_base">
|
|
<primary sortas="c-libinkscape_base">libinkscape_base.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|