Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apple-apps with linux?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Fri Oct 14, 2011 3:37 pm    Post subject: apple-apps with linux? Reply with quote

Hi!

Is it possible to execute apple-apps in linux?
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1319
Location: Sweden

PostPosted: Fri Oct 14, 2011 4:13 pm    Post subject: Reply with quote

If by "apple-apps" you mean binaries compiled for OSX, then I believe that you have little chance of doing that.
The underlaying libraries of OSX are not FOSS, so you much like windows, you'd need a "wine project" that implements the system calls.

The other way around is far easier, since most linux binaries have available source code.
Back to top
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Fri Oct 14, 2011 4:18 pm    Post subject: Reply with quote

apple seems to get a bit too evil...
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Sun Oct 16, 2011 5:52 pm    Post subject: Reply with quote

Letharion wrote:
If by "apple-apps" you mean binaries compiled for OSX, then I believe that you have little chance of doing that.
The underlaying libraries of OSX are not FOSS, so you much like windows, you'd need a "wine project" that implements the system calls.

The other way around is far easier, since most linux binaries have available source code.


Well, they are, but Linux lack a modern version of Cocoa, GNUStep is just too outdated. OSX libs are OpenSource, most as BSD but some as GPLv2. The graphical layer (Quartz) is not OpenSource and the "Core" libraries (Core Audio, Core Animation, Core Image). Almost everything else is.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5672
Location: Removed by Neddy

PostPosted: Sun Oct 16, 2011 11:08 pm    Post subject: Reply with quote

dirkfanick wrote:
apple seems to get a bit too evil...
I fail to see why this particular thing makes them evil. Its their platform, their kernel, their modified BSD userland and their API.
No different from MS not doing anything to allow windows programs to run on linux...
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Mon Oct 17, 2011 4:10 pm    Post subject: Reply with quote

Apple seems to be very restricted and commercial orientated. I've heard the kernel is based on unix - so it's not theirs.

microsoft is fast and no problem for virus-scans and hackers. privacy seems just not of that interest as in

unix.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8040
Location: ~Brussels - Belgique

PostPosted: Mon Oct 17, 2011 7:07 pm    Post subject: Reply with quote

Mac OS X is based on a BSD Unix. The BSD licence permits to get all the sources and do whathever you want with it, even make them closed and sell them.

Nevertheless, the core system of Mac OS X, called Darwin is still open source, you can download it, at least previous versions of MacOS.
This will provide kernel, core utils and shell.

But you never will have Cocoa, Carbon, and other iStuff
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Tue Oct 18, 2011 4:17 pm    Post subject: Reply with quote

apple tries to censor some apps in certain countries.

especially news-apps and alike.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5878

PostPosted: Tue Oct 18, 2011 6:46 pm    Post subject: Reply with quote

If you've got so much of a problem with OS X, then don't use it. Simple as that. We don't care to read your rants about Apple though, we're on a Linux site here. Take it to Off The Wall.
Back to top
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Wed Oct 19, 2011 7:08 pm    Post subject: Reply with quote

I have no probs with osx - it's just that i wanted to run or execute some osx-apps on linux. Sometimes I think about why they are doing what they are doing or not doing - but it's right: It's their own decission. I hope they won't become too much censored.
Back to top
View user's profile Send private message
dirkfanick
Apprentice
Apprentice


Joined: 12 Jan 2011
Posts: 201
Location: germany - hamburg

PostPosted: Thu Oct 20, 2011 5:48 pm    Post subject: Reply with quote

btw:

Quote:
We don't care to read...


YOU don't care to read about my questions, answers or whatever - please don't write about WE, as the linux-community is widley opinioned.

Just for the democracy of this forum.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8040
Location: ~Brussels - Belgique

PostPosted: Thu Oct 20, 2011 8:26 pm    Post subject: Reply with quote

Hello,

Please not start a personal / flamewar ;)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Tatsh
Apprentice
Apprentice


Joined: 22 Jul 2007
Posts: 179

PostPosted: Mon Oct 24, 2011 12:15 am    Post subject: Reply with quote

I've thought about this before, but I'm actually more interested in executing Objective-C 2.0 in Linux with complete Cocoa libraries (including ARC, blocks, etc). Later on, free implementations of CoreData and use of nib files (something that IS NOT Gorm). Basically, GNUstep sucks in comparison to working in Xcode. And I really like CoreFoundation, Cocoa, etc.

How do we get there?
1. Kill GNUstep dead!
2. emerge clang
3. git clone https://github.com/tatsh/tatsh-overlay (and set it up)
4. emerge dev-libs/compiler-rt
5. Port Apple's CoreFoundation to Linux completely (which is currently noop'd for Linux for the most part)
6. Port a project like CocoTron to Linux http://code.google.com/p/cocotron/source/browse/ (honestly I think it just needs Makefiles to be built into the proper libraries, and some portability issues to be fixed), and help them finish things like UIKit, etc
7. Prefer use of Clang and LLVM-GCC
8. Make a free app similar to iPhone Simulator.app on Mac OS X to run i386 code targeting iOS (simulate iOS)

Until 1 is possible, do emerge gnustep things and Clang, and then make your cool Objective-C things. But I would strongly discourage anything that makes use of gnustep-base/gnustep-gui unless you are planning to port such software to Mac later. An ideal replacement for gnustep-gui would be Objective-C bindings to Qt and/or Gtk.

My overlay is made in part for this reason: https://github.com/tatsh/tatsh-overlay
dev-libs/compiler-rt enables use of Blocks in C/C++/Objective-C/Objective-C++

Then there are a few cross compiling tools for both Mac and iOS (I'm finishing these up, project at https://github.com/tatsh/xchain).

Making 'oxine' or whatever you want to call it (would run Mac .apps) would take a while but probably not be as horrible as the Wine effort. Apple documents most things pretty well. If anyone is daring enough, I would join such a project. I've not seen one and I feel like everyone who conceives the idea thinks it is too overwhelming. But unlike Windows, Mac OS X is not such a moving target like Windows. The hardest part IMO would be, once past doing basic things like running binaries (not .app directories) that simply output text to stdio, translating QuartzCore to run on X11 (or Wayland or whatever it will be). The other hard part is that there's a lot of automation in Mac apps (for example, buttons in UIAlertView on iOS are not in any way customisable, nor can you specify where the Cancel button goes because HIG automatically takes care of that).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum