[9f18cc0] | 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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY potrace-download-http "&sourceforge-dl;/potrace/potrace-&potrace-version;.tar.gz">
|
---|
| 8 | <!ENTITY potrace-download-ftp " ">
|
---|
[7ffb4f8] | 9 | <!ENTITY potrace-md5sum "5f0bd87ddd9a620b0c4e65652ef93d69">
|
---|
| 10 | <!ENTITY potrace-size "644 KB">
|
---|
[640549f1] | 11 | <!ENTITY potrace-buildsize "7.1 MB (including tests)">
|
---|
[8dfc5c3] | 12 | <!ENTITY potrace-time "less than 0.1 SBU (including tests)">
|
---|
[9f18cc0] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="potrace" xreflabel="Potrace-&potrace-version;">
|
---|
| 16 | <?dbhtml filename="potrace.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Potrace-&potrace-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="potrace">
|
---|
| 22 | <primary sortas="a-Potrace">Potrace</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Potrace</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <!-- summarized from the home page, where Potrace(TM) is used -->
|
---|
| 30 | <application>Potrace™</application> is a tool for transforming a bitmap
|
---|
[eb7de89] | 31 | (PBM, PGM, PPM, or BMP format) into one of several vector file formats.
|
---|
[9f18cc0] | 32 | </para>
|
---|
| 33 |
|
---|
[b474dfa] | 34 | &lfs113_checked;
|
---|
[9f18cc0] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&potrace-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&potrace-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &potrace-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &potrace-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &potrace-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &potrace-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">Potrace Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 73 | <para role="recommended">
|
---|
[eb7de89] | 74 | <xref linkend="llvm"/> (including <command>clang</command>)
|
---|
[9f18cc0] | 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <para condition="html" role="usernotes">
|
---|
| 78 | User Notes: <ulink url="&blfs-wiki;/potrace"/>
|
---|
| 79 | </para>
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of Potrace</title>
|
---|
| 84 |
|
---|
| 85 | <para>
|
---|
| 86 | Install <application>Potrace</application> by running the following
|
---|
| 87 | commands:
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 91 | --disable-static \
|
---|
| 92 | --docdir=/usr/share/doc/potrace-&potrace-version; \
|
---|
| 93 | --enable-a4 \
|
---|
| 94 | --enable-metric \
|
---|
| 95 | --with-libpotrace &&
|
---|
| 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
[8558044] | 99 | To run the test suite, issue: <command>make check</command>.
|
---|
[9f18cc0] | 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | <parameter>--enable-a4</parameter>: Use A4 as the default paper size.
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | <!-- american spelling as in the configure script -->
|
---|
| 119 | <parameter>--enable-metric</parameter>: Use metric units (centimeters)
|
---|
| 120 | as default
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 124 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | <parameter>--with-libpotrace</parameter>: Install the library and headers.
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
| 136 | <segtitle>Installed Programs</segtitle>
|
---|
| 137 | <segtitle>Installed Libraries</segtitle>
|
---|
| 138 | <segtitle>Installed Directories</segtitle>
|
---|
| 139 |
|
---|
| 140 | <seglistitem>
|
---|
| 141 | <seg>
|
---|
| 142 | mkbitmap, potrace
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
[0252101] | 145 | libpotrace.so
|
---|
[9f18cc0] | 146 | </seg>
|
---|
| 147 | <seg>
|
---|
| 148 | /usr/share/doc/potrace-&potrace-version;
|
---|
| 149 | </seg>
|
---|
| 150 | </seglistitem>
|
---|
| 151 | </segmentedlist>
|
---|
| 152 |
|
---|
| 153 | <variablelist>
|
---|
| 154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 155 | <?dbfo list-presentation="list"?>
|
---|
| 156 | <?dbhtml list-presentation="table"?>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="mkbitmap">
|
---|
| 159 | <term><command>mkbitmap</command></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>
|
---|
[4c24eb0a] | 162 | transforms images into bitmaps with scaling and filtering
|
---|
[9f18cc0] | 163 | </para>
|
---|
| 164 | <indexterm zone="potrace mkbitmap">
|
---|
| 165 | <primary sortas="b-mkbitmap">mkbitmap</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="potrace-prog">
|
---|
| 171 | <term><command>potrace</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
[4c24eb0a] | 174 | transforms bitmaps into vector graphics
|
---|
[9f18cc0] | 175 | </para>
|
---|
| 176 | <indexterm zone="potrace potrace-prog">
|
---|
| 177 | <primary sortas="b-potrace-prog">potrace</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="libpotrace">
|
---|
| 183 | <term><filename class="libraryfile">libpotrace.so</filename></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>
|
---|
| 186 | is a library for transforming bitmaps into vector graphics
|
---|
| 187 | </para>
|
---|
| 188 | <indexterm zone="potrace libpotrace">
|
---|
| 189 | <primary sortas="c-libpotrace">libpotrace.so</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | </sect1>
|
---|