source: general/graphlib/potrace.xml@ eede1a3

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eede1a3 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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