Changes 1.12.2: After such a long gestation period for the release of Cairo 1.12, we inevitably accumulated a few bugs that were flushed out by broadening the test base. Thanks to everybody who tried the release, apologies to any one unfortunate enough to encounter a bug and many thanks for reporting it.diff -r1.4 -r1.5 pkgsrc/graphics/cairo/DESCR
(adam)
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | Cairo is a 2D graphics library with support for multiple output | 1 | Cairo is a 2D graphics library with support for multiple output | |
2 | devices. Currently supported output targets include the X Window | 2 | devices. Currently supported output targets include the X Window | |
3 | System, Quartz, Win32, image buffers, PostScript, PDF, and SVG file | 3 | System, Quartz, Win32, image buffers, PostScript, PDF, and SVG file | |
4 | output. | 4 | output. | |
5 | 5 | |||
6 | Cairo is designed to produce consistent output on all output media | 6 | Cairo is designed to produce consistent output on all output media | |
7 | while taking advantage of display hardware acceleration when | 7 | while taking advantage of display hardware acceleration when | |
8 | available (eg. through the X Render Extension). | 8 | available (eg. through the X Render Extension). | |
9 | 9 | |||
10 | The cairo API provides operations similar to the drawing operators | 10 | The cairo API provides operations similar to the drawing operators | |
11 | of PostScript and PDF. Operations in cairo including stroking and | 11 | of PostScript and PDF. Operations in cairo including stroking and | |
12 | filling cubic Bézier splines, transforming and compositing | 12 | filling cubic Bezier splines, transforming and compositing | |
13 | translucent images, and antialiased text rendering. All drawing | 13 | translucent images, and antialiased text rendering. All drawing | |
14 | operations can be transformed by any affine transformation (scale, | 14 | operations can be transformed by any affine transformation (scale, | |
15 | rotation, shear, etc.) | 15 | rotation, shear, etc.) | |
16 | 16 | |||
17 | Cairo is implemented as a library written in the C programming | 17 | Cairo is implemented as a library written in the C programming | |
18 | language, but bindings are available for several different programming | 18 | language, but bindings are available for several different programming | |
19 | languages. | 19 | languages. |
@@ -1,59 +1,56 @@ | @@ -1,59 +1,56 @@ | |||
1 | # $NetBSD: Makefile,v 1.100 2012/06/14 19:53:07 bsiegert Exp $ | 1 | # $NetBSD: Makefile,v 1.101 2012/09/07 15:24:03 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= cairo-1.10.2 | 3 | DISTNAME= cairo-1.12.2 | |
4 | PKGREVISION= 5 | |||
5 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
6 | MASTER_SITES= http://cairographics.org/releases/ | 5 | MASTER_SITES= http://cairographics.org/releases/ | |
6 | EXTRACT_SUFX= .tar.xz | |||
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://cairographics.org/ | 9 | HOMEPAGE= http://cairographics.org/ | |
10 | COMMENT= Vector graphics library with cross-device output support | 10 | COMMENT= Vector graphics library with cross-device output support | |
11 | LICENSE= gnu-lgpl-v2.1 AND mpl-1.1 | 11 | LICENSE= gnu-lgpl-v2.1 AND mpl-1.1 | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 14 | |||
15 | USE_LANGUAGES+= c99 | 15 | USE_LANGUAGES= c99 | |
16 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
17 | USE_PKGLOCALEDIR= yes | 17 | USE_PKGLOCALEDIR= yes | |
18 | USE_TOOLS+= pkg-config | 18 | USE_TOOLS+= pkg-config | |
19 | PKGCONFIG_OVERRIDE+= src/cairo.pc.in \ | |||
20 | src/cairo-features.pc.in | |||
21 | ||||
22 | GNU_CONFIGURE= yes | 19 | GNU_CONFIGURE= yes | |
23 | CONFIGURE_ARGS+= --enable-gl | 20 | CONFIGURE_ARGS+= --enable-gl | |
24 | CONFIGURE_ARGS+= --enable-pdf | 21 | CONFIGURE_ARGS+= --enable-pdf | |
25 | CONFIGURE_ARGS+= --enable-ps | 22 | CONFIGURE_ARGS+= --enable-ps | |
26 | CONFIGURE_ARGS+= --enable-tee | 23 | CONFIGURE_ARGS+= --enable-tee | |
27 | 24 | |||
28 | PLIST_VARS+= carbon | 25 | PKGCONFIG_OVERRIDE+= src/cairo.pc.in | |
26 | PKGCONFIG_OVERRIDE+= src/cairo-features.pc.in | |||
27 | ||||
28 | .include "options.mk" | |||
29 | ||||
29 | .if exists(/System/Library/Frameworks/Carbon.framework) | 30 | .if exists(/System/Library/Frameworks/Carbon.framework) | |
30 | CONFIGURE_ARGS+= --enable-quartz | 31 | CONFIGURE_ARGS+= --enable-quartz | |
31 | CONFIGURE_ARGS+= --enable-quartz-font | 32 | CONFIGURE_ARGS+= --enable-quartz-font | |
32 | CONFIGURE_ARGS+= --enable-quartz-image | 33 | CONFIGURE_ARGS+= --enable-quartz-image | |
33 | PLIST.carbon= yes | |||
34 | .endif | 34 | .endif | |
35 | 35 | |||
36 | .include "options.mk" | |||
37 | ||||
38 | # For snprintf() and ctime_r() | 36 | # For snprintf() and ctime_r() | |
39 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS | 37 | CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS | |
40 | 38 | |||
41 | TEST_TARGET= check | 39 | TEST_TARGET= check | |
42 | 40 | |||
43 | # PR#43928 | 41 | # PR#43928 | |
44 | .include "../../mk/compiler.mk" | 42 | .include "../../mk/compiler.mk" | |
45 | .if ${MACHINE_PLATFORM:MDragonFly-*-x86_64} && ${CC_VERSION:Mgcc-4.1.*} | 43 | .if ${MACHINE_PLATFORM:MDragonFly-*-x86_64} && ${CC_VERSION:Mgcc-4.1.*} | |
46 | CONFIGURE_ENV+= ac_cv_type___uint128_t=no | 44 | CONFIGURE_ENV+= ac_cv_type___uint128_t=no | |
47 | .endif | 45 | .endif | |
48 | 46 | |||
49 | .include "../../devel/zlib/buildlink3.mk" | 47 | .include "../../devel/zlib/buildlink3.mk" | |
50 | .include "../../fonts/fontconfig/buildlink3.mk" | 48 | .include "../../fonts/fontconfig/buildlink3.mk" | |
51 | BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.9 | 49 | BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.9 | |
52 | .include "../../graphics/freetype2/buildlink3.mk" | 50 | .include "../../graphics/freetype2/buildlink3.mk" | |
53 | .include "../../graphics/png/buildlink3.mk" | 51 | .include "../../graphics/png/buildlink3.mk" | |
54 | # include? | 52 | # include? | |
55 | #.include "../../print/libspectre/buildlink3.mk" | 53 | #.include "../../print/libspectre/buildlink3.mk" | |
56 | .include "../../x11/pixman/buildlink3.mk" | 54 | .include "../../x11/pixman/buildlink3.mk" | |
57 | ||||
58 | .include "../../mk/pthread.buildlink3.mk" | 55 | .include "../../mk/pthread.buildlink3.mk" | |
59 | .include "../../mk/bsd.pkg.mk" | 56 | .include "../../mk/bsd.pkg.mk" |
@@ -1,95 +1,101 @@ | @@ -1,95 +1,101 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.31 2012/02/23 14:00:43 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.32 2012/09/07 15:24:03 adam Exp $ | |
2 | bin/cairo-trace | 2 | bin/cairo-trace | |
3 | include/cairo/cairo-deprecated.h | 3 | include/cairo/cairo-deprecated.h | |
4 | include/cairo/cairo-features.h | 4 | include/cairo/cairo-features.h | |
5 | include/cairo/cairo-ft.h | 5 | include/cairo/cairo-ft.h | |
6 | ${PLIST.x11}include/cairo/cairo-gl.h | 6 | ${PLIST.x11}include/cairo/cairo-gl.h | |
7 | include/cairo/cairo-pdf.h | 7 | include/cairo/cairo-pdf.h | |
8 | include/cairo/cairo-ps.h | 8 | include/cairo/cairo-ps.h | |
9 | ${PLIST.carbon}include/cairo/cairo-quartz.h | 9 | ${PLIST.carbon}include/cairo/cairo-quartz.h | |
10 | ${PLIST.carbon}include/cairo/cairo-quartz-image.h | 10 | ${PLIST.carbon}include/cairo/cairo-quartz-image.h | |
11 | include/cairo/cairo-script-interpreter.h | 11 | include/cairo/cairo-script-interpreter.h | |
12 | include/cairo/cairo-script.h | |||
12 | include/cairo/cairo-svg.h | 13 | include/cairo/cairo-svg.h | |
13 | include/cairo/cairo-tee.h | 14 | include/cairo/cairo-tee.h | |
14 | include/cairo/cairo-version.h | 15 | include/cairo/cairo-version.h | |
15 | ${PLIST.xcb}include/cairo/cairo-xcb.h | 16 | ${PLIST.xcb}include/cairo/cairo-xcb.h | |
16 | ${PLIST.x11}include/cairo/cairo-xlib-xrender.h | 17 | ${PLIST.x11}include/cairo/cairo-xlib-xrender.h | |
17 | ${PLIST.x11}include/cairo/cairo-xlib.h | 18 | ${PLIST.x11}include/cairo/cairo-xlib.h | |
18 | include/cairo/cairo.h | 19 | include/cairo/cairo.h | |
20 | lib/cairo/cairo-fdr.la | |||
19 | lib/cairo/libcairo-trace.la | 21 | lib/cairo/libcairo-trace.la | |
20 | lib/libcairo-script-interpreter.la | 22 | lib/libcairo-script-interpreter.la | |
21 | lib/libcairo.la | 23 | lib/libcairo.la | |
22 | lib/pkgconfig/cairo-fc.pc | 24 | lib/pkgconfig/cairo-fc.pc | |
23 | lib/pkgconfig/cairo-ft.pc | 25 | lib/pkgconfig/cairo-ft.pc | |
24 | ${PLIST.x11}lib/pkgconfig/cairo-gl.pc | 26 | ${PLIST.x11}lib/pkgconfig/cairo-gl.pc | |
25 | ${PLIST.x11}lib/pkgconfig/cairo-glx.pc | 27 | ${PLIST.x11}lib/pkgconfig/cairo-glx.pc | |
26 | lib/pkgconfig/cairo-pdf.pc | 28 | lib/pkgconfig/cairo-pdf.pc | |
27 | lib/pkgconfig/cairo-png.pc | 29 | lib/pkgconfig/cairo-png.pc | |
28 | lib/pkgconfig/cairo-ps.pc | 30 | lib/pkgconfig/cairo-ps.pc | |
29 | ${PLIST.carbon}lib/pkgconfig/cairo-quartz-font.pc | 31 | ${PLIST.carbon}lib/pkgconfig/cairo-quartz-font.pc | |
30 | ${PLIST.carbon}lib/pkgconfig/cairo-quartz-image.pc | 32 | ${PLIST.carbon}lib/pkgconfig/cairo-quartz-image.pc | |
31 | ${PLIST.carbon}lib/pkgconfig/cairo-quartz.pc | 33 | ${PLIST.carbon}lib/pkgconfig/cairo-quartz.pc | |
34 | lib/pkgconfig/cairo-script.pc | |||
32 | lib/pkgconfig/cairo-svg.pc | 35 | lib/pkgconfig/cairo-svg.pc | |
33 | lib/pkgconfig/cairo-tee.pc | 36 | lib/pkgconfig/cairo-tee.pc | |
34 | ${PLIST.xcb}lib/pkgconfig/cairo-xcb-shm.pc | 37 | ${PLIST.xcb}lib/pkgconfig/cairo-xcb-shm.pc | |
35 | ${PLIST.xcb}lib/pkgconfig/cairo-xcb.pc | 38 | ${PLIST.xcb}lib/pkgconfig/cairo-xcb.pc | |
36 | ${PLIST.x11}lib/pkgconfig/cairo-xlib-xrender.pc | 39 | ${PLIST.x11}lib/pkgconfig/cairo-xlib-xrender.pc | |
37 | ${PLIST.x11}lib/pkgconfig/cairo-xlib.pc | 40 | ${PLIST.x11}lib/pkgconfig/cairo-xlib.pc | |
38 | lib/pkgconfig/cairo.pc | 41 | lib/pkgconfig/cairo.pc | |
39 | share/gtk-doc/html/cairo/bindings-errors.html | 42 | share/gtk-doc/html/cairo/bindings-errors.html | |
40 | share/gtk-doc/html/cairo/bindings-fonts.html | 43 | share/gtk-doc/html/cairo/bindings-fonts.html | |
41 | share/gtk-doc/html/cairo/bindings-memory.html | 44 | share/gtk-doc/html/cairo/bindings-memory.html | |
42 | share/gtk-doc/html/cairo/bindings-overloading.html | 45 | share/gtk-doc/html/cairo/bindings-overloading.html | |
43 | share/gtk-doc/html/cairo/bindings-path.html | 46 | share/gtk-doc/html/cairo/bindings-path.html | |
44 | share/gtk-doc/html/cairo/bindings-patterns.html | 47 | share/gtk-doc/html/cairo/bindings-patterns.html | |
45 | share/gtk-doc/html/cairo/bindings-return-values.html | 48 | share/gtk-doc/html/cairo/bindings-return-values.html | |
46 | share/gtk-doc/html/cairo/bindings-streams.html | 49 | share/gtk-doc/html/cairo/bindings-streams.html | |
47 | share/gtk-doc/html/cairo/bindings-surfaces.html | 50 | share/gtk-doc/html/cairo/bindings-surfaces.html | |
48 | share/gtk-doc/html/cairo/cairo-Error-handling.html | 51 | share/gtk-doc/html/cairo/cairo-Error-handling.html | |
49 | share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html | 52 | share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html | |
50 | share/gtk-doc/html/cairo/cairo-Image-Surfaces.html | 53 | share/gtk-doc/html/cairo/cairo-Image-Surfaces.html | |
51 | share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html | 54 | share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html | |
52 | share/gtk-doc/html/cairo/cairo-PNG-Support.html | 55 | share/gtk-doc/html/cairo/cairo-PNG-Support.html | |
53 | share/gtk-doc/html/cairo/cairo-Paths.html | 56 | share/gtk-doc/html/cairo/cairo-Paths.html | |
54 | share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html | 57 | share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html | |
55 | share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html | 58 | share/gtk-doc/html/cairo/cairo-Quartz-(CGFont)-Fonts.html | |
56 | share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html | 59 | share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html | |
60 | share/gtk-doc/html/cairo/cairo-Raster-Sources.html | |||
57 | share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html | 61 | share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html | |
58 | share/gtk-doc/html/cairo/cairo-Regions.html | 62 | share/gtk-doc/html/cairo/cairo-Regions.html | |
59 | share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html | 63 | share/gtk-doc/html/cairo/cairo-SVG-Surfaces.html | |
64 | share/gtk-doc/html/cairo/cairo-Script-Surfaces.html | |||
60 | share/gtk-doc/html/cairo/cairo-Transformations.html | 65 | share/gtk-doc/html/cairo/cairo-Transformations.html | |
61 | share/gtk-doc/html/cairo/cairo-Types.html | 66 | share/gtk-doc/html/cairo/cairo-Types.html | |
62 | share/gtk-doc/html/cairo/cairo-User-Fonts.html | 67 | share/gtk-doc/html/cairo/cairo-User-Fonts.html | |
63 | share/gtk-doc/html/cairo/cairo-Version-Information.html | |||
64 | share/gtk-doc/html/cairo/cairo-Win32-Fonts.html | 68 | share/gtk-doc/html/cairo/cairo-Win32-Fonts.html | |
65 | share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html | 69 | share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html | |
70 | share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html | |||
66 | share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html | 71 | share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html | |
72 | share/gtk-doc/html/cairo/cairo-XLib-XRender-Backend.html | |||
67 | share/gtk-doc/html/cairo/cairo-cairo-device-t.html | 73 | share/gtk-doc/html/cairo/cairo-cairo-device-t.html | |
68 | share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html | 74 | share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html | |
69 | share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html | 75 | share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html | |
70 | share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html | 76 | share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html | |
71 | share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html | 77 | share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html | |
72 | share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html | 78 | share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html | |
73 | share/gtk-doc/html/cairo/cairo-cairo-surface-t.html | 79 | share/gtk-doc/html/cairo/cairo-cairo-surface-t.html | |
74 | share/gtk-doc/html/cairo/cairo-cairo-t.html | 80 | share/gtk-doc/html/cairo/cairo-cairo-t.html | |
75 | share/gtk-doc/html/cairo/cairo-drawing.html | 81 | share/gtk-doc/html/cairo/cairo-drawing.html | |
76 | share/gtk-doc/html/cairo/cairo-fonts.html | 82 | share/gtk-doc/html/cairo/cairo-fonts.html | |
77 | share/gtk-doc/html/cairo/cairo-support.html | 83 | share/gtk-doc/html/cairo/cairo-support.html | |
78 | share/gtk-doc/html/cairo/cairo-surfaces.html | 84 | share/gtk-doc/html/cairo/cairo-surfaces.html | |
79 | share/gtk-doc/html/cairo/cairo-text.html | 85 | share/gtk-doc/html/cairo/cairo-text.html | |
80 | share/gtk-doc/html/cairo/cairo.devhelp | |||
81 | share/gtk-doc/html/cairo/cairo.devhelp2 | 86 | share/gtk-doc/html/cairo/cairo.devhelp2 | |
82 | share/gtk-doc/html/cairo/home.png | 87 | share/gtk-doc/html/cairo/home.png | |
83 | share/gtk-doc/html/cairo/index-1.10.html | 88 | share/gtk-doc/html/cairo/index-1.10.html | |
89 | share/gtk-doc/html/cairo/index-1.12.html | |||
84 | share/gtk-doc/html/cairo/index-1.2.html | 90 | share/gtk-doc/html/cairo/index-1.2.html | |
85 | share/gtk-doc/html/cairo/index-1.4.html | 91 | share/gtk-doc/html/cairo/index-1.4.html | |
86 | share/gtk-doc/html/cairo/index-1.6.html | 92 | share/gtk-doc/html/cairo/index-1.6.html | |
87 | share/gtk-doc/html/cairo/index-1.8.html | 93 | share/gtk-doc/html/cairo/index-1.8.html | |
88 | share/gtk-doc/html/cairo/index-all.html | 94 | share/gtk-doc/html/cairo/index-all.html | |
89 | share/gtk-doc/html/cairo/index.html | 95 | share/gtk-doc/html/cairo/index.html | |
90 | share/gtk-doc/html/cairo/index.sgml | 96 | share/gtk-doc/html/cairo/index.sgml | |
91 | share/gtk-doc/html/cairo/language-bindings.html | 97 | share/gtk-doc/html/cairo/language-bindings.html | |
92 | share/gtk-doc/html/cairo/left.png | 98 | share/gtk-doc/html/cairo/left.png | |
93 | share/gtk-doc/html/cairo/right.png | 99 | share/gtk-doc/html/cairo/right.png | |
94 | share/gtk-doc/html/cairo/style.css | 100 | share/gtk-doc/html/cairo/style.css | |
95 | share/gtk-doc/html/cairo/up.png | 101 | share/gtk-doc/html/cairo/up.png |
@@ -1,22 +1,22 @@ | @@ -1,22 +1,22 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.39 2011/11/01 06:01:26 sbd Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.40 2012/09/07 15:24:03 adam Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= cairo | 3 | BUILDLINK_TREE+= cairo | |
4 | 4 | |||
5 | .if !defined(CAIRO_BUILDLINK3_MK) | 5 | .if !defined(CAIRO_BUILDLINK3_MK) | |
6 | CAIRO_BUILDLINK3_MK:= | 6 | CAIRO_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.0.0nb2 | 8 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.0.0nb2 | |
9 | BUILDLINK_ABI_DEPENDS.cairo+= cairo>=1.10.2nb2 | 9 | BUILDLINK_ABI_DEPENDS.cairo+= cairo>=1.12.2 | |
10 | BUILDLINK_PKGSRCDIR.cairo?= ../../graphics/cairo | 10 | BUILDLINK_PKGSRCDIR.cairo?= ../../graphics/cairo | |
11 | 11 | |||
12 | BUILDLINK_API_DEPENDS.Xrender+= Xrender>=0.8 | 12 | BUILDLINK_API_DEPENDS.Xrender+= Xrender>=0.8 | |
13 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.18.4 | 13 | BUILDLINK_API_DEPENDS.pixman+= pixman>=0.18.4 | |
14 | 14 | |||
15 | .include "../../mk/bsd.fast.prefs.mk" | 15 | .include "../../mk/bsd.fast.prefs.mk" | |
16 | 16 | |||
17 | pkgbase := cairo | 17 | pkgbase := cairo | |
18 | .include "../../mk/pkg-build-options.mk" | 18 | .include "../../mk/pkg-build-options.mk" | |
19 | 19 | |||
20 | .if !empty(PKG_BUILD_OPTIONS.cairo:Mxcb) | 20 | .if !empty(PKG_BUILD_OPTIONS.cairo:Mxcb) | |
21 | .include "../../x11/libxcb/buildlink3.mk" | 21 | .include "../../x11/libxcb/buildlink3.mk" | |
22 | .endif | 22 | .endif |
@@ -1,10 +1,8 @@ | @@ -1,10 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.59 2012/06/16 20:52:18 tron Exp $ | 1 | $NetBSD: distinfo,v 1.60 2012/09/07 15:24:03 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (cairo-1.10.2.tar.gz) = ccce5ae03f99c505db97c286a0c9a90a926d3c6e | 3 | SHA1 (cairo-1.12.2.tar.xz) = bc2ee50690575f16dab33af42a2e6cdc6451e3f9 | |
4 | RMD160 (cairo-1.10.2.tar.gz) = 8c8de00120398fe2b3a60a08ff59a464b2eebf47 | 4 | RMD160 (cairo-1.12.2.tar.xz) = 0174a5110f5f4c9ff15da984e0602dfd04643a63 | |
5 | Size (cairo-1.10.2.tar.gz) = 23558405 bytes | 5 | Size (cairo-1.12.2.tar.xz) = 42051584 bytes | |
6 | SHA1 (patch-aa) = f211b2a5fce4ff65f280f79fbb78e1a530b9b165 | 6 | SHA1 (patch-aa) = 474f44c1c8d4017137fe59b160afca8f16ad7287 | |
7 | SHA1 (patch-ab) = 03a6199a0e0de1fe3701900ea76ce3f0bfdddca0 | 7 | SHA1 (patch-ab) = 62ff361d52742bba0f49c6a32149269b958fa24a | |
8 | SHA1 (patch-ac) = 151c682245004902cf42ba141e3743592691dfb9 | 8 | SHA1 (patch-ac) = 151c682245004902cf42ba141e3743592691dfb9 | |
9 | SHA1 (patch-src_cairo-quartz-font.c) = 0a4bb75c3d2382020e1f491ff99985993a02bbc6 | |||
10 | SHA1 (patch-src_cairo-quartz.h) = 089ce2fe351724a06986512b2080ae4dc2543b9a |
@@ -1,33 +1,37 @@ | @@ -1,33 +1,37 @@ | |||
1 | # $NetBSD: options.mk,v 1.6 2010/10/13 00:11:21 spz Exp $ | 1 | # $NetBSD: options.mk,v 1.7 2012/09/07 15:24:03 adam Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.cairo | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.cairo | |
4 | PKG_SUPPORTED_OPTIONS= x11 xcb | 4 | PKG_SUPPORTED_OPTIONS= x11 xcb | |
5 | PKG_SUGGESTED_OPTIONS= x11 xcb | 5 | PKG_SUGGESTED_OPTIONS= x11 xcb | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | PLIST_VARS+= x11 xcb | 9 | PLIST_VARS+= carbon x11 xcb | |
10 | 10 | |||
11 | ### | 11 | ### | |
12 | ### X11 and XCB support (XCB implies X11) | 12 | ### X11 and XCB support (XCB implies X11) | |
13 | ### | 13 | ### | |
14 | .if !empty(PKG_OPTIONS:Mx11) || !empty(PKG_OPTIONS:Mxcb) | 14 | .if !empty(PKG_OPTIONS:Mx11) || !empty(PKG_OPTIONS:Mxcb) | |
15 | CONFIGURE_ARGS+= --enable-xlib --enable-xlib-xrender | 15 | CONFIGURE_ARGS+= --enable-xlib | |
16 | CONFIGURE_ARGS+= --enable-xlib-xrender | |||
17 | PLIST.gl= yes | |||
16 | PLIST.x11= yes | 18 | PLIST.x11= yes | |
17 | .include "../../graphics/MesaLib/buildlink3.mk" | 19 | .include "../../graphics/MesaLib/buildlink3.mk" | |
18 | .include "../../x11/libXext/buildlink3.mk" | 20 | .include "../../x11/libXext/buildlink3.mk" | |
19 | .include "../../x11/libXft/buildlink3.mk" | 21 | .include "../../x11/libXft/buildlink3.mk" | |
20 | .include "../../x11/libXrender/buildlink3.mk" | 22 | .include "../../x11/libXrender/buildlink3.mk" | |
21 | .include "../../x11/libX11/buildlink3.mk" | 23 | .include "../../x11/libX11/buildlink3.mk" | |
22 | BUILDLINK_DEPMETHOD.libXt?= build # only for configure | 24 | BUILDLINK_DEPMETHOD.libXt?= build # only for configure | |
23 | .include "../../x11/libXt/buildlink3.mk" | 25 | .include "../../x11/libXt/buildlink3.mk" | |
24 | 26 | |||
25 | .if !empty(PKG_OPTIONS:Mxcb) | 27 | . if !empty(PKG_OPTIONS:Mxcb) | |
26 | CONFIGURE_ARGS+= --enable-xcb | 28 | CONFIGURE_ARGS+= --enable-xcb | |
27 | PLIST.xcb= yes | 29 | PLIST.xcb= yes | |
28 | .include "../../x11/libxcb/buildlink3.mk" | 30 | . include "../../x11/libxcb/buildlink3.mk" | |
29 | .endif | 31 | . endif | |
30 | 32 | |||
31 | .else | 33 | .else | |
32 | CONFIGURE_ARGS+= --disable-xlib --disable-xlib-xrender --disable-gl | 34 | CONFIGURE_ARGS+= --disable-gl | |
35 | CONFIGURE_ARGS+= --disable-xlib | |||
36 | CONFIGURE_ARGS+= --disable-xlib-xrender | |||
33 | .endif | 37 | .endif |
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2012/03/03 00:12:05 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2012/09/07 15:24:03 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= cairo-1.10.2 | 3 | DISTNAME= cairo-1.12.2 | |
4 | PKGNAME= cairo-gobject-1.10.2 | 4 | PKGNAME= ${DISTNAME:S/-/-gobject-/} | |
5 | PKGREVISION= 4 | |||
6 | CATEGORIES= graphics | 5 | CATEGORIES= graphics | |
7 | MASTER_SITES= http://cairographics.org/releases/ | 6 | MASTER_SITES= http://cairographics.org/releases/ | |
7 | EXTRACT_SUFX= .tar.xz | |||
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://cairographics.org/ | 10 | HOMEPAGE= http://cairographics.org/ | |
11 | COMMENT= Vector graphics library with cross-device output support | 11 | COMMENT= Vector graphics library with cross-device output support | |
12 | LICENSE= gnu-lgpl-v2.1 AND mpl-1.1 | 12 | LICENSE= gnu-lgpl-v2.1 AND mpl-1.1 | |
13 | 13 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | PATCHDIR= ${.CURDIR}/../../graphics/cairo/patches | 15 | PATCHDIR= ${.CURDIR}/../../graphics/cairo/patches | |
16 | DISTINFO_FILE= ${.CURDIR}/../../graphics/cairo/distinfo | 16 | DISTINFO_FILE= ${.CURDIR}/../../graphics/cairo/distinfo | |
17 | BUILD_DIRS= util/cairo-gobject | 17 | BUILD_DIRS= util/cairo-gobject | |
18 | INSTALL_DIRS= util/cairo-gobject | 18 | INSTALL_DIRS= util/cairo-gobject | |
19 | 19 | |||
20 | USE_LANGUAGES+= c99 | 20 | USE_LANGUAGES+= c99 |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: patch-aa,v 1.14 2010/09/13 12:23:01 wiz Exp $ | 1 | $NetBSD: patch-aa,v 1.15 2012/09/07 15:24:03 adam Exp $ | |
2 | 2 | |||
3 | --- src/Makefile.in.orig 2010-09-06 16:16:41.000000000 +0000 | 3 | --- src/Makefile.in.orig 2012-04-29 18:49:55.000000000 +0000 | |
4 | +++ src/Makefile.in | 4 | +++ src/Makefile.in | |
5 | @@ -821,9 +821,9 @@ AWK = @AWK@ | 5 | @@ -928,9 +928,9 @@ AUTOMAKE = @AUTOMAKE@ | |
6 | AWK = @AWK@ | |||
6 | BFD_LIBS = @BFD_LIBS@ | 7 | BFD_LIBS = @BFD_LIBS@ | |
7 | CAIROBOILERPLATE_LIBS = @CAIROBOILERPLATE_LIBS@ | 8 | CAIROBOILERPLATE_LIBS = @CAIROBOILERPLATE_LIBS@ | |
8 | CAIROPERF_LIBS = @CAIROPERF_LIBS@ | |||
9 | -CAIRO_CFLAGS = @CAIRO_CFLAGS@ | 9 | -CAIRO_CFLAGS = @CAIRO_CFLAGS@ | |
10 | +CAIRO_CFLAGS = @CAIRO_CFLAGS@ ${PTHREAD_CFLAGS} | 10 | +CAIRO_CFLAGS = @CAIRO_CFLAGS@ ${PTHREAD_CFLAGS} | |
11 | CAIRO_LDFLAGS = @CAIRO_LDFLAGS@ | 11 | CAIRO_LDFLAGS = @CAIRO_LDFLAGS@ | |
12 | -CAIRO_LIBS = @CAIRO_LIBS@ | 12 | -CAIRO_LIBS = @CAIRO_LIBS@ | |
13 | +CAIRO_LIBS = @CAIRO_LIBS@ ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} | 13 | +CAIRO_LIBS = @CAIRO_LIBS@ ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} | |
14 | CAIRO_LIBTOOL_VERSION_INFO = @CAIRO_LIBTOOL_VERSION_INFO@ | 14 | CAIRO_LIBTOOL_VERSION_INFO = @CAIRO_LIBTOOL_VERSION_INFO@ | |
15 | CAIRO_NONPKGCONFIG_CFLAGS = @CAIRO_NONPKGCONFIG_CFLAGS@ | 15 | CAIRO_NONPKGCONFIG_CFLAGS = @CAIRO_NONPKGCONFIG_CFLAGS@ | |
16 | CAIRO_NONPKGCONFIG_LIBS = @CAIRO_NONPKGCONFIG_LIBS@ | 16 | CAIRO_NONPKGCONFIG_LIBS = @CAIRO_NONPKGCONFIG_LIBS@ |
@@ -1,22 +1,22 @@ | @@ -1,22 +1,22 @@ | |||
1 | $NetBSD: patch-ab,v 1.15 2011/02/12 13:40:53 drochner Exp $ | 1 | $NetBSD: patch-ab,v 1.16 2012/09/07 15:24:03 adam Exp $ | |
2 | 2 | |||
3 | --- util/cairo-gobject/Makefile.in.orig 2010-12-25 14:22:55.000000000 +0000 | 3 | --- util/cairo-gobject/Makefile.in.orig 2012-04-29 18:49:57.000000000 +0000 | |
4 | +++ util/cairo-gobject/Makefile.in | 4 | +++ util/cairo-gobject/Makefile.in | |
5 | @@ -91,7 +91,7 @@ am__base_list = \ | 5 | @@ -114,7 +114,7 @@ am__uninstall_files_from_dir = { \ | |
6 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cairoincludedir)" | 6 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cairoincludedir)" | |
7 | LTLIBRARIES = $(lib_LTLIBRARIES) | 7 | LTLIBRARIES = $(lib_LTLIBRARIES) | |
8 | am__DEPENDENCIES_1 = | 8 | am__DEPENDENCIES_1 = | |
9 | -libcairo_gobject_la_DEPENDENCIES = $(top_builddir)/src/libcairo.la \ | 9 | -libcairo_gobject_la_DEPENDENCIES = $(top_builddir)/src/libcairo.la \ | |
10 | +libcairo_gobject_la_DEPENDENCIES = \ | 10 | +libcairo_gobject_la_DEPENDENCIES = \ | |
11 | $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) | 11 | $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) | |
12 | am_libcairo_gobject_la_OBJECTS = \ | 12 | am_libcairo_gobject_la_OBJECTS = \ | |
13 | libcairo_gobject_la-cairo-gobject-enums.lo \ | 13 | libcairo_gobject_la-cairo-gobject-enums.lo \ | |
14 | @@ -357,7 +357,7 @@ libcairo_gobject_la_SOURCES = \ | 14 | @@ -385,7 +385,7 @@ libcairo_gobject_la_SOURCES = \ | |
15 | 15 | |||
16 | libcairo_gobject_la_CFLAGS = $(CAIRO_CFLAGS) $(GOBJECT_CFLAGS) | 16 | libcairo_gobject_la_CFLAGS = $(CAIRO_CFLAGS) $(GOBJECT_CFLAGS) | |
17 | libcairo_gobject_la_LDFLAGS = -version-info $(CAIRO_LIBTOOL_VERSION_INFO) -no-undefined $(export_symbols) | 17 | libcairo_gobject_la_LDFLAGS = -version-info $(CAIRO_LIBTOOL_VERSION_INFO) -no-undefined $(export_symbols) | |
18 | -libcairo_gobject_la_LIBADD = $(top_builddir)/src/libcairo.la $(CAIRO_LIBS) $(GOBJECT_LIBS) | 18 | -libcairo_gobject_la_LIBADD = $(top_builddir)/src/libcairo.la $(CAIRO_LIBS) $(GOBJECT_LIBS) | |
19 | +libcairo_gobject_la_LIBADD = $(prefix)/lib/libcairo.la $(CAIRO_LIBS) $(GOBJECT_LIBS) | 19 | +libcairo_gobject_la_LIBADD = $(prefix)/lib/libcairo.la $(CAIRO_LIBS) $(GOBJECT_LIBS) | |
20 | all: all-am | 20 | all: all-am | |
21 | 21 | |||
22 | .SUFFIXES: | 22 | .SUFFIXES: |