From discordantus at gmail.com Fri Nov 5 03:15:24 2004
From: discordantus at gmail.com (Mark Hubbart)
Date: Fri Nov 5 03:15:32 2004
Subject: [Rubyinstaller-devel] a simple ruby build script for macos x
Message-ID:
Hi, all
I think this is where I should send this...
Attached is my basic build script. As I said, it only *builds* ruby,
oniguruma, and readline at the moment. I cleaned up the code a little,
and added a few more comments, but basically what you see is what you
get, for now. It's a starting point.
Let me know what you think. I'll be working on it some more tonight,
and over the next couple days when I get a chance. It wants some
serious refactoring.
cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-all.rb
Type: application/octet-stream
Size: 3112 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rubyinstaller-devel/attachments/20041105/3989d67b/build-all.obj
From curt at hibbs.com Fri Nov 5 15:17:27 2004
From: curt at hibbs.com (Curt Hibbs)
Date: Fri Nov 5 15:17:35 2004
Subject: [Rubyinstaller-devel] a simple ruby build script for macos x
In-Reply-To:
Message-ID:
Mark Hubbart wrote:
>
> Hi, all
>
> I think this is where I should send this...
>
> Attached is my basic build script. As I said, it only *builds* ruby,
> oniguruma, and readline at the moment. I cleaned up the code a little,
> and added a few more comments, but basically what you see is what you
> get, for now. It's a starting point.
>
> Let me know what you think. I'll be working on it some more tonight,
> and over the next couple days when I get a chance. It wants some
> serious refactoring.
Thanks, Mark!
For the rest of you on the ML, let me bring you up-to-date with the latest
happenings (there have been a bunch a private emails that preceded this
posting by Mark).
Independently of the one-click installer project, Mark has produced a mac
osx installer, and recently announced a new release of it on the
ruby-talk-ML. I contacted Mark off-list and asked him if he would like to
join forces with our mac osx effort being headed up by Steve Steiner.
Both Mark and Steve liked the prospect of sharing the work (who wouldn't...
we all have outside lives to live as well :-)! And we all like the idea of
getting a headstart by using what Mark has already done.
Mark did caution us that what he has is still a little rough around the
edges (but, so what? even the build system for the window's installer could
still use some improvements).
I made Steve an Admin on the one-click installer project so that he can help
share in the administration of the project itself (for things like granting
cvs commit access). And he is going to setup some pages on our wiki to help
guide and document the mac os x effort.
Note to Mark: As I told Steve when he first signed on for the mac os x
effort, I think you'll find this project to be personally very gratifying.
If you look at the download stats on RubyForge, you'll see that one-click
installer for windows has been wildly popular -- about 150 downloads a day,
and over 21,000 total downloads since the installer was moved to RubyForge a
year ago!
I want to duplicate this success on the mac. Making it easy for people to
install and get started on Ruby is one of the primary ways we can help
spread Ruby adoption in the industry!
Now I just need to find someone to do the kde and gnome versions of the
installer and we'll be set. If you know anyone who might be interested,
please send them my way.
Curt
From ssteiner at mac.com Sun Nov 14 20:07:18 2004
From: ssteiner at mac.com (Steve Steiner)
Date: Sun Nov 14 20:07:05 2004
Subject: [Rubyinstaller-devel] a simple ruby build script for macos x
In-Reply-To:
References:
Message-ID:
I haven't got a copy of the script in question and have some time to
work on this this week.
Steve
On Nov 5, 2004, at 3:17 PM, Curt Hibbs wrote:
> Mark Hubbart wrote:
>>
>> Hi, all
>>
>> I think this is where I should send this...
>>
>> Attached is my basic build script. As I said, it only *builds* ruby,
>> oniguruma, and readline at the moment. I cleaned up the code a little,
>> and added a few more comments, but basically what you see is what you
>> get, for now. It's a starting point.
>>
>> Let me know what you think. I'll be working on it some more tonight,
>> and over the next couple days when I get a chance. It wants some
>> serious refactoring.
>
> Thanks, Mark!
>
> For the rest of you on the ML, let me bring you up-to-date with the
> latest
> happenings (there have been a bunch a private emails that preceded this
> posting by Mark).
>
> Independently of the one-click installer project, Mark has produced a
> mac
> osx installer, and recently announced a new release of it on the
> ruby-talk-ML. I contacted Mark off-list and asked him if he would like
> to
> join forces with our mac osx effort being headed up by Steve Steiner.
>
> Both Mark and Steve liked the prospect of sharing the work (who
> wouldn't...
> we all have outside lives to live as well :-)! And we all like the
> idea of
> getting a headstart by using what Mark has already done.
>
> Mark did caution us that what he has is still a little rough around the
> edges (but, so what? even the build system for the window's installer
> could
> still use some improvements).
>
> I made Steve an Admin on the one-click installer project so that he
> can help
> share in the administration of the project itself (for things like
> granting
> cvs commit access). And he is going to setup some pages on our wiki to
> help
> guide and document the mac os x effort.
>
> Note to Mark: As I told Steve when he first signed on for the mac os x
> effort, I think you'll find this project to be personally very
> gratifying.
> If you look at the download stats on RubyForge, you'll see that
> one-click
> installer for windows has been wildly popular -- about 150 downloads a
> day,
> and over 21,000 total downloads since the installer was moved to
> RubyForge a
> year ago!
>
> I want to duplicate this success on the mac. Making it easy for people
> to
> install and get started on Ruby is one of the primary ways we can help
> spread Ruby adoption in the industry!
>
> Now I just need to find someone to do the kde and gnome versions of the
> installer and we'll be set. If you know anyone who might be interested,
> please send them my way.
>
> Curt
>
> _______________________________________________
> Rubyinstaller-devel mailing list
> Rubyinstaller-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel
>
From ssteiner at mac.com Sun Nov 14 20:09:14 2004
From: ssteiner at mac.com (Steve Steiner)
Date: Sun Nov 14 20:09:01 2004
Subject: [Rubyinstaller-devel] a simple ruby build script for macos x
In-Reply-To:
References:
Message-ID:
Ok, so the messages came in in the wrong order...I'm an idiot.
Sorry.
Steve
On Nov 14, 2004, at 8:07 PM, Steve Steiner wrote:
> I haven't got a copy of the script in question and have some time to
> work on this this week.
>
> Steve
>
> On Nov 5, 2004, at 3:17 PM, Curt Hibbs wrote:
>
>> Mark Hubbart wrote:
>>>
>>> Hi, all
>>>
>>> I think this is where I should send this...
>>>
>>> Attached is my basic build script. As I said, it only *builds* ruby,
>>> oniguruma, and readline at the moment. I cleaned up the code a
>>> little,
>>> and added a few more comments, but basically what you see is what you
>>> get, for now. It's a starting point.
>>>
>>> Let me know what you think. I'll be working on it some more tonight,
>>> and over the next couple days when I get a chance. It wants some
>>> serious refactoring.
>>
>> Thanks, Mark!
>>
>> For the rest of you on the ML, let me bring you up-to-date with the
>> latest
>> happenings (there have been a bunch a private emails that preceded
>> this
>> posting by Mark).
>>
>> Independently of the one-click installer project, Mark has produced a
>> mac
>> osx installer, and recently announced a new release of it on the
>> ruby-talk-ML. I contacted Mark off-list and asked him if he would
>> like to
>> join forces with our mac osx effort being headed up by Steve Steiner.
>>
>> Both Mark and Steve liked the prospect of sharing the work (who
>> wouldn't...
>> we all have outside lives to live as well :-)! And we all like the
>> idea of
>> getting a headstart by using what Mark has already done.
>>
>> Mark did caution us that what he has is still a little rough around
>> the
>> edges (but, so what? even the build system for the window's installer
>> could
>> still use some improvements).
>>
>> I made Steve an Admin on the one-click installer project so that he
>> can help
>> share in the administration of the project itself (for things like
>> granting
>> cvs commit access). And he is going to setup some pages on our wiki
>> to help
>> guide and document the mac os x effort.
>>
>> Note to Mark: As I told Steve when he first signed on for the mac os x
>> effort, I think you'll find this project to be personally very
>> gratifying.
>> If you look at the download stats on RubyForge, you'll see that
>> one-click
>> installer for windows has been wildly popular -- about 150 downloads
>> a day,
>> and over 21,000 total downloads since the installer was moved to
>> RubyForge a
>> year ago!
>>
>> I want to duplicate this success on the mac. Making it easy for
>> people to
>> install and get started on Ruby is one of the primary ways we can help
>> spread Ruby adoption in the industry!
>>
>> Now I just need to find someone to do the kde and gnome versions of
>> the
>> installer and we'll be set. If you know anyone who might be
>> interested,
>> please send them my way.
>>
>> Curt
>>
>> _______________________________________________
>> Rubyinstaller-devel mailing list
>> Rubyinstaller-devel@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel
>>
>
> _______________________________________________
> Rubyinstaller-devel mailing list
> Rubyinstaller-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel
>
From ssteiner at mac.com Sun Nov 14 20:14:02 2004
From: ssteiner at mac.com (Steve Steiner)
Date: Sun Nov 14 20:13:49 2004
Subject: [Rubyinstaller-devel] a simple ruby build script for macos x
In-Reply-To:
References:
Message-ID:
Mark,
Thanks!
Where it says:
# By hand from now on, at the moment.
What exactly do you do from there on out? I'd like to plan the
automation of that part, too.
Steve
On Nov 5, 2004, at 3:15 AM, Mark Hubbart wrote:
> Hi, all
>
> I think this is where I should send this...
>
> Attached is my basic build script. As I said, it only *builds* ruby,
> oniguruma, and readline at the moment. I cleaned up the code a little,
> and added a few more comments, but basically what you see is what you
> get, for now. It's a starting point.
>
> Let me know what you think. I'll be working on it some more tonight,
> and over the next couple days when I get a chance. It wants some
> serious refactoring.
>
> cheers,
> Mark
> _______________________________________________
> Rubyinstaller-devel mailing list
> Rubyinstaller-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel
From discordantus at gmail.com Mon Nov 15 03:04:27 2004
From: discordantus at gmail.com (Mark Hubbart)
Date: Mon Nov 15 03:04:12 2004
Subject: [Rubyinstaller-devel] a simple ruby build script for macos x
In-Reply-To:
References:
Message-ID:
Hi,
On Sun, 14 Nov 2004 20:14:02 -0500, Steve Steiner wrote:
> Mark,
>
> Thanks!
>
> Where it says:
>
> # By hand from now on, at the moment.
>
> What exactly do you do from there on out? I'd like to plan the
> automation of that part, too.
When the automated part was finished, I had two directories, one that
held copies of all the installed readline files, and one that held all
the readline files and all the ruby files. For the recent package I
made, here are the basic steps that were needed to finish the process,
after the automated part was done: (more details below)
1. Remove any readline files from the ruby directory; move the
'readline.bundle' into the readline tree.
2. Using the GUI PackageMaker program
(/Developer/Applications/Utilities), create basic packages.
3. Use PackageMaker to create one meta-package for the two normal packages.
4. Put the packages in a folder with the meta-package, throw in the
sample code from the source tree.
5. Use DiskUtility to create a read/write disk image from that folder,
then set icon positions, background images, window size, etc. from the
Finder. Use DiskUtility to convert the read/write disk image to a
read-only compressed image.
Step one was fairly simple to solve. Since the release, I wrote up a
simple class to handle moving the files to the right place, based on
snapshots taken between installs.
Step two shouldn't be too much of a problem, the PackageMaker util can
be called from the command line, and you can pass all the necessary
filenames as arguments. Type
`/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
--help` to get the list of arguments required.
Step three might be more hairy; I can't see that there's a cli way to
have PackageMaker create the metapackages. It may come down to
"hand-building" them, using several separate tools to create the
correct format. I haven't looked into this much yet; but I know there
*is* a solution, I'm just not sure how much work will be involved.
Step four is just moving around the files, no problem. Copying out the
sample code will require special cases, though, since not all the
sample code is in the standard locations. Copying the sample code is
not a vital step, but some of those who emailed me mentioned how nice
it was to have all the sample code there in one place for them to
peruse. Still, that step is simple.
Step five; All the disk image creation and conversion is dead simple,
using `hdiutil`. Setting icon positions and background images might be
more difficult, though. I realize the importance of the presentation
is debatable, though, and it is the least important item on the list,
afaic.
So that's about it. Any questions, just ask.
cheers,
Mark
From discordantus at gmail.com Mon Nov 15 04:06:05 2004
From: discordantus at gmail.com (Mark Hubbart)
Date: Mon Nov 15 04:05:51 2004
Subject: [Rubyinstaller-devel] Re: Hi!
In-Reply-To: <18832678-3666-11D9-AD7A-000D9331379C@mac.com>
References: <2C1A5A34-2EDD-11D9-A58D-000D9331379C@mac.com>
<07CC4424-2F37-11D9-892D-000D9331379C@mac.com>
<18832678-3666-11D9-AD7A-000D9331379C@mac.com>
Message-ID:
On Sun, 14 Nov 2004 12:53:30 -0500, Steve Steiner wrote:
> Any more progress?
Some. I did some work refactoring, trying to move code from the build
script to classes/modules. I need to look more at the classes
currently available in the windows project so I don't duplicate
anything.
I hope to get some more work done on this (in the evenings) now that
the weekend is over :) I'll try to grok the classes in the windows
project and see what (if anything) needs to be changed to make them do
what we need them to do for our part. Then I'll get down to some
coding.
I'll set up a wiki page for myself sometime this week, and a mac
issues one, for tracking progress and ideas.
cheers,
Mark
From ssteiner at mac.com Mon Nov 15 07:38:11 2004
From: ssteiner at mac.com (Steve Steiner)
Date: Mon Nov 15 07:37:57 2004
Subject: [Rubyinstaller-devel] Re: Hi!
In-Reply-To:
References: <2C1A5A34-2EDD-11D9-A58D-000D9331379C@mac.com>
<07CC4424-2F37-11D9-892D-000D9331379C@mac.com>
<18832678-3666-11D9-AD7A-000D9331379C@mac.com>
Message-ID: <360032BC-3703-11D9-8BD4-000D9331379C@mac.com>
Cool. I'll have time this weekend to get everything setup but this
week's shot already and it's only 7:30 Monday morning!
Steve
On Nov 15, 2004, at 4:06 AM, Mark Hubbart wrote:
> On Sun, 14 Nov 2004 12:53:30 -0500, Steve Steiner
> wrote:
>> Any more progress?
>
> Some. I did some work refactoring, trying to move code from the build
> script to classes/modules. I need to look more at the classes
> currently available in the windows project so I don't duplicate
> anything.
>
> I hope to get some more work done on this (in the evenings) now that
> the weekend is over :) I'll try to grok the classes in the windows
> project and see what (if anything) needs to be changed to make them do
> what we need them to do for our part. Then I'll get down to some
> coding.
>
> I'll set up a wiki page for myself sometime this week, and a mac
> issues one, for tracking progress and ideas.
>
> cheers,
> Mark
> _______________________________________________
> Rubyinstaller-devel mailing list
> Rubyinstaller-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubyinstaller-devel
>
From andy at toolshed.com Tue Nov 16 10:37:38 2004
From: andy at toolshed.com (Andrew Hunt)
Date: Tue Nov 16 10:37:20 2004
Subject: [Rubyinstaller-devel] [Fwd: Ruby Installer / ActiveTcl]
Message-ID: <1100619458.18295.216.camel@workbench.toolshed.com>
Hi guys,
Can someone help my buddy Laurent with his question? (This might be an
appropriate FAQ as well).
thanks!
/\ndy
-----Forwarded Message-----
> From: Laurent Bossavit
> To: Andrew Hunt
> Subject: Ruby Installer / ActiveTcl
> Date: Tue, 16 Nov 2004 11:25:12 +0100
>
> Hi Andy,
>
> I posted this to the newsgroup but got no answer - I figured you
> might possibly know about this:
>
> I have installed the latest version of the Windows installer (RC9)
> and I have ActiveState Tcl8.5 - what do I need to do to have Ruby use
> ActiveState Tcl instead of the version bundled with it ?
>
> TIA,
>
> -[Laurent]-
> - This tagline omitted for technical reasons -
>
>
From curt at hibbs.com Tue Nov 16 11:10:37 2004
From: curt at hibbs.com (Curt Hibbs)
Date: Tue Nov 16 11:10:23 2004
Subject: [Rubyinstaller-devel] Need Help with One-Click Installer & ActiveTcl
Message-ID:
I've never hidden the fact that I'm completely ignorant of TCL, but the last
round of changes to TCL support in the one-click installer were supposed to
allow for this. Of course, that doesn't mean I know how to do it. So, I am
forwarding this to ruby-talk, where the expertise lies.
The original question (from below) is:
> I have installed the latest version of the Windows installer (RC9)
> and I have ActiveState Tcl8.5 - what do I need to do to have Ruby use
> ActiveState Tcl instead of the version bundled with it ?
Anyone have the answer?
Curt
-----Original Message-----
From: rubyinstaller-devel-bounces@rubyforge.org
[mailto:rubyinstaller-devel-bounces@rubyforge.org]On Behalf Of Andrew
Hunt
Sent: Tuesday, November 16, 2004 9:38 AM
To: Ruby Installer List
Subject: [Rubyinstaller-devel] [Fwd: Ruby Installer / ActiveTcl]
Hi guys,
Can someone help my buddy Laurent with his question? (This might be an
appropriate FAQ as well).
thanks!
/\ndy
-----Forwarded Message-----
> From: Laurent Bossavit
> To: Andrew Hunt
> Subject: Ruby Installer / ActiveTcl
> Date: Tue, 16 Nov 2004 11:25:12 +0100
>
> Hi Andy,
>
> I posted this to the newsgroup but got no answer - I figured you
> might possibly know about this:
>
> I have installed the latest version of the Windows installer (RC9)
> and I have ActiveState Tcl8.5 - what do I need to do to have Ruby use
> ActiveState Tcl instead of the version bundled with it ?
>
> TIA,
>
> -[Laurent]-
> - This tagline omitted for technical reasons -
>
>
_______________________________________________
Rubyinstaller-devel mailing list
Rubyinstaller-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubyinstaller-devel
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
From curt at hibbs.com Wed Nov 17 06:08:27 2004
From: curt at hibbs.com (Curt Hibbs)
Date: Wed Nov 17 06:08:05 2004
Subject: [Rubyinstaller-devel] FW: Need Help with One-Click Installer &
ActiveTcl
Message-ID:
-----Original Message-----
From: Hidetoshi NAGAI [mailto:nagai@ai.kyutech.ac.jp]
Sent: Tuesday, November 16, 2004 10:38 PM
To: ruby-talk ML
Cc: rubyinstaller-devel@rubyforge.org
Subject: Re: Need Help with One-Click Installer & ActiveTcl
From: "Curt Hibbs"
Subject: Need Help with One-Click Installer & ActiveTcl
Date: Wed, 17 Nov 2004 01:10:44 +0900
Message-ID:
> > I have installed the latest version of the Windows installer (RC9)
> > and I have ActiveState Tcl8.5 - what do I need to do to have Ruby use
> > ActiveState Tcl instead of the version bundled with it ?
>
> Anyone have the answer?
Compile tcltklib with ActiveTcl's libraries,
and replace tcltklib.so to re-compiled one.
Possibly, that is all.
--
Hidetoshi Nagai (nagai@ai.kyutech.ac.jp)
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004
From curt at hibbs.com Wed Nov 17 06:08:37 2004
From: curt at hibbs.com (Curt Hibbs)
Date: Wed Nov 17 06:08:14 2004
Subject: [Rubyinstaller-devel] FW: Need Help with One-Click Installer &
ActiveTcl
Message-ID:
-----Original Message-----
From: Hidetoshi NAGAI [mailto:nagai@ai.kyutech.ac.jp]
Sent: Wednesday, November 17, 2004 3:31 AM
To: ruby-talk ML
Cc: rubyinstaller-devel@rubyforge.org
Subject: Re: Need Help with One-Click Installer & ActiveTcl
From: Hidetoshi NAGAI
Subject: Re: Need Help with One-Click Installer & ActiveTcl
Date: Wed, 17 Nov 2004 13:38:01 +0900
Message-ID: <20041117.133759.74752457.nagai@ai.kyutech.ac.jp>
> From: "Curt Hibbs"
> Subject: Need Help with One-Click Installer & ActiveTcl
> Date: Wed, 17 Nov 2004 01:10:44 +0900
> Message-ID:
> > > I have installed the latest version of the Windows installer (RC9)
> > > and I have ActiveState Tcl8.5 - what do I need to do to have Ruby use
> > > ActiveState Tcl instead of the version bundled with it ?
>
> Compile tcltklib with ActiveTcl's libraries,
> and replace tcltklib.so to re-compiled one.
> Possibly, that is all.
Complement::
If tcltklib.so is compiled with Tcl/Tk8.5 (original, not ActiveTcl),
the tcltklib.so is possibly available for ActiveTcl8.5.x.
For the same reason, tcltklib.so compiled with Tcl/Tk8.4.7 is
possibly available for ActiveTcl8.4.7.
Current tcltklib.so included in the installer (182-14_rc9) works
with Tcl/Tk8.3.x. So, 182-14_rc9 works with ActiveTcl8.3.x.
Note::
tcltklib on 182-14_rc9 has a bug when working with Tcl/Tk8.3.x
(see [ruby-talk:119637]).
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004