librelist archives

« back to archive

Shoes on Windows - 20110923 update

Shoes on Windows - 20110923 update

From:
Chuck Remes
Date:
2011-09-23 @ 22:57
I've made some reasonably good progress on getting Shoes building for 
Windows. You can see all of my commits & changes here:

https://github.com/shoes/rubyinstaller

A couple of things...

1. libjpeg

The original scripts for building on Windows assumed that a set of 
binaries and header files was available for libjpeg on its official 
website. That website has undergone some changes and those files no longer
exist. They *do* have source files, so now the recipe has to know how to 
compile and install the library. 

If someone would like to look at this or find an alternative source of 
prebuilt binaries, I would appreciate a hand.

2. Building Shoes itself

The original scripts also assumed that Shoes was built with a makefile. 
There has been a lot of work done on Shoes master to move to a different 
build setup. I am hopeful that the architects of those changes will lend a
hand with the Windows build recipe. 

It would be nice to have all of the build assumptions documented (e.g. 
where are all dependent library headers & libs passed to gcc during 
compilation). I looked at this a little bit a few weeks ago when I did 
some work to get Shoes building with macports, but at that time the build 
system was still half rakefile and half makefile. Help, please.

3. Updating dependencies

Most of the libraries that Shoes on Windows depends on have had several 
revisions since the last build & release. Anyone who has had experience 
with updating these libs on the linux & osx side, please speak up about 
the challenges you have faced. I am also interested in any non-standard 
build practices that are necessary (e.g. apply special patches, moving 
files around, etc) to get the newer libraries to be compatible with Shoes.


I am planning on hacking on this a bit more tomorrow (Saturday). I'll post
my progress. Please join me on irc if you want to help.

cr

Re: [shoes] Shoes on Windows - 20110923 update

From:
ashbb
Date:
2011-09-25 @ 00:03
Hi Chuck,

Sorry for the delay.

The shoes/rubyinstaller on github was not forked from ashbb/rubyinstaller,
but forked from oneclick/rubyinstaller.

Are you trying to build Red Shoes for Windows with Ruby 1.9.2 from scratch?
That's awesome!

As a matter of fact, I've tried the first shot in the past with ruby
1.9.2p0.
Not updated any dependencies, just only updated Ruby from 1.9.1 to 1.9.2,
though. :-P

There are some trivial notes: https://github.com/ashbb/shoes_hack_note

No. 019, 020 and 031 may help you.

ashbb

Re: [shoes] Shoes on Windows - 20110923 update

From:
Steve Klabnik
Date:
2011-09-25 @ 00:09
Yep ash, we're trying from a fresh Rubyinstaller. We think it'll have much
less problems in the long run. Chuck has done some great work so far. :)
On Sep 24, 2011 5:03 PM, "ashbb" <ashbbb@gmail.com> wrote:
> Hi Chuck,
>
> Sorry for the delay.
>
> The shoes/rubyinstaller on github was not forked from ashbb/rubyinstaller,
> but forked from oneclick/rubyinstaller.
>
> Are you trying to build Red Shoes for Windows with Ruby 1.9.2 from
scratch?
> That's awesome!
>
> As a matter of fact, I've tried the first shot in the past with ruby
> 1.9.2p0.
> Not updated any dependencies, just only updated Ruby from 1.9.1 to 1.9.2,
> though. :-P
>
> There are some trivial notes: https://github.com/ashbb/shoes_hack_note
>
> No. 019, 020 and 031 may help you.
>
> ashbb