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