Difference between revisions of "Create Environment for stock ATV 1.1 Development with Leopard"

From AwkwardTV
Jump to: navigation, search
m (+cat 1.1 +cat Tutorials (actually a tutorial for plugin development, qualifies))
(Corrected link)
Line 8: Line 8:
== What you need ==
== What you need ==
* [http://alanquatermain.net/mint/pepper/tillkruess/downloads/tracker.php?uri=http://alanquatermain.net/projects/BRDevKit.mpkg.zip BackRow Development Kit (BDK) 1.1.1]
* [http://blog.alanquatermain.net/projects/BRDevKit.mpkg.zip BackRow Development Kit (BDK) 1.1.1]
* shell knowledge and/or Pacifist
* shell knowledge and/or Pacifist
* Leopard 10.5.2 (that one is confirmed)
* Leopard 10.5.2 (that one is confirmed)

Latest revision as of 07:31, 29 April 2009

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


  • create directory /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
  • extract BackRow's PrivateHeaders-directory from BDK and copy it to that newly created directory
  • create symbolic links from the BackRow.framework directory to your Leopard BackRow framework:
>cd /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework/
>for i in BackRow CodeResources Resources Versions; do ln -s /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/$i $i; done

In the end that directory looks like:

>ls -l
total 32
lrwxr-xr-x    1 root  wheel     59 14 Feb 02:47 BackRow -> /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/BackRow
lrwxr-xr-x    1 root  wheel     65 14 Feb 02:48 CodeResources -> /Developer/SDKs/MacOSX10.5.sdk/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 -> /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/Resources
lrwxr-xr-x    1 root  wheel     60 14 Feb 02:48 Versions -> /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/Versions
  • cd to /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework
  • extract QuartComposer PrivateHeaders-directory 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.


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>