I switched from my brotherbard fork to laullon and tried building today.

  https://github.com/laullon/gitx

First found I needed switch the lbgit2 submodule to a new repo location.

It was easiest to just wipe libgit2/ and reclone:

  $ git remote add laullon git://github.com/laullon/gitx.git
  $ git fetch laullon
  $ git co -b laullon --track laullon/master
  $ rm -rf libgit2
  $ git clone git://repo.or.cz/libgit2.git

I then applied a change I use so gitx doesn't interpret directories that have .git at the end of their name as ".git" directories:

$ git diff
diff --git a/GitX.xcodeproj/project.pbxproj b/GitX.xcodeproj/project.pbxproj
index 01e79e9..97c2e37 100644
--- a/GitX.xcodeproj/project.pbxproj
+++ b/GitX.xcodeproj/project.pbxproj
@@ -1338,6 +1338,7 @@
                        isa = PBXProject;
                        buildConfigurationList = 26FC0A880875C7B200E6366F /* Build 
configuration list for PBXProject "GitX" */;
                        compatibilityVersion = "Xcode 3.1";
+                       developmentRegion = English;
                        hasScannedForEncodings = 1;
                        knownRegions = (
                                English,
diff --git a/Info.plist b/Info.plist
index a08c1fa..f4b4b3c 100644
--- a/Info.plist
+++ b/Info.plist
@@ -23,7 +23,7 @@
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
-                               <string>git</string>
+                               <string></string>
                                <string></string>
                        </array>
                        <key>CFBundleTypeIconFile</key>


After cleaning I get this error building: gitx_l_pub.pem: No such file or 
directory

  CpResource build/Release/GitX.app/Contents/Resources/gitx_l_pub.pem 
gitx_l_pub.pem
  cd /Users/stephen/dev/macosapps/gitx-git
  /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp 
-exclude .DS_Store \
    -exclude CVS -exclude .svn -strip-debug-symbols -resolve-src-symlinks \
    /Users/stephen/dev/macosapps/gitx-git/gitx_l_pub.pem \
    
/Users/stephen/dev/macosapps/gitx-git/build/Release/GitX.app/Contents/Resources

No gitx_l_pub.pem is being created in the Resources/ dir:

[gitx-git (laullon)]$ ls -l  build/Release/GitX.app/Contents/Resources/git*
-rwxr-xr-x  1 stephen  staff  113696 Feb 25 09:17 
build/Release/GitX.app/Contents/Resources/gitx
-rw-r--r--  1 stephen  staff  105924 Feb 25 09:17 
build/Release/GitX.app/Contents/Resources/gitx.icns
-rwxr-xr-x  1 stephen  staff   73424 Feb 25 09:17 
build/Release/GitX.app/Contents/Resources/gitx_askpasswd

Reply via email to