Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2012 10:25:20 GMT
From:      Joris Dedieu <joris.dedieu@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166511: [PATCH] graphics/mapserver add cairo support
Message-ID:  <201203301025.q2UAPKAh052420@red.freebsd.org>
Resent-Message-ID: <201203301030.q2UAU9sU085247@freefall.freebsd.org>

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

>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:



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