source: general/graphlib/potrace.xml@ 34fe2633

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 34fe2633 was 34fe2633, checked in by Bruce Dubbs <bdubbs@…>, 20 months ago

Update to libmypaint-1.5.0.
Update to ModemManager-1.12.6.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22715 af4574ff-66df-0310-9fd7-8a98e5e911e0

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