Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > porting openstep apps?

porting openstep apps?
Thread Tools
jswhit
Guest
Status:
Reply With Quote
Sep 30, 2000, 07:43 AM
 
How hard is it , in general, to port OPENSTEP apps to Mac OS X? I've got the source code for an OPENSTEP VNCviewer, but no Cocoa-Objective C experience. Would it be a simple recompile with a little tweaking of the UI, or a major rewrite?
     
Senior User
Join Date: Mar 2000
Location: Ithaca, NY
Status: Offline
Reply With Quote
Sep 30, 2000, 02:04 PM
 
It can vary a lot depending on what kind of stuff the app does. Some simple apps might compile without changes, others may need major rewrites. The one you have sounds like it would probably need some major mods, since the graphics system has changed substantially since Openstep days, and VNC probably needs to have fairly fine control over its graphics.
     
ali
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Oct 2, 2000, 11:35 AM
 
The developer package contains old release notes for all changes since NextStep 3.3 (AppKitPrePublicBeta.html). Some of the very old notes have less detail, but they will probably still be useful in determining what changed and what didn't as you convert your application.

First thing you will notice is the change in the file system layout has rendered the hardwired paths in the Makefiles useless, so your builds will fail immediately. The conversion script in /Developer/Makefiles/Conversion should help with this.

You should also open your nib files in InterfaceBuilder, fix up the layout for Aqua (there is a menu command for this), and resave them.

Other that that there are small API changes here and there (pay attention to compiler warnings and look at the release notes); the biggest change is probably the removal of PostScript, as bewebste mentioned. Conversion to NSBezierPath or Quartz will be straightforward in some cases, in others less so.

Ali


     
powert
Guest
Status:
Reply With Quote
Mar 7, 2001, 04:02 AM
 
Has anyone got vncview working on OS/X??

There is a java client also?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2