librelist archives

« back to archive

Patching Shoes 2

Patching Shoes 2

From:
i5m
Date:
2010-01-06 @ 14:58
Regarding this issue:

http://github.com/shoes/shoes/issues/#issue/11

<http://github.com/shoes/shoes/issues/#issue/11>Since Shoes 2 is the still
the defacto release, could we either:

1) Release a patch/installer for all three platforms that replaces the
pack.rb files

OR

2) Manually repackage the Shoes 2 releases and replace the pack.rb files

OR

3) At minimum included instructions on the Shoes website (
http://shoes.heroku.com/downloads) that states that pack.rb must be replaced
if you wish to package apps.

?

Thoughts?

Kind regards,

i5m


-----------------------
i5m.co.uk
GPG Key: 0xA18A602B

Fwd: Patching Shoes 2

From:
Steve Klabnik
Date:
2010-01-06 @ 15:33
I personally vote for a repackaging of Rasins.

It'd be nice to be as n00b friendly as possible, and repackaging isn't that
huge of a deal.

I made that post a while back (I think you read it) that pointed out the
exact commit where Raisins ended and Policeman began.

I'd be willing to package up a Linux version, but I don't have access to Mac
or Windows. In fact, if someone would be willing to do this for those two, I
could also use some help building a packaged Hackety for those two
platforms... people have been asking for a .exe, but getting a legit Windows
license has been slow-going.

-Steve


On Wed, Jan 6, 2010 at 2:58 PM, i5m <i5ivem@googlemail.com> wrote:

> Regarding this issue:
>
> http://github.com/shoes/shoes/issues/#issue/11
>
> <http://github.com/shoes/shoes/issues/#issue/11>Since Shoes 2 is the still
> the defacto release, could we either:
>
> 1) Release a patch/installer for all three platforms that replaces the
> pack.rb files
>
> OR
>
> 2) Manually repackage the Shoes 2 releases and replace the pack.rb files
>
> OR
>
> 3) At minimum included instructions on the Shoes website (
> http://shoes.heroku.com/downloads) that states that pack.rb must be
> replaced if you wish to package apps.
>
> ?
>
> Thoughts?
>
> Kind regards,
>
> i5m
>
>
> -----------------------
> i5m.co.uk
> GPG Key: 0xA18A602B
>

Re: [shoes] Patching Shoes 2

From:
pete
Date:
2010-01-06 @ 19:07
On Wed, Jan 6, 2010 at 6:58 AM, i5m <i5ivem@googlemail.com> wrote:

> Regarding this issue:
>
> http://github.com/shoes/shoes/issues/#issue/11
>
> <http://github.com/shoes/shoes/issues/#issue/11>Since Shoes 2 is the still
> the defacto release, could we either:
>
> 1) Release a patch/installer for all three platforms that replaces the
> pack.rb files
>
> OR
>
> 2) Manually repackage the Shoes 2 releases and replace the pack.rb files
>
> OR
>
> 3) At minimum included instructions on the Shoes website (
> http://shoes.heroku.com/downloads) that states that pack.rb must be
> replaced if you wish to package apps.
>
> ?
>
> Thoughts?
>
> Kind regards,
>
> i5m
>
>
> -----------------------
> i5m.co.uk
> GPG Key: 0xA18A602B
>

Making an updated Raisins release would be a very good idea in my opinion.
In the meantime I've come up with my own solution (
http://github.com/phiggins/cobbler).

pete

Re: Shoes MingW

From:
i5m
Date:
2010-04-20 @ 10:45
Jonty, ashbb,

very late to the party, but have finally got around to trying to build with
MinGW


On Thu, Jan 21, 2010 at 5:02 PM, jonty <jontyjont@btinternet.com> wrote:

> Thanks for support - the rake task now runs.
>
> First problem was that pa_snapshot.tgz caused it to bail out, on
> investigation it was a bug in the extracttask.rb
> - the script thought 7za.exe would need to use the temp directory to store
> the first extraction which it presumed would be a .tar
> In fact it completely extracts this extension so I hacked the case
> statement to put the output straight into the sandbox.
>

I also came across this issue. Basically it's because the following files
are not what they say they are:

binutils-2.17.50-20060824-1.tar.gz
gcc-core-3.4.5-20060117-3.tar.gz
gcc-g++-3.4.5-20060117-3.tar.gz
mingw-runtime-3.14.tar.gz
mingw-utils-0.3.tar.gz
w32api-3.11.tar.gz
pa_snapshot.tgz

These are all actually just 'tar' files. So the simple fix is to remove the
'gz' suffix and use 7zip to compress them using gzip (similarly with the
pa_snapshot).


Ashbb,

you might want to consider fixing the downloads.


I have some other thoughts on the MinGW approach, will write those later.

-----------------------
i5m.co.uk
GPG Key: 0xA18A602B

Re: Shoes MingW

From:
i5m
Date:
2010-04-20 @ 11:48
Just built Shoes using MinGW. A belated thanks to ashbb for all your hard
work.

I had to make a couple of changes as I didn't want to be restricted to
"C:\shoes_dev".
-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Tue, Apr 20, 2010 at 11:45 AM, i5m <i5ivem@googlemail.com> wrote:

> Jonty, ashbb,
>
> very late to the party, but have finally got around to trying to build with
> MinGW
>
>
> On Thu, Jan 21, 2010 at 5:02 PM, jonty <jontyjont@btinternet.com> wrote:
>
>> Thanks for support - the rake task now runs.
>>
>> First problem was that pa_snapshot.tgz caused it to bail out, on
>> investigation it was a bug in the extracttask.rb
>> - the script thought 7za.exe would need to use the temp directory to store
>> the first extraction which it presumed would be a .tar
>> In fact it completely extracts this extension so I hacked the case
>> statement to put the output straight into the sandbox.
>>
>
> I also came across this issue. Basically it's because the following files
> are not what they say they are:
>
> binutils-2.17.50-20060824-1.tar.gz
> gcc-core-3.4.5-20060117-3.tar.gz
> gcc-g++-3.4.5-20060117-3.tar.gz
> mingw-runtime-3.14.tar.gz
> mingw-utils-0.3.tar.gz
> w32api-3.11.tar.gz
> pa_snapshot.tgz
>
> These are all actually just 'tar' files. So the simple fix is to remove the
> 'gz' suffix and use 7zip to compress them using gzip (similarly with the
> pa_snapshot).
>
>
> Ashbb,
>
> you might want to consider fixing the downloads.
>
>
> I have some other thoughts on the MinGW approach, will write those later.
>

Re: Shoes MingW

From:
i5m
Date:
2010-04-20 @ 12:59
ashbb,

these are the two small changes I made so I could build in a different
directory:

http://github.com/i5m/shoes/commit/d76f11ef80b0e1f19e2a94a591a076331cbbadc7


http://github.com/i5m/rubyinstaller/commit/859bcccfa431846708f67d7dfda864231086df12#commitcomment-68350

-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Tue, Apr 20, 2010 at 12:48 PM, i5m <i5ivem@googlemail.com> wrote:

> Just built Shoes using MinGW. A belated thanks to ashbb for all your hard
> work.
>
> I had to make a couple of changes as I didn't want to be restricted to
> "C:\shoes_dev".
>
> -----------------------
> i5m.co.uk
> GPG Key: 0xA18A602B
>
>
> On Tue, Apr 20, 2010 at 11:45 AM, i5m <i5ivem@googlemail.com> wrote:
>
>> Jonty, ashbb,
>>
>> very late to the party, but have finally got around to trying to build
>> with MinGW
>>
>>
>> On Thu, Jan 21, 2010 at 5:02 PM, jonty <jontyjont@btinternet.com> wrote:
>>
>>> Thanks for support - the rake task now runs.
>>>
>>> First problem was that pa_snapshot.tgz caused it to bail out, on
>>> investigation it was a bug in the extracttask.rb
>>> - the script thought 7za.exe would need to use the temp directory to
>>> store the first extraction which it presumed would be a .tar
>>> In fact it completely extracts this extension so I hacked the case
>>> statement to put the output straight into the sandbox.
>>>
>>
>> I also came across this issue. Basically it's because the following files
>> are not what they say they are:
>>
>> binutils-2.17.50-20060824-1.tar.gz
>> gcc-core-3.4.5-20060117-3.tar.gz
>> gcc-g++-3.4.5-20060117-3.tar.gz
>> mingw-runtime-3.14.tar.gz
>> mingw-utils-0.3.tar.gz
>> w32api-3.11.tar.gz
>> pa_snapshot.tgz
>>
>> These are all actually just 'tar' files. So the simple fix is to remove
>> the 'gz' suffix and use 7zip to compress them using gzip (similarly with the
>> pa_snapshot).
>>
>>
>> Ashbb,
>>
>> you might want to consider fixing the downloads.
>>
>>
>> I have some other thoughts on the MinGW approach, will write those later.
>>
>
>

Re: [shoes] Re: Shoes MingW

From:
Satoshi Asakawa
Date:
2010-04-20 @ 13:31
Hi i5m,

Nice!
I'm going to take in your suggestions.

Thank you!
ashbb

Re: [shoes] Re: Shoes MingW

From:
Satoshi Asakawa
Date:
2010-04-20 @ 13:43
i5m, Jonty and folks,

> you might want to consider fixing the downloads.
I don't know why your extract_utils/7za.exe can't extract tar.gz files...
But, okay. I'll replace the files you listed.
Can you upload them to somewhere?

ashbb

Re: [shoes] Re: Shoes MingW

From:
i5m
Date:
2010-04-22 @ 11:57
ashbb,

On Tue, Apr 20, 2010 at 2:43 PM, Satoshi Asakawa <ashbbb@gmail.com> wrote:

> i5m, Jonty and folks,
>
> I don't know why your extract_utils/7za.exe can't extract tar.gz files...
> But, okay. I'll replace the files you listed.
> Can you upload them to somewhere
>

Have uploaded to my Shoes download page on Github:

github.com/i5m/shoes/downloads

<http://github.com/i5m/shoes/downloads>See the files with description "Fixed
Shoes MinGW dep for ashbb". 6 files in total. The filename for
"gc-g__-3.4.5-20060117-3.tar.gz" will need changing back to
"gcc-g++-3.4.5-20060117-3.tar.gz"   after you've downloaded it. Github
changed it on upload.

Re: [shoes] Re: Shoes MingW

From:
Satoshi Asakawa
Date:
2010-04-22 @ 14:04
Hi i5m,

Great work! Thank you so much!
I downloaded your 6 deps files and rebuilt Shoes Policeman for Windows on
MinGW.
Then it worked very well.

I'm going to replace the 6 files here:
http://www.rin-shun.com/shoes/MinGW/downloads/

asap. :)

