From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 2 Aug 2011 21:25:45 -0700 Message-ID: Subject: Re: plan9port: cocoa programmer needed From: David Leimbach To: "rsc@swtch.com" Cc: plan9port-dev , 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0015174c0e2613e9c504a99242b8 Topicbox-Message-UUID: 0b85841a-ead7-11e9-9d60-3106f5b1d025 --0015174c0e2613e9c504a99242b8 Content-Type: text/plain; charset=ISO-8859-1 I was with you till the "very easy" part. Been following the updates today and noted that (earlier) the portion of INSTALL that detects the architecture on Darwin was not working. Had a patch for that and regrettably blew it away (accident), then had to turn my attention to something else. May try again tomorrow if it persists... As for the Cocoa bits (mmmm cocoa bits) I might get some time to work that a bit this weekendif no other takers rise up. Dave On Tuesday, August 2, 2011, Russ Cox wrote: > I have updated plan9port to build and run on > OS X Lion. Everything works except devdraw, > the binary that handles putting windows on the > screen and managing the mouse and keyboard. > > Devdraw was written 3 years ago, using the > Carbon framework. Apple wants to retire > that framework, so they have been slowly > chipping away at its functionality. It is time to > convert $PLAN9/src/cmd/devdraw/osx-screen-carbon.m > to Cocoa. There is a previous attempt in osx-screen.m, > but I would not start with that, because it has not kept > up with recent changes (like Multitouch) and bug fixes. > The Carbon source is a better starting point. > > Is there anyone out there who knows Cocoa and > Objective C well enough that this would be very easy? > I am sure I could figure it out given enough time, > but enough here is likely quite large. > > It would also be nice to convert > $PLAN9/src/cmd/fontsrv/osx.c, but that is > much lower priority, as it appears to build > okay still. > > Thanks. > Russ > --0015174c0e2613e9c504a99242b8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I was with you till the "very easy" part. =A0Been following the u= pdates today and noted that (earlier) the portion of INSTALL that detects t= he architecture on Darwin was not working. =A0Had a patch for that and regr= ettably blew it away (accident), then had to turn my attention to something= else.

May try again tomorrow if it persists... =A0

As for the Cocoa bi= ts (mmmm cocoa bits) I might get some time to work that a bit this weekendi= f no other takers rise up.

Dave

On Tuesday, August 2, 2011, R= uss Cox <rsc@swtch.com> wrote: > I have updated plan9port to build and run on
> OS X Lion. =A0Eve= rything works except devdraw,
> the binary that handles putting windo= ws on the
> screen and managing the mouse and keyboard.
>
> Devdraw was written 3 years ago, using the
> Carbon framework. = =A0Apple wants to retire
> that framework, so they have been slowly> chipping away at its functionality. =A0It is time to
> convert= $PLAN9/src/cmd/devdraw/osx-screen-carbon.m
> to Cocoa. =A0There is a previous attempt in osx-screen.m,
> but = I would not start with that, because it has not kept
> up with recent= changes (like Multitouch) and bug fixes.
> The Carbon source is a be= tter starting point.
>
> Is there anyone out there who knows Cocoa and
> Objectiv= e C well enough that this would be very easy?
> I am sure I could fig= ure it out given enough time,
> but enough here is likely quite large= .
>
> It would also be nice to convert
> $PLAN9/src/cmd/fontsr= v/osx.c, but that is
> much lower priority, as it appears to build> okay still.
>
> Thanks.
> Russ
> --0015174c0e2613e9c504a99242b8--