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 Linux software to OS X ? :confused:

porting Linux software to OS X ? :confused:
Thread Tools
1800-whatever
Fresh-Faced Recruit
Join Date: Jan 2004
Location: 127.0.0.1
Status: Offline
Reply With Quote
Aug 26, 2004, 05:12 AM
 
Hi,

Anybody here that has experience with, or knows how difficult it is to port applications from Linux to OS X?
     
depolitic
Registered User
Join Date: Feb 2003
Status: Offline
Reply With Quote
Aug 26, 2004, 05:49 AM
 
More details!!!

Is it a server app, desktop app, X11 app etc Is it C or C++ or Java - Also see this

http://developer.apple.com/documenta...section_1.html
     
1800-whatever  (op)
Fresh-Faced Recruit
Join Date: Jan 2004
Location: 127.0.0.1
Status: Offline
Reply With Quote
Aug 26, 2004, 06:06 AM
 
o.k. depolitic,

It's about this application, I would LOVE this to be ported to the Mac
http://www.plasticanimationpaper.dk/
at the moment there only is a Windows version and a Linux version in beta.

I stumbled upon this thread in the forums :
http://www.plasticanimationpaper.dk/...opic.php?t=767

No it looks like they are willing to port it to the Mac but don't know how to go about it.
Can I ask anybody that knows to do me a big favour and jump in here ?

(You don't seem to have to be registered to post in their forum. )
     
depolitic
Registered User
Join Date: Feb 2003
Status: Offline
Reply With Quote
Aug 26, 2004, 09:19 PM
 
Just send them to:

http://developer.apple.com/

I would guess they have three basic choices, - they could take the Linux version and with a small recompile it should run under X11 for the Mac this would be the simplest way. However this is not a very user friendly way to run the app under a macintosh.

Next they would be using carbon API, to port it just Like photoshop is written. This will give you an native Aqua Application, with a minimum work.

http://developer.apple.com/carbon/

Or they could go the the Cocoa path which will give them the most feature rich Mac application, but probably means a little more commitment on their part. However this will attract the highest interest from macintosh users. And will future proof the application.

http://developer.apple.com/cocoa/

Also they may be interested in this OpenGL info for the mac -- http://developer.apple.com/opengl/

These guy's should be able to find their way from their. Then get a couple of mac beta testers and a petition going and you may get them going.
     
Angus_D
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Aug 27, 2004, 05:33 AM
 
Originally posted by depolitic:
Or they could go the the Cocoa path which will give them the most feature rich Mac application, but probably means a little more commitment on their part. However this will attract the highest interest from macintosh users.
This is just total bull. You can create a "feature rich" Carbon application that fully adopts the Mac OS X user experience. Users, more often than not, don't have a clue which framework the application uses. This is the way it should be: they shouldn't care.
     
Thinine
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Aug 27, 2004, 05:41 PM
 
Carbon is dead. Especially for Tiger, if you aren't using Cocoa, you're missing a lot a functionality Cocoa apps will get nearly for free. Now, if it's a good Carbon, that may be fine, but it'll be more future proof if they can make at least a Cocoa wrapper.
     
Catfish_Man
Mac Elite
Join Date: Aug 2001
Status: Offline
Reply With Quote
Aug 27, 2004, 08:03 PM
 
Originally posted by Thinine:
Carbon is dead. Especially for Tiger, if you aren't using Cocoa, you're missing a lot a functionality Cocoa apps will get nearly for free. Now, if it's a good Carbon, that may be fine, but it'll be more future proof if they can make at least a Cocoa wrapper.
Eh? Every version of Carbon so far has lessened the differences in capabilities between it and Cocoa. Quickdraw in Carbon, however, is definitely not the way to go these days (especially once 10.4 comes out).
     
Angus_D
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Aug 28, 2004, 08:50 AM
 
Actually, I am starting to be of the opinion that the writing is on the wall for Carbon. Unless the two camps can work something out such that Cocoa uses Carbon more extensively (so Cocoa becomes an application framework built upon the "low-level" Carbon API, moving into a position more akin to the old MacApp), Carbon will be going away.
     
techtrucker
Senior User
Join Date: Feb 2003
Location: USA
Status: Offline
Reply With Quote
Aug 28, 2004, 07:50 PM
 
I have to agree with Angus_D, I too have the feeling that Carbon will pe phased out. Granted, it will take a looong time (MS Office, Adobe CS, Macromedia, to name a few heavy hitters),but if I were starting a Mac app today it would have to be Cocoa. As hard as it is to accept sometimes we have to deal with losing backward compatibility in the interest of forward progress.
To "correctly" port a Linux app, IMHO, would involve writing it in Cocoa, and either translating the program logic or if you're lucky in some cases copy and paste existing C code.
MacBook 2.0 160/2GB/SuperDrive
Lots of older Macs
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 09:34 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,