pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/R-Cairo graphics/R-Cairo: Import...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/029da8439d54
branches:  trunk
changeset: 308354:029da8439d54
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon May 21 17:12:34 2018 +0000

description:
graphics/R-Cairo: Import version 1.5.9

Cairo graphics device that can be use to create high-quality vector
(PDF, PostScript and SVG) and bitmap output (PNG,JPEG,TIFF), and
high-quality rendering in displays (X11 and Win32). Since it uses the
same back-end for all output, copying across formats is WYSIWYG. Files
are created without the dependence on X11 or other external programs.
This device supports alpha channel (semi-transparent drawing) and
resulting images can contain transparent and semi-transparent regions.
It is ideal for use in server environments (file output) and as a
replacement for other devices that don't have Cairo's capabilities
such as alpha support or anti-aliasing. Backends are modular such that
any subset of backends is supported.

Packaged by Yorick Hardy for pkgsrc-wip and updated by Kamil Rytarowski.

diffstat:

 graphics/R-Cairo/DESCR                   |  11 +++++++++++
 graphics/R-Cairo/Makefile                |  15 +++++++++++++++
 graphics/R-Cairo/distinfo                |   7 +++++++
 graphics/R-Cairo/patches/patch-configure |  26 ++++++++++++++++++++++++++
 4 files changed, 59 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r 10dc4056503d -r 029da8439d54 graphics/R-Cairo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/R-Cairo/DESCR    Mon May 21 17:12:34 2018 +0000
@@ -0,0 +1,11 @@
+Cairo graphics device that can be use to create high-quality vector
+(PDF, PostScript and SVG) and bitmap output (PNG,JPEG,TIFF), and
+high-quality rendering in displays (X11 and Win32). Since it uses the
+same back-end for all output, copying across formats is WYSIWYG. Files
+are created without the dependence on X11 or other external programs.
+This device supports alpha channel (semi-transparent drawing) and
+resulting images can contain transparent and semi-transparent regions.
+It is ideal for use in server environments (file output) and as a
+replacement for other devices that don't have Cairo's capabilities
+such as alpha support or anti-aliasing. Backends are modular such that
+any subset of backends is supported.
diff -r 10dc4056503d -r 029da8439d54 graphics/R-Cairo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/R-Cairo/Makefile Mon May 21 17:12:34 2018 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2018/05/21 17:12:34 minskim Exp $
+
+DISTNAME=      Cairo_1.5-9
+CATEGORIES=    graphics
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.rforge.net/Cairo/
+COMMENT=       R graphics device using cairo graphics library
+LICENSE=       gnu-gpl-v2
+
+BUILDLINK_API_DEPENDS.R+=      R>=2.4.0
+.include "../../math/R/Makefile.extension"
+BUILDLINK_API_DEPENDS.cairo+=  cairo>=1.2
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 10dc4056503d -r 029da8439d54 graphics/R-Cairo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/R-Cairo/distinfo Mon May 21 17:12:34 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/05/21 17:12:34 minskim Exp $
+
+SHA1 (R/Cairo_1.5-9.tar.gz) = dff02930b0006e8c0676b0f0d0ac4d5fc8f2551e
+RMD160 (R/Cairo_1.5-9.tar.gz) = 1f988814682593c57806887b207cd3a8ebdd2bdf
+SHA512 (R/Cairo_1.5-9.tar.gz) = bc220436272bb0e144e6bb89df75fc3da26162c763a837cd3e01e76a4d22e225ef9b5215b6655212fa634ff78df5f43b46c1f633903c5e7e9b379a0cba3010b4
+Size (R/Cairo_1.5-9.tar.gz) = 86982 bytes
+SHA1 (patch-configure) = eb4918abf1d80c02afbeea52aeccaa8675ee2021
diff -r 10dc4056503d -r 029da8439d54 graphics/R-Cairo/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/R-Cairo/patches/patch-configure  Mon May 21 17:12:34 2018 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-configure,v 1.1 2018/05/21 17:12:35 minskim Exp $
+
+Fix "==" tests.
+
+--- configure.orig     2014-06-26 14:50:25.000000000 +0000
++++ configure
+@@ -3461,7 +3461,7 @@ fi
+ 
+ 
+ have_cairo=no
+-if test "xx$CAIRO_LIBS" == "xx"; then
++if test "xx$CAIRO_LIBS" = "xx"; then
+    if test "xx$PKGCONF" != "xx"; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pkg-config knows about cairo" >&5
+ $as_echo_n "checking whether pkg-config knows about cairo... " >&6; }
+@@ -3581,8 +3581,8 @@ fi
+ rm -f core conftest.err conftest.$ac_objext \
+     conftest$ac_exeext conftest.$ac_ext
+ 
+-if test "xx${CAIRO_LIBS}" == "xx"; then
+-   if test $uses_ats == "yes"; then
++if test "xx${CAIRO_LIBS}" = "xx"; then
++   if test $uses_ats = "yes"; then
+       CAIRO_LIBS="-lcairo -lpng -lz -framework ApplicationServices"
+    else
+       CAIRO_LIBs="-lcairo -lpng -lz"



Home | Main Index | Thread Index | Old Index