agg-2.5

Introduction to agg

The Anti-Grain Geometry (AGG) package contains a general purpose C++ graphical toolkit. It can be used in many areas of computer programming where high quality 2D graphics is an essential part of the project.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

agg Dependencies

Required

SDL-1.2.15 and Xorg Libraries

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/agg

Installation of agg

Install agg by running the following commands:

sed -i 's:  -L@x_libraries@::' src/platform/X11/Makefile.am &&
sed -i '/^AM_C_PROTOTYPES/d'   configure.in                 &&

bash autogen.sh --prefix=/usr --disable-static &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i 's: -L@x_libraries@::' src/platform/X11/Makefile.am: This fixes compiling with the current Xorg Libraries.

sed -i '/^AM_C_PROTOTYPES/d' configure.in: this fixes reconfiguring with the current version of automake.

bash autogen.sh: This script uses autotools to create the configure script, then it runs configure with the given arguments.

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: None
Installed Libraries: libagg.so, libaggfontfreetype.so, libaggplatformsdl.so, and libaggplatformX11.so
Installed Directory: /usr/include/agg2

Short Descriptions

libagg.so

contains the AGG API functions.

libaggfontfreetype.so

contains the AGG freetype font API functions.

libaggplatformsdl.so

contains the AGG SDL API functions that.

libaggplatformX11.so

contains the AGG LibX11 API functions.

Last updated on 2014-08-24 15:52:32 -0700