Re: [shoes] green_shoes button size headache
- From:
- i5m
- Date:
- 2011-03-01 @ 16:14
I managed to get Green Shoes running on my ageing 10.5 PPC Mac so it
should be easily possible on a newer Mac. Basically follow the Ubuntu
instructions:
https://github.com/ashbb/green_shoes/wiki/Building-Green-Shoes-on-Ubuntu
1) You need to install the OSX Developer tools
2) and then I used Macports since I already had it available, but I
believe the new cool way is Homebrew,
2a) Install Ruby 1.9
2b) Install Cairo
2c) Install gtk
2d) Install the Cairo and gtk gems
3) Install the green shoes gem (at the time I did it the gem wasn't
available so I just cloned ashbb's repo and ran it from there).
Job done.
-----------------------
i5m.co.uk
GPG Key: 0xA18A602B
On Tue, Mar 1, 2011 at 3:30 PM, ashbb <ashbbb@gmail.com> wrote:
> Hi Elias,
>
>
>> I can't find instructions for installing green on the Mac.
> Oh, sorry...
> For now, green_shoes gem is available on Windows and Linux.
> But if you can use X11 for Mac, i5m will help you. > Hey, i5m. Could you
> please?
>
> ashbb
>
Re: [shoes] green_shoes button size headache
- From:
- Steve Klabnik
- Date:
- 2011-03-01 @ 16:35
I switched from MacPorts to homebrew last night. It's much better.
http://mxcl.github.com/homebrew
Re: [shoes] green_shoes button size headache
- From:
- Elias Crespin
- Date:
- 2011-03-01 @ 16:16
Thanks I was midway there installing gtk. Will tell you what happens and
steps followed.
Elias Crespin.
On Tue, Mar 1, 2011 at 5:14 PM, i5m <i5ivem@gmail.com> wrote:
> I managed to get Green Shoes running on my ageing 10.5 PPC Mac so it
> should be easily possible on a newer Mac. Basically follow the Ubuntu
> instructions:
> https://github.com/ashbb/green_shoes/wiki/Building-Green-Shoes-on-Ubuntu
>
> 1) You need to install the OSX Developer tools
> 2) and then I used Macports since I already had it available, but I
> believe the new cool way is Homebrew,
> 2a) Install Ruby 1.9
> 2b) Install Cairo
> 2c) Install gtk
> 2d) Install the Cairo and gtk gems
> 3) Install the green shoes gem (at the time I did it the gem wasn't
> available so I just cloned ashbb's repo and ran it from there).
>
> Job done.
> -----------------------
> i5m.co.uk
> GPG Key: 0xA18A602B
>
>
>
> On Tue, Mar 1, 2011 at 3:30 PM, ashbb <ashbbb@gmail.com> wrote:
> > Hi Elias,
> >
>
> >
> >> I can't find instructions for installing green on the Mac.
> > Oh, sorry...
> > For now, green_shoes gem is available on Windows and Linux.
> > But if you can use X11 for Mac, i5m will help you. > Hey, i5m. Could you
> > please?
> >
> > ashbb
> >
>
Re: [shoes] green_shoes button size headache
- From:
- Elias Crespin
- Date:
- 2011-03-01 @ 15:41
Great button!! Thanks.
I 'll play around with it and let you know. Will try the i5m later... thanks
Elias \\.
On Tue, Mar 1, 2011 at 4:30 PM, ashbb <ashbbb@gmail.com> wrote:
> Hi Elias,
>
>
> > Can't the text font size be reduced ?
> Sorry, it can't so far.
>
>
> > how to draw my own button ?
> How about this one?
>
> Shoes.app do
> nofill
> bg = rect(50, 50, 20, 16, curve: 5)
> para '^', left: 53, top: 50
> fg = rect(50, 50, 20, 16, fill: rgb(128, 128, 128, 0.4), curve: 5).hide
> bg.hover{fg.show}
> bg.leave{fg.hide}
> bg.click{alert 'hi'}
> end
>
>
> > I can't find instructions for installing green on the Mac.
> Oh, sorry...
> For now, green_shoes gem is available on Windows and Linux.
> But if you can use X11 for Mac, i5m will help you. > Hey, i5m. Could you
> please?
>
> ashbb
>
Re: [shoes] green_shoes button size headache
- From:
- Steve Klabnik
- Date:
- 2011-03-01 @ 15:58
Hey Elias-
Yeah, green shoes is only with X11 on the mac. Just install the OSX
developer tools, here:
http://developer.apple.com/devcenter/mac/index.action(Xcode and iOS
SDK). You'll have to sign up for a free apple developer
account...
-Steve