ashbb

Re: [shoes] Re: Shoes MingW

From:
i5m
Date:
2010-04-22 @ 14:15
ashbb,

sorry, I'd missed this one off:

mingw-utlis-0.3.tar.gz

I've just uploaded it.

-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Thu, Apr 22, 2010 at 3:04 PM, Satoshi Asakawa <ashbbb@gmail.com> wrote:

> Hi i5m,
>
> Great work! Thank you so much!
> I downloaded your 6 deps files and rebuilt Shoes Policeman for Windows on
> MinGW.
> Then it worked very well.
>
> I'm going to replace the 6 files here:
> http://www.rin-shun.com/shoes/MinGW/downloads/
>
> asap. :)
>
> ashbb
>
>

Re: [shoes] Re: Shoes MingW

From:
Satoshi Asakawa
Date:
2010-04-22 @ 14:26
Okay, no prob. I'll replace 7 files. :)

ashbb

Re: [shoes] Re: Shoes MingW

From:
i5m
Date:
2010-04-23 @ 09:21
Ashbb,

I have created a wiki entry for building Shoes using MinGW, based on your
Shoes Hack Note 019:

http://wiki.github.com/shoes/shoes/buildingshoeswithmingw

<http://wiki.github.com/shoes/shoes/buildingshoeswithmingw>I've also stated
this is the preferred approach for building on Windows, and
have depreciated the other instructions.
-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Thu, Apr 22, 2010 at 3:26 PM, Satoshi Asakawa <ashbbb@gmail.com> wrote:

