Description

rsvg bindings and wrappers for the D programming language.

Package Information

Version0.0.4 (2014-Nov-01)
Homepagehttps://github.com/jnetterf/librsvg-d
Repositoryhttps://github.com/jnetterf/librsvg-d
LicenseLGPL
CopyrightCopyright © 2014, Josh Netterfield
AuthorsJosh Netterfield
Registered byJosh Netterfield
Dependencies

cairod

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

librsvg-d

librsvg is a library to render SVG files using cairo. librsvg-d is a D binding for librsvg.

Limitations

Not all of librsvg is bound. You may need to add functionality to suit your needs. Pull requests are very welcome.

Dependencies

librsvg depends on cairo and libxml. librsvg-d also depends on cairod. Projects that use librsvg-d need to link against librsvg. The easiest way to use librsvg-d is via dub:

"dependencies": {
    "librsvg-d": ">=0.0.3"
},
"libs": ["rsvg-2.0"]

Troubleshooting

On Mac OS X, if you get an error ld: library not found for -lrsvg-2.0, then run

export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH

If you need PDF, PS, or SVG surface support, you may need to modify cairod's src/cairo/c/config.d.

Available versions

0.0.4 0.0.3 0.0.2