From d1b18f40fc246d268f0e34568b9cbf54361d6de6 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 1 Sep 2009 14:33:39 +0000 Subject: 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. --- graphics/libxmi/DESCR | 12 ++++++++++++ graphics/libxmi/Makefile | 20 ++++++++++++++++++++ graphics/libxmi/PLIST | 4 ++++ graphics/libxmi/buildlink3.mk | 12 ++++++++++++ graphics/libxmi/distinfo | 5 +++++ 5 files changed, 53 insertions(+) create mode 100644 graphics/libxmi/DESCR create mode 100644 graphics/libxmi/Makefile create mode 100644 graphics/libxmi/PLIST create mode 100644 graphics/libxmi/buildlink3.mk create mode 100644 graphics/libxmi/distinfo 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 -- cgit v1.2.3