librelist archives

« back to archive

quick comments on 3.1 beta

quick comments on 3.1 beta

From:
serialhex
Date:
2012-02-21 @ 01:19
building on linux:  i'm runnning archlinux, and doing `yaourt -S shoes-git`
was spot-on and worked beautifully!!  (it always makes me wonder why people
think it's hard to install programs on linux... then i realize that i had
to do that in the console.... ooh, that's so scarry!!)

building on windows:    ..........wtf?  seriously?!?!  i have to jump
through HOW many hoops of fire to get that to work??

so i'm not a windows dev, nor do i have a (real) windows machine to work
on, but that's just sad...  anyone have any ideas/places one can go to try
and make this better??  how do we turn shoes into a simple exe??  as much
as i loathe windows, that platform should definitely be supported.

that's just my 0.02 cents
hex

p.s. yes, 0.02 cents, not 2 cents :P

-- 
*  my blog is cooler than yours: http://serialhex.github.com
*  The wise man said: "Never argue with an idiot. They bring you down to
their level and beat you with experience."
*  As a programmer, it is your job to put yourself out of business. What
you do today can be automated tomorrow. ~Doug McIlroy
No snowflake in an avalanche ever feels responsible.
---
CFO: “What happens if we train people and they leave?”
CTO: “What if we don’t and they stay?”

Re: [shoes] quick comments on 3.1 beta

From:
Steve Klabnik
Date:
2012-02-21 @ 01:32
It already should make a simple .exe. You can find the windows build
instructions here:
https://github.com/shoes/shoes/wiki/Building-Shoes-on-Windows

Or, check Cecil's thread for an explanation of his new method, which
isn't 100% up and running yet, but is close!

Re: [shoes] quick comments on 3.1 beta

From:
Cecil Coupe
Date:
2012-02-21 @ 09:21
hex,

Cecil's thread is here:
https://github.com/ccoupe/shoes/wiki/Cross-Compile-in-Linux-to-MingW-Windows-Shoes
It's not a recipe - it's a lab notebook of what worked and what didn't
and what still needs to be done.

I think I might have found the correct gopher holes to explore and fix
on the encoding problem. Assume I get that working on an older version
of shoes (r1527) in a week or so. Might even get r1741 to work. There
will still be more Windows issues to resolve.

If you want to **build** a shoes.exe **from source** you need a build
environment. Pick one: (1) use Windows/msys/mingw/ in a VM is OK or (2)
Install the mingw cross compiler environment for Arch Linux and  Wine.
Grab my rakefiles from https://github.com/ccoupe/shoes (crossmingw,
rake_xmingw make/xmingw*

Which ever build environment you choose, you will have to build the
dependent libraries (or copy them and build the missing or both). I'm
sure the OSX folks can tell you horror stories about building deps and
their repositories. Building Shoes on Windows wasn't easy for ashbb and
it wasn't easy for me and I'm not done but it's not hard rocket science,
just slow rocket science.

BUT. It's what you have to do to be a multi-platform Shoes C level
developer using FOSS code. **None** of us Red Shoes folk will bend MSFT
or AAPL (or Ubuntu/Fedora/Arch, GNOME, Unity) to **our** will. That
won't happen. As Red Shoes developers, we have to accommodate what we
are given to work with. As do the Green Shoes and Brown Shoes
developers.

If you want to make Shoes Windows exe installs you'll need Windows (to
test against, or build with, your choice). If you want to build OSX
installers you'll need an OSX box. If you want to build Ubuntu 12.04Rc3
installers you'll need a 12.04rc3 box (or VM) and 10.04 VM to see what
if you broke.  Somethings you can control, many things not so much,

On Mon, 2012-02-20 at 20:32 -0500, Steve Klabnik wrote:
> It already should make a simple .exe. You can find the windows build
> instructions here:
> https://github.com/shoes/shoes/wiki/Building-Shoes-on-Windows
> 
> Or, check Cecil's thread for an explanation of his new method, which
> isn't 100% up and running yet, but is close!

Re: [shoes] quick comments on 3.1 beta

From:
ashbb
Date:
2012-02-21 @ 12:17
Hi hex, Steve, Cecil and folks,

I've not compiled Red Shoes for Windows for over a year.
I have to reconstruct an environment from scratch if I'll get back to
developing Red Shoes 3.1.

So at first, let's fix Ruby version. 1.9.3-p125 ?

ashbb

Re: [shoes] quick comments on 3.1 beta

From:
Steve Klabnik
Date:
2012-02-21 @ 13:40
> So at first, let's fix Ruby version. 1.9.3-p125 ?

I'm totally fine with anything. 1.9.3 wasn't a huge upgrade from
1.9.2, so it's likely to not be a big deal. I know 1.9.3 works on both
Mac and Linux, so if we want to just shoot for the stars, I'm okay
with that.

I'll have to figure out how to get Windows on this Air. :)

Re: [shoes] quick comments on 3.1 beta

From:
Eric Watson
Date:
2012-02-21 @ 14:22
I read somewhere Luis Lavena saying that lots of encoding related
issues were fixed in 1.9.3, for what it's worth

On Feb 21, 2012, at 8:40 AM, Steve Klabnik <steve@steveklabnik.com> wrote:

>> So at first, let's fix Ruby version. 1.9.3-p125 ?
>
> I'm totally fine with anything. 1.9.3 wasn't a huge upgrade from
> 1.9.2, so it's likely to not be a big deal. I know 1.9.3 works on both
> Mac and Linux, so if we want to just shoot for the stars, I'm okay
> with that.
>
> I'll have to figure out how to get Windows on this Air. :)

Re: [shoes] quick comments on 3.1 beta

From:
Cecil Coupe
Date:
2012-02-22 @ 04:15
I just did an rvm install of 1.9.3-p125 which compiled and installed on
my Linux box (unlike  1.9.3-p0 which failed). Shoes r1741 builds and
runs (probably OK) but there 3 errors on the terminal screen 

> ccoupe@twb:~/Projects/shoes3.1/shoes$ dist/shoes 
> 
/home/ccoupe/Projects/shoes3.1/shoes/dist/ruby/lib/x86_64-linux/rbconfig.rb:9:
warning: already initialized constant TOPDIR
> 
/home/ccoupe/Projects/shoes3.1/shoes/dist/ruby/lib/x86_64-linux/rbconfig.rb:11:
warning: already initialized constant CONFIG
> 
/home/ccoupe/Projects/shoes3.1/shoes/dist/ruby/lib/x86_64-linux/rbconfig.rb:202:
warning: already initialized constant MAKEFILE_CONFIG

I'm not going to debug that soon. Maybe it's fixed in later versions of
Shoes. If not, it needs fixing because it's annoying and indicates Shoes
startup has some issues to resolve.

For the dependency libs and versions numbers that would be in Policeman
3.1, I don't worry too much. The api's are stable enough and who among
us is willing to write new Shoes C code for 3 platforms expose a new
feature of Pango or Cairo (for example) to Shoes? Not many. 

Windows also limits us to using the versions maintained by others. For
cross compiling I used the gtk+-bundle_2.24.8-20111122 from
http://www.gtk.org/download/win32.php. I doubt there is much difference
from what Ashbb was using in Shoes 3.0 and what I used with the cross
compile.


On Tue, 2012-02-21 at 21:17 +0900, ashbb wrote:
> Hi hex, Steve, Cecil and folks,
> 
> I've not compiled Red Shoes for Windows for over a year.
> I have to reconstruct an environment from scratch if I'll get back to
> developing Red Shoes 3.1.
> 
> So at first, let's fix Ruby version. 1.9.3-p125 ?
> 
> ashbb