From b6ccd954fbe74fa0ba1884e319830990388c66e1 Mon Sep 17 00:00:00 2001 From: Ricardo Quesada Date: Thu, 24 Mar 2011 13:38:13 -0300 Subject: [PATCH] LICENSE files are .txt. XCode4 template installer uses them --- LICENSE.box2d => LICENSE_Box2D.txt | 0 LICENSE.chipmunk => LICENSE_Chipmunk.txt | 0 LICENSE.FontLabel => LICENSE_FontLabel.txt | 0 LICENSE.TouchJSON => LICENSE_TouchJSON.txt | 0 LICENSE.artwork => LICENSE_artwork.txt | 0 LICENSE.cocos2d => LICENSE_cocos2d.txt | 0 ...cocosdenshion => LICENSE_cocosdenshion.txt | 0 LICENSE.libpng => LICENSE_libpng.txt | 0 cocos2d-ios.xcodeproj/project.pbxproj | 20 +++++++++++++++---- cocos2d-mac.xcodeproj/project.pbxproj | 20 +++++++++++++++---- install-templates.sh | 6 ++++++ 11 files changed, 38 insertions(+), 8 deletions(-) rename LICENSE.box2d => LICENSE_Box2D.txt (100%) rename LICENSE.chipmunk => LICENSE_Chipmunk.txt (100%) rename LICENSE.FontLabel => LICENSE_FontLabel.txt (100%) rename LICENSE.TouchJSON => LICENSE_TouchJSON.txt (100%) rename LICENSE.artwork => LICENSE_artwork.txt (100%) rename LICENSE.cocos2d => LICENSE_cocos2d.txt (100%) rename LICENSE.cocosdenshion => LICENSE_cocosdenshion.txt (100%) rename LICENSE.libpng => LICENSE_libpng.txt (100%) diff --git a/LICENSE.box2d b/LICENSE_Box2D.txt similarity index 100% rename from LICENSE.box2d rename to LICENSE_Box2D.txt diff --git a/LICENSE.chipmunk b/LICENSE_Chipmunk.txt similarity index 100% rename from LICENSE.chipmunk rename to LICENSE_Chipmunk.txt diff --git a/LICENSE.FontLabel b/LICENSE_FontLabel.txt similarity index 100% rename from LICENSE.FontLabel rename to LICENSE_FontLabel.txt diff --git a/LICENSE.TouchJSON b/LICENSE_TouchJSON.txt similarity index 100% rename from LICENSE.TouchJSON rename to LICENSE_TouchJSON.txt diff --git a/LICENSE.artwork b/LICENSE_artwork.txt similarity index 100% rename from LICENSE.artwork rename to LICENSE_artwork.txt diff --git a/LICENSE.cocos2d b/LICENSE_cocos2d.txt similarity index 100% rename from LICENSE.cocos2d rename to LICENSE_cocos2d.txt diff --git a/LICENSE.cocosdenshion b/LICENSE_cocosdenshion.txt similarity index 100% rename from LICENSE.cocosdenshion rename to LICENSE_cocosdenshion.txt diff --git a/LICENSE.libpng b/LICENSE_libpng.txt similarity index 100% rename from LICENSE.libpng rename to LICENSE_libpng.txt diff --git a/cocos2d-ios.xcodeproj/project.pbxproj b/cocos2d-ios.xcodeproj/project.pbxproj index 0fc6f4597c1..c9617996d89 100644 --- a/cocos2d-ios.xcodeproj/project.pbxproj +++ b/cocos2d-ios.xcodeproj/project.pbxproj @@ -3466,8 +3466,7 @@ 502C664E0DFEFD6800E4107D /* RotateWorldTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RotateWorldTest.m; path = tests/RotateWorldTest.m; sourceTree = ""; }; 502C6C6A0FB87970002BF3C2 /* CCParallaxNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParallaxNode.h; sourceTree = ""; }; 502C6C6B0FB87970002BF3C2 /* CCParallaxNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParallaxNode.m; sourceTree = ""; }; - 502C8BCC10A65D0F00D137BA /* LICENSE.cocos2d */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.cocos2d; sourceTree = ""; }; - 502C8BCD10A65D0F00D137BA /* LICENSE.cocosdenshion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.cocosdenshion; sourceTree = ""; }; + 502C8BCC10A65D0F00D137BA /* LICENSE_cocos2d.txt */ = {isa = PBXFileReference; fileEncoding = 4; path = LICENSE_cocos2d.txt; sourceTree = ""; }; 502C8BDE10A661E200D137BA /* CCSpriteFrameCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSpriteFrameCache.h; sourceTree = ""; }; 502C8BDF10A661E200D137BA /* CCSpriteFrameCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSpriteFrameCache.m; sourceTree = ""; }; 502C8C9810A701D300D137BA /* animations */ = {isa = PBXFileReference; lastKnownFileType = folder; name = animations; path = Resources/animations; sourceTree = ""; }; @@ -4248,6 +4247,13 @@ E062F9BA124801A300DE3932 /* grossini-hd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "grossini-hd.png"; sourceTree = ""; }; E062F9BB124801A300DE3932 /* grossinis_sister1-hd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "grossinis_sister1-hd.png"; sourceTree = ""; }; E062F9BC124801A300DE3932 /* grossinis_sister2-hd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "grossinis_sister2-hd.png"; sourceTree = ""; }; + E06F4AD7133BAA00006739B6 /* LICENSE_artwork.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_artwork.txt; sourceTree = ""; }; + E06F4AD8133BAA00006739B6 /* LICENSE_Box2D.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_Box2D.txt; sourceTree = ""; }; + E06F4AD9133BAA00006739B6 /* LICENSE_Chipmunk.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_Chipmunk.txt; sourceTree = ""; }; + E06F4ADA133BAA00006739B6 /* LICENSE_CocosDenshion.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_CocosDenshion.txt; sourceTree = ""; }; + E06F4ADB133BAA00006739B6 /* LICENSE_FontLabel.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_FontLabel.txt; sourceTree = ""; }; + E06F4ADC133BAA00006739B6 /* LICENSE_libpng.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_libpng.txt; sourceTree = ""; }; + E06F4ADD133BAA00006739B6 /* LICENSE_TouchJSON.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_TouchJSON.txt; sourceTree = ""; }; E0704C29123821EE009C628B /* background1-hd.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "background1-hd.jpg"; sourceTree = ""; }; E0704C2A123821EE009C628B /* background2-hd.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "background2-hd.jpg"; sourceTree = ""; }; E080DE8B1239689400A647EC /* konqa32-hd.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "konqa32-hd.fnt"; sourceTree = ""; }; @@ -5301,8 +5307,14 @@ 508A4A2310B47A46004B9CC3 /* RELEASE_NOTES */, 50B2C9BF0E109A5900AE9530 /* CHANGELOG */, 50AC0A500EC34DD400EB5EDC /* DONORS */, - 502C8BCC10A65D0F00D137BA /* LICENSE.cocos2d */, - 502C8BCD10A65D0F00D137BA /* LICENSE.cocosdenshion */, + 502C8BCC10A65D0F00D137BA /* LICENSE_cocos2d.txt */, + E06F4AD7133BAA00006739B6 /* LICENSE_artwork.txt */, + E06F4AD8133BAA00006739B6 /* LICENSE_Box2D.txt */, + E06F4AD9133BAA00006739B6 /* LICENSE_Chipmunk.txt */, + E06F4ADA133BAA00006739B6 /* LICENSE_CocosDenshion.txt */, + E06F4ADB133BAA00006739B6 /* LICENSE_FontLabel.txt */, + E06F4ADC133BAA00006739B6 /* LICENSE_libpng.txt */, + E06F4ADD133BAA00006739B6 /* LICENSE_TouchJSON.txt */, 5018F2510DFDEAFF00C013A5 /* cocos2d */, 5052213411B3D38A0061670F /* CocosDenshion */, 509B3A100F31027600F2FB95 /* cocoslive */, diff --git a/cocos2d-mac.xcodeproj/project.pbxproj b/cocos2d-mac.xcodeproj/project.pbxproj index a5c6a9e70ed..ea804f4271c 100644 --- a/cocos2d-mac.xcodeproj/project.pbxproj +++ b/cocos2d-mac.xcodeproj/project.pbxproj @@ -3545,13 +3545,19 @@ E0505401122D5AE6005B74CB /* RenderTextureTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RenderTextureTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; E0505404122D5B58005B74CB /* RenderTextureTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RenderTextureTest.h; path = tests/RenderTextureTest.h; sourceTree = ""; }; E0505405122D5B58005B74CB /* RenderTextureTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RenderTextureTest.m; path = tests/RenderTextureTest.m; sourceTree = ""; }; + E06F4AE4133BAAB8006739B6 /* LICENSE_artwork.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_artwork.txt; sourceTree = ""; }; + E06F4AE5133BAAB8006739B6 /* LICENSE_Box2D.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_Box2D.txt; sourceTree = ""; }; + E06F4AE6133BAAB8006739B6 /* LICENSE_Chipmunk.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_Chipmunk.txt; sourceTree = ""; }; + E06F4AE7133BAAB8006739B6 /* LICENSE_cocos2d.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_cocos2d.txt; sourceTree = ""; }; + E06F4AE8133BAAB8006739B6 /* LICENSE_CocosDenshion.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_CocosDenshion.txt; sourceTree = ""; }; + E06F4AE9133BAAB8006739B6 /* LICENSE_FontLabel.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_FontLabel.txt; sourceTree = ""; }; + E06F4AEA133BAAB8006739B6 /* LICENSE_libpng.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_libpng.txt; sourceTree = ""; }; + E06F4AEB133BAAB8006739B6 /* LICENSE_TouchJSON.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE_TouchJSON.txt; sourceTree = ""; }; E076E4471225C4BE00DE0DA2 /* MenuTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MenuTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; E076E5C01225E97900DE0DA2 /* TransitionTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TransitionTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; E076E61C1225EC1E00DE0DA2 /* AUTHORS */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AUTHORS; sourceTree = ""; }; E076E61D1225EC1E00DE0DA2 /* CHANGELOG */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CHANGELOG; sourceTree = ""; }; E076E61E1225EC1E00DE0DA2 /* DONORS */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DONORS; sourceTree = ""; }; - E076E61F1225EC1E00DE0DA2 /* LICENSE.cocos2d */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.cocos2d; sourceTree = ""; }; - E076E6201225EC1E00DE0DA2 /* LICENSE.cocosdenshion */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE.cocosdenshion; sourceTree = ""; }; E076E6211225EC1E00DE0DA2 /* README.mdown */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.mdown; sourceTree = ""; }; E076E6221225EC4E00DE0DA2 /* MenuTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MenuTest.h; path = tests/MenuTest.h; sourceTree = ""; }; E076E6231225EC4E00DE0DA2 /* MenuTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MenuTest.m; path = tests/MenuTest.m; sourceTree = ""; }; @@ -4262,8 +4268,14 @@ E076EB3E1225F05200DE0DA2 /* RELEASE_NOTES */, E076E61D1225EC1E00DE0DA2 /* CHANGELOG */, E076E61E1225EC1E00DE0DA2 /* DONORS */, - E076E61F1225EC1E00DE0DA2 /* LICENSE.cocos2d */, - E076E6201225EC1E00DE0DA2 /* LICENSE.cocosdenshion */, + E06F4AE7133BAAB8006739B6 /* LICENSE_cocos2d.txt */, + E06F4AE4133BAAB8006739B6 /* LICENSE_artwork.txt */, + E06F4AE5133BAAB8006739B6 /* LICENSE_Box2D.txt */, + E06F4AE6133BAAB8006739B6 /* LICENSE_Chipmunk.txt */, + E06F4AE8133BAAB8006739B6 /* LICENSE_CocosDenshion.txt */, + E06F4AE9133BAAB8006739B6 /* LICENSE_FontLabel.txt */, + E06F4AEA133BAAB8006739B6 /* LICENSE_libpng.txt */, + E06F4AEB133BAAB8006739B6 /* LICENSE_TouchJSON.txt */, E076E6281225EC7400DE0DA2 /* cocos2d */, E076E4531225C53300DE0DA2 /* Tests */, E076EF801225FF3E00DE0DA2 /* external */, diff --git a/install-templates.sh b/install-templates.sh index 281ab40c36a..c95025e9a89 100755 --- a/install-templates.sh +++ b/install-templates.sh @@ -99,16 +99,19 @@ copy_base_files(){ copy_cocos2d_files(){ echo ...copying cocos2d files copy_files cocos2d "$LIBS_DIR" + copy_files LICENSE_cocos2d.txt "$LIBS_DIR" } copy_cocosdenshion_files(){ echo ...copying CocosDenshion files copy_files CocosDenshion/CocosDenshion "$LIBS_DIR" + copy_files LICENSE_CocosDenshion.txt "$LIBS_DIR" } copy_fontlabel_files(){ echo ...copying FontLabel files copy_files external/FontLabel "$LIBS_DIR" + copy_files LICENSE_FontLabel.txt "$LIBS_DIR" } copy_cocoslive_files(){ @@ -117,6 +120,7 @@ copy_cocoslive_files(){ echo ...copying TouchJSON files copy_files external/TouchJSON "$LIBS_DIR" + copy_files LICENSE_TouchJSON.txt "$LIBS_DIR" } print_template_banner(){ @@ -269,6 +273,7 @@ copy_xcode4_project_templates(){ echo ...copying Chipmunk files copy_files external/Chipmunk "$LIBS_DIR" + copy_files LICENSE_Chipmunk.txt "$LIBS_DIR" echo done! @@ -280,6 +285,7 @@ copy_xcode4_project_templates(){ echo ...copying Box2d files copy_files external/Box2d/Box2D "$LIBS_DIR" + copy_files LICENSE_Box2D.txt "$LIBS_DIR" echo done! }