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