Port details |
- nanosvg Simple C++ header-only SVG parser
- g20221204 graphics =2 g20221204Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2019-09-21 14:44:49
- Last Update: 2023-01-16 09:04:34
- Commit Hash: b353f5d
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: ZLIB
- WWW:
- https://github.com/memononen/nanosvg
- Description:
- NanoSVG is a simple stupid single-header-file SVG parse. The output of the
parser is a list of cubic bezier shapes.
The library suits well for anything from rendering scalable icons in your editor
application to prototyping a game.
NanoSVG supports a wide range of SVG features, but something may be missing,
feel free to create a pull request!
The shapes in the SVG images are transformed by the viewBox and converted to
specified units. That is, you should get the same looking data as your designed
in your favorite app.
NanoSVG can return the paths in few different units. For example if you want to
render an image, you may choose to get the paths in pixels, or if you are
feeding the data into a CNC-cutter, you may want to use millimeters.
The units passed to NanoSVG should be one of: 'px', 'pt', 'pc' 'mm', 'cm', or
'in'. DPI (dots-per-inch) controls how the unit conversion is done.
If you don't know or care about the units stuff, "px" and 96 should get you
going.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- nanosvg>0:graphics/nanosvg
- To install the port:
- cd /usr/ports/graphics/nanosvg/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/nanosvg
- pkg install nanosvg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: nanosvg
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1673859488
SHA256 (memononen-nanosvg-g20221204-9da543e_GH0.tar.gz) = cd1e5ec2f039ee08fa2cb13024a915e42a27deb8158df1dd7af43b768498d511
SIZE (memononen-nanosvg-g20221204-9da543e_GH0.tar.gz) = 297944
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- This port is required by:
- for Build
-
- audio/surge-synthesizer-lv2
- audio/surge-synthesizer-xt-lv2
- x11-wm/icewm
Configuration Options:
- No options to configure
- Options name:
- graphics_nanosvg
- USES:
- cpe
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
g20221204 16 Jan 2023 09:04:34 |
Yuri Victorovich (yuri) |
graphics/nanosvg: Update g20210903 -> g20221204 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
g20210903 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
g20210903 19 Oct 2021 10:43:33 |
Stefan Eßer (se) |
graphics/nanosvg: Add CPE information
Approved by: portmgr (blanket) |
g20210903 16 Oct 2021 18:27:03 |
Yuri Victorovich (yuri) |
graphics/nanosvg: Update g20210330 -> g20210903 |
g20210330 26 Apr 2021 22:56:19 |
Yuri Victorovich (yuri) |
graphics/nanosvg: Update g20190422 -> g20210330 |
g20190422 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
g20190422 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
g20190422 21 Sep 2019 14:44:42 |
yuri |
New port: graphics/nanosvg: Simple C++ header-only SVG parser |