summaryrefslogtreecommitdiff
path: root/graphics/cairo/Makefile.common
diff options
context:
space:
mode:
authoradam <adam>2013-08-31 22:19:32 +0000
committeradam <adam>2013-08-31 22:19:32 +0000
commite54d0d1bf10201ce49186c93b35485f97cd2948d (patch)
treec90f8d13b99b255326a327fc2aef1922cdbdde84 /graphics/cairo/Makefile.common
parentcd541d85c7b6e09bcb659da1787649c7e87ff57f (diff)
downloadpkgsrc-e54d0d1bf10201ce49186c93b35485f97cd2948d.tar.gz
Changes 1.12.16:
Bug fixes * Set the correct orientation for simple boxes with a negative scale factor. * Fix the creation of the shading dictionary in PDF. * Fix a crash in PDF when incorporating an image with CAIRO_EXTEND_PAD. * Avoid upscaling bitmap fonts if possible. * Fix an assertion failure within the mempool allocator for shared memory. * Fix allocation size for CFF subsets. * Export cairo_matrix_t for GObject bindings. * Fix a double free in the Quartz backend. * Fix origin of GDI StretchBlits for the Windows backend * Fix error propagation for requests to create a similar surface with negative size. * Fix complex clipping of trapezoids with regions * Stop leaking the image data when loading PNGs * Fix unbounded operations with a clip mask through the span compositor * Add missing checks before rendering to a finished surface - so we return an error rather than hit an assert. * Prevent an assertion failure when creating similar GL surfaces larger than supported by hardware. * Prevent a double free of a similar image under Windows.
Diffstat (limited to 'graphics/cairo/Makefile.common')
-rw-r--r--graphics/cairo/Makefile.common53
1 files changed, 53 insertions, 0 deletions
diff --git a/graphics/cairo/Makefile.common b/graphics/cairo/Makefile.common
new file mode 100644
index 00000000000..3eb3e8ee9b5
--- /dev/null
+++ b/graphics/cairo/Makefile.common
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile.common,v 1.1 2013/08/31 22:19:32 adam Exp $
+#
+# used by graphics/cairo/Makefile
+# used by graphics/cairo-gobject/Makefile
+
+DISTNAME= cairo-1.12.16
+CATEGORIES= graphics
+MASTER_SITES= http://cairographics.org/releases/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER?= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://cairographics.org/
+COMMENT= Vector graphics library with cross-device output support
+LICENSE= gnu-lgpl-v2.1 AND mpl-1.1
+
+DISTINFO_FILE= ${.CURDIR}/../../graphics/cairo/distinfo
+PATCHDIR= ${.CURDIR}/../../graphics/cairo/patches
+
+USE_LANGUAGES= c99
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+# does not build against NetBSD-5's MesaLib, and is according
+# to upstream, only used by "toy applications"
+CONFIGURE_ARGS+= --disable-gl
+CONFIGURE_ARGS+= --enable-fc
+CONFIGURE_ARGS+= --enable-pdf
+CONFIGURE_ARGS+= --enable-ps
+CONFIGURE_ARGS+= --enable-tee
+
+PKGCONFIG_OVERRIDE+= src/cairo.pc.in
+PKGCONFIG_OVERRIDE+= src/cairo-features.pc.in
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= quartz
+
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --enable-quartz
+CONFIGURE_ARGS+= --enable-quartz-font
+CONFIGURE_ARGS+= --enable-quartz-image
+PLIST.quartz= yes
+.endif
+
+# For snprintf() and ctime_r()
+CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS
+
+# PR#43928
+.include "../../mk/compiler.mk"
+.if ${MACHINE_PLATFORM:MDragonFly-*-x86_64} && ${CC_VERSION:Mgcc-4.1.*}
+CONFIGURE_ENV+= ac_cv_type___uint128_t=no
+.endif