Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 23:22:42 GMT
From:      Stephen Hurd<shurd@sasktel.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/112822: graphics/agg - update to latest version
Message-ID:  <200705202322.l4KNMgcS002673@www.freebsd.org>
Resent-Message-ID: <200705202330.l4KNU4Bm044915@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112822
>Category:       ports
>Synopsis:       graphics/agg - update to latest version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 20 23:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Hurd
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD server.hurd.local 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sat Mar 17 22:02:20 PDT 2007     admin@server.hurd.local:/usr/obj/usr/src/sys/SERVER  i386
>Description:
graphics/agg is too old to use for graphics/gnash rendering.  Update to latest version
>How-To-Repeat:

>Fix:
Apply patch (NOTE: autotool stuff may be silly...)

Patch attached with submission follows:

diff -u agg.old/Makefile agg/Makefile
--- agg.old/Makefile	Sun May 20 16:12:07 2007
+++ agg/Makefile	Sun May 20 16:16:56 2007
@@ -2,36 +2,40 @@
 # Date created:			Aug 3, 2004
 # Whom:				ijliao
 #
-# $FreeBSD: /repoman/r/pcvs/ports/graphics/agg/Makefile,v 1.15 2005/11/02 12:37:16 vs Exp $
+# $FreeBSD: ports/graphics/agg/Makefile,v 1.15 2005/11/02 12:37:16 vs Exp $
 #
 
 PORTNAME=	agg
-PORTVERSION=	2.3
+PORTVERSION=	2.5
 PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.antigrain.com/ \
 		${MASTER_SITE_SOURCEFORGE} \
 		${MASTER_SITE_LOCAL:S/%SUBDIR%/novel/}
 MASTER_SITE_SUBDIR=	vector-agg
-DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A High Quality Rendering Engine for C++
 
-BUILD_WRKSRC=	${WRKDIR}/agg23/src
 USE_GMAKE=	yes
 MAKE_ENV=	C="${CC}" CXX="${CXX}" AGGCXXFLAGS="${CXXFLAGS}"
 CXXFLAGS+=	-I${X11BASE}/include -L${X11BASE}/lib -I../include -L./
+ACLOCAL_ARGS=	--acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
+AUTOMAKE_ARGS=	--foreign --add-missing --ignore-deps
+USE_AUTOTOOLS=	autoconf:259 aclocal:19 automake:19 libtool:15
 
 PLIST_FILES=	lib/libagg.a
 
 .include <bsd.port.pre.mk>
 
+pre-configure:
+	cd ${WRKSRC} && ${LIBTOOLIZE} --force
+
 post-extract:
 	@${CP} -f ${FILESDIR}/Makefile.in.FreeBSD ${WRKSRC}
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/src/libagg.a ${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/src/.libs/libagg.a ${PREFIX}/lib
 	@${MKDIR} ${PREFIX}/include/agg
 	${CP} -R ${WRKSRC}/include/ ${PREFIX}/include/agg
 	@${FIND} ${PREFIX}/include/agg ! -type d | \
diff -u agg.old/distinfo agg/distinfo
--- agg.old/distinfo	Fri Nov 25 17:47:32 2005
+++ agg/distinfo	Sun May 20 16:11:47 2007
@@ -1,3 +1,3 @@
-MD5 (agg23.tar.gz) = 8431bfebc16a0920d087b33604c69c8c
-SHA256 (agg23.tar.gz) = ef306fb346d941580836298552ac5a293584efe35e3d5800b0910cd24fe91aac
-SIZE (agg23.tar.gz) = 537070
+MD5 (agg-2.5.tar.gz) = ddc67cbdc7d51e1ec984c2ac2724c08a
+SHA256 (agg-2.5.tar.gz) = 589e9bdbaf51fa3c2358f0102303ed24d0722f553df3abe8f0241d1dfc804f5d
+SIZE (agg-2.5.tar.gz) = 564231
Common subdirectories: agg.old/files and agg/files

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705202322.l4KNMgcS002673>