initial import of agg 2.4

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

from Deanna Phillips <deanna at sdf.lonestar.org>

feedback and ok bernd@
This commit is contained in:
steven 2006-10-16 11:42:04 +00:00
parent 2c05ea7a55
commit 0a9479ca3e
7 changed files with 245 additions and 0 deletions

51
graphics/agg/Makefile Normal file
View File

@ -0,0 +1,51 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/10/16 11:42:04 steven Exp $
COMMENT= "anti-grain geometry graphics library"
DISTNAME= agg-2.4
SHARED_LIBS= agg 2.4 \
aggfontfreetype 2.4 \
aggplatformsdl 2.4 \
aggplatformX11 2.4
CATEGORIES= graphics
HOMEPAGE= http://www.antigrain.com/
MAINTAINER= Deanna Phillips <deanna@sdf.lonestar.org>
# BSD-like - adding gpc changes this
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= X11 Xext freetype m usbhid
MASTER_SITES= ${HOMEPAGE}
AUTOCONF_VERSION= 2.59
AUTOMAKE_VERSION= 1.9
LIB_DEPENDS= SDL.>=6::devel/sdl
BUILD_DEPENDS= ::devel/autoconf/${AUTOCONF_VERSION} \
::devel/automake/${AUTOMAKE_VERSION} \
::devel/metaauto \
::devel/pkgconfig
SEPARATE_BUILD= simple
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gpc \
--disable-examples \
--disable-sdltest
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I/usr/X11R6/include" \
LDFLAGS="-L${LOCALBASE}/lib -I/usr/X11R6/lib"
pre-configure:
cd ${WRKSRC} && ${SETENV} AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ${SH} autogen.sh
.include <bsd.port.mk>

4
graphics/agg/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (agg-2.4.tar.gz) = 863d9992fd83c5d40fe1c011501ecf0e
RMD160 (agg-2.4.tar.gz) = aa1f719fdc9718c58546b48d6ee935baa154bcb2
SHA1 (agg-2.4.tar.gz) = 887cbc60d95f7da2cdb8e41ac120856b6ea9825b
SIZE (agg-2.4.tar.gz) = 554543

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-autogen_sh,v 1.1.1.1 2006/10/16 11:42:04 steven Exp $
--- autogen.sh.orig Sat Oct 7 18:10:35 2006
+++ autogen.sh Sat Oct 7 18:10:43 2006
@@ -18,6 +18,6 @@ libtoolize --force
automake --foreign --add-missing --ignore-deps
# and finally invoke our new configure
-./configure $*
+#./configure $*
# end

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_platform_X11_Makefile_am,v 1.1.1.1 2006/10/16 11:42:04 steven Exp $
--- src/platform/X11/Makefile.am.orig Sat Oct 7 21:53:49 2006
+++ src/platform/X11/Makefile.am Sat Oct 7 21:54:52 2006
@@ -3,6 +3,6 @@ lib_LTLIBRARIES = libaggplatformX11.la
libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ -L@x_libraries@
libaggplatformX11_la_SOURCES = agg_platform_support.cpp
-libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include @x_includes@
+libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include
libaggplatformX11_la_LIBADD = -lX11
endif

8
graphics/agg/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
Anti-Grain Geometry (AGG) is a general purpose graphical toolkit
written completely in standard and platform independent C++. It can be
used in many areas of computer programming where high quality 2D
graphics is an essential part of the project. For example, if you
render 2D geographic maps, AGG is a must. AGG uses only C++ and
standard C runtime functions. The basic algorithms don't even use C++
Standard Template Library. Thus, AGG can be used in a very large number
of applications, including embedded systems.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/10/16 11:42:04 steven Exp $
@lib lib/libagg.so.${LIBagg_VERSION}
@lib lib/libaggfontfreetype.so.${LIBaggfontfreetype_VERSION}
@lib lib/libaggplatformX11.so.${LIBaggplatformX11_VERSION}
@lib lib/libaggplatformsdl.so.${LIBaggplatformsdl_VERSION}

155
graphics/agg/pkg/PLIST Normal file
View File

