General question about using binaries / building neovide with ebuild #824
-
Hi there, I have been using your skia-safe package and by extension skia-bindings as a component of building neovide. During my experimentation with trying to use skia binaries, I came across an issue where the bindings config script was requesting a definitions file despite gn and ninja never having been called. On your README, it says that using the binaries causes a skip of the skia build and bindings generation altogether. This doesn't seem to be the actual behavior of the build script. The build.rs has the following logic that it seems to bump into when I have a
I'm not super sure if I'm not reading something correctly in the README and this is completely on me. I've been able to successfully build skia and generate bindings with your build script which I greatly appreciate. If this is the intended behavior, would it be possible to include the definitions file into the binary releases? This would cut down my build times by a good 4:30ish min. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hmm, may be there is a misunderstanding, or I do not understand the problem because I lack detailed knowledge of the neovide packaging / build process, but if the crate is used, matching binaries are downloaded by skia-binding's for which the statement:
is true. The build against If you need If you'd like to use a repository clone, you can enforce the download of the binaries by setting And this might be related: #479 |
Beta Was this translation helpful? Give feedback.
Hmm, may be there is a misunderstanding, or I do not understand the problem because I lack detailed knowledge of the neovide packaging / build process, but if the crate is used, matching binaries are downloaded by skia-binding's
build.rs
from the skia-binaries repository, e.g. from: https://github.com/rust-skia/skia-binaries/releases/tag/0.64.0 if they are available for the target platform.for which the statement:
is true.
The build against
SKIA_LIBRARY_SEARCH_PATH
is not recommended, because Skia's API is in constant flux and building libraries that match the bindings is…