diff options
author | minskim <minskim@pkgsrc.org> | 2018-05-21 17:12:34 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-05-21 17:12:34 +0000 |
commit | 0c33e180a7b443225649a9c567be21e5d79add88 (patch) | |
tree | 1252330ff1305cb4b1da798246976362e00ed449 /graphics | |
parent | c1dd201fc51467304d0016d712ea385d502cefa2 (diff) | |
download | pkgsrc-0c33e180a7b443225649a9c567be21e5d79add88.tar.gz |
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 (limited to 'graphics')
-rw-r--r-- | graphics/R-Cairo/DESCR | 11 | ||||
-rw-r--r-- | graphics/R-Cairo/Makefile | 15 | ||||
-rw-r--r-- | graphics/R-Cairo/distinfo | 7 | ||||
-rw-r--r-- | graphics/R-Cairo/patches/patch-configure | 26 |
4 files changed, 59 insertions, 0 deletions
diff --git a/graphics/R-Cairo/DESCR b/graphics/R-Cairo/DESCR new file mode 100644 index 00000000000..2703d2f95c5 --- /dev/null +++ b/graphics/R-Cairo/DESCR @@ -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 --git a/graphics/R-Cairo/Makefile b/graphics/R-Cairo/Makefile new file mode 100644 index 00000000000..70865d071f5 --- /dev/null +++ b/graphics/R-Cairo/Makefile @@ -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 +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 --git a/graphics/R-Cairo/distinfo b/graphics/R-Cairo/distinfo new file mode 100644 index 00000000000..99ad725b2b6 --- /dev/null +++ b/graphics/R-Cairo/distinfo @@ -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 --git a/graphics/R-Cairo/patches/patch-configure b/graphics/R-Cairo/patches/patch-configure new file mode 100644 index 00000000000..a482ea27b51 --- /dev/null +++ b/graphics/R-Cairo/patches/patch-configure @@ -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" |