sgl
changeset 22:b5c852d7661e
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 26 Jun 2011 23:57:53 +0300 |
parents | 5d38efd33da0 |
children | 505915b0f3da |
files | tests/simple/Simple.app/Contents/Info.plist tests/tests-macinfo.plist tests/tests-makefile |
diffstat | 3 files changed, 21 insertions(+), 19 deletions(-) [+] |
line diff
1.1 --- a/tests/simple/Simple.app/Contents/Info.plist Sun Jun 26 08:01:55 2011 +0300 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,16 +0,0 @@ 1.4 -<?xml version="1.0" encoding="UTF-8"?> 1.5 -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 1.6 -<plist version="1.0"> 1.7 -<dict> 1.8 - <key>CFBundleDevelopmentRegion</key><string>Global</string> 1.9 - <key>CFBundleExecutable</key><string>simple</string> 1.10 - <key>CFBundleDisplayName</key><string>simplesgltest</string> 1.11 - <key>CFBundleName</key><string>SGL Simple Example</string> 1.12 - <key>CFBundleIdentifier</key><string>com.mindlapse.sglsimple</string> 1.13 - <key>CFBundlePackageType</key><string>APPL</string> 1.14 - <key>CFBundleSignature</key><string>cglt</string> 1.15 - <key>CFBundleShortVersionString</key><string>0.1</string> 1.16 - <key>CFBundleVersion</key><string>0.1</string> 1.17 - <key>CFBundleInfoDictionaryVersion</key><string>6.0</string> 1.18 -</dict> 1.19 -</plist>
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/tests/tests-macinfo.plist Sun Jun 26 23:57:53 2011 +0300 2.3 @@ -0,0 +1,16 @@ 2.4 +<?xml version="1.0" encoding="UTF-8"?> 2.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 2.6 +<plist version="1.0"> 2.7 +<dict> 2.8 + <key>CFBundleDevelopmentRegion</key><string>Global</string> 2.9 + <key>CFBundleExecutable</key><string>test</string> 2.10 + <key>CFBundleDisplayName</key><string>sgltest</string> 2.11 + <key>CFBundleName</key><string>SGL Simple Example</string> 2.12 + <key>CFBundleIdentifier</key><string>com.mindlapse.test</string> 2.13 + <key>CFBundlePackageType</key><string>APPL</string> 2.14 + <key>CFBundleSignature</key><string>cglt</string> 2.15 + <key>CFBundleShortVersionString</key><string>0.1</string> 2.16 + <key>CFBundleVersion</key><string>0.1</string> 2.17 + <key>CFBundleInfoDictionaryVersion</key><string>6.0</string> 2.18 +</dict> 2.19 +</plist>
3.1 --- a/tests/tests-makefile Sun Jun 26 08:01:55 2011 +0300 3.2 +++ b/tests/tests-makefile Sun Jun 26 23:57:53 2011 +0300 3.3 @@ -34,6 +34,8 @@ 3.4 3.5 .PHONY: install 3.6 install: 3.7 - mkdir -p Simple.app/Contents/MacOS 3.8 - cp simple Simple.app/Contents/MacOS/simple 3.9 - install_name_tool -change libsgl.dylib @executable_path/../Frameworks/libsgl.dylib Simple.app/Contents/MacOS/simple 3.10 + mkdir -p Test.app/Contents/MacOS Test.app/Contents/Frameworks 3.11 + cd Test.app/Contents; ln -s ../../../tests-macinfo.plist Info.plist 3.12 + cp $(bin) Test.app/Contents/MacOS/test 3.13 + cd Test.app/Contents/Frameworks; ln -s ../../../../../libsgl.dylib . 3.14 + install_name_tool -change libsgl.dylib @executable_path/../Frameworks/libsgl.dylib Test.app/Contents/MacOS/test