summaryrefslogtreecommitdiff
path: root/graphics/libxmi
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2009-09-01 14:33:39 +0000
committeradam <adam@pkgsrc.org>2009-09-01 14:33:39 +0000
commitd1b18f40fc246d268f0e34568b9cbf54361d6de6 (patch)
treef06a1b960508d244f574109ac9a7b2921d9c5624 /graphics/libxmi
parenta01237bcfd924de4a871e8fdca0358ce08972087 (diff)
downloadpkgsrc-d1b18f40fc246d268f0e34568b9cbf54361d6de6.tar.gz
libxmi is a machine-independent vector graphics rasterization library.
libxmi is based on the vector graphics code in the sample X server that is a part of the X Window System distribution. The code has been converted to ANSI C, extensively rearranged and commented, and somewhat extended. (In particular, by adding support for multicolored dashing.) The core API includes functions for creating, manipulating, and destroying miPaintSet objects. It also includes functions for creating, manipulating, and destroying miCanvas objects. The function miCopyPaintedSetToCanvas() moves the points in a miPaintedSet to the next stage of the graphics pipeline: it merges them onto a miCanvas. There is support in this second stage for sophisticated pixel-merging algorithms.
Diffstat (limited to 'graphics/libxmi')
-rw-r--r--graphics/libxmi/DESCR12
-rw-r--r--graphics/libxmi/Makefile20
-rw-r--r--graphics/libxmi/PLIST4
-rw-r--r--graphics/libxmi/buildlink3.mk12
-rw-r--r--graphics/libxmi/distinfo5
5 files changed, 53 insertions, 0 deletions
diff --git a/graphics/libxmi/DESCR b/graphics/libxmi/DESCR
new file mode 100644
index 00000000000..ec396d89eac
--- /dev/null
+++ b/graphics/libxmi/DESCR
@@ -0,0 +1,12 @@
+libxmi is a machine-independent vector graphics rasterization library.
+libxmi is based on the vector graphics code in the sample X server that is
+a part of the X Window System distribution. The code has been converted
+to ANSI C, extensively rearranged and commented, and somewhat extended.
+(In particular, by adding support for multicolored dashing.)
+
+The core API includes functions for creating, manipulating, and destroying
+miPaintSet objects. It also includes functions for creating, manipulating,
+and destroying miCanvas objects. The function miCopyPaintedSetToCanvas()
+moves the points in a miPaintedSet to the next stage of the graphics
+pipeline: it merges them onto a miCanvas. There is support in this second
+stage for sophisticated pixel-merging algorithms.
diff --git a/graphics/libxmi/Makefile b/graphics/libxmi/Makefile
new file mode 100644
index 00000000000..30272a0c138
--- /dev/null
+++ b/graphics/libxmi/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/01 14:33:39 adam Exp $
+
+DISTNAME= libxmi-1.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GNU:=libxmi/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/libxmi/
+COMMENT= C/C++ function library for rasterizing 2D vector graphics
+
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+INFO_FILES= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libxmi/PLIST b/graphics/libxmi/PLIST
new file mode 100644
index 00000000000..00c180bb635
--- /dev/null
+++ b/graphics/libxmi/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/01 14:33:39 adam Exp $
+include/xmi.h
+info/libxmi.info
+lib/libxmi.la
diff --git a/graphics/libxmi/buildlink3.mk b/graphics/libxmi/buildlink3.mk
new file mode 100644
index 00000000000..4cb2cc1ec26
--- /dev/null
+++ b/graphics/libxmi/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/09/01 14:33:39 adam Exp $
+
+BUILDLINK_TREE+= libxmi
+
+.if !defined(LIBXMI_BUILDLINK3_MK)
+LIBXMI_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libxmi+= libxmi>=1.2
+BUILDLINK_PKGSRCDIR.libxmi?= ../../graphics/libxmi
+.endif # LIBXMI_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libxmi
diff --git a/graphics/libxmi/distinfo b/graphics/libxmi/distinfo
new file mode 100644
index 00000000000..df89b10d78e
--- /dev/null
+++ b/graphics/libxmi/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/09/01 14:33:39 adam Exp $
+
+SHA1 (libxmi-1.2.tar.gz) = 62fa13ec4c8b706729c2553122e44f81715f3c0b
+RMD160 (libxmi-1.2.tar.gz) = 6622ed9793605380c8f55f93bf953182fff07dd4
+Size (libxmi-1.2.tar.gz) = 302662 bytes