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

From AwkwardTV
Jump to: navigation, search
(Initial version)
 
(Corrected link)
 
(4 intermediate revisions by 4 users not shown)
Line 8: Line 8:
  
 
== What you need ==
 
== What you need ==
* Xcode
+
* [http://blog.alanquatermain.net/projects/BRDevKit.mpkg.zip BackRow Development Kit (BDK) 1.1.1]
* download [http://alanquatermain.net/mint/pepper/tillkruess/downloads/tracker.php?uri=http://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)
  
 
== Steps ==
 
== Steps ==
 
* create directory /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
 
* 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
+
* extract BackRow's PrivateHeaders-directory 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:
+
* create symbolic links from the BackRow.framework directory to your Leopard BackRow framework:
 +
>bash
 +
>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
 +
>exit
 +
 
 +
In the end that directory looks like:
 
  >pwd
 
  >pwd
 
  /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
 
  /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
 
  >ls -l
 
  >ls -l
 
  total 32
 
  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    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 -> /System/Library/PrivateFrameworks/BackRow.framework/CodeResources
+
  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
 
  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    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 -> /System/Library/PrivateFrameworks/BackRow.framework/Versions
+
  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
 
* cd to /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework
* extract QuartComposer PrivateHeaders from BDK to here
+
* extract QuartComposer PrivateHeaders-directory from BDK to here
 
* edit ./Headers/QuartzComposer.h and include the Private Headers through adding:
 
* edit ./Headers/QuartzComposer.h and include the Private Headers through adding:
 
   #import <QuartzComposer/QuartzComposerPrivate.h>  
 
   #import <QuartzComposer/QuartzComposerPrivate.h>  
Line 42: Line 48:
 
* from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework/Headers/QuartzComposer.h following line   
 
* from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework/Headers/QuartzComposer.h following line   
 
  #import <QuartzComposer/QuartzComposerPrivate.h>
 
  #import <QuartzComposer/QuartzComposerPrivate.h>
 +
 +
[[Category:1.1]] [[Category:Tutorials]]

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

Steps

  • 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:
>bash
>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
>exit

In the end that 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 -> /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.


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>