source: general/graphlib/potrace.xml@ 8dfc5c3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 8dfc5c3 was 8dfc5c3, checked in by Krejzi <krejzi@…>, 7 years ago

Fix some URLs

  • Switch to https:// scheme where possible to avoid redirects
  • Unify all kernel.org, Sourceforge and GNU URLs
  • Fix python and perl module URLs to be consistent
  • Fix github provided URLs to properly download tarballs instead of vFOO.tar.gz
  • Use upstream locations for some packages or better/shorter URLs if available
  • Add https:// URLs for gnupg packages

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