- June, 2009 (4)
- May, 2009 (1)
- April, 2009 (3)
- March, 2009 (9)
- February, 2009 (3)
- January, 2009 (5)
- December, 2008 (4)
- November, 2008 (15)
- September, 2008 (4)
- August, 2008 (6)
The iPhone beta 5 SDK saved me. I finally have a (relatively) trouble-free version of gcc 4.2 with apple patches. Initially I did have some problems with it. It only started working seemlessly after I completely uninstalled Xcode 3.0, rebooted, then installed Xcode 3.1 from the iPhone SDK. Theoretically the two can be installed alongside each other with the iPhone SDK's command line tools being installed over the older version. All I have left to do now is figure out what libraries and other supporting data amarok needs to run so that I can create a .app bundle. Things are shaping up nicely so I'm actually quite optimistic about that. I already have a bundle that runs, but no graphics or sound. That's something at least. ;-) Hopefully I can get this done in a week and pass things over to the logger for automation. To recap: I used apple-gcc42 from macports to compile most of the kde prerequisites (boost being the notable exception, only worked with gcc 4.0). I modified the portfile and changed the configure.args section to The following should work as well, and probably only makes a difference if you're on leopard. To actually use the compiler by default I installed gcc_select, Then to ACTIVATE my awesome hack I did All that, got me a compiler which worked just fine for building ports. KDE was a different beast however. That's where the iPhone SDK came in. I pretty much followed the instructions in the Amarok2 on OSX wiki page (which is a funny thing to say since I wrote it). To utilize gcc 4.2 from the SDK I used After that it was smooth sailing until I hit kdelibs. I had to modify two CMakeLists.txt files to get past some errors I encountered. Here's what Index: /Users/orville/kdesvn/trunk/KDE/kdelibs/kdeui/CMakeLists.txt I disabled nepomuk in kdebase as it was complaining about some soprano stuff. It doesn't work anyway so I couldn't be arsed figuring out what was wrong. I also uninstalled all the files installed by automoc (prerequisite for akonadi) as I suspected it was causing the duplicate symbol errors I was seeing in amarok's build. It was smooth sailing from there on out. Leave comments if you have trouble, I'll probably be able to help. Irc's better though; #amarok on irc.freenode.net. Why'd I do all this btw? Because gcc 4.0 can't compile code properly from plasma. Amarok uses plasma, which means I need plasma. The things I do for Amarok. It better love me. It better love me hard. |
|||