@ -0,0 +1,155 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/16 11:42:04 steven Exp $
%%SHARED%%
include/agg2/
include/agg2/agg_alpha_mask_u8.h
include/agg2/agg_arc.h
include/agg2/agg_array.h
include/agg2/agg_arrowhead.h
include/agg2/agg_basics.h
include/agg2/agg_bezier_arc.h
include/agg2/agg_bitset_iterator.h
include/agg2/agg_blur.h
include/agg2/agg_bounding_rect.h
include/agg2/agg_bspline.h
include/agg2/agg_clip_liang_barsky.h
include/agg2/agg_color_gray.h
include/agg2/agg_color_rgba.h
include/agg2/agg_config.h
include/agg2/agg_conv_adaptor_vcgen.h
include/agg2/agg_conv_adaptor_vpgen.h
include/agg2/agg_conv_bspline.h
include/agg2/agg_conv_clip_polygon.h
include/agg2/agg_conv_clip_polyline.h
include/agg2/agg_conv_close_polygon.h
include/agg2/agg_conv_concat.h
include/agg2/agg_conv_contour.h
include/agg2/agg_conv_curve.h
include/agg2/agg_conv_dash.h
include/agg2/agg_conv_gpc.h
include/agg2/agg_conv_marker.h
include/agg2/agg_conv_marker_adaptor.h
include/agg2/agg_conv_segmentator.h
include/agg2/agg_conv_shorten_path.h
include/agg2/agg_conv_smooth_poly1.h
include/agg2/agg_conv_stroke.h
include/agg2/agg_conv_transform.h
include/agg2/agg_conv_unclose_polygon.h
include/agg2/agg_curves.h
include/agg2/agg_dda_line.h
include/agg2/agg_ellipse.h
include/agg2/agg_ellipse_bresenham.h
include/agg2/agg_embedded_raster_fonts.h
include/agg2/agg_font_cache_manager.h
include/agg2/agg_font_freetype.h
include/agg2/agg_gamma_functions.h
include/agg2/agg_gamma_lut.h
include/agg2/agg_glyph_raster_bin.h
include/agg2/agg_gradient_lut.h
include/agg2/agg_gsv_text.h
include/agg2/agg_image_accessors.h
include/agg2/agg_image_filters.h
include/agg2/agg_line_aa_basics.h
include/agg2/agg_math.h
include/agg2/agg_math_stroke.h
include/agg2/agg_path_length.h
include/agg2/agg_path_storage.h
include/agg2/agg_path_storage_integer.h
include/agg2/agg_pattern_filters_rgba.h
include/agg2/agg_pixfmt_amask_adaptor.h
include/agg2/agg_pixfmt_gray.h
include/agg2/agg_pixfmt_rgb.h
include/agg2/agg_pixfmt_rgb_packed.h
include/agg2/agg_pixfmt_rgba.h
include/agg2/agg_pixfmt_transposer.h
include/agg2/agg_rasterizer_cells_aa.h
include/agg2/agg_rasterizer_compound_aa.h
include/agg2/agg_rasterizer_outline.h
include/agg2/agg_rasterizer_outline_aa.h
include/agg2/agg_rasterizer_scanline_aa.h
include/agg2/agg_rasterizer_sl_clip.h
include/agg2/agg_renderer_base.h
include/agg2/agg_renderer_markers.h
include/agg2/agg_renderer_mclip.h
include/agg2/agg_renderer_outline_aa.h
include/agg2/agg_renderer_outline_image.h
include/agg2/agg_renderer_primitives.h
include/agg2/agg_renderer_raster_text.h
include/agg2/agg_renderer_scanline.h
include/agg2/agg_rendering_buffer.h
include/agg2/agg_rendering_buffer_dynarow.h
include/agg2/agg_rounded_rect.h
include/agg2/agg_scanline_bin.h
include/agg2/agg_scanline_boolean_algebra.h
include/agg2/agg_scanline_p.h
include/agg2/agg_scanline_storage_aa.h
include/agg2/agg_scanline_storage_bin.h
include/agg2/agg_scanline_u.h
include/agg2/agg_shorten_path.h
include/agg2/agg_simul_eq.h
include/agg2/agg_span_allocator.h
include/agg2/agg_span_converter.h
include/agg2/agg_span_gouraud.h
include/agg2/agg_span_gouraud_gray.h
include/agg2/agg_span_gouraud_rgba.h
include/agg2/agg_span_gradient.h
include/agg2/agg_span_gradient_alpha.h
include/agg2/agg_span_image_filter.h
include/agg2/agg_span_image_filter_gray.h
include/agg2/agg_span_image_filter_rgb.h
include/agg2/agg_span_image_filter_rgba.h
include/agg2/agg_span_interpolator_adaptor.h
include/agg2/agg_span_interpolator_linear.h
include/agg2/agg_span_interpolator_persp.h
include/agg2/agg_span_interpolator_trans.h
include/agg2/agg_span_pattern_gray.h
include/agg2/agg_span_pattern_rgb.h
include/agg2/agg_span_pattern_rgba.h
include/agg2/agg_span_solid.h
include/agg2/agg_span_subdiv_adaptor.h
include/agg2/agg_trans_affine.h
include/agg2/agg_trans_bilinear.h
include/agg2/agg_trans_double_path.h
include/agg2/agg_trans_perspective.h
include/agg2/agg_trans_single_path.h
include/agg2/agg_trans_viewport.h
include/agg2/agg_trans_warp_magnifier.h
include/agg2/agg_vcgen_bspline.h
include/agg2/agg_vcgen_contour.h
include/agg2/agg_vcgen_dash.h
include/agg2/agg_vcgen_markers_term.h
include/agg2/agg_vcgen_smooth_poly1.h
include/agg2/agg_vcgen_stroke.h
include/agg2/agg_vcgen_vertex_sequence.h
include/agg2/agg_vertex_sequence.h
include/agg2/agg_vpgen_clip_polygon.h
include/agg2/agg_vpgen_clip_polyline.h
include/agg2/agg_vpgen_segmentator.h
include/agg2/ctrl/
include/agg2/ctrl/agg_bezier_ctrl.h
include/agg2/ctrl/agg_cbox_ctrl.h
include/agg2/ctrl/agg_ctrl.h
include/agg2/ctrl/agg_gamma_ctrl.h
include/agg2/ctrl/agg_gamma_spline.h
include/agg2/ctrl/agg_polygon_ctrl.h
include/agg2/ctrl/agg_rbox_ctrl.h
include/agg2/ctrl/agg_scale_ctrl.h
include/agg2/ctrl/agg_slider_ctrl.h
include/agg2/ctrl/agg_spline_ctrl.h
include/agg2/platform/
include/agg2/platform/agg_platform_support.h
include/agg2/util/
include/agg2/util/agg_color_conv.h
include/agg2/util/agg_color_conv_rgb16.h
include/agg2/util/agg_color_conv_rgb8.h
lib/libagg.a
lib/libagg.la
lib/libaggfontfreetype.a
lib/libaggfontfreetype.la
lib/libaggplatformX11.a
lib/libaggplatformX11.la
lib/libaggplatformsdl.a
lib/libaggplatformsdl.la
lib/pkgconfig/
lib/pkgconfig/libagg.pc
share/aclocal/
share/aclocal/libagg.m4