shoes / shoes3

a tiny graphical app kit for ruby
http://walkabout.mvmanila.com
Other
181 stars 19 forks source link

Dependencies need improvements #415

Closed ccoupe closed 5 years ago

ccoupe commented 6 years ago

Dependencies for Shoes are more than a little difficult, In particular, libintl (gettext) is hard to get correct whether building native (msys2) or cross compiling. Although msys2 provides a good starting point there are cases where Msys2 policy and choices are not what Shoes wants.

I stumbled across this project and it did cross compile gettext and iconv as promised. That didn't fix the problem I was working on but it did what it said along with some eye opening behavior (5 busy cores compilng gcc 4 times!) . Looking further, he used the MXE project. That could be very useful for Shoes dependencies.

ccoupe commented 6 years ago

This turned out to be awesome! It took a bit of learning but we have a very simple way for anybody with a linux system to build Shoes and dependencies for Windows. It even builds the Llnux and Windows version of NSIS.

dredknight commented 6 years ago

Awesome! This means that there can be a further integration with the app builder!

ccoupe commented 6 years ago

OSX dependencies are also a bit of a mess. They are loosely tied to having a homebrew installation (libs in /usr/local/lib). Sometimes that tie is not as loose as it should be. There is also a tedious otool/install_name_tool process that fails too often. A new program dylibbundler looks promising.

ccoupe commented 5 years ago

Closing 3.3.7 issues.