Index: head/graphics/libspiro/Makefile =================================================================== --- head/graphics/libspiro/Makefile (revision 509299) +++ head/graphics/libspiro/Makefile (revision 509300) @@ -1,23 +1,24 @@ # Created by: Naram Qashat # $FreeBSD$ PORTNAME= libspiro -DISTVERSION= 0.5.20150702 +DISTVERSION= 20190731 PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Library to convert clothoid splines into Bezier splines LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING +USES= autoreconf gmake libtool pathfix + USE_GITHUB= yes GH_ACCOUNT= fontforge -USES= autoreconf gmake libtool pathfix GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include Index: head/graphics/libspiro/distinfo =================================================================== --- head/graphics/libspiro/distinfo (revision 509299) +++ head/graphics/libspiro/distinfo (revision 509300) @@ -1,2 +1,3 @@ -SHA256 (fontforge-libspiro-0.5.20150702_GH0.tar.gz) = 14f761d83c7fa6be31c4e0317251ed1201b367dc5b2a8678e2da179d74938fc7 -SIZE (fontforge-libspiro-0.5.20150702_GH0.tar.gz) = 82909 +TIMESTAMP = 1566151460 +SHA256 (fontforge-libspiro-20190731_GH0.tar.gz) = 25678f69416115c9d5f909de4013f7a5a44a3f7ca901f912bb6de566cbb70e89 +SIZE (fontforge-libspiro-20190731_GH0.tar.gz) = 96096 Index: head/graphics/libspiro/files/patch-Makefile.am =================================================================== --- head/graphics/libspiro/files/patch-Makefile.am (revision 509299) +++ head/graphics/libspiro/files/patch-Makefile.am (revision 509300) @@ -1,38 +1,41 @@ ---- Makefile.am.orig 2016-10-03 14:37:13 UTC +--- Makefile.am.orig 2019-07-31 14:22:46 UTC +++ Makefile.am @@ -1,6 +1,6 @@ # Makefile.am - Top level automakefile for libspiro -SUBDIRS = . tests +SUBDIRS = . - pkgconfigdir = $(prefix)/libdata/pkgconfig - pkgconfig_DATA = libspiro.pc -@@ -13,7 +13,7 @@ AM_LDFLAGS = $(WLSLIB) $(LS_LIB) -no-und + test_programs = call-test0 call-test1 call-test2 call-test3 call-test4 \ + call-test5 call-test6 call-test7 call-test8 call-test9 \ +@@ -18,7 +18,7 @@ AM_LDFLAGS = $(WLSLIB) $(LS_LIB) -no-undefined --mode= LIBTOOL_DEPS = @LIBTOOL_DEPS@ DISTCLEANFILES = libspiro.pc --DISTCHECK_CONFIGURE_FLAGS = --enable-verbose_lib --enable-test_inputs -+DISTCHECK_CONFIGURE_FLAGS = --enable-verbose_lib --disable-test_inputs +-DISTCHECK_CONFIGURE_FLAGS = --enable-verbose_lib --enable-test_inputs --enable-test-a-lot ++DISTCHECK_CONFIGURE_FLAGS = --enable-verbose_lib --disable-test_inputs --disable-test-a-lot lib_LTLIBRARIES = libspiro.la -@@ -26,17 +26,10 @@ EXTRA_DIST = bezctx.md get-spiro-src.sh +@@ -31,20 +31,13 @@ EXTRA_DIST = bezctx.md get-spiro-src.sh README-RaphLev java/ShowPlate.java java/Spiro.java java/SpiroBezierContext.java \ java/SpiroCanvas.java java/SpiroCP.java java/SpiroGeneralPath.java \ java/SpiroPointType.java README-GeorgeWilliams fontforge-debug.txt \ -- fontforge.sh m4/ax_check_compile_flag.m4 tests/call-test.c -+ fontforge.sh m4/ax_check_compile_flag.m4 +- fontforge.sh m4/ax_check_compile_flag.m4 tests/call-test.c \ ++ fontforge.sh m4/ax_check_compile_flag.m4 \ + path5.png path6.png include_HEADERS = bezctx.h bezctx_intf.h spiro.h spiroentrypoints.h libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status libtool - +- -# test: run all tests in cwd and subdirs --test: ${TEST_PROGS} +-test: $(TEST_PROGS) - -.PHONY: test -# run make test as part of make check -check-local: test -- + + check-valgrind: + if HAVEVALGRIND Index: head/graphics/libspiro/pkg-descr =================================================================== --- head/graphics/libspiro/pkg-descr (revision 509299) +++ head/graphics/libspiro/pkg-descr (revision 509300) @@ -1,18 +1,18 @@ 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. (Above taken from Introduction on the library's website) -WWW: http://libspiro.sourceforge.net/ +WWW: https://github.com/fontforge/libspiro Index: head/graphics/libspiro/pkg-plist =================================================================== --- head/graphics/libspiro/pkg-plist (revision 509299) +++ head/graphics/libspiro/pkg-plist (revision 509300) @@ -1,9 +1,9 @@ include/bezctx.h include/bezctx_intf.h include/spiro.h include/spiroentrypoints.h lib/libspiro.a lib/libspiro.so -lib/libspiro.so.0 -lib/libspiro.so.0.0.5 +lib/libspiro.so.1 +lib/libspiro.so.1.0.0 libdata/pkgconfig/libspiro.pc