Permalink
Browse files

get xcode build working

--HG--
rename : Lockbox-MacOSX/Lockbox/LBXAppDelegate.h => src/lockbox/LBXAppDelegate.h
rename : Lockbox-MacOSX/Lockbox/LBXAppDelegate.m => src/lockbox/LBXAppDelegate.m
rename : Lockbox-MacOSX/Lockbox/main.m => src/lockbox/mac_app_main.m
  • Loading branch information...
rianhunter committed Nov 6, 2013
1 parent cebb3a3 commit 22f75724d25627c659b55a80ff786a0b96f57de0
@@ -1,4 +1,26 @@
syntax: glob

# deps
out/
encfs-dependencies/botan/build/

# botan build
encfs-dependencies/botan/build/

# OS X
.DS_Store

# Xcode
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.xccheckout

Large diffs are not rendered by default.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -9,7 +9,7 @@
<key>CFBundleIconFile</key>
<string>output</string>
<key>CFBundleIdentifier</key>
<string>Dropbox.${PRODUCT_NAME:rfc1034identifier}</string>
<string>Lockbox${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,62 @@
#!/bin/sh

DEPS_OUT_OF_DATE_RETURN_CODE=1
DEPS_UP_TO_DATE_RETURN_CODE=0

APPDIR="$1"
if [ -z "$APPDIR" ]; then
APPDIR="."
fi

# just check libs for now
# TODO: check headers as well!

ANYGLOG_FILE=$(find "$APPDIR/../google-glog" \
-newer "$APPDIR/out/deps/lib/libglog.a" | \
head -n 1 2>/dev/null)
if [ ! -e "$APPDIR/out/deps/lib/libglog.a" ] || [ "$ANYGLOG_FILE" ]; then
echo "google-glog is out of date" >> /dev/stderr
exit $DEPS_OUT_OF_DATE_RETURN_CODE
fi

ANYBOTAN_FILE=$(find "$APPDIR/encfs-dependencies/botan" \
-newer "$APPDIR/out/deps/lib/libbotan-1.10.a" | \
head -n 1 2>/dev/null)
if [ ! -e "$APPDIR/out/deps/lib/libbotan-1.10.a" ] || [ "$ANYBOTAN_FILE" ]; then
echo "botan is out of date" >> /dev/stderr
exit $DEPS_OUT_OF_DATE_RETURN_CODE
fi

ANYPROTOBUF_FILE=$(find "$APPDIR/../protobuf" \
-newer "$APPDIR/out/deps/lib/libprotobuf.a" | \
head -n 1 2>/dev/null)
if [ ! -e "$APPDIR/out/deps/lib/libprotobuf.a" ] || [ "$ANYPROTOBUF" ]; then
echo "protobuf is out of date" >> /dev/stderr
exit $DEPS_OUT_OF_DATE_RETURN_CODE
fi

ANYTINYXML_FILE=$(find "$APPDIR/encfs-dependencies/tinyxml" \
-newer "$APPDIR/out/deps/lib/libtinyxml.a" | \
head -n 1 2>/dev/null)
if [ ! -e "$APPDIR/out/deps/lib/libtinyxml.a" ] || [ "$ANYTINYXML_FILE" ]; then
echo "tinyxml is out of date" >> /dev/stderr
exit $DEPS_OUT_OF_DATE_RETURN_CODE
fi

ANYENCFS_FILE=$(find "$APPDIR/../encfs" \
-newer "$APPDIR/out/deps/lib/libencfs.a" | \
head -n 1 2>/dev/null)
if [ ! -e "$APPDIR/out/deps/lib/libencfs.a" ] || [ "$ANYENCFS_FILE" ]; then
echo "encfs is out of date" >> /dev/stderr
exit $DEPS_OUT_OF_DATE_RETURN_CODE
fi

ANYWEBDAV_SERVER_FS_FILE=$(find "$APPDIR/../davfuse" \
-newer "$APPDIR/out/deps/lib/libwebdav_server_fs.a" | \
head -n 1 2>/dev/null)
if [ ! -e "$APPDIR/out/deps/lib/libwebdav_server_fs.a" ] || [ "$ANYWEBDAV_SERVER_FS_FILE" ]; then
echo "davfuse is out of date" >> /dev/stderr
exit $DEPS_OUT_OF_DATE_RETURN_CODE
fi

exit $DEPS_UP_TO_DATE_RETURN_CODE

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 22f7572

Please sign in to comment.