pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu May  4 19:21:35 UTC 2017

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/libspiro: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.761 -r1.762 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/libspiro/DESCR \
    pkgsrc/graphics/libspiro/Makefile pkgsrc/graphics/libspiro/PLIST \
    pkgsrc/graphics/libspiro/buildlink3.mk pkgsrc/graphics/libspiro/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.761 pkgsrc/graphics/Makefile:1.762
--- pkgsrc/graphics/Makefile:1.761      Tue Apr  4 13:08:16 2017
+++ pkgsrc/graphics/Makefile    Thu May  4 19:21:35 2017
@@ -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+=    libraw013
 SUBDIR+=       librsvg
 SUBDIR+=       libscigraphica
 SUBDIR+=       libsixel
+SUBDIR+=       libspiro
 SUBDIR+=       libv4l
 SUBDIR+=       libvideogfx
 SUBDIR+=       libwebp

Added files:

Index: pkgsrc/graphics/libspiro/DESCR
diff -u /dev/null pkgsrc/graphics/libspiro/DESCR:1.1
--- /dev/null   Thu May  4 19:21:35 2017
+++ pkgsrc/graphics/libspiro/DESCR      Thu May  4 19:21:35 2017
@@ -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.
Index: pkgsrc/graphics/libspiro/Makefile
diff -u /dev/null pkgsrc/graphics/libspiro/Makefile:1.1
--- /dev/null   Thu May  4 19:21:35 2017
+++ pkgsrc/graphics/libspiro/Makefile   Thu May  4 19:21:35 2017
@@ -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"
Index: pkgsrc/graphics/libspiro/PLIST
diff -u /dev/null pkgsrc/graphics/libspiro/PLIST:1.1
--- /dev/null   Thu May  4 19:21:35 2017
+++ pkgsrc/graphics/libspiro/PLIST      Thu May  4 19:21:35 2017
@@ -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
Index: pkgsrc/graphics/libspiro/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/libspiro/buildlink3.mk:1.1
--- /dev/null   Thu May  4 19:21:35 2017
+++ pkgsrc/graphics/libspiro/buildlink3.mk      Thu May  4 19:21:35 2017
@@ -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
Index: pkgsrc/graphics/libspiro/distinfo
diff -u /dev/null pkgsrc/graphics/libspiro/distinfo:1.1
--- /dev/null   Thu May  4 19:21:35 2017
+++ pkgsrc/graphics/libspiro/distinfo   Thu May  4 19:21:35 2017
@@ -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