From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 30 10:30:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA7F61065672 for ; Fri, 30 Mar 2012 10:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A2CD28FC0A for ; Fri, 30 Mar 2012 10:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2UAU9MP085251 for ; Fri, 30 Mar 2012 10:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2UAU9sU085247; Fri, 30 Mar 2012 10:30:09 GMT (envelope-from gnats) Resent-Date: Fri, 30 Mar 2012 10:30:09 GMT Resent-Message-Id: <201203301030.q2UAU9sU085247@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joris Dedieu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35F8010657C2 for ; Fri, 30 Mar 2012 10:25:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 214798FC0A for ; Fri, 30 Mar 2012 10:25:21 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2UAPKGQ052421 for ; Fri, 30 Mar 2012 10:25:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q2UAPKAh052420; Fri, 30 Mar 2012 10:25:20 GMT (envelope-from nobody) Message-Id: <201203301025.q2UAPKAh052420@red.freebsd.org> Date: Fri, 30 Mar 2012 10:25:20 GMT From: Joris Dedieu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/166511: [PATCH] graphics/mapserver add cairo support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 10:30:10 -0000 >Number: 166511 >Category: ports >Synopsis: [PATCH] graphics/mapserver add cairo support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 30 10:30:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Joris Dedieu >Release: 8.1-RELEASE-p6 >Organization: >Environment: FreeBSD entente2.nfrance.com 8.1-RELEASE-p6 FreeBSD 8.1-RELEASE-p6 #1: Tue Oct 11 18:17:37 CEST 2011 root@entente2.nfrance.com:/usr/obj/usr/src/sys/NFDEDIE_2_0_PF amd64 >Description: This patch add an option to enable cairo support in mapserver >How-To-Repeat: >Fix: --- graphics/mapserver/Makefile.orig 2012-03-30 11:52:01.000000000 +0200 +++ graphics/mapserver/Makefile 2012-03-30 12:18:20.000000000 +0200 @@ -32,6 +32,7 @@ MAKE_JOBS_UNSAFE= yes OPTIONS= AGG "Support for AGG image rendering (req: FreeType)" off \ + CAIRO "SVG/PDF support via Cairo" off \ TIFF "Support for TIFF (but not GeoTIFF) files" off \ PDF "Support for PDF output via pdflib" off \ GDAL "Support for a number of input raster formats" on \ @@ -55,6 +56,11 @@ CONFIGURE_ARGS+= --with-agg=${LOCALBASE} --with-freetype=${LOCALBASE} .endif +.if defined(WITH_CAIRO) +LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo +CONFIGURE_ARGS+= --with-cairo=yes +.endif + .if defined(WITH_TIFF) .if !defined(WITH_GDAL) LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff >Release-Note: >Audit-Trail: >Unformatted: