5222ad9472
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.
36 lines
944 B
Makefile
36 lines
944 B
Makefile
# $NetBSD: options.mk,v 1.15 2013/08/31 22:19:32 adam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.cairo
|
|
PKG_SUPPORTED_OPTIONS= x11 xcb
|
|
PKG_SUGGESTED_OPTIONS= x11 xcb
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= x11 xcb
|
|
|
|
###
|
|
### X11 and XCB support (XCB implies X11)
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mx11) || !empty(PKG_OPTIONS:Mxcb)
|
|
CONFIGURE_ARGS+= --enable-xlib
|
|
CONFIGURE_ARGS+= --enable-xlib-xrender
|
|
PLIST.x11= yes
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
BUILDLINK_DEPMETHOD.libXt+= build # only for configure
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
|
|
. if !empty(PKG_OPTIONS:Mxcb)
|
|
CONFIGURE_ARGS+= --enable-xcb
|
|
PLIST.xcb= yes
|
|
. include "../../x11/libxcb/buildlink3.mk"
|
|
. else
|
|
CONFIGURE_ARGS+= --enable-xcb=no
|
|
. endif
|
|
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-xlib
|
|
CONFIGURE_ARGS+= --disable-xlib-xrender
|
|
.endif
|