graphics/agg26: new port for 2.6

PR: 285652
update MASTER_SITES
This commit is contained in:
Dirk Meyer 2025-04-01 19:23:23 +02:00
parent 813cd77afc
commit 65f14e18b6
7 changed files with 236 additions and 0 deletions

View File

@ -46,6 +46,7 @@
SUBDIR += acidwarp-sdl
SUBDIR += aeskulap
SUBDIR += agg
SUBDIR += agg26
SUBDIR += airsaned
SUBDIR += akira
SUBDIR += alembic

36
graphics/agg26/Makefile Normal file
View File

@ -0,0 +1,36 @@
PORTNAME= agg
PORTVERSION= 2.6
PORTREVISION= 0
CATEGORIES= graphics
MAINTAINER= dinoex@FreeBSD.org
COMMENT= High Quality Rendering Engine for C++
WWW= https://github.com/ghaerr/agg-2.6
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/copying
LIB_DEPENDS= libfreetype.so:print/freetype2
USES= cpe localbase gmake libtool pkgconfig \
autoreconf pathfix xorg sdl
CONFLICTS= agg-2.*
CPE_VENDOR= antigrain
USE_GITHUB= yes
GH_ACCOUNT= ghaerr
GH_PROJECT= ${PORTNAME}-${PORTVERSION}
GH_TAGNAME= c4f36b44
USE_CXXSTD= c++14
USE_LDCONFIG= yes
USE_SDL= sdl
USE_XORG= x11
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/agg-src
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am
.include <bsd.port.mk>

3
graphics/agg26/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1730123960
SHA256 (ghaerr-agg-2.6-2.6-c4f36b44_GH0.tar.gz) = 932c2382f1da3bd13d9baa9f464f7cba57c0a032720b3f2f2604064a66bce63f
SIZE (ghaerr-agg-2.6-2.6-c4f36b44_GH0.tar.gz) = 118943923

View File

@ -0,0 +1,11 @@
--- font_freetype/agg_font_freetype.cpp.orig 2023-08-21 15:51:12 UTC
+++ font_freetype/agg_font_freetype.cpp
@@ -158,7 +158,7 @@ namespace agg
FT_Vector* point;
FT_Vector* limit;
- char* tags;
+ unsigned char *tags;
int n; // index of contour in outline
int first; // index of first point in contour

View File

@ -0,0 +1,11 @@
--- include/agg_renderer_outline_aa.h.orig 2023-08-21 15:51:12 UTC
+++ include/agg_renderer_outline_aa.h
@@ -1366,7 +1366,7 @@ namespace agg
//---------------------------------------------------------------------
void profile(line_profile_aa& prof) { m_profile = &prof; }
const line_profile_aa& profile() const { return *m_profile; }
- line_profile_aa& profile() { return *m_profile; }
+ const line_profile_aa& profile() { return *m_profile; }
//---------------------------------------------------------------------
int subpixel_width() const { return m_profile->subpixel_width(); }

14
graphics/agg26/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
Anti-Grain Geometry (AGG) is an Open Source, free of charge graphic library,
written in industrially standard C++. AGG doesn't depend on any graphic API or
technology. Basically, you can think of AGG as of a rendering engine that
produces pixel images in memory from some vectorial data. But of course, AGG can
do much more than that. The ideas and the philosophy of AGG are:
* Anti-Aliasing.
* Subpixel Accuracy.
* The highest possible quality.
* High performance.
* Platform independence and compatibility.
* Flexibility and extensibility.
* Lightweight design.
* Reliability and stability (including numerical stability).

160
graphics/agg26/pkg-plist Normal file
View File

@ -0,0 +1,160 @@
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_cache_manager2.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_base.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_scanline_aa_nogamma.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_gradient_contour.h
include/agg2/agg_span_gradient_image.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/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/agg_platform_support.h
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.so
lib/libagg.so.2
lib/libagg.so.2.0.6
lib/libaggfontfreetype.a
lib/libaggfontfreetype.so
lib/libaggfontfreetype.so.2
lib/libaggfontfreetype.so.2.0.6
lib/libaggplatformX11.a
lib/libaggplatformX11.so
lib/libaggplatformX11.so.2
lib/libaggplatformX11.so.2.0.6
lib/libaggplatformsdl.a
lib/libaggplatformsdl.so
lib/libaggplatformsdl.so.2
lib/libaggplatformsdl.so.2.0.6
libdata/pkgconfig/libagg.pc
share/aclocal/libagg.m4