git: f2eb4791b267 - main - graphics/agg: update to 2.7.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 May 2025 18:41:55 UTC
The branch main has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f2eb4791b26748717b99606a418f85b201442f40
commit f2eb4791b26748717b99606a418f85b201442f40
Author: Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2025-05-01 18:41:46 +0000
Commit: Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2025-05-01 18:41:46 +0000
graphics/agg: update to 2.7.0
PR: 285652
---
graphics/agg/Makefile | 20 ++++++++++----------
graphics/agg/distinfo | 5 +++--
graphics/agg/files/patch-configure.in | 9 ---------
.../files/patch-font_freetype__agg_font_freetype.cpp | 11 -----------
.../files/patch-include__agg_renderer_outline_aa.h | 8 ++++----
graphics/agg/pkg-plist | 13 +++++++++----
math/plplot/Makefile | 2 +-
7 files changed, 27 insertions(+), 41 deletions(-)
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
index d56ba1253e7e..b418fd8f6e07 100644
--- a/graphics/agg/Makefile
+++ b/graphics/agg/Makefile
@@ -1,22 +1,24 @@
PORTNAME= agg
-PORTVERSION= 2.5
-PORTREVISION= 11
+DISTVERSION= 2.7.0
+PORTREVISION= 0
CATEGORIES= graphics
-MASTER_SITES= http://distfiles.alpinelinux.org/distfiles/ \
- http://distfiles.lesslinux.org/ \
- http://gentoo.netnitco.net/distfiles/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= High Quality Rendering Engine for C++
-WWW= https://agg.sourceforge.net/antigrain.com/
+WWW= https://github.com/clausecker/agg
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/copying
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= autoreconf cpe gmake libtool pathfix pkgconfig sdl xorg
+USES= cpe localbase gmake libtool pkgconfig \
+ autoreconf pathfix xorg sdl
+CONFLICTS= agg-2.*
CPE_VENDOR= antigrain
+USE_GITHUB= yes
+GH_ACCOUNT= clausecker
+GH_TAGNAME= b064760 # 2024-09-28
USE_CXXSTD= c++14
USE_LDCONFIG= yes
USE_SDL= sdl
@@ -26,9 +28,7 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-CONFLICTS= agg26-2.*
-
post-patch:
- @${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am
+ ${REINPLACE_CMD} 's|_LDFLAGS|_LDADD|' ${WRKSRC}/examples/Makefile.am
.include <bsd.port.mk>
diff --git a/graphics/agg/distinfo b/graphics/agg/distinfo
index c7756e2b5bb7..4c23499ba194 100644
--- a/graphics/agg/distinfo
+++ b/graphics/agg/distinfo
@@ -1,2 +1,3 @@
-SHA256 (agg-2.5.tar.gz) = ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f
-SIZE (agg-2.5.tar.gz) = 564313
+TIMESTAMP = 1746091363
+SHA256 (clausecker-agg-2.7.0-b064760_GH0.tar.gz) = 771e1a68ec5b2924dc8e0c859b6cdd59aa5914c0b62d27f58bb693247897aacb
+SIZE (clausecker-agg-2.7.0-b064760_GH0.tar.gz) = 1580108
diff --git a/graphics/agg/files/patch-configure.in b/graphics/agg/files/patch-configure.in
deleted file mode 100644
index cc46fd046c22..000000000000
--- a/graphics/agg/files/patch-configure.in
+++ /dev/null
@@ -1,9 +0,0 @@
---- configure.in.orig 2006-10-08 21:06:36.000000000 -0700
-+++ configure.in 2012-05-03 17:23:22.000000000 -0700
-@@ -10,6 +10,2 @@
- AC_ISC_POSIX
--AM_C_PROTOTYPES
--if test "x$U" != "x"; then
-- AC_MSG_ERROR(Compiler not ANSI compliant)
--fi
- AM_PROG_LIBTOOL
diff --git a/graphics/agg/files/patch-font_freetype__agg_font_freetype.cpp b/graphics/agg/files/patch-font_freetype__agg_font_freetype.cpp
deleted file mode 100644
index 2bae296c0829..000000000000
--- a/graphics/agg/files/patch-font_freetype__agg_font_freetype.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
diff --git a/graphics/agg/files/patch-include__agg_renderer_outline_aa.h b/graphics/agg/files/patch-include__agg_renderer_outline_aa.h
index 35a87bf191f7..86553f5d7370 100644
--- a/graphics/agg/files/patch-include__agg_renderer_outline_aa.h
+++ b/graphics/agg/files/patch-include__agg_renderer_outline_aa.h
@@ -1,8 +1,8 @@
---- include/agg_renderer_outline_aa.h.orig 2006-10-09 13:07:08.000000000 +0900
-+++ include/agg_renderer_outline_aa.h 2012-10-13 05:25:48.000000000 +0900
-@@ -1375,7 +1375,7 @@
+--- 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(const line_profile_aa& prof) { m_profile = &prof; }
+ 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; }
diff --git a/graphics/agg/pkg-plist b/graphics/agg/pkg-plist
index ee90b5912eb5..0989b6fe2d00 100644
--- a/graphics/agg/pkg-plist
+++ b/graphics/agg/pkg-plist
@@ -37,6 +37,7 @@ 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
@@ -53,6 +54,7 @@ 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
@@ -63,6 +65,7 @@ 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
@@ -90,6 +93,8 @@ 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
@@ -138,18 +143,18 @@ include/agg2/util/agg_color_conv_rgb8.h
lib/libagg.a
lib/libagg.so
lib/libagg.so.2
-lib/libagg.so.2.0.4
+lib/libagg.so.2.0.7
lib/libaggfontfreetype.a
lib/libaggfontfreetype.so
lib/libaggfontfreetype.so.2
-lib/libaggfontfreetype.so.2.0.4
+lib/libaggfontfreetype.so.2.0.7
lib/libaggplatformX11.a
lib/libaggplatformX11.so
lib/libaggplatformX11.so.2
-lib/libaggplatformX11.so.2.0.4
+lib/libaggplatformX11.so.2.0.7
lib/libaggplatformsdl.a
lib/libaggplatformsdl.so
lib/libaggplatformsdl.so.2
-lib/libaggplatformsdl.so.2.0.4
+lib/libaggplatformsdl.so.2.0.7
libdata/pkgconfig/libagg.pc
share/aclocal/libagg.m4
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index 2fe384daa10e..5c21f3c9b428 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -1,6 +1,6 @@
PORTNAME= plplot
DISTVERSION= 5.15.0
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= math science
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source