Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,9 +1,7 @@
# $NetBSD: Makefile,v 1.132 2014/02/12 23:17:59 tron Exp $
# $NetBSD: Makefile,v 1.138 2015/03/15 21:05:37 wiz Exp $
.include "../../graphics/cairo/Makefile.common"
PKGREVISION= 1
TEST_TARGET= check
.include "options.mk"
@@ -17,7 +15,7 @@ BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.9
.include "../../graphics/png/buildlink3.mk"
# include?
#.include "../../print/libspectre/buildlink3.mk"
BUILDLINK_API_DEPENDS.pixman+= pixman>=0.22.0
BUILDLINK_API_DEPENDS.pixman+= pixman>=0.30.0
.include "../../x11/pixman/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile.common,v 1.1 2013/08/31 22:19:32 adam Exp $
# $NetBSD: Makefile.common,v 1.7 2015/03/15 21:05:37 wiz Exp $
#
# used by graphics/cairo/Makefile
# used by graphics/cairo-gobject/Makefile
DISTNAME= cairo-1.12.16
DISTNAME= cairo-1.14.2
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/
EXTRACT_SUFX= .tar.xz
@@ -32,17 +32,6 @@ 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

View File

@@ -1,12 +1,12 @@
@comment $NetBSD: PLIST,v 1.34 2013/08/31 22:19:32 adam Exp $
@comment $NetBSD: PLIST,v 1.38 2015/03/15 21:05:37 wiz Exp $
bin/cairo-trace
include/cairo/cairo-deprecated.h
include/cairo/cairo-features.h
include/cairo/cairo-ft.h
include/cairo/cairo-pdf.h
include/cairo/cairo-ps.h
${PLIST.quartz}include/cairo/cairo-quartz.h
${PLIST.quartz}include/cairo/cairo-quartz-image.h
${PLIST.quartz}include/cairo/cairo-quartz.h
include/cairo/cairo-script-interpreter.h
include/cairo/cairo-script.h
include/cairo/cairo-svg.h
@@ -25,12 +25,12 @@ lib/pkgconfig/cairo-ft.pc
lib/pkgconfig/cairo-pdf.pc
lib/pkgconfig/cairo-png.pc
lib/pkgconfig/cairo-ps.pc
${PLIST.quartz}lib/pkgconfig/cairo-quartz-font.pc
${PLIST.quartz}lib/pkgconfig/cairo-quartz-image.pc
${PLIST.quartz}lib/pkgconfig/cairo-quartz.pc
lib/pkgconfig/cairo-script.pc
lib/pkgconfig/cairo-svg.pc
lib/pkgconfig/cairo-tee.pc
${PLIST.quartz}lib/pkgconfig/cairo-quartz-font.pc
${PLIST.quartz}lib/pkgconfig/cairo-quartz-image.pc
${PLIST.quartz}lib/pkgconfig/cairo-quartz.pc
${PLIST.xcb}lib/pkgconfig/cairo-xcb-shm.pc
${PLIST.xcb}lib/pkgconfig/cairo-xcb.pc
${PLIST.x11}lib/pkgconfig/cairo-xlib-xrender.pc
@@ -62,6 +62,7 @@ share/gtk-doc/html/cairo/cairo-Script-Surfaces.html
share/gtk-doc/html/cairo/cairo-Transformations.html
share/gtk-doc/html/cairo/cairo-Types.html
share/gtk-doc/html/cairo/cairo-User-Fonts.html
share/gtk-doc/html/cairo/cairo-Version-Information.html
share/gtk-doc/html/cairo/cairo-Win32-Fonts.html
share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html
share/gtk-doc/html/cairo/cairo-XCB-Surfaces.html
@@ -92,7 +93,10 @@ share/gtk-doc/html/cairo/index-all.html
share/gtk-doc/html/cairo/index.html
share/gtk-doc/html/cairo/index.sgml
share/gtk-doc/html/cairo/language-bindings.html
share/gtk-doc/html/cairo/left-insensitive.png
share/gtk-doc/html/cairo/left.png
share/gtk-doc/html/cairo/right-insensitive.png
share/gtk-doc/html/cairo/right.png
share/gtk-doc/html/cairo/style.css
share/gtk-doc/html/cairo/up-insensitive.png
share/gtk-doc/html/cairo/up.png

