Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of resvg SVG library (optional during build) #185

Merged
merged 7 commits into from
Jan 19, 2019

Conversation

jonoomph
Copy link
Member

It will take a while for resvg to be packaged in the various Linux distros. It is a rust library, and uses cargo for it's build process. I was unable to include the package in our PPA due to the dependency on cargo (and GitHub is internally used, which is forbidden on LaunchPad's build servers). The Debian packaging will require much more effort than I had hoped, since each cargo dependency would need to be replaced with Debian packages, etc...

* Major refactor of max_width and max_height for preview optimization
* Fixed many bugs related to preview resizing, with regards to cached frames
@jonoomph
Copy link
Member Author

Linux and Mac build servers have resvg manually compiled and available at the moment, so our official AppImage and DMG files will support resvg out of the box. Windows support is still being worked on (but I'm hopeful it will be available soon as well). Linux distros will take much longer before resvg is widely available in repos.

src/QtImageReader.cpp Outdated Show resolved Hide resolved
@jonoomph
Copy link
Member Author

As long as you build and install libresvg.so|dylib into the following places, libopenshot will automatically detect it and link against it:

/usr/local/lib/libresvg.so (found in target/release/.so)
/usr/local/include/resvg/
.h (found in capi/include/*.h files)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants