From owner-svn-ports-all@freebsd.org Mon Nov 9 14:59:38 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9114FA2A3B8; Mon, 9 Nov 2015 14:59:38 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C70114E7; Mon, 9 Nov 2015 14:59:38 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA9ExbxL026251; Mon, 9 Nov 2015 14:59:37 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA9ExaJ9026245; Mon, 9 Nov 2015 14:59:36 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201511091459.tA9ExaJ9026245@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Mon, 9 Nov 2015 14:59:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401102 - in head/graphics/cairo: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2015 14:59:38 -0000 Author: sbruno Date: Mon Nov 9 14:59:36 2015 New Revision: 401102 URL: https://svnweb.freebsd.org/changeset/ports/401102 Log: Update port Makefile to support mips build of cairo. Add License Information PR: 201683 Submitted by: Carlos J Puga Medina Modified: head/graphics/cairo/Makefile head/graphics/cairo/files/patch-src_cairo-gl.h head/graphics/cairo/files/patch-src_cairo-xlib-display.c head/graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c head/graphics/cairo/pkg-descr Modified: head/graphics/cairo/Makefile ============================================================================== --- head/graphics/cairo/Makefile Mon Nov 9 14:50:31 2015 (r401101) +++ head/graphics/cairo/Makefile Mon Nov 9 14:59:36 2015 (r401102) @@ -3,6 +3,7 @@ PORTNAME= cairo PORTVERSION= 1.14.2 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= graphics MASTER_SITES= http://cairographics.org/releases/ @@ -10,6 +11,9 @@ MASTER_SITES= http://cairographics.org/r MAINTAINER= gnome@FreeBSD.org COMMENT= Vector graphics library with cross-device output support +LICENSE= LGPL21 MPL +LICENSE_COMB= multi + USES= tar:xz .if !defined(REFERENCE_PORT) @@ -58,6 +62,13 @@ PLIST_SUB+= LIBVER=2.11400.2 .include +.if ${ARCH} == "mips" +BUILD_DEPENDS+= ${LOCALBASE}/include/atomic_ops.h:${PORTSDIR}/devel/libatomic_ops +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ENV= cairo_cv_atomic_primitives="libatomic-ops" +.endif + .if ${PORT_OPTIONS:MOPENGL} && !${PORT_OPTIONS:MX11} BROKEN= OpenGL option needs X11 support .endif @@ -76,6 +87,6 @@ post-patch: ${WRKSRC}/util/*/Makefile.in \ ${WRKSRC}/boilerplate/Makefile.in -.include - .endif + +.include Modified: head/graphics/cairo/files/patch-src_cairo-gl.h ============================================================================== --- head/graphics/cairo/files/patch-src_cairo-gl.h Mon Nov 9 14:50:31 2015 (r401101) +++ head/graphics/cairo/files/patch-src_cairo-gl.h Mon Nov 9 14:59:36 2015 (r401102) @@ -1,6 +1,6 @@ ---- src/cairo-gl.h.orig 2013-03-15 21:29:27.000000000 +0100 -+++ src/cairo-gl.h 2015-01-05 10:30:46.611768380 +0100 -@@ -92,7 +92,7 @@ +--- src/cairo-gl.h.orig 2015-03-10 22:21:07 UTC ++++ src/cairo-gl.h +@@ -92,7 +92,7 @@ cairo_public void cairo_gl_device_set_thread_aware (cairo_device_t *device, cairo_bool_t thread_aware); @@ -9,7 +9,7 @@ #include cairo_public cairo_device_t * -@@ -110,7 +110,7 @@ +@@ -110,7 +110,7 @@ cairo_gl_surface_create_for_window (cair int width, int height); #endif @@ -18,7 +18,7 @@ #include cairo_public cairo_device_t * -@@ -126,7 +126,7 @@ +@@ -126,7 +126,7 @@ cairo_gl_surface_create_for_dc (cairo_de int height); #endif Modified: head/graphics/cairo/files/patch-src_cairo-xlib-display.c ============================================================================== --- head/graphics/cairo/files/patch-src_cairo-xlib-display.c Mon Nov 9 14:50:31 2015 (r401101) +++ head/graphics/cairo/files/patch-src_cairo-xlib-display.c Mon Nov 9 14:59:36 2015 (r401102) @@ -1,6 +1,6 @@ ---- src/cairo-xlib-display.c.orig 2010-11-21 14:41:31.000000000 -0500 -+++ src/cairo-xlib-display.c 2010-11-21 14:42:12.000000000 -0500 -@@ -353,11 +353,7 @@ _cairo_xlib_device_create (Display *dpy) +--- src/cairo-xlib-display.c.orig 2015-03-10 22:21:07 UTC ++++ src/cairo-xlib-display.c +@@ -263,11 +263,7 @@ _cairo_xlib_device_create (Display *dpy) /* Prior to Render 0.10, there is no protocol support for gradients and * we call function stubs instead, which would silently consume the drawing. */ Modified: head/graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c ============================================================================== --- head/graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c Mon Nov 9 14:50:31 2015 (r401101) +++ head/graphics/cairo/files/patch-util_cairo-sphinx_sphinx.c Mon Nov 9 14:59:36 2015 (r401102) @@ -1,6 +1,6 @@ ---- util/cairo-sphinx/sphinx.c.orig 2014-10-06 15:22:24.000000000 -0400 -+++ util/cairo-sphinx/sphinx.c 2014-10-06 15:23:04.000000000 -0400 -@@ -1325,7 +1325,7 @@ client_shm (const char *shm_path) +--- util/cairo-sphinx/sphinx.c.orig 2015-03-10 22:21:07 UTC ++++ util/cairo-sphinx/sphinx.c +@@ -1337,7 +1337,7 @@ client_shm (const char *shm_path) base = mmap (NULL, DATA_SIZE, PROT_READ | PROT_WRITE, Modified: head/graphics/cairo/pkg-descr ============================================================================== --- head/graphics/cairo/pkg-descr Mon Nov 9 14:50:31 2015 (r401101) +++ head/graphics/cairo/pkg-descr Mon Nov 9 14:59:36 2015 (r401102) @@ -10,4 +10,4 @@ the PDF 1.4 imaging model. Cairo provide and filling Bezier cubic splines, transforming and compositing translucent images, and antialiased text rendering. -WWW: http://www.cairographics.org +WWW: http://www.cairographics.org