Eloy Duran
eloy.****@gmail*****
Sat Jul 7 22:03:26 JST 2007
Good idea JP! I'm working on a updated rubycocoa portfile right now too, so things should get really easy for devs once both portfiles are updated :P Unfortunately I have one problem right now, which is that apparently the ruby portfile doesn't build as a universal variant. Which I think is rather important. I have send a email about this to the macports devel list, so maybe somebody's already working on it. If it isn't being worked on yet I was wondering if Laurent, or any other packaging ninjas that have experience with building ruby as a universal binary, could help out to get this fixed. So that starting with the next release of rubycocoa people can install everything, simply by doing something like: $ port install ruby +universal +rubycocoa_threads $ port install rb-rubycocoa +universal +doc Cheers, Eloy On 7/7/07, Laurent Sansonetti <lsans****@apple*****> wrote: > Hi JP, > > On Jul 6, 2007, at 5:34 PM, jeanp****@gmail***** wrote: > > > On 6/26/07, Laurent Sansonetti <lsans****@apple*****> wrote: > > Hi, > > > > On Jun 25, 2007, at 11:32 PM, Naoki Hiroshima wrote: > > > > >> But Jonathan Paisley made patches to work around this issue, and I > > >> will integrate them for 1.0. I still didn't integrate them > > because of > > >> lack of time. I don't have them handy but If you need them you can > > >> search the mail archives (you should hit some results). The patches > > >> modify both RubyCocoa and Ruby. > > > > > > Thanks a lot. I found the post at: > > > http://lists.sourceforge.jp/mailman/archives/rubycocoa-devel/2006-August/000373.html > > > > > > I don't know why google didn't give me the post last night :-/ > > > > > > So, I wonder if the ruby part of the patch is known to be going to > > be > > > applied. The Jonathan's nice patch may prevent the crash which is > > > great but won't solve the real issue of Thread unless ruby is fixed, > > > right? > > > > Yes, basically the ruby part of the patch inserts hooks between > > switching from a Thread to another, and the RubyCocoa part of the > > patch saves and restores the NSThread contextual data upon these > > hooks. Both patches need to be applied to fix the problem. > > > > We will try to get the ruby part of the patch adopted upstream (and > > also by the version of Ruby Apple bundles in the OS). > > > > in the interim, it might be nice to advocate to the ruby macports > > maintainer (cc'ed on this message) to accept the patch and at least > > offer it as a variant on the ruby macport. > > > > seem reasonable? > > Reasonable, of course, I would even say awesome! :-) > > But I suggest to wait at least for the next RubyCocoa release. I would > like to heavily test the threading support before releasing it, to > make sure it works well. > > Laurent > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel >