Create Environment for stock ATV 1.1 Development with Leopard

From AwkwardTV
Revision as of 06:51, 15 February 2008 by DD (talk | contribs) (Initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

What you get

  • An environment to create frappliances for ATV 1.1 (tested with Sapphire svn checkout and Leopard 10.5.2)

What we do

  • copy Private Headers from different zips to the approciate places
  • create some links
  • edit one header to include Private ones

What you need

Steps

  • create directory /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
  • extract BackRow PrivateHeaders from BDK and copy it to that newly created directory
  • create symbolic links from that directory to your Leopard BackRow framework, so that the directory looks like:
>pwd
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
>ls -l
total 32
lrwxr-xr-x    1 root  wheel     59 14 Feb 02:47 BackRow -> /System/Library/PrivateFrameworks/BackRow.framework/BackRow
lrwxr-xr-x    1 root  wheel     65 14 Feb 02:48 CodeResources -> /System/Library/PrivateFrameworks/BackRow.framework/CodeResources
drwxr-xr-x@ 601 root  wheel  20434 14 Feb 02:47 PrivateHeaders
lrwxr-xr-x    1 root  wheel     61 14 Feb 02:48 Resources -> /System/Library/PrivateFrameworks/BackRow.framework/Resources
lrwxr-xr-x    1 root  wheel     60 14 Feb 02:48 Versions -> /System/Library/PrivateFrameworks/BackRow.framework/Versions
  • cd to /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework
  • extract QuartComposer PrivateHeaders from BDK to here
  • edit ./Headers/QuartzComposer.h and include the Private Headers through adding:
 #import <QuartzComposer/QuartzComposerPrivate.h> 
  • That's it.

With what I tried was Sapphire. Checkout from http://appletv.nanopi.net/svn/; open the Xcode-Project; Select "Complete Sapphire" as target, and build and test it.


Removal/Uninstall

2 Steps:

  • rm -rf /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
  • rm -rf /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework/PrivateHeaders
  • from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework/Headers/QuartzComposer.h following line
#import <QuartzComposer/QuartzComposerPrivate.h>