BSD Ports

graphics/libspiro 20240903,1 FreeBSD

Library to convert clothoid splines into Bezier splines

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv3+
Categories
graphics
Package size
32.1 KiB, 96.0 KiB installed

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.

(Above taken from Introduction on the library's website)

In the other systems

SystemPortVersion
FreeBSDgraphics/libspiro20240903,1
OpenBSDgraphics/libspiro20240903
NetBSDgraphics/libspiro1.5.0.20240903
DragonFlygraphics/libspiro20221101_1,1
MidnightBSDgraphics/libspiro20240903,1

Install

Binary package:

pkg install libspiro

From the ports tree:

cd /usr/ports/graphics/libspiro/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libspiro>0:graphics/libspiro
LIB_DEPENDS=	libspiro.so:graphics/libspiro

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest20240903,120240903,120221101,120240903,120240903,1
FreeBSD:14:quarterly20240903,120240903,1n/a20240903,120240903,1
FreeBSD:15:latest20240903,120240903,1n/a20240903,120240903,1
FreeBSD:15:quarterly20240903,120240903,1n/an/an/a
FreeBSD:16:latest20240903,120240903,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Configuration

No options to configure.

USES
cpe libtool pathfix
Service scripts
none

Files

Manual pages 1
  • libspiro(3)
pkg-plist 9
  • include/bezctx.h
  • include/spiro.h
  • include/spiroentrypoints.h
  • lib/libspiro.a
  • lib/libspiro.so
  • lib/libspiro.so.1
  • lib/libspiro.so.1.0.5
  • libdata/pkgconfig/libspiro.pc
  • share/man/man3/libspiro.3.gz
distinfo 1
FileSizeSHA256
libspiro-dist-20240903.tar.gz4366451412a21b943c6e1db834ee2d74145aad20b3f62b12152d475613b8241d9cde10
Master sites 1
  • https://github.com/fontforge/libspiro/releases/download/20240903/

Commit history 0

No commits in the history this site was built from.