toy/image_optim_pack

Windows support

Closed this issue · 4 comments

grv87 commented

Do you have any plans to support Windows as well?

toy commented

Few times there were ideas, but for now no plans; while I would like this gem to make it very simple to use image_optim on every platform were ruby can run, I think there is way more complexity involved in adding windows support than it was in adding *bsd support or may be in adding ARM support (for raspberry; while not a different os, but still not supported by virtualbox).

grv87 commented

@toy, is there a list of tasks that should be performed to add support for new platform?

toy commented

Currently the binaries building process requires a platform that can be run on virtualbox through vagrant, has a package manager, allows connection using ssh and running POSIX compilant shell scripts, gnu make, c compiler and several other tools. Probably this is all somehow possible on windows, but my knowledge about the platform is very vague. Maybe there is a different, easier way for windows, like for example for ARM on raspberry it may be easier to ssh to a real device. Anyway you can at least check what I did for bsd systems in dfda0f8.
In the end it should be made possible to compile all platform binaries in fully automated way in decent amount of time and the binaries should be as self contained as possible (in balance with their size).

toy commented

Please reopen or open a new issue if you decide to undertake the task