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