summaryrefslogtreecommitdiff
path: root/graphics/libart
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-09-21 13:00:17 +0000
committerwiz <wiz@pkgsrc.org>2007-09-21 13:00:17 +0000
commit9dd49b215ba1d698b891266422c1ca5583c4a0cf (patch)
treee5ded20640728df98866f48d29beb58c43889c02 /graphics/libart
parent697c0bff03b6e5555324cc17f270f1ec6ca5dbb6 (diff)
downloadpkgsrc-9dd49b215ba1d698b891266422c1ca5583c4a0cf.tar.gz
Rename libart2 to libart to match the upstream name.
Diffstat (limited to 'graphics/libart')
-rw-r--r--graphics/libart/DESCR12
-rw-r--r--graphics/libart/Makefile23
-rw-r--r--graphics/libart/PLIST50
-rw-r--r--graphics/libart/buildlink3.mk20
-rw-r--r--graphics/libart/distinfo6
-rw-r--r--graphics/libart/patches/patch-aa23
6 files changed, 134 insertions, 0 deletions
diff --git a/graphics/libart/DESCR b/graphics/libart/DESCR
new file mode 100644
index 00000000000..301a084aeb8
--- /dev/null
+++ b/graphics/libart/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/libart/Makefile b/graphics/libart/Makefile
new file mode 100644
index 00000000000..14045910449
--- /dev/null
+++ b/graphics/libart/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2007/09/21 13:00:17 wiz Exp $
+
+DISTNAME= libart_lgpl-2.3.19
+PKGNAME= ${DISTNAME:S/_lgpl//}
+PKGREVISION= 1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libart_lgpl/2.3/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://www.levien.com/libart/
+COMMENT= High-performance 2D graphics library
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+PKGCONFIG_OVERRIDE= libart-2.0.pc.in
+# bmake cannot handle the self-made libtool logic in Makefile.am.
+USE_TOOLS+= gmake
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libart/PLIST b/graphics/libart/PLIST
new file mode 100644
index 00000000000..a65b3d1b00f
--- /dev/null
+++ b/graphics/libart/PLIST
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1 2007/09/21 13:00:18 wiz 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.la
+lib/pkgconfig/libart-2.0.pc
+@dirrm include/libart-2.0/libart_lgpl
+@dirrm include/libart-2.0
diff --git a/graphics/libart/buildlink3.mk b/graphics/libart/buildlink3.mk
new file mode 100644
index 00000000000..0655316f68c
--- /dev/null
+++ b/graphics/libart/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/09/21 13:00:18 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBART_BUILDLINK3_MK:= ${LIBART_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libart
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibart}
+BUILDLINK_PACKAGES+= libart
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libart
+
+.if !empty(LIBART_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.libart+= libart>=2.3.10nb1
+BUILDLINK_ABI_DEPENDS.libart+= libart>=2.3.16nb1
+BUILDLINK_PKGSRCDIR.libart?= ../../graphics/libart
+.endif # LIBART_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/graphics/libart/distinfo b/graphics/libart/distinfo
new file mode 100644
index 00000000000..749df385d6c
--- /dev/null
+++ b/graphics/libart/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2007/09/21 13:00:18 wiz Exp $
+
+SHA1 (libart_lgpl-2.3.19.tar.bz2) = 7f1ff36c91cdc8f14b62acb50836f52a0c735b9e
+RMD160 (libart_lgpl-2.3.19.tar.bz2) = 36dca48e3ddcd7e9d11f79e54dd7007cf97ac079
+Size (libart_lgpl-2.3.19.tar.bz2) = 302540 bytes
+SHA1 (patch-aa) = 2576a37874eaafe933825ebd1ac7fc8d05cb9ee4
diff --git a/graphics/libart/patches/patch-aa b/graphics/libart/patches/patch-aa
new file mode 100644
index 00000000000..e05c8e683ed
--- /dev/null
+++ b/graphics/libart/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1 2007/09/21 13:00:18 wiz Exp $
+
+--- art_misc.h.orig 2007-03-01 18:50:10.000000000 +0100
++++ art_misc.h
+@@ -34,10 +34,18 @@
+ #include <libart_lgpl/art_config.h>
+ #endif
+
++#ifdef __cplusplus
++extern "C" {
++#endif /* __cplusplus */
++
+ void *art_alloc(size_t size);
+ void art_free(void *ptr);
+ void *art_realloc(void *ptr, size_t size);
+
++#ifdef __cplusplus
++}
++#endif /* __cplusplus */
++
+ /* These aren't, strictly speaking, configuration macros, but they're
+ damn handy to have around, and may be worth playing with for
+ debugging. */