Skip to content

Download .dll files when needed on windows#4

Open
retupmoca wants to merge 2 commits intotimo:masterfrom
retupmoca:dllfetch
Open

Download .dll files when needed on windows#4
retupmoca wants to merge 2 commits intotimo:masterfrom
retupmoca:dllfetch

Conversation

@retupmoca
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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