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 agg-download-http
|
---|
8 | "http://www.antigrain.com/agg-&agg-version;.tar.gz">-->
|
---|
9 | <!ENTITY agg-download-http
|
---|
10 | "http://pkgs.fedoraproject.org/repo/pkgs/agg/agg-&agg-version;.tar.gz/&agg-md5sum;/agg-&agg-version;.tar.gz">
|
---|
11 | <!ENTITY agg-download-ftp " ">
|
---|
12 | <!ENTITY agg-md5sum "0229a488bc47be10a2fee6cf0b2febd6">
|
---|
13 | <!ENTITY agg-size "552 KB">
|
---|
14 | <!ENTITY agg-buildsize "122 MB">
|
---|
15 | <!ENTITY agg-time "1.2 SBU">
|
---|
16 | ]>
|
---|
17 |
|
---|
18 | <sect1 id="agg" xreflabel="agg-&agg-version;">
|
---|
19 | <?dbhtml filename="agg.html"?>
|
---|
20 |
|
---|
21 | <sect1info>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>agg-&agg-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="agg">
|
---|
28 | <primary sortas="a-agg">agg</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to agg</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | The Anti-Grain Geometry (AGG) package contains a general purpose C++
|
---|
36 | graphical toolkit. It can be used in many areas of computer programming
|
---|
37 | where high quality 2D graphics is an essential part of the project.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs77_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&agg-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&agg-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &agg-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &agg-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &agg-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &agg-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">agg Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required">
|
---|
80 | <xref linkend="sdl"/> and
|
---|
81 | <xref linkend="xorg7-lib"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">
|
---|
85 | User Notes: <ulink url="&blfs-wiki;/agg"/>
|
---|
86 | </para>
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of agg</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Install <application>agg</application> by running the following
|
---|
94 | commands:
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <screen><userinput>sed -i 's: -L@x_libraries@::' src/platform/X11/Makefile.am &&
|
---|
98 | sed -i '/^AM_C_PROTOTYPES/d' configure.in &&
|
---|
99 |
|
---|
100 | bash autogen.sh --prefix=/usr --disable-static &&
|
---|
101 | make</userinput></screen>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | This package does not come with a test suite.
|
---|
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 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="commands">
|
---|
115 | <title>Command Explanations</title>
|
---|
116 |
|
---|
117 | <para>
|
---|
118 | <command>sed -i 's: -L@x_libraries@::'
|
---|
119 | src/platform/X11/Makefile.am</command>: This fixes compiling with the
|
---|
120 | current Xorg Libraries.
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | <command>sed -i '/^AM_C_PROTOTYPES/d' configure.in</command>: this fixes
|
---|
125 | reconfiguring with the current version of <command>automake</command>.
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | <command>bash autogen.sh</command>: This script uses autotools to create
|
---|
130 | the configure script, then it runs configure with the given arguments.
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
134 | href="../../xincludes/static-libraries.xml"/>
|
---|
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 Directory</segtitle>
|
---|
144 |
|
---|
145 | <seglistitem>
|
---|
146 | <seg>
|
---|
147 | None
|
---|
148 | </seg>
|
---|
149 | <seg>
|
---|
150 | libagg.so,
|
---|
151 | libaggfontfreetype.so,
|
---|
152 | libaggplatformsdl.so, and
|
---|
153 | libaggplatformX11.so
|
---|
154 | </seg>
|
---|
155 | <seg>/usr/include/agg2</seg>
|
---|
156 | </seglistitem>
|
---|
157 | </segmentedlist>
|
---|
158 |
|
---|
159 | <variablelist>
|
---|
160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
161 | <?dbfo list-presentation="list"?>
|
---|
162 | <?dbhtml list-presentation="table"?>
|
---|
163 |
|
---|
164 | <varlistentry id="libagg">
|
---|
165 | <term><filename class="libraryfile">libagg.so</filename></term>
|
---|
166 | <listitem>
|
---|
167 | <para>contains the AGG API functions.</para>
|
---|
168 | <indexterm zone="agg libagg">
|
---|
169 | <primary sortas="c-libagg">libagg.so</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="libaggfontfreetype">
|
---|
175 | <term><filename class="libraryfile">libaggfontfreetype.so</filename></term>
|
---|
176 | <listitem>
|
---|
177 | <para>contains the AGG freetype font API functions.</para>
|
---|
178 | <indexterm zone="agg libaggfontfreetype">
|
---|
179 | <primary sortas="c-libaggfontfreetype">libaggfontfreetype.so</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | <varlistentry id="libaggplatformsdl">
|
---|
185 | <term><filename class="libraryfile">libaggplatformsdl.so</filename></term>
|
---|
186 | <listitem>
|
---|
187 | <para>contains the AGG SDL API functions that.</para>
|
---|
188 | <indexterm zone="agg libaggplatformsdl">
|
---|
189 | <primary sortas="c-libaggplatformsdl">libaggplatformsdl.so</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | <varlistentry id="libaggplatformX11">
|
---|
195 | <term><filename class="libraryfile">libaggplatformX11.so</filename></term>
|
---|
196 | <listitem>
|
---|
197 | <para>contains the AGG LibX11 API functions.</para>
|
---|
198 | <indexterm zone="agg libaggplatformX11">
|
---|
199 | <primary sortas="c-libaggplatformX11">libaggplatformX11.so</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 | </variablelist>
|
---|
204 | </sect2>
|
---|
205 | </sect1>
|
---|