pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics Spiro is the creation of Raph Levien. It simp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d1ec4ee4b3a
branches:  trunk
changeset: 362090:8d1ec4ee4b3a
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 04 19:21:35 2017 +0000

description:
Spiro is the creation of Raph Levien. It simplifies the drawing of beautiful
curves.

Using bezier splines an artist can easily draw curves with the same slope on
either side of an on-curve point. Spiros, on the other hand, are based on
clothoid splines which make it easy to maintain constant curvature as well as
constant slope. Such curves will simply look nicer.

Raph Levien's spiro splines only use on-curve points and so are easier to use
and more intuitive to the artist.

This library will take an array of spiro control points and convert them into
a series of bezier splines which can then be used in the myriad of ways the
world has come to use beziers.

diffstat:

 graphics/Makefile               |   3 ++-
 graphics/libspiro/DESCR         |  14 ++++++++++++++
 graphics/libspiro/Makefile      |  24 ++++++++++++++++++++++++
 graphics/libspiro/PLIST         |   7 +++++++
 graphics/libspiro/buildlink3.mk |  12 ++++++++++++
 graphics/libspiro/distinfo      |   6 ++++++
 6 files changed, 65 insertions(+), 1 deletions(-)

diffs (100 lines):

diff -r 89d2a4481a68 -r 8d1ec4ee4b3a graphics/Makefile
--- a/graphics/Makefile Thu May 04 18:44:12 2017 +0000
+++ b/graphics/Makefile Thu May 04 19:21:35 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.761 2017/04/04 13:08:16 wiz Exp $
+# $NetBSD: Makefile,v 1.762 2017/05/04 19:21:35 adam Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -323,6 +323,7 @@
 SUBDIR+=       librsvg
 SUBDIR+=       libscigraphica
 SUBDIR+=       libsixel
+SUBDIR+=       libspiro
 SUBDIR+=       libv4l
 SUBDIR+=       libvideogfx
 SUBDIR+=       libwebp
diff -r 89d2a4481a68 -r 8d1ec4ee4b3a graphics/libspiro/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libspiro/DESCR   Thu May 04 19:21:35 2017 +0000
@@ -0,0 +1,14 @@
+Spiro is the creation of Raph Levien. It simplifies the drawing of beautiful
+curves.
+
+Using bezier splines an artist can easily draw curves with the same slope on
+either side of an on-curve point. Spiros, on the other hand, are based on
+clothoid splines which make it easy to maintain constant curvature as well as
+constant slope. Such curves will simply look nicer.
+
+Raph Levien's spiro splines only use on-curve points and so are easier to use
+and more intuitive to the artist.
+
+This library will take an array of spiro control points and convert them into
+a series of bezier splines which can then be used in the myriad of ways the
+world has come to use beziers.
diff -r 89d2a4481a68 -r 8d1ec4ee4b3a graphics/libspiro/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libspiro/Makefile        Thu May 04 19:21:35 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/05/04 19:21:35 adam Exp $
+
+DISTNAME=      libspiro-dist-0.5.20150702
+PKGNAME=       ${DISTNAME:S/-dist-/-/}
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=fontforge/}
+
+MAINTAINER=    adam%NetBSD.org@localhost
+HOMEPAGE=      http://fontforge.github.io/
+COMMENT=       Simplifies the drawing of beautiful curves
+LICENSE=       gnu-gpl-v3
+
+GITHUB_PROJECT=        libspiro
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+
+USE_LANGUAGES=         c
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+
+#PKGCONFIG_OVERRIDE_STAGE=     post-configure
+PKGCONFIG_OVERRIDE+=           libspiro.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r 89d2a4481a68 -r 8d1ec4ee4b3a graphics/libspiro/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libspiro/PLIST   Thu May 04 19:21:35 2017 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2017/05/04 19:21:35 adam Exp $
+include/bezctx.h
+include/bezctx_intf.h
+include/spiro.h
+include/spiroentrypoints.h
+lib/libspiro.la
+lib/pkgconfig/libspiro.pc
diff -r 89d2a4481a68 -r 8d1ec4ee4b3a graphics/libspiro/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libspiro/buildlink3.mk   Thu May 04 19:21:35 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/05/04 19:21:35 adam Exp $
+
+BUILDLINK_TREE+=       libspiro
+
+.if !defined(LIBSPIRO_BUILDLINK3_MK)
+LIBSPIRO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libspiro+=       libspiro>=0.5.20150702
+BUILDLINK_PKGSRCDIR.libspiro?=         ../../graphics/libspiro
+.endif # LIBSPIRO_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libspiro
diff -r 89d2a4481a68 -r 8d1ec4ee4b3a graphics/libspiro/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libspiro/distinfo        Thu May 04 19:21:35 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/05/04 19:21:35 adam Exp $
+
+SHA1 (libspiro-dist-0.5.20150702.tar.gz) = 2520a0d4c43e9db3d2d137885a8a29633f4b2c5e
+RMD160 (libspiro-dist-0.5.20150702.tar.gz) = 7bc98f9a77cd22262f4c1c1b044c6efe14237304
+SHA512 (libspiro-dist-0.5.20150702.tar.gz) = ae09915b2738cc2448df2cb00831e65fa45e887a7af9631d7361f5d2fca0b800588ea1d7c74c42e0e250835f3a322e64d44a7b18b2fd6641ac61e6adc1f03da8
+Size (libspiro-dist-0.5.20150702.tar.gz) = 411900 bytes



Home | Main Index | Thread Index | Old Index