summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-05-22 21:30:31 +0000
committeragc <agc@pkgsrc.org>2002-05-22 21:30:31 +0000
commitea14214971b8ea51aa17266c7a95ce36d689f871 (patch)
tree70643f315cdc0cc24fbb0abd943577c193f5b27f /graphics
parentcf143c1dbef6c7d71cd2161412ab8e33adfdcf98 (diff)
downloadpkgsrc-ea14214971b8ea51aa17266c7a95ce36d689f871.tar.gz
Initial import of libart2-2.3.8, a high-performance 2D graphics library,
into the NetBSD packages collection. Provided in PR 16932 by jmmv@hispabsd.org (Julio Merino). Libart is a library for high-performance 2D graphics. It is currently being used as the antialiased rendering engine for the Gnome Canvas. It is also the rendering engine for Gill, the Gnome Illustration app. Libart supports a very powerful imaging model, basically the same as SVG and the Java 2D API. It includes all PostScript imaging operations, and adds antialiasing and alpha-transparency. Libart is also highly tuned for incremental rendering. It contains data structures and algorithms suited to rapid, precise computation of Region of Interest, as well as a two-phase rendering pipeline optimized for interactive display.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libart2/DESCR12
-rw-r--r--graphics/libart2/Makefile19
-rw-r--r--graphics/libart2/PLIST54
-rw-r--r--graphics/libart2/buildlink.mk36
-rw-r--r--graphics/libart2/distinfo4
5 files changed, 125 insertions, 0 deletions
diff --git a/graphics/libart2/DESCR b/graphics/libart2/DESCR
new file mode 100644
index 00000000000..301a084aeb8
--- /dev/null
+++ b/graphics/libart2/DESCR
@@ -0,0 +1,12 @@
+Libart is a library for high-performance 2D graphics. It is currently
+being used as the antialiased rendering engine for the Gnome Canvas.
+It is also the rendering engine for Gill, the Gnome Illustration app.
+
+Libart supports a very powerful imaging model, basically the same as
+SVG and the Java 2D API. It includes all PostScript imaging
+operations, and adds antialiasing and alpha-transparency.
+
+Libart is also highly tuned for incremental rendering. It contains
+data structures and algorithms suited to rapid, precise computation
+of Region of Interest, as well as a two-phase rendering pipeline
+optimized for interactive display.
diff --git a/graphics/libart2/Makefile b/graphics/libart2/Makefile
new file mode 100644
index 00000000000..1f5fc933649
--- /dev/null
+++ b/graphics/libart2/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/22 21:30:31 agc Exp $
+
+DISTNAME= libart_lgpl-2.3.8
+PKGNAME= libart2-2.3.8
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GNOME:=pre-gnome2/sources/libart_lgpl/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jmmv@hispabsd.org
+HOMEPAGE= http://www.levien.com/libart/
+COMMENT= High-performance 2D graphics library
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK_ONLY= YES
+USE_LIBTOOL= YES
+USE_X11BASE= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libart2/PLIST b/graphics/libart2/PLIST
new file mode 100644
index 00000000000..f692ff5cdba
--- /dev/null
+++ b/graphics/libart2/PLIST
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/22 21:30:31 agc Exp $
+bin/libart2-config
+include/libart-2.0/libart_lgpl/art_affine.h
+include/libart-2.0/libart_lgpl/art_alphagamma.h
+include/libart-2.0/libart_lgpl/art_bpath.h
+include/libart-2.0/libart_lgpl/art_config.h
+include/libart-2.0/libart_lgpl/art_filterlevel.h
+include/libart-2.0/libart_lgpl/art_gray_svp.h
+include/libart-2.0/libart_lgpl/art_misc.h
+include/libart-2.0/libart_lgpl/art_pathcode.h
+include/libart-2.0/libart_lgpl/art_pixbuf.h
+include/libart-2.0/libart_lgpl/art_point.h
+include/libart-2.0/libart_lgpl/art_rect.h
+include/libart-2.0/libart_lgpl/art_rect_svp.h
+include/libart-2.0/libart_lgpl/art_rect_uta.h
+include/libart-2.0/libart_lgpl/art_render.h
+include/libart-2.0/libart_lgpl/art_render_gradient.h
+include/libart-2.0/libart_lgpl/art_render_mask.h
+include/libart-2.0/libart_lgpl/art_render_svp.h
+include/libart-2.0/libart_lgpl/art_rgb.h
+include/libart-2.0/libart_lgpl/art_rgb_a_affine.h
+include/libart-2.0/libart_lgpl/art_rgb_affine.h
+include/libart-2.0/libart_lgpl/art_rgb_bitmap_affine.h
+include/libart-2.0/libart_lgpl/art_rgb_pixbuf_affine.h
+include/libart-2.0/libart_lgpl/art_rgb_rgba_affine.h
+include/libart-2.0/libart_lgpl/art_rgb_svp.h
+include/libart-2.0/libart_lgpl/art_rgba.h
+include/libart-2.0/libart_lgpl/art_svp.h
+include/libart-2.0/libart_lgpl/art_svp_intersect.h
+include/libart-2.0/libart_lgpl/art_svp_ops.h
+include/libart-2.0/libart_lgpl/art_svp_point.h
+include/libart-2.0/libart_lgpl/art_svp_render_aa.h
+include/libart-2.0/libart_lgpl/art_svp_vpath.h
+include/libart-2.0/libart_lgpl/art_svp_vpath_stroke.h
+include/libart-2.0/libart_lgpl/art_svp_wind.h
+include/libart-2.0/libart_lgpl/art_uta.h
+include/libart-2.0/libart_lgpl/art_uta_ops.h
+include/libart-2.0/libart_lgpl/art_uta_rect.h
+include/libart-2.0/libart_lgpl/art_uta_svp.h
+include/libart-2.0/libart_lgpl/art_uta_vpath.h
+include/libart-2.0/libart_lgpl/art_vpath.h
+include/libart-2.0/libart_lgpl/art_vpath_bpath.h
+include/libart-2.0/libart_lgpl/art_vpath_dash.h
+include/libart-2.0/libart_lgpl/art_vpath_svp.h
+include/libart-2.0/libart_lgpl/libart-features.h
+include/libart-2.0/libart_lgpl/libart.h
+lib/libart_lgpl_2.a
+lib/libart_lgpl_2.la
+lib/libart_lgpl_2.so
+lib/libart_lgpl_2.so.5
+lib/libart_lgpl_2.so.5.8
+lib/pkgconfig/libart-2.0.pc
+@dirrm include/libart-2.0/libart_lgpl
+@dirrm include/libart-2.0
diff --git a/graphics/libart2/buildlink.mk b/graphics/libart2/buildlink.mk
new file mode 100644
index 00000000000..07b6e9a86f7
--- /dev/null
+++ b/graphics/libart2/buildlink.mk
@@ -0,0 +1,36 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/05/22 21:30:31 agc Exp $
+#
+# This Makefile fragment is included by packages that use the library
+# provided by libart2.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.libart2 to the dependency
+# pattern for the version of libart2 desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(LIBART2_BUILDLINK_MK)
+LIBART2_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.libart2?= libart2>=2.3.8
+DEPENDS+= ${BUILDLINK_DEPENDS.libart2}:../../graphics/libart2
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libart2=libart2
+BUILDLINK_PREFIX.libart2= ${LOCALBASE}
+BUILDLINK_FILES.libart2= bin/libart22-config
+BUILDLINK_FILES.libart2+= include/libart2-2.0/libart2_lgpl/*
+BUILDLINK_FILES.libart2+= lib/libart2_lgpl_2.*
+
+BUILDLINK_TARGETS.libart2= libart2-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libart2}
+
+pre-configure: ${BUILDLINK_TARGETS.libart2}
+libart2-buildlink: _BUILDLINK_USE
+
+.endif # LIBART2_BUILDLINK_MK
diff --git a/graphics/libart2/distinfo b/graphics/libart2/distinfo
new file mode 100644
index 00000000000..21e08ee0fbe
--- /dev/null
+++ b/graphics/libart2/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/22 21:30:31 agc Exp $
+
+SHA1 (libart_lgpl-2.3.8.tar.bz2) = f87fe20d8135a5778112aea28698f6022a779a06
+Size (libart_lgpl-2.3.8.tar.bz2) = 205615 bytes