> Okay, no prob. I'll replace 7 files. :)
>
> ashbb
>

Re: [shoes] Re: Shoes MingW

From:
Satoshi Asakawa
Date:
2010-04-23 @ 13:15
Fantastic! :-D

Re: [shoes] Re: Shoes MingW

From:
i5m
Date:
2010-04-20 @ 13:59
Yes I can upload, but can't do right now.

However, should we look to pull in changes from the original RubyInstaller
file:
http://github.com/oneclick/rubyinstaller/blob/master/config/ruby_installer.rb
 ?

The urls have changed (see line 23/24 for an example). Also likely that the
actual files have been updated since holymonkey/ender672 forked.
-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Tue, Apr 20, 2010 at 2:43 PM, Satoshi Asakawa <ashbbb@gmail.com> wrote:

> i5m, Jonty and folks,
>
>
> > you might want to consider fixing the downloads.
> I don't know why your extract_utils/7za.exe can't extract tar.gz files...
> But, okay. I'll replace the files you listed.
> Can you upload them to somewhere?
>
> ashbb
>

Re: [shoes] Re: Shoes MingW

From:
Satoshi Asakawa
Date:
2010-04-20 @ 15:17
> Yes I can upload, but can't do right now.
Cool! No prob. There is no hurry. :)

> However, should we look to pull in changes from the original
> RubyInstaller file:
>
http://github.com/oneclick/rubyinstaller/blob/master/config/ruby_installer.rb?
> The urls have changed (see line 23/24 for an example).
Yes, you are right. I didn't edit urls. :-P
But I don't use `downloading` task of rubyinstaller, because I've gathered
all dependencies for building Shoes into one place:
http://www.rin-shun.com/shoes/MinGW/downloads/

And I think it's steady and easy to download them by hand. :-P

> Also likely that the actual files have been updated since
holymonkey/ender672 forked.
Yes.
I've updated cairo and libjpeg, but not everything so far. I'll update
others step by step. ;-)

ashbb