View File

@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.50 2013/08/31 22:19:32 adam Exp $
# $NetBSD: buildlink3.mk,v 1.53 2014/10/23 11:23:31 wiz Exp $
BUILDLINK_TREE+= cairo
@@ -6,11 +6,10 @@ BUILDLINK_TREE+= cairo
CAIRO_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.0.0nb2
BUILDLINK_ABI_DEPENDS.cairo+= cairo>=1.12.14nb3
BUILDLINK_ABI_DEPENDS.cairo+= cairo>=1.12.16nb2
BUILDLINK_PKGSRCDIR.cairo?= ../../graphics/cairo
BUILDLINK_API_DEPENDS.Xrender+= Xrender>=0.8
BUILDLINK_API_DEPENDS.pixman+= pixman>=0.22.0
.include "../../mk/bsd.fast.prefs.mk"

View File

@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.76 2013/08/31 22:19:32 adam Exp $
$NetBSD: distinfo,v 1.80 2015/03/15 21:09:24 wiz Exp $
SHA1 (cairo-1.12.16.tar.xz) = 4f6e337d5d3edd7ea79d1426f575331552b003ec
RMD160 (cairo-1.12.16.tar.xz) = 379283c2f5c9690bdfd69c629b8efd59be7a8670
Size (cairo-1.12.16.tar.xz) = 35889824 bytes
SHA1 (cairo-1.14.2.tar.xz) = c8da68aa66ca0855b5d0ff552766d3e8679e1d24
RMD160 (cairo-1.14.2.tar.xz) = 36cb30e1db06135bd291acc8a1f0a1f2d95ecb14
Size (cairo-1.14.2.tar.xz) = 35376404 bytes
SHA1 (patch-aa) = b01bc60f77a7122b0c0d0d9b25ad512bac7c190c
SHA1 (patch-ab) = 11f7e0e59bd5c51a8fdacb48dcf2f2fefdf3b768
SHA1 (patch-ac) = 1785bbef6bcab4781bf89e1b986a7eb96e5f2b64

View File

@@ -1,12 +1,15 @@
# $NetBSD: options.mk,v 1.15 2013/08/31 22:19:32 adam Exp $
# $NetBSD: options.mk,v 1.16 2014/05/31 10:16:40 pho Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cairo
PKG_SUPPORTED_OPTIONS= x11 xcb
.if exists(/System/Library/Frameworks/Quartz.framework)
PKG_SUPPORTED_OPTIONS+= quartz
.endif
PKG_SUGGESTED_OPTIONS= x11 xcb
.include "../../mk/bsd.options.mk"
PLIST_VARS+= x11 xcb
PLIST_VARS+= x11 xcb quartz
###
### X11 and XCB support (XCB implies X11)
@@ -34,3 +37,25 @@ CONFIGURE_ARGS+= --enable-xcb=no
CONFIGURE_ARGS+= --disable-xlib
CONFIGURE_ARGS+= --disable-xlib-xrender
.endif
###
### Quartz backend
###
# Quartz backend interacts badly with our library stack. The most
# notable issue is that when quartz-font is enabled, cairo will never
# use fontconfig but instead uses CoreGraphics API to find fonts in
# system-default font paths; as a result, any fonts installed with
# pkgsrc will never be found. OTOH fontconfig by default searches for
# fonts in MacOS X system-default paths too so sticking with it will
# not be a problem.
.if !empty(PKG_OPTIONS:Mquartz)
CONFIGURE_ARGS+= --enable-quartz
CONFIGURE_ARGS+= --enable-quartz-font
CONFIGURE_ARGS+= --enable-quartz-image
PLIST.quartz= yes
WARNINGS+= "You have enabled Quartz backend. No fonts installed with pkgsrc will be found."
.else
CONFIGURE_ARGS+= --disable-quartz
CONFIGURE_ARGS+= --disable-quartz-font
CONFIGURE_ARGS+= --disable-quartz-image
.endif