TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Porting an X11 App to Mac

1 pointsby dhruvaroraabout 12 years ago
A friend of mine uses a gesture-based app on Linux and I'd like to port it to OS X. The code is open-sourced and available on Github but I have no idea where to start.<p>Got some tips, articles that could point me in the right direction?

2 comments

psgbgabout 12 years ago
You could start with macports or homebrew. Those tools allows you to install open source software in OS X.<p>One example is XQuartz the X11 port for OS X <a href="http://xquartz.macosforge.org/trac/wiki/Releases" rel="nofollow">http://xquartz.macosforge.org/trac/wiki/Releases</a><p>If you know what are you doing probably this is a good point to start, and if you need other libraries then you should look there too.
informatimagoabout 12 years ago
First, Apple still has a X11 server on MacOSX, so you can just compile and run your X application there.<p>Otherwise, learn Objective-C and Cocoa, and rewrite the user interface. Works better when the application is well modularised to begin with.