source: general/graphlib/potrace.xml@ a11c886

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since a11c886 was c8be252, checked in by Pierre Labastie <pierre.labastie@…>, 3 months ago

Change to utf-8 in book

Also update credits

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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
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
31 (PBM, PGM, PPM, or BMP format) into one of several vector file formats.
32 </para>
33
34 &lfs120_checked;
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">
74 <xref linkend="llvm"/> (including <command>clang</command>)
75 </para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of Potrace</title>
81
82 <para>
83 Install <application>Potrace</application> by running the following
84 commands:
85 </para>
86
87<screen><userinput>./configure --prefix=/usr \
88 --disable-static \
89 --docdir=/usr/share/doc/potrace-&potrace-version; \
90 --enable-a4 \
91 --enable-metric \
92 --with-libpotrace &amp;&amp;
93make</userinput></screen>
94
95 <para>
96 To run the test suite, issue: <command>make check</command>.
97 </para>
98
99 <para>
100 Now, as the <systemitem class="username">root</systemitem> user:
101 </para>
102
103<screen role="root"><userinput>make install</userinput></screen>
104
105 </sect2>
106
107 <sect2 role="commands">
108 <title>Command Explanations</title>
109
110 <para>
111 <parameter>--enable-a4</parameter>: Use A4 as the default paper size.
112 </para>
113
114 <para>
115 <!-- american spelling as in the configure script -->
116 <parameter>--enable-metric</parameter>: Use metric units (centimeters)
117 as default
118 </para>
119
120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
121 href="../../xincludes/static-libraries.xml"/>
122
123 <para>
124 <parameter>--with-libpotrace</parameter>: Install the library and headers.
125 </para>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>
139 mkbitmap, potrace
140 </seg>
141 <seg>
142 libpotrace.so
143 </seg>
144 <seg>
145 /usr/share/doc/potrace-&potrace-version;
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="mkbitmap">
156 <term><command>mkbitmap</command></term>
157 <listitem>
158 <para>
159 transforms images into bitmaps with scaling and filtering
160 </para>
161 <indexterm zone="potrace mkbitmap">
162 <primary sortas="b-mkbitmap">mkbitmap</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="potrace-prog">
168 <term><command>potrace</command></term>
169 <listitem>
170 <para>
171 transforms bitmaps into vector graphics
172 </para>
173 <indexterm zone="potrace potrace-prog">
174 <primary sortas="b-potrace-prog">potrace</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="libpotrace">
180 <term><filename class="libraryfile">libpotrace.so</filename></term>
181 <listitem>
182 <para>
183 is a library for transforming bitmaps into vector graphics
184 </para>
185 <indexterm zone="potrace libpotrace">
186 <primary sortas="c-libpotrace">libpotrace.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.