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

Download .dll files when needed on windows #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Download .dll files when needed on windows #4

wants to merge 2 commits into from

Conversation

retupmoca
Copy link
Contributor

Similar to the GTK::Simple treatment. All used files are already hosted, so this should be ready to go.

If there are no system-installed (in $PATH) cairo .dll files installed, we
download some "bundled" ones.

Note that these were already hosted for use by GTK::Simple, but we
re-download them here since we don't have any dependency on GTK::Simple.
We use the first 100 or so lines in the file to load everything in
dependency order, but now we don't rely on anything being in $PATH
@dwarring
Copy link
Collaborator

I'm looking to port several other Raku binding to windows, including freetype, libxml and fontconfig.

I like the approach, but prefer to factor out the logic from Gtk::Simple into a common module for fetching DLLs and managing dependencies rather than replicate it across several modules.

@dwarring
Copy link
Collaborator

WRT the repo, In some cases, such as libxml, and iconv it'd also be handy to have corresponding .h files for development purposes